2 2003-10-23 André Pönitz <poenitz@gmx.net>
4 * undo.C (textUndoOrRedo):
5 * dociterator.C (asDocIterator): work around crash
7 * cursor.C (getStatus): replace ASSERT by more verbose error message
8 and manual correction of the problem. Should increase stability
9 while providing more sensible information.
11 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
15 * bufferlist.C (previous, next): new methods
18 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
20 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
22 * buffer.C (makeDocBookFile): add dsssl stylesheet control
25 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
27 * messages.C (Pimpl): strip off translation context information
29 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
31 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
32 the cursor is correct (bug 1694)
34 2004-10-13 José Matos <jamatos@lyx.org>
36 * output_docbook.C (docbookParagraphs): fix closing tags in the
39 2004-10-09 José Matos <jamatos@lyx.org>
41 * buffer.C: format up to 237.
42 * bufferparams.C (write): use tostr to convert booleans to strings.
44 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
46 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
48 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
50 * LaTeX.C: implement use of babel language in xindy.
52 2004-10-05 José Matos <jamatos@lyx.org>
54 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
55 Add new translators to help reading and writing the lyx file.
57 2004-10-05 José Matos <jamatos@lyx.org>
59 * ParagraphParameters.C (read):
60 * text.C (readParToken): replace nexToken by more appropriate lex
63 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
65 * LaTeX.C (runMakeIndex):
66 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
67 (usually 'makeindex') configurable.
69 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
70 with a variable rather than with a number.
72 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
74 * output_latex.C (TeXOnePar): make sure font setting is the first
75 thing that gets output (and the last at the end). Should fix bug
78 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
80 * pch.h: use proper signal include
82 * LaTeX.h: Use preferred calling of Boost.Signal
85 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
87 * pch.h: dont include <boost/function/function0.hpp>
89 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
91 * paragraph_pimpl.h: remove usage of ShareContainer
93 * paragraph_pimpl.C: remove initialization of ShareContainer.
95 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
99 * BufferView.C (putSelectionAt): change the semantics when
100 backwards == true: now, this just swaps cursor and anchor wrt the
103 * BufferView.h (putSelectionAt): add some documentation
105 * lyxfind.C (findBackwards): rewrite using while(). In particular,
106 make sure backwardChar is done at least once (to avoid getting
108 (findNextChange): use putSelectionAt in the forward direction
109 (operator()): use Paragraph::isWord
111 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
113 * Spacing.C (set): c_str fix
115 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * lyx_cb.C (Reconfigure): quote the name of configure script in
118 case it contains spaces
120 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
124 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
125 (BOOST_LIBS): use top_buildir when looking for the file
127 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
129 * pch.h: do not use include boost/format.hpp, multiple symbols
130 will result (gcc bug)
133 2004-08-23 José Matos <jamatos@lyx.org>
135 * bufferparams.C (readToken): fix reading of the author field.
137 2004-08-20 José Matos <jamatos@lyx.org>
139 * lyxrc.C: remove support/translator.h inclusion since it is not used.
141 2004-08-20 José Matos <jamatos@lyx.org>
143 * lyxlex.[Ch] (findToken): remove function.
145 * ParagraphParameters.C (findToken):
146 * bufferparams.C (findToken): replace call for previous function
147 with local copy. This local function has one more argument, the
148 read string argument.
150 2004-08-16 José Matos <jamatos@lyx.org>
152 * ParagraphParameters.C (write):
153 * Spacing.C (writeFile):
154 * bufferparams.C (writeLaTeX):
155 * lyx_cb.C (Reconfigure):
156 * paragraph.C (write):
157 * tabular.C (write): remove unnecessary space at end of line.
160 2004-08-16 José Matos <jamatos@lyx.org>
162 * text.C (readParagraph): remove debug message.
164 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
166 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
169 * output_plaintext.C (asciiParagraph): set depth correctly
171 * outputparams.h: add member depth
173 * paragraph_funcs.C (ownerPar): remove.
175 * text2.C (setCounter): remove first_pit; comment out some
176 non-working code that uses ownerPar
178 * BufferView.C (getParentLanguage): remove. Not used anymore, and
181 2004-08-16 José Matos <jamatos@lyx.org>
183 * text.C (readParToken, readParagraph, read): report all unknown tokens.
184 For the same level of importance use the same chanel to report problems.
185 (read): add code to deal with \begin_body and \end_body.
188 2004-08-15 José Matos <jamatos@lyx.org>
190 * lyxlex.C (getString): fix comment, buffer::readBody is now
193 * tex-strings.C (string_papersize): Default -> default,
194 Custom -> custom, for consistency with other options.
196 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
200 * Makefile.am: support pch
202 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
204 * text.C (readParToken): remove the static LyXFont variable and
205 pass it as a parameter instead. This fixes a nasty bug where an
206 inset will be inserted with a bad font in some situations
207 (readParagraph): adapt
209 * text2.C (setCounter): reduce number of calls to pars_[pit]
211 * text.C (singleWidth): add an assert, fix a test
213 * rowpainter.C (paintText): reduce number of calls to singleWidth
215 * paragraph.C (isHfill):
218 2004-08-14 André Pönitz <poenitz@gmx.net>
223 * lyxtext.h (several functions): use a Paragraph & argument
226 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * metricsinfo.h: add a new field ltr_pos to PainterInfo
230 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
232 * text.C (singleWidth): remove useless test
234 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
236 * tabular.h: remove bogus comments
238 * tabular.C (getDescentOfRow):
239 (isPartOfMultiColumn): add assertions
241 * lyxlength.C (inPixels): remove #warning
243 2004-08-14 André Pönitz <poenitz@gmx.net>
245 * paragraph.h: inline getChar()
247 * BufferView.h: remove unused declarations
249 2004-08-14 José Matos <jamatos@lyx.org>
251 * Buffer.[Ch] (readDocument): new name for old readBody.
252 * Buffer.C: new file format, new keywords: \begin_document,
253 \begin_header, \begin_body, \end_body.
255 * bufferparams.C (readToken): replace all calls to lex.nextToken
256 by lex.next(). Do the same to eatLine except where really needed.
258 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
259 line when writing to the lyx file.
261 * output_plaintext.C (asciiParagraph): fix Bibliography style
264 * text.C (read): fix end of file handling.
266 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
268 * MenuBackend.C (Menu::operator[]): new method to access
269 individual menu items
270 (Menu::hasFunc): new method. search for an item that corresponds
272 (MenuBackend::specialMenu): new method
273 (MenuBackend::expand): if a special menu has been set, skip
274 entries whose func() appears in this menu
276 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
278 * text3.C: use Debug::DEBUG a bit more
280 * text.C (leftMargin): try to simplify a tiny bit change var x to
281 l_margin. Dont output the wide margins always.
282 (rightMargin): no margin in inner texts
284 * rowpainter.h (nestMargin): new func
285 (changebarMargin): new func
286 (rightMargin): new func
288 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
292 * factory.C (createInset): modify setDrawFrame
294 * cursor.C: use Debug::DEBUG a bit more
296 2004-08-14 André Pönitz <poenitz@gmx.net>
299 * Makefile.am: new files to accomodate an 'external' (x,y)-position
300 cache for all insets in (at least partially) visible (top-level)
303 * BufferView_pimpl.C: reset external coord cache before every update.
304 This means the coord cache only contains valid entries.
306 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
309 * BufferView_pimpl.C (getInsetByCode): move function out of class
310 and change in to a template in anon namespace. Also fix to do what
313 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
316 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
318 (breakParagraph): rename par to par_offset and use a local
319 reference. Add code to keep the language over a rebreak.
320 (breakParagraphConservative): rename par to par_offset, use a
322 (mergeParagraph): ditto
324 (isFirstInSequence): ditto
325 (outerFont): rename pit to par_offset
327 * paragraph.C: ws change
332 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
334 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
337 * paragraph.C (simpleTeXOnePar): when we have a \item with
338 optional argument, enclose the argument with curly brackets (in
339 case it contains a closing square bracket)
343 * text3.C (checkInsetHit): constify
345 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
347 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
350 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
352 Fix toggling of collapsable insets with the mouse (bug 1558)
354 * lyxfunc.C (dispatch): adapt to LCursor changes
356 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
357 make sure that dispatch is not invoked twice
359 * cursor.C (needsUpdate): new method
360 (dispatch): return void
361 (result): new method, to access the DispatchResult of the cursor.
363 2004-08-13 José Matos <jamatos@lyx.org>
365 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
367 2004-08-13 André Pönitz <poenitz@gmx.net>
369 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
371 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
374 2004-08-12 André Pönitz <poenitz@gmx.net>
376 * text3.C: take out the 'cursor right' form insertInset and only
377 do it in those places when it is really needed. Fixes crash on
380 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
382 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
384 * BufferView_pimpl.C (setBuffer): initialize the current font of
385 the underlying LyXText
387 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * kbsequence.C (print): use UI native formatting for menu
392 * text.C (insertChar): call Paragraph::insertChar with a font
395 * paragraph.C (insertInset, insertChar): the version that takes a
396 LyXFont argument is now a wrapper around the other one (the
397 opposite used to be true).
399 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
400 argument. Font setting is done in Paragraph now.
402 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
404 * outputparams.h: add new members intitle and lang.
406 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
407 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
409 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
411 * text3.C (dispatch): remove special handling of button 4 and 5,
412 it is now taken care of in the frontend code.
414 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
416 * Spacing.h: add <string> (STLPort compile fix)
418 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
420 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
422 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
424 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
427 * converter.C (showMessage): inherit from unary_function, make
430 * buffer.C (writeFile): initialize retval
432 * InsetList.h: rename private variable list to list_
433 * InsetList.[Ch]: adjust accordingly.
435 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
437 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
438 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
439 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
440 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
441 * ParagraphParameters.C, LaTeXFeatures.C: replace
442 "support/std_sstream.h" with <sstream>
444 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
446 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
447 * lyxsocket.C (LyXServerSocket): ditto
448 (serverCallback): ditto
450 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
452 * LaTeXFeatures.C: check release date when loading jurabib.
454 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
456 * lyxserver.C (startPipe): call register_socket_callback
457 (endPipe): call unregister_socket_callback
459 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
461 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
462 (LyXServerSocket): register the callback
463 (LyXServerSocket): unregister the callback
464 (fd): delete function
465 (serverCallback): improve error checking and setup the callbacks.
466 (dataCallback): change arg to fd.
467 (writeln): new func (copied fro the client socket) used for server
469 (LyXDataSocket): simplify
470 (~LyXDataSocket): close ann unregiser callback
471 (server): delete function
472 (fd): delete function
473 (readln): small changes, improve some std::string usage
474 (writeln): constify a bit
476 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
478 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
481 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
483 * BufferView_pimpl.C (setBuffer): set the layout combox value only
484 after it has been populated
486 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
488 * text2.C (insertInset): move cursor when inserting inset.
490 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
492 * kbmap.C (findbindings): a couple of new methods. returns a
493 container of kb_sequence objects. The real work is done by the
494 private recursive version
495 (printbindings): uses findbindings to print out a bracketed list
496 of bindings (renamed from findbinding).
498 * MenuBackend.C (binding): use kb_keymap::findbindings
500 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
502 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
504 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
506 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
508 * paragraph.C (isWord): return true on insets that report
511 * text.C (getWord): use Paragraph::isWord to decide what is in a
512 word and what is not; fix bug 1609.
514 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
516 * tex-strings.C: add "none" to string_paperpackages[], fixes
517 off-by-one-error in the paperpackage selection.
520 * tex-strings.[Ch]: char const * string[n]
521 -> char const * const string[]
523 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
525 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
526 command, return early.
528 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
530 * debug.h: add DEBUG to enum and fix size of ANY.
532 * debug.C: add support for Debug::DEBUG
533 (showTags): cast errorTags.level to unsigned int
535 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
536 (redoCurrentBuffer): ditto
537 (updateScrollbar): ditto
538 * cursor.C (dispatch): ditto
539 * text2.C (setLayout): ditto
541 (updateCounters): ditto
543 (deleteEmptyParagraphMechanism): ditto
545 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
547 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
548 annotations to cleanup the Makefile slightly.
550 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
552 * lyxrc.C: do not set user_email to a default value but use empty
553 instead. The entry used to be translated, which does not work
554 since at the point where lyxrc is constructed there is no
555 translation service available
557 * messages.C (getLocaleDir): remove and use directly
558 lyx_localedir() instead
560 2004-06-02 Angus Leeming <leeming@lyx.org>
562 Fix crash caused by dereferencing null pointer 'exportdata' in
563 OutputParams by creating a new ExportData variable on the heap,
564 storing it in a boost::shared_ptr.
565 The crash was triggered when generating an Instant Preview
566 of an external inset.
568 * Makefile.am: add outputparams.C
570 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
571 (c-tor): allocate memory to it.
573 * exporter.C (c-tor): associated changes.
575 2004-06-01 Angus Leeming <leeming@lyx.org>
577 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
578 contains data before calling isInset(0). (Bug 1513.)
580 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
582 * exporter.C (checkOverwrite): new method
583 * exporter.C (copyFile): new method
584 * exporter.C (Export): copy referenced files to the document dir
585 * exporter.[Ch]: new class ExportedFile
586 * exporter.[Ch]: new class ExportData. Contains currently the
587 names of referenced external files
588 * outputparams.h: add exportdata member.
590 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
592 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
595 2004-05-19 Angus Leeming <leeming@lyx.org>
600 * lyxfunc.C: small changes due to the introduction of namespace
601 lyx::frontend and the moving of namespace biblio to lyx::biblio.
603 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
605 * text3.C (dispatch): supress update when only moving the cursor
606 * cursor.C (selHandle): remove commented code
608 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
610 * paragraph.C (startTeXParParams): correct column count
611 * CutAndPaste.C (pasteSelection): remove const_cast
612 * output_docbook.C (docbookParagraphs): remove const_cast
613 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
614 const_cast and return ParagraphList::const_iterator
615 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
616 * output_plaintext.C (writeFileAscii): remove const_cast
617 * paragraph.[Ch] (simpleTeXOnePar): make const
618 * paragraph_funcs.C (outerPar): use const iterators
619 * paragraph_pimpl.C (validate): use const iterators
620 * text.C (setHeightOfRow): use const iterators
622 2004-05-17 Angus Leeming <leeming@lyx.org>
625 * LyXAction.C (init): new LFUN_INSET_REFRESH.
627 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
628 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
629 if the citation engine has changed.
631 2004-05-14 José Matos <jamatos@lyx.org>
633 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
634 if the textclass does not provide it. Have it different for sgml and
636 support the language of document.
637 * output_docbook.C (docbookParagraphs):
638 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
639 first anchor as the id of the paragraph, remove special case code.
640 * sgml.C (escapeChar): escape only < & >.
642 2004-05-14 Angus Leeming <leeming@lyx.org>
644 * bufferparams.h: move biblio::CiteEngine enum here to minimize
645 dependencies on src/frontends/controllers/biblio.h. Define a
646 CiteEngine_enum wrapper class to enable the enum to be forward
649 2004-05-12 Angus Leeming <leeming@lyx.org>
651 * buffer.C: up LYX_FORMAT to 234.
652 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
653 use_numerical_citations with a single biblio::CiteEngine cite_engine
655 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
657 2004-05-13 José Matos <jamatos@lyx.org>
660 * converter.C (Converter, readFlags): add xml member.
661 * outputparams.h: add XML flavor.
662 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
664 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
666 * lyxfunc.C (dispatch):
667 (getStatus): fix handling of LFUN_SEQUENCE
669 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
671 * debug.C (showLevel): do not forget the end-of-line marker
673 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
675 * kbmap.C (read): do not stop parsing a bind file when an error
678 2004-04-29 Angus Leeming <leeming@lyx.org>
683 * text2.C: wrap a bunch of #warning statements
684 inside #ifdef WITH_WARNINGS blocks.
686 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
688 * buffer.C: increment format to 233.
690 2004-04-28 Angus Leeming <leeming@lyx.org>
692 * BufferView_pimpl.C:
695 s/updateToolbar()/updateToolbars()/
696 s/Toolbar.h/Toolbars.h/
698 2004-04-28 Angus Leeming <leeming@lyx.org>
700 * BufferView.[Ch] (c-tor):
701 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
702 No longer passes these data to the WorkArea generator.
704 2004-04-28 Angus Leeming <leeming@lyx.org>
706 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
708 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
710 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
712 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
714 * output_latex.C (TeXEnvironment): make sure that there is a line
715 break before \end{foo} for the last paragraph of a document
716 (TeXOnePar): if the paragraph is at the end of the document (or
717 inset) and the language has to be reset, then make sure that the
718 line break is _before_ the language command, not after (fixes bug
719 1225); also make sure that the language reset command is the first
720 thing after the paragraph (to ensure proper nesting of
721 environments and thus fix bug 1404)
723 2004-04-21 John Levon <levon@movementarian.org>
726 * ToolbarBackend.C: make "name" be a programmatic name
727 and a gui_name field.
729 * lyxfunc.C: display the minibuffer on M-x
731 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
733 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
736 2004-04-19 Angus Leeming <leeming@lyx.org>
738 * BufferView_pimpl.C (setBuffer): changed preview interface.
740 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
743 2004-04-19 John Levon <levon@movementarian.org>
745 * BufferView_pimpl.C:
746 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
748 2004-04-05 Angus Leeming <leeming@lyx.org>
750 * text.C (redoParagraphs): add call to updateCounters(), thereby
751 fixing the missing "Figure #:" label from the caption of a
754 2004-04-13 Angus Leeming <leeming@lyx.org>
756 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
757 cursor is clicked out of an inset.
759 2004-04-13 Angus Leeming <leeming@lyx.org>
761 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
762 than an InsetOld one.
764 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
766 * format.[Ch]: add editor to Format
767 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
768 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
770 2004-04-08 André Pönitz <poenitz@gmx.net>
772 * metricsinfo.h: remove PainterInfo::width member
774 2004-04-08 Angus Leeming <leeming@lyx.org>
776 * lyx_sty.C (boldsymbol_def): modify so that it outputs
777 "\providecommand" rather than "\newcommand", thereby preventing
778 clashes with packages that define "\boldsymbol" themselves.
781 2004-04-08 Angus Leeming <leeming@lyx.org>
783 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
784 thereby squashing an unnecessary warning.
786 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
788 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
791 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
793 * BufferView.C (setCursor): call redoParagraph (some insets could
795 (putSelectionAt): remove the 'double update' trick
797 * BufferView_pimpl.C (fitCursor): call refreshPar
798 (workAreaDispatch): remove an uneeded update call
799 (dispatch): remove some manual update calls
801 * cursor.[Ch]: remove cached_y_, updatePos
802 (selHandle): set noUpdate when appropriate
804 * lyxfunc.C (dispatch): track if we need an update
806 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
808 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
809 (paintSelection): cheap optimization, do not call cursorX when not
811 (paintPars): change signature
814 (paintTextInset): adjust
818 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
820 * lengthcommon.C: compilation fix: remove explicit array size from
821 unit_name[] and friends
823 2004-04-05 Angus Leeming <leeming@lyx.org>
825 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
827 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
828 present only for the preferences dialog.
829 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
831 2004-04-05 Angus Leeming <leeming@lyx.org>
833 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
834 to enable the frontends to export changes to lyxrc correctly.
836 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
838 2004-04-07 André Pönitz <poenitz@gmx.net>
840 * cursor.[Ch] (selClear, adjust): remove math
842 * cursor_slice.C: more agressive assert
845 * BufferView_pimpl.C: rework mouse event dispatch
852 2004-04-05 André Pönitz <poenitz@gmx.net>
854 * cursor.[Ch] (valign, halign...): remove unneeded functions
856 2004-04-05 Angus Leeming <leeming@lyx.org>
858 * lyxlength.[Ch] (unit_name et al.): const-correct.
860 2004-04-05 Angus Leeming <leeming@lyx.org>
862 * BufferView_pimpl.C:
871 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
873 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
875 * text3.C (getStatus): add LFUN_BEGINNINGBUF
877 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
879 * lyxfind.C: add a couple of inTexted() tests + other small fixes
880 * BufferView_pimpl.[Ch] (getStatus)
881 * BufferView.[Ch] (getStatus): add
882 * lyxfunc.C (getStatus): move lfuns handled in
883 BufferView::dispatch to te function above
884 * Cursor.C (setSelection): set selection() = true
886 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
888 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
890 2004-03-31 Angus Leeming <leeming@lyx.org>
892 * lyxfunc.C (dispatch): Fall through to the generic
893 Dialogs::show("preamble").
895 2004-03-31 Angus Leeming <leeming@lyx.org>
897 * lyxfunc.C (dispatch): Fall through to the generic
898 Dialogs::show("spellchecker").
900 2004-03-31 Angus Leeming <leeming@lyx.org>
902 * lyxfunc.C (getStatus, dispatch): changed invocation of the
905 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
910 * insetiterator.[Ch]:
915 * undo.[Ch]: s/DocumentIterator/DocIterator/g
917 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
919 * BufferView.C (setCursor, putSelectionAt): call edit to open the
920 insets where we are putting the cursor.
922 2004-03-31 Angus Leeming <leeming@lyx.org>
925 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
927 * lyxrc.[Ch] (read, write): overloaded member functions taking
928 a std::[io]stream arguments.
930 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
932 2004-03-31 Angus Leeming <leeming@lyx.org>
934 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
935 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
937 * lyxtextclass.C (load): if the text class couldn't be loaded, then
938 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
940 2004-03-31 Angus Leeming <leeming@lyx.org>
942 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
943 the LFUN_ALL_INSETS_TOGGLE code.
945 2004-03-30 Angus Leeming <leeming@lyx.org>
947 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
948 has died. Fall through to the generic Dialogs::show("document").
950 2004-03-30 Angus Leeming <leeming@lyx.org>
953 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
954 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
956 * lyxfunc.C (getStatus, dispatch): define the actions for these
957 lfuns. Little more than a cut and pste job from ControlDocument.C
959 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
961 2004-03-30 Angus Leeming <leeming@lyx.org>
964 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
965 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
967 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
968 open/closed state of ollapsable insets. Usage:
970 all-inset-toggle <state> <name>, where
971 <state> == "open" || "closed" || "toggle" and
972 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
974 * lyxtext.h, text2.C (toggleInset): removed.
976 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
977 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
978 now passes LFUN_INSET_TOGGLE to the found inset.
980 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
981 is now invoked as "all-insets-toggle toggle branch".
983 2004-03-30 Angus Leeming <leeming@lyx.org>
987 * pariterator.[Ch]: added/corrected header blurb.
989 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
991 * dociterator.[Ch]: add an inset_ member
992 (backwardPos): implemented
993 (backwardPos, forwardPos): use inset_ when the stack is empty.
994 (doc_iterator_begin, doc_iterator_end): implemented
995 * pariterator.[Ch]: adjust, add begin, end
996 * insetiterator.[Ch]: adjust, add begin, end
1000 * BufferView_pimpl.C:
1001 * CutAndPaste.C: adjust
1003 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1005 * buffer.C: increment file format to 232.
1006 * LaTeXFeatures.C: add bibtopic package.
1007 * bufferparams.[Ch]: param \use_bibtopic.
1009 * lyxrc.[Ch]: add lyxrc bibtex_command
1010 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1012 * buffer.C: increment file format to 231.
1014 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1016 * dociterator.C: implement forwardPar
1017 * iterators.[Ch]: remove, replaced by
1018 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1020 * BufferView_pimpl.C:
1023 * bufferview_funcs.C:
1029 * Makefile.am: adjust
1031 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1033 * CutAndPaste.C (pasteSelection): fix 2 crashes
1034 (eraseSelection): fix a crash
1035 * paragraph_funcs.C: remove a warning
1037 2004-03-28 Angus Leeming <leeming@lyx.org>
1040 * LyXAction.C (init): new LFUN_PRINT.
1042 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1044 2004-03-27 Angus Leeming <leeming@lyx.org>
1047 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1049 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1051 2004-03-27 Angus Leeming <leeming@lyx.org>
1053 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1054 insetlist always contains non-null pointers to insets.
1056 2004-03-26 Angus Leeming <leeming@lyx.org>
1058 * src/BufferView_pimpl.C:
1059 * src/CutAndPaste.C:
1062 * src/output_plaintext.C:
1063 * src/outputparams.h:
1064 * src/paragraph_funcs.C:
1068 * src/frontends/controllers/ControlErrorList.C:
1069 * src/frontends/gtk/FileDialogPrivate.C:
1070 * src/frontends/gtk/GPainter.C:
1071 * src/frontends/gtk/GToolbar.C:
1072 * src/frontends/qt2/QRef.C:
1073 * src/mathed/math_scriptinset.C: squash compiler warnings.
1075 2004-03-26 Angus Leeming <leeming@lyx.org>
1077 * ispell.C (LaunchIspell::start):
1078 * lyx_cb.C (AutoSaveBuffer::start):
1079 invoke run(DontWait) rather than runNonBlocking().
1081 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1083 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1085 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1087 * kbsequence.C (print): adjust
1089 * kbmap.C (printKeySym): rename and change signature
1090 (printKey): use LyXKeySym::print()
1092 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1094 * undo.C: add using std::advance to compile for stlport
1096 2004-03-24 Angus Leeming <leeming@lyx.org>
1098 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1099 it leads to a crash when no buffer is present.
1101 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1102 Martin Vermeer <martin.vermeer@hut.fi>
1104 * lyxfunc.C (dispatch):
1105 * bufferparams.C (readToken): use the new LColor::setColor
1107 * LColor.[Ch] (setColor): new version that takes two strings as
1108 argument and creates a new color entry if necessary
1110 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1112 * buffer.C (makeLaTeXFile): if the main latex file that is
1113 processed is usually a subdocument of some master, then pretend
1114 for a while that it is actually the master
1116 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1118 * buffer.C (getLabelList):
1119 (getBibkeyList): use getMasterBuffer()
1120 (getMasterBuffer): new method. Returns the main document in the
1121 case where one is using included documents.
1123 2004-03-25 André Pönitz <poenitz@gmx.net>
1127 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1129 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1131 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1132 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1134 * ParameterStruct.h: merge with ParagraphParameters
1136 * lyxtext.h: remove LyXText::parOffset() and getPar()
1138 * text3.C: Remove all 'manual' update calls. We do now one per user
1139 interaction which is completely sufficient.
1143 * BufferView_pimpl.C:
1144 * FontIterator.[Ch]:
1146 * ParagraphParameters.[Ch]:
1151 * cursor_slice.[Ch]:
1158 * output_docbook.[Ch]:
1159 * output_latex.[Ch]:
1160 * output_linuxdoc.[Ch]:
1161 * output_plaintext.[Ch]:
1163 * paragraph_funcs.[Ch]:
1164 * paragraph_pimpl.[Ch]:
1172 * frontends/controllers/ControlDocument.C:
1173 * frontends/controllers/ControlErrorList.C:
1174 * frontends/controllers/ControlSpellchecker.C:
1177 * insets/insetbase.h:
1178 * insets/insetbibitem.C:
1179 * insets/insetbox.C:
1180 * insets/insetbranch.C:
1181 * insets/insetcaption.C:
1182 * insets/insetcharstyle.C:
1183 * insets/insetcharstyle.h:
1184 * insets/insetcollapsable.C:
1185 * insets/insetcollapsable.h:
1186 * insets/insetert.C:
1187 * insets/insetfloat.C:
1188 * insets/insetfoot.C:
1189 * insets/insetmarginal.C:
1190 * insets/insetnote.C:
1191 * insets/insetoptarg.C:
1192 * insets/insettabular.C:
1193 * insets/insettext.C:
1194 * insets/insettext.h:
1195 * insets/insetwrap.C:
1196 * mathed/math_mboxinset.C:
1197 * mathed/math_nestinset.C:
1198 * mathed/math_scriptinset.C:
1199 * mathed/math_scriptinset.h:
1202 2004-03-24 Angus Leeming <leeming@lyx.org>
1204 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1205 deal with any child processes that have finished but are waiting to
1206 communicate this fact to the rest of LyX.
1208 2004-03-24 Angus Leeming <leeming@lyx.org>
1210 64-bit compile fixes.
1212 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1213 (c-tor): pass lyx::pos_types rather than ints.
1215 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1218 * text.C (Delete): compile fix.
1219 (getPar): ensure that function declaration is the same as that in
1222 2004-03-23 Angus Leeming <leeming@lyx.org>
1224 * ispell.C (LaunchIspell):
1225 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1226 a boost::shred_ptr rather than a std::auto_ptr.
1228 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1230 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1231 handle LFUN_FILE_INSERT_*
1233 * lyxrc.C (setDefaults, getDescription, output, read):
1234 * lyxrc.h: remove ps_command
1236 2004-03-22 Angus Leeming <leeming@lyx.org>
1238 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1239 Ensure that error_handler is processed once only and that all data
1240 is saved before attempting to output any warning messages.
1242 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1244 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1246 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1248 2004-03-19 André Pönitz <poenitz@gmx.net>
1250 * cursor.[Ch] (reset): take main text inset as argument
1252 * BufferView: adjust
1253 * BufferView_pimpl.C: adjust
1255 * paragraph.[Ch]: fix completely broken operator=()
1257 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1259 * LColor.C (getFromLyXName): make sure that the color name is used
1262 2004-03-17 Angus Leeming <leeming@lyx.org>
1265 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1267 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1268 dialog and to kill a forked process.
1270 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1272 * text2.C (setCursorFromCoordinates): fix font problem
1274 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1276 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1277 bogus "rebuild cursor" code
1279 2004-03-11 André Pönitz <poenitz@gmx.net>
1281 * buffer.[Ch]: use InsetText instead of LyXText as container for
1284 * dociterator.[Ch]: drop the BufferView * member which is not needed
1285 anymore after the change to buffer.C
1287 * paragraph_funcs.C:
1291 * BufferView_pimpl.[Ch]:
1293 * cursor_slice.[Ch]: adjust
1295 * text3.C: fix bug in mathDispatch
1297 2004-03-08 André Pönitz <poenitz@gmx.net>
1299 * undo.[Ch]: use 'StableDocumentIterator' as base for
1302 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1305 * bufferparams.[Ch]: add jurabib support and param.
1307 * LaTeX.C: add FIXME/comment.
1309 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1311 * buffer.C: increment file format to 230.
1313 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1315 * cursor.C (dispatch): avoid infinite loops
1317 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1319 * rowpainter.C (paintSelection): fix x coordinates
1321 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1323 * text.C (rowBreakPoint): fix breaking before displayed insets
1325 2004-03-01 André Pönitz <poenitz@gmx.net>
1327 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1329 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1333 * BufferView_pimpl.C:
1341 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1347 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1348 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1350 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1352 * Bidi.[Ch] (computeTables): const correctness
1353 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1354 fill_hfill, fill_label_hfill and x from Row
1355 * lyxtext.h: prepareToPrint returns a RowMetrics
1356 * rowPainter.C: adjust
1357 * text.C (prepareToPrint): use width, not textWidth. adjust
1358 (redoParagraphInternal, cursorX): adjust
1359 * text2.C (getColumnNearX): adjust
1360 (init): put a default value to the top LyXText::width
1362 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1364 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1366 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1368 * lyxtext.h: add FontIterator class
1370 * text.C (FontIterator, operator*, operator->, operator++): add
1371 (rowBreakPoint, setRowWidth): adjust (fixing a
1374 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1376 * BufferView_pimpl.C (workAreaDispatch): allow also
1377 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1379 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1381 * text.C (rowBreakPoint): fix a bug showing with very large insets
1383 2004-02-25 André Pönitz <poenitz@gmx.net>
1386 * cursor.[Ch]: move some mathed specific code to mathed
1388 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1390 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1391 use_tempdir in preferences
1392 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1394 * lyx_main.C: ensure that tempdir is valid
1395 * lyxlex.h: correct typo
1396 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1397 * paragraph.[Ch] (isMultiLingual): make const
1398 * cursor.[Ch] (openable): make const
1400 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1402 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1404 2004-02-20 André Pönitz <poenitz@gmx.net>
1406 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1408 * cursor.[Ch]: prepare for localized getStatus()
1414 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1416 2004-02-20 André Pönitz <poenitz@gmx.net>
1418 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1420 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1422 * text2.C (setCursorFromCoordinates): switch to absolute coords
1424 (cursorDown): adjust
1425 * text3.C (dispatch): adjust
1427 2004-02-16 André Pönitz <poenitz@gmx.net>
1429 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1432 * cursor_slice.[Ch]: remove unneeded acessor function
1434 * lyxtext.h: rename rtl() to isRTL()
1442 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1444 * rowpainter.C (paintSelection): coord fix
1446 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1448 * Spacing.C: compile fix
1450 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1452 * cursor.C (dispatch): restore current_ before returning
1454 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1456 * text2.C (cursorUp, cursorDown): fix coords
1459 2004-02-12 André Pönitz <poenitz@gmx.net>
1464 * text3.C: add LCursor & parameter to most cursor movement functions
1465 remove usage of LyXText::cursorRow() and cursorPar()
1467 * cursor.[Ch]: add textRow() needed members
1470 * BufferView_pimpl.C:
1473 * BufferView_pimpl.C: adjust
1475 2004-02-11 André Pönitz <poenitz@gmx.net>
1479 * BufferView_pimpl.C: shift undo/redo handling
1481 * cursor.[Ch]: fix mathed crash
1484 * lyxtext.h: move selectionAsText to LCursor
1492 * rowpainter.C: fix excessive drawing
1494 2004-02-06 André Pönitz <poenitz@gmx.net>
1497 * BufferView_pimpl.[Ch]:
1498 * text3.C: move some text specific LFUN handling
1500 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1502 * text3.C (checkInsetHit): adjust coords
1503 * text2.C (getColumnNearX): adjust coords
1504 (edit): adjust coords
1505 * text.C (getRowNearY): add two asserts
1507 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1510 * format.C: add using std::distance to compile on gcc 2.95/stlport
1512 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1514 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1516 2004-02-04 André Pönitz <poenitz@gmx.net>
1518 * BufferView.[Ch] (insertInset):
1519 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1524 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1526 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1527 on the default clause of the switch
1528 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1529 wasn't catched by LCursor::dispatch
1531 2004-02-03 André Pönitz <poenitz@gmx.net>
1534 * cursor.[Ch]: some additional asserts
1536 * undo.[Ch]: remove LyXText dependency in interface
1540 * lyxtext.h (firstPar, lastPar): remove dead functions
1545 * paragraph.[Ch]: adjust
1547 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1549 * lyxfind.C (find): fix argument order in call to ::find
1551 2004-02-02 André Pönitz <poenitz@gmx.net>
1553 * cursor.[Ch]: remove direct access to anchor
1555 * text.C: remove findText() hack
1557 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1559 * iterators.[Ch] (lockPath): remove in favour of...
1560 * BufferView.[Ch] (setCursor): this addition
1561 * BufferView.C (putSelectionAt): adjust
1562 * undo.C (performUndoOrRedo): adjust
1563 * lyxfunc.C (dispatch): adjust
1565 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1567 * iterators.C (lockPath): add a missing slice
1568 * undo.C (performUndoOrRedo): remove redundant positioning code
1570 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1572 * vc-backend.C (scanMaster): ";" -> ';'
1574 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1576 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1577 std::binary_function
1579 * lyxtextclass.C (compare_name): rename to...
1580 (LayoutNamesEqual): ...this
1582 * lyxlex_pimpl.C (compare_tags): inherit from
1583 std::binary_function, put back into anon namespace
1585 * lyxfind.C (MatchString): inherig from std::binary_function
1586 (findChange): use empty() istead of !size()
1588 * format.C (FormatNamesEqual): new functor
1595 * converter.C (compare_Converter): rename to...
1596 (ConverterEqual): ...this, and fixup a bit.
1597 (getConverter): use it, and make function const
1598 (getNumber): use it, and make function const
1602 * bufferlist.C: add using boost::bind
1604 * MenuBackend.C (MenuNamesEqual): new functor
1605 (hasMenu): use it, and make function const
1606 (hasSubmenu): use nested bind to get rid of compare_memfun.
1608 2004-01-30 André Pönitz <poenitz@gmx.net>
1610 * BufferView_pimpl.C:
1613 * cursor_slice.[Ch]:
1616 * paragraph_funcs.C:
1617 * paragraph_funcs.h:
1621 * text3.C: move some of the edit(x,y) handling to the insets
1622 some coordinate changes.
1624 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1626 * text.C: add using statements for std::advance and std::distance
1628 * paragraph.C: add using statement for std::distance
1630 * lyxfind.C: add using statement for std::advance
1632 * cursor.C (region): remove std:: from swap
1633 (openable): use nucleus in stead of operator->
1635 * BufferView.C: add using statements for std::distance and std::swap
1637 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1639 * iterators.C: Remove the pimple, move the needed structures to
1640 the header file. Create accessor for the positions stack.
1641 (asPosIterator): remove function
1643 * PosIterator.C (PosIterator): move constructors to top of file
1644 (PosIterator): reimplement the constructor taking a ParIterator in
1646 (setFrom): new function
1647 (operator!=): inline it
1649 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1651 * lyxfind.C (replaceAll): use std::advance
1653 * iterators.h: inherit from std::iterator.
1655 * PosIterator.C (advance, distance): remove
1656 * PosIterator.h: interit from std::iterator.
1658 2004-01-26 André Pönitz <poenitz@gmx.net>
1661 * BufferView_pimpl.[Ch]:
1665 * bufferview_funcs.C:
1675 * output_linuxdoc.C:
1676 * output_plaintext.C:
1678 * paragraph_funcs.[Ch]:
1679 * paragraph_pimpl.[Ch]:
1685 * text3.C: more IU: dumps most of the rest of the mathcursor
1686 implementation into cursor.[Ch]; "globalize" a bit of it.
1688 2004-01-25 Angus Leeming <leeming@lyx.org>
1690 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1692 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1694 * LaTeXFeatures.h: add nice_ and nice() const
1695 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1697 2004-01-20 André Pönitz <poenitz@gmx.net>
1700 * BufferView_pimpl.C:
1702 * bufferview_funcs.C:
1704 * cursor_slice.[Ch]:
1715 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1716 LCursor and mathcursor parts to LCursor and InsetBase.
1718 2004-01-15 André Pönitz <poenitz@gmx.net>
1720 * cursor_slice.[Ch]: add a few covienience functions
1722 * funcrequest.[Ch]: remove BufferView * member
1724 * BufferView_pimpl.C:
1731 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1733 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1735 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1736 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1738 2004-01-13 André Pönitz <poenitz@gmx.net>
1741 * lyxtext.h: hide cursor and selection anchor behind accessor function
1744 * BufferView_pimpl.[Ch]:
1746 * bufferview_funcs.C:
1756 * cursor_slice.[Ch]: some integer type changes for inset unification
1758 * lyxcursor.[hC]: remove, it's CursorSlice now.
1761 * BufferView_pimpl.[Ch]:
1762 * bufferview_funcs.C:
1768 * textcursor.[Ch]: adjust
1770 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1772 * text2.C (undoSpan): add and use
1773 * text.C (breakParagraph): use undoSpan (fix bug 578)
1776 2004-01-08 Angus Leeming <leeming@lyx.org>
1778 * BufferView_pimpl.C (MenuInsertLyXFile):
1779 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1780 * lyxfunc.C (menuNew, open, doImport):
1781 FileFilterList change to the FileDialog open and save functions.
1783 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1785 * ShareContainer.h: make isEqual and isUnique adaptable
1787 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1789 2004-01-07 Angus Leeming <leeming@lyx.org>
1792 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1794 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1796 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1797 functions replacing find, replace and replaceAll.
1799 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1800 LFUN_WORDFIND(FORWARD|BACKWARD).
1802 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1804 * text.C (breakParagraph): remove an outdated #warning
1806 2004-01-07 André Pönitz <poenitz@gmx.net>
1808 * lyxfind.C: somewhat clearer logic
1810 * text.C: prevent crash in cursorX on unitialized row cache
1812 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1814 * lyxcursor.[Ch] (operator>): add
1815 * textcursor.C (selStart, selEnd): use std::min and std::max
1817 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1819 * Chktex.C: include boost/format.hpp
1821 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1823 * InsetList.C: replace functor MathcIt with adaptable functor
1825 (insetIterator): modify accordingly
1827 * BranchList.h: move the BranchNamesEqual functor here from...
1828 * BranchList.C: ... to here
1830 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1832 (add): replace a finding loop with std::find_if.
1834 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1836 * output_docbook.C: moving LatexParam functionality into
1839 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1841 * buffer.C: increment format to 229.
1843 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1846 * lyx_sty.[Ch]: remove minipageindent_def
1852 * text3.C: remove LFUN_INSET_MINIPAGE
1854 2003-12-28 Angus Leeming <leeming@lyx.org>
1856 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1858 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1860 * text2.C (setParagraph): fix off-by-one crash
1862 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1864 * output_docbook.C: header stuff for AGU
1866 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1868 * text2.C (redoCursor): remove
1871 * BufferView_pimpl.C: remove calls to redoCursor and
1872 setCursor(cursor.par(), cursor.pos()) all around
1874 2003-12-15 Angus Leeming <leeming@lyx.org>
1876 * buffer.C: up the format to 228.
1878 2003-12-15 André Pönitz <poenitz@gmx.net>
1880 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1885 * BufferView_pimpl.C:
1894 2003-12-15 Angus Leeming <leeming@lyx.org>
1896 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1897 than getFromGUIName to manipulate the color.
1899 2003-12-14 Angus Leeming <leeming@lyx.org>
1901 * BranchList.[Ch]: minimize the API.
1902 (Branch::getBranch, getColor): now return a 'const &'.
1903 (Branch::setSelected) now returns a bool set to true if the
1904 selection status changes.
1905 (BranchList::clear, size, getColor, setColor, setSelected,
1906 allBranches, allSelected, separator): removed.
1907 (BranchList::find): new functions, returning the Branch with
1909 (BranchList::add, remove): return a bool indicating that
1910 the operation was successful.
1912 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1913 new InsetBranch::isBranchSlected member function.
1915 * LColor.[Ch]: mimimize the API.
1916 (fill): renamed as addColor and made private.
1917 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1918 versions of these functions taking a string arg have been removed.
1920 * bufferparams.C (readToken):
1921 * lyxfunc.C (dispatch):
1922 * lyxrc.C (read): changes due to the altered BranchList and
1925 * factory.C (createInset, readInset): changes due to altered
1928 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1931 * lyxfunc.C: remove insetminipage. "minipage-insert"
1932 now produces a frameless minipage box inset.
1934 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1936 * textcursor.[Ch] (selStart,selEnd): add new methods
1937 remove selection::start, end, use LyXCursor::operator<
1938 * lyxcursor.[Ch] (operator<): add
1939 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1940 * BufferView.[Ch] (unsetXSel): add
1941 * text2.C (clearSelection): use unsetXSel,adjust
1944 * rowpainter.C: adjust
1945 * bufferview_funcs.C (put_selection_at): adjust
1947 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1949 * BufferView_pimpl.C: small coord. correction
1951 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1953 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1954 dragging over the splash screen.
1956 2003-12-11 Angus Leeming <leeming@lyx.org>
1958 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1959 as it is now handled in LyXText::dispatch.
1961 * text3.C (doInsertInset): remove a level of nesting.
1963 2003-12-11 Angus Leeming <leeming@lyx.org>
1965 * factory.C (createInset): changes due to the changed interface to
1966 InsetCommandMailer::string2params.
1968 2003-12-10 Angus Leeming <leeming@lyx.org>
1970 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1971 'dialog-show-new-inset <inset name>'
1973 2003-12-10 Angus Leeming <leeming@lyx.org>
1975 * buffer.C: up the format to 227.
1977 * factory.C: the box inset is now identified simply by 'Box'.
1979 2003-12-10 Angus Leeming <leeming@lyx.org>
1981 * buffer.C: up the format to 226.
1983 * factory.C: the note inset is now identified simply by 'Note'.
1985 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1987 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1988 when a pit is enough. Standarize a couple of loops.
1990 2003-12-05 Angus Leeming <leeming@lyx.org>
1992 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1993 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1994 data to the re-worked "log" dialog.
1996 2003-12-03 André Pönitz <poenitz@gmx.net>
2002 * paragraph_funcs.C:
2004 * text2.C: use Inset::getText instead of Inset::getParagraph
2006 2003-12-03 André Pönitz <poenitz@gmx.net>
2010 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2011 InsetText::read() as LyXText::read()
2013 2003-12-02 Angus Leeming <leeming@lyx.org>
2015 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2016 type. Add a comment in the implementation that the function uses
2017 the stream's bad() function rather than fail() as the std::streams
2020 2003-12-02 André Pönitz <poenitz@gmx.net>
2022 * lyxlex.[Ch]: make interface more similar to std::stream
2024 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2026 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2028 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2030 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2032 * vspace.[Ch]: remove VSpace::NONE
2034 2003-12-01 André Pönitz <poenitz@gmx.net>
2037 * lyxtext.h: move ParagraphList member to LyXText
2038 rename LyXText::ownerParagraphs to LyXText::paragraph
2041 * bufferview_funcs.C:
2051 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2053 * undo.C: fix cursor positioning
2055 2003-12-01 John Levon <levon@movementarian.org>
2057 * BufferView_pimpl.C: fix a crash on exit with
2060 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2062 * BranchList.C: fix setSelected() method.
2064 2003-11-28 André Pönitz <poenitz@gmx.net>
2066 * ParagraphParameters.[Ch]:
2067 * ParameterStruct.h: remove space above/below from Paragraph to
2070 * BufferView_pimpl.C:
2076 * paragraph_funcs.C:
2082 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2084 * factory.C: Syntax change for CharStyles
2086 2003-11-28 André Pönitz <poenitz@gmx.net>
2091 * buffer.[Ch]: move LyXText member
2093 2003-11-28 André Pönitz <poenitz@gmx.net>
2095 * BufferView.[Ch]: make LyXText * text a private member
2097 * BufferView_pimpl.C:
2108 * output_plaintext.C: cleanup
2110 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2113 * lyxtextclass.[Ch]: parametrize SGML document header
2115 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2118 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2121 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2123 * text2.C (setFont): rework using PosIterator (no more recursive)
2124 (setCharFont): no more needed
2125 (setLayout): no more selection cursors fiddling (done by redoCursor)
2126 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2127 destroy remaining ones)
2129 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2131 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2133 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2136 * text3.C: adjust + re-allow multi par depth changes
2137 * textcursor.C: simplify a bit
2139 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2145 * src/output_docbook.C:
2146 * src/output_latex.C:
2151 * src/text2.C: Introducing a number of tags parametrizing various
2152 XML formats that we may want to support
2154 2003-11-25 André Pönitz <poenitz@gmx.net>
2156 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2158 * lyxtext.h (leftMargin/rightMargin): simplify interface
2165 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2167 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2168 master file to any child files. Fixes bug 546.
2170 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2172 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2174 2003-11-24 André Pönitz <poenitz@gmx.net>
2176 * rowpainter.C: simplification
2178 * text2.C (updateCounters): remove call to redoParagraph on
2179 changed labels as this is far too expensive.
2181 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2183 * converter.C (convert): fix a crash: this function gets
2184 called with buffer == 0 from importer code.
2186 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2188 * text3.C (cursorPrevious): make sure that we do not compare
2189 iterators form different containers.
2192 * rowpainter.C (paintSelection): make sure that we do not compare
2193 iterators from different containers.
2195 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2196 iterators from different ParagraphList containers.
2199 * text2.C (LyXText): change order of initialization slightly
2200 (operator=): new function. copy all variables except cache_par_
2201 (moveUp): make sure that we do not compare iterators from
2202 different ParagraphList constainers.
2205 * text.C (firstPar): new function
2206 (lastPar): new function
2207 (endPar): new function
2209 * lyxtext.h: move things around and group public functions, public
2210 variables, private functions, private variables
2212 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2214 * factory.C: change call to InsetERT constructor to avoid
2215 additional invocation of method status
2216 * text2.C (toggleInset): remove redundant update() call
2217 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2218 instead of a Bufferview pointer
2220 2003-11-21 André Pönitz <poenitz@gmx.net>
2222 * rowpainter.C: simplification
2224 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2226 * text3.C (dispatch): make possible to extend a word/row selection
2229 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2231 * lyxtext.h: x0_,y0_ -> xo_,yo_
2232 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2233 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2234 * rowpainter.C (paintRows): paint full paragraphs
2236 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2238 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2241 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2243 * lyxtext.h: add x0_, y0_
2244 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2245 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2247 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2249 * text2.C (setCursorIntern): move the x_target update here *
2250 * text3.C: change some bv() to true/false in calls to
2251 cursorUp/Down/Right/Left
2252 * cursor.C: use helper function.
2254 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2256 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2257 * paragraph_funcs.[Ch]: correct comment
2258 * rowpainter.C: do not paint selections away from bv->cursor()
2259 Fix a long standing selection painting bug.
2260 * text3.C: generalize mouse-selection code to LyXTexts other that
2262 * textcursor.C: do not use y coords if we can use par offsets
2264 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2266 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2267 cursor position after e.g. inset insert)
2269 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2271 * lyxfind.C (replace): adjust to locking removal + some
2274 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2276 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2279 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2282 * output_docbook.C: XML sanitation: new layout
2283 parameters InnerTag and CommandDepth
2285 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2287 * BufferView_pimpl.C:
2289 * text3.C: Fix the insertion and modification of button-style
2292 2003-11-13 André Pönitz <poenitz@gmx.net>
2294 * InsetList.[Ch]: remove deleteLyXText
2296 * paragraph.[Ch]: cache beginOfBody position
2301 * text3.C: remove superfluous update() calls
2305 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2307 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2308 * BufferView.C (fitLockedInsetCursor): remove
2309 * cursor.[Ch] (getDim): add
2310 * text.C (getRowNearY): add faster version
2311 * text3.C: remove some update calls
2313 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2325 * text3.C: The Character Style /XML short element patch.
2327 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2330 * factory.C: Small step to solving 'unable to insert some insets'
2333 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2335 * cursor.[Ch] (updatePos): new function for updating the y
2336 position of the tip inset
2337 * bufferview_funcs.C (put_selection_at):
2338 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2340 2003-11-11 André Pönitz <poenitz@gmx.net>
2342 * text.C: remove big comment on invalid Paragraph pointers as it is
2345 2003-11-11 André Pönitz <poenitz@gmx.net>
2347 * text_funcs.[Ch]: merge with ...
2355 * Makefile.am: remove text_funcs.[Ch]
2357 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2359 * cursor.C (getPos): return absolute cached y coord
2361 * BufferView_pimpl.C (fitCursor): new simplistic code
2362 (workAreaDispatch): add a fitCursor call
2364 2003-11-10 André Pönitz <poenitz@gmx.net>
2367 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2369 2003-11-10 André Pönitz <poenitz@gmx.net>
2371 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2372 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2373 indicate that the cursor needs to leave an inset
2375 * lyxtext.h: remove inset locking
2377 * cursor.[Ch]: re-implement functionality provided by inset locking
2380 * BufferView_pimpl.[Ch]:
2382 * bufferview_funcs.[Ch]:
2394 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2396 * PosIterator.[Ch]: replace the stack with a vector, add inset
2398 * iterators.[C]: adjust
2400 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2402 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2404 * paragraph_funcs.C (readParToken): put the correct id in the
2405 error item, not the id of the top paragraph
2407 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2409 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2410 * bufferview_funcs.C (put_selection_at): use the above
2412 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2414 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2416 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2418 * output_linuxdoc.h:
2419 * output_plaintext.h:
2421 * output_docbook.h: add #include statements
2423 2003-11-05 José Matos <jamatos@lyx.org>
2425 * output_docbook.[Ch]:
2426 * output_latex.[Ch]:
2427 * output_linuxdoc.[Ch]:
2428 * output_plaintext.[Ch]: New files for output formats.
2429 * output.[Ch]: New file for helper functions.
2432 * paragraph_funcs.[Ch]: output functions moved to new files.
2434 * outputparams.h: rename of latexrunparams.h
2442 * paragraph_funcs.[Ch]:
2443 * paragraph_pimpl.[Ch]:
2444 * tabular.[Ch]: rename ascii to plaintext
2445 and LatexRunParams to OutputParams.
2447 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2449 * iterators.[Ch] (text): require bv argument
2450 * undo.C (recordUndo):
2451 * lyxfunc.C (dispatch):
2452 * bufferview_funcs.C (put_selection_at): adjust
2454 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2456 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2458 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2460 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2463 2003-11-04 André Pönitz <poenitz@gmx.net>
2465 * cursor.[Ch]: restructure
2468 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2470 * iterators.[Ch] (asCursor): remove
2472 * lfuns.h: remove LFUN_INSET_EDIT
2478 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2480 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2482 * lyxfind.[Ch]: complete overhaul
2483 * BufferView_pimpl.C:
2485 * paragraph.[Ch] (insert): add
2487 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2491 * text.C: remove dead spellcheck code
2493 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2495 * dispatchresult.h: add a val setter
2497 * cursor.C (dispatch): use a tempvar for data_[i]
2499 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2501 * PosIterator.[Ch]: compile fix
2503 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2505 * text.C (cursorPar): deactivate the cursor cache
2507 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2509 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2511 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2513 * text3.C (dispatch): adjust for new DisptchResult semantics.
2515 * lyxfunc.C (dispatch): handle update when return from
2516 Cursor::dispatch, adjust for new DispatchResult semantics.
2518 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2519 DispatchResult(true) mean to not update. Add class functions for
2520 setting dispatched and update, as well as reading.
2522 * cursor.C (dispatch): don't handle update here
2524 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2526 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2527 * trans_mgr.C: adjust
2529 * paragraph_funcs.C (readParToken): exception safety
2531 * lyxvc.h: store the vcs pointer in a scoped_ptr
2534 * lyxsocket.C (serverCallback): exception safety
2536 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2538 * ispell.C (clone): make it return a auto_ptr
2540 * factory.C (createInset): exception safety
2541 (readInset): exception safety
2543 * bufferlist.C (newBuffer): exception safety
2545 * Thesaurus.C (Thesaurus): use initialization for aik_
2547 * MenuBackend.C (expandToc): exception safety.
2549 2003-11-03 André Pönitz <poenitz@gmx.net>
2553 * bufferview_funcs.C: remove getInsetFromId()
2556 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2562 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2564 * PosIterator.C (distance, advance): new
2565 * bufferview_funcs.[Ch] (put_selection_at): new
2566 * iterators.[Ch] (lockPath): new
2568 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2570 * iterators.[Ch] (asPosIterator): added
2571 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2572 * PosIterator.[Ch]: added
2574 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2578 * cursor.C (dispatch):
2579 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2581 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2582 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2583 contructor, add a class function dispatched. Remove operator>=
2585 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2587 * debug.C: only use the default constructor for debugstream
2590 * main.C (main): include debug.h and setup the lyxerr streambuf
2593 2003-10-31 José Matos <jamatos@lyx.org>
2595 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2597 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2598 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2599 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2600 * paragraph_pimpl.C (simpleTeXSpecialC):
2601 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2602 add LatexRunParams argument.
2604 * exporter.C (Export): change call accordingly.
2606 * latexrunparams.h: add new member to take care of the other backends.
2607 2003-10-30 José Matos <jamatos@lyx.org>
2609 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2610 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2611 factorise code for paragraph output.
2613 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2616 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2618 * text3.C (dispatch):
2619 * lyxfunc.C (dispatch):
2620 * cursor.C (dispatch):
2621 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2623 * dispatchresult.h: make the dispatch_result_t ctor explicit
2625 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2628 * buffer.C: small refactoring of docbook stuff
2630 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2632 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2635 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2638 operator dispatch_result_t, and operators for == != and >=
2640 * cursor.C (dispatch): adjust for operator dispatch_result_t
2641 removal. comment out call to update
2643 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2645 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2653 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2656 * dispatchresult.h: new file, DispatchResult broken out of
2659 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2661 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2663 * text.C (rowBreakPoint): put a hack inside #if 0
2665 2003-10-28 André Pönitz <poenitz@gmx.net>
2669 * paragraph_funcs.C:
2672 * text2.C: general cleanup (lots of small stuff)
2674 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2676 * text2.C (cursorEnd): simple fix to the "end key goes to one
2677 before the end on last row" bug
2679 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2681 * text.C (backspace): fix the "zombie characters"
2683 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2685 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2687 2003-10-27 André Pönitz <poenitz@gmx.net>
2689 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2691 * factory.C: handle new InsetPagebreak, InsetLine
2693 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2694 and move handling into new InsetPagebreak, InsetLine
2696 * BufferView_pimpl.C:
2698 * ParagraphParameters.C:
2699 * ParameterStruct.h:
2704 * paragraph_funcs.C:
2705 * paragraph_pimpl.C:
2711 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2714 * lyxrow_funcs.[Ch]:
2720 * text3.C: remove lastPos uses in favour of Row::endpos
2722 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2724 * undo.C (performUndoOrRedo): fix two crashes by setting a
2725 cursor by hand and reordering some calls. Use bv->lockInset instead
2726 of inset->edit because the latter loses cursor information
2728 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2730 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2732 (rowBreakPoint): fix width. change point to point + 1.
2733 Add a missing check.
2735 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2738 * lyxfunc.C: fix (at least partly) the problems
2739 with the Nav menu and headers inside branch insets
2742 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2744 * paragraph.C (getChar): add strong asserts
2746 * lyxrow_funcs.C (lastPos): remove hideous hack
2748 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2749 (fill): adjust to that (avoid an infinite loop)
2751 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2753 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2755 2003-10-23 André Pönitz <poenitz@gmx.net>
2757 * RowList_fwd.h: change list<> to vector<> to gain speed
2758 after suggestion from Alfredo
2760 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2762 * lyxtext.h: move the bidi stuff from here...
2765 * Bidi.[Ch]: ... to here
2767 2003-10-23 André Pönitz <poenitz@gmx.net>
2770 * text.C (isLastRow, isFirstRow): new functions
2772 * paragraph.h: new width cache member
2774 * rowpainter.C: replace RowList::iterator with Row & where possible
2776 * lyxfunc.C: replace several view()->text with a single call
2778 * toc.C: fix 'unused' warning
2780 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2782 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2783 when woring with stream::pos_type
2784 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2786 2003-10-22 André Pönitz <poenitz@gmx.net>
2789 * text.C: use Row & instead of RowList::iterator
2791 * lyxrow.h: rename end() to endpos()
2797 2003-10-22 Angus Leeming <leeming@lyx.org>
2799 * buffer.[Ch] (fully_loaded): new member function, returning true
2800 only when the file has been loaded fully.
2801 Used to prevent the premature generation of previews and by the
2802 citation inset to prevent computation of the natbib-style label.
2804 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2805 templates are all set up.
2807 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2809 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2811 * text.C: fixed an "oops" in the "is a bit silly"
2814 2003-10-21 André Pönitz <poenitz@gmx.net>
2816 * FuncStatus.[Ch]: small stuff, whitespace
2818 * lyxfont.[Ch]: operator<<() for debug reasons
2822 * lyxtext.h: whitespace, spelling
2824 * paragraph.C: naming of variables
2827 * text2.C: small stuff
2830 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2832 * text.C: (1) finish off the inset display() work;
2833 (2) fix the "is a bit silly" bug (accessing char
2836 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2838 * text.C: re-introduce display() for insets, fixing the
2839 various bugs (stretch of line above, math inset
2842 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2844 * text.C (rightMargin): remove spurious semicolon
2846 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2849 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2851 * text3.C: fix one crash due to wrong cursor def
2853 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2855 * vc-backend.C (scanMaster): make the regex static
2857 * LaTeX.C (scanAuxFile): make the regexs static
2859 * text3.C (doInsertInset, dispatch, dispatch):
2860 * text2.C (cursorUp, cursorDown):
2861 * text.C (selectNextWordToSpellcheck):
2862 * BufferView_pimpl.C (dispatch):
2863 * lyxfunc.C (dispatch): localDispatch -> dispatch
2865 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2867 * lyxsocket.C: include <cerrno>
2869 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2871 * lyxfunc.C (dispatch): remove textcache stuff
2873 * bufferlist.C (release): remove textcache stuff
2876 * TextCache.C: delete file
2877 * TextCache.h: delete file
2879 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2881 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2882 delete of the bv_->text.
2883 (resizeCurrentBuffer): remove texcache stuff
2884 (workAreaResize): ditto
2886 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2888 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2891 2003-10-16 André Pönitz <poenitz@gmx.net>
2898 * text3.C: speed up by storing y positions per paragraph plus per-row
2899 offset instead of having a 'full' y position in the row.
2901 2003-10-15 André Pönitz <poenitz@gmx.net>
2905 * undo.[Ch]: make undo aware of inner insets
2907 2003-10-14 Angus Leeming <leeming@lyx.org>
2909 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2910 static member functions LyX::ref() and LyX::cref.
2911 (lastfiles): new accessor functions for the new lastfiles_ member var.
2912 (addLyXView, views_): add a new LyXView to the list of views_.
2913 (updateInset): loop over all LyXViews to call their own updateInset
2914 member function, returning a pointer to the Buffer owning the inset.
2916 * BufferView_pimpl.C (loadLyXFile):
2917 * MenuBackend.C (expandLastfiles):
2918 * bufferlist.C (MenuWrite, QuitLyX):
2919 lastfiles is no longer a global variable.
2920 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2922 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2923 static function. Access through LyX::cref().emergencyCleanup().
2925 2003-10-14 André Pönitz <poenitz@gmx.net>
2927 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2929 * undo.[Ch]: restoring part of 'undo in insets'
2932 * undo_funcs.[Ch]: merge with undo.[Ch]
2934 * tabular.C: small cleansing stuff
2936 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2938 * paragraph_funcs.C (readParToken): report unknown insets as error
2939 boxes. Use the outer paragraph as location (also for unknown
2942 * factory.C (readInset): do not abort on reading an unknown inset.
2943 Eat it and return 0.
2945 2003-10-13 Angus Leeming <leeming@lyx.org>
2947 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2949 * lyxrc.C: displayTranslator is now a function,
2950 declared in GraphicsTypes.h.
2952 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2954 * format.C: new placeholder $$a to pass the socket address.
2956 * bufferlist.[Ch]: new function getBufferFromTmp.
2958 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2959 files in the temporary dir.
2961 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2963 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2965 * Makefile.am: add lyxsocket.[Ch].
2967 * lyx_main.C (error_handler): handle SIGPIPE.
2969 2003-10-13 André Pönitz <poenitz@gmx.net>
2971 * BufferView_pimpl.C:
2976 * undo_funcs.[Ch]: use paroffset_type instead of
2977 ParagraphList::iterators to prevent multiple conversion
2978 (and get a more robust interface)
2980 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2982 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2984 * text3.C (dispatch): ditto
2986 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2988 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2989 move the onlyfile, use onlyfile instead of foundfile in a couple
2992 * DepTable.C (update): flush the error stream a bit more
2994 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * lyxserver.C (callback): adjust
2998 * lyxfunc.C (getStatus): add a missing brace in commented code
2999 (ensureBufferClean): reindent
3000 (dispatch): delete version taking a string
3002 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3004 * LaTeX.C (deplog): move found file handlig from here...
3005 (handleFoundFile): .. to new function here.
3006 (deplog): make sure to discover several files mentioned on the
3009 2003-10-10 André Pönitz <poenitz@gmx.net>
3016 * text3.C: fix some of the tabular crashes
3018 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3020 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3022 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3024 2003-10-09 André Pönitz <poenitz@gmx.net>
3026 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3029 * BufferView_pimpl.C:
3030 * bufferview_funcs.C:
3041 * undo_funcs.C: adjust
3043 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3045 * text2.C (incrementItemDepth): new function, use a backtracking
3046 algorithm to discover the correct item depth.
3047 (resetEnumCounterIfNeeded): new function, use a backtracking
3048 algorithm to discover if counter reset is needed.
3049 (setCounter): use them. Simplify a bit. Add different labels for
3050 different item depths for itemize.
3052 * paragraph.C (Paragraph): remove initialization of enumdepth
3055 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3056 enumerate and itemize. Change the type of itemdepth to signed char.
3058 2003-10-08 André Pönitz <poenitz@gmx.net>
3060 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3065 * tabular.[Ch]: fix crash after 'row-insert'
3067 2003-10-08 Angus Leeming <leeming@lyx.org>
3069 Fix doxygen warnings.
3071 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3072 Remove CutAndPaste:: prefix from header file declaration.
3074 * LColor.h (fill): remove LColor:: prefix from declaration.
3076 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3077 use lyx::depth_type rather than Paragraph::depth_type so that
3078 header file and .C file match.
3080 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3082 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3083 * aspell.C: \file aspell_local.C -> \file aspell.C
3084 * gettext.C: \file gettext.C -> \file src/gettext.C
3085 * gettext.h: \file gettext.h -> \file src/gettext.h
3086 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3087 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3088 * text.C: \file text.C -> \file src/text.C
3090 * toc.C: move comment so that doxygen is not confused.
3092 2003-10-07 Angus Leeming <leeming@lyx.org>
3094 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3096 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3099 * aspell_local.h: add forgotten std::string's.
3101 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3108 * text3.C: The Box patch. Fancybox support, minipage, parbox
3110 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3116 * ParagraphParameters.h:
3126 * lyxtextclasslist.h:
3129 * paragraph_pimpl.C:
3130 * textcursor.h: add <string> and other small fixes to make Lars'
3131 std::string patch compile with STLport.
3133 2003-10-06 Angus Leeming <leeming@lyx.org>
3135 * LColor.h: Add missing #include <string>.
3137 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * All most all file in all subdirs: Make <string> be the prefered
3140 way of getting to std::string, add using declarations.
3142 2003-10-06 André Pönitz <poenitz@gmx.net>
3144 * metricsinfo.C: initialize LyXFont before changing attribute.
3145 (fixes the 'math in \emph is upright' bug)
3147 2003-10-06 André Pönitz <poenitz@gmx.net>
3149 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3151 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3154 * paragraph_pimpl.C: Small fixes to build using STLport
3156 2003-10-02 André Pönitz <poenitz@gmx.net>
3159 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3161 2003-10-01 André Pönitz <poenitz@gmx.net>
3163 * factory.C: assert early
3165 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3167 * lyx_main.C: remove the global debug object
3169 * debug.h: adjust for new debugstream
3171 * debug.C: adjust for new debugstream and keep the global debug
3174 2003-09-22 Angus Leeming <leeming@lyx.org>
3176 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3177 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3178 an incomplete class LyXFont.
3180 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3182 * factory.C: bug fix in branches
3184 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3186 * lyxfunc.C (processKeySym): adjust
3188 (dispatch): change arg name from ev to func, adjust
3189 (sendDispatchMessage): ditto
3191 * lyx_main.C (defaultKeyBindings): adjust keybindings
3192 (deadKeyBindings): ditto
3194 * kbsequence.C (addkey): return a FuncRequest
3196 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3198 * kbmap.C (bind): take a FuncRequest as arg, adjust
3201 (defkey): change to take a FuncRequest as arg, adjust
3202 (findbinding): take a FuncRequest as arg, adjust.
3204 * funcrequest.h (operator=): added
3206 * funcrequest.C (FuncRequest): default kb_action changed from
3207 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3209 * buffer.C (dispatch): simplify
3210 (dispatch): adjust to take a FuncRequest as arg, adjust
3212 * boost.C (assertion_failed): change assertion message slightly
3214 * ToolbarBackend.C (read): simplify
3216 * MenuBackend.C (binding): adjust call to findbinding, add a
3217 message if no binding is found.
3219 (expandToc): correct by adding a empty FuncRequest
3221 * LyXAction.C: include <boost/assert.hpp>
3222 (isPseudoAction): delete function
3223 (LookupFunc): change name to...
3224 (lookupFunc): this. change return type to FuncRequest.
3225 (getActionName): take kb_action as arg, simplify
3226 (funcHasFlag): add an assert, simplify.
3228 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3230 * toc.C (action): return a FuncRequest, simplify
3232 * lyxfunc.C (processKeySym): adjust
3233 (getStatus): delete version that takes an int.
3235 (dispatch): delete version that takes action as int
3237 (sendDispatchMessage): simplify and adjust
3239 * funcrequest.C (getArg): take unsigned int as arg
3241 * ToolbarBackend.C (read): adjust
3242 (add): delete version that takes func as a string.
3243 (getIton): take a FuncRequest as arg
3245 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3248 * MenuBackend.C (MenuItem): add a new construct that only takes a
3249 Kind, simplify the constructor use for submenus.
3251 (expandLastfiles): adjust
3252 (expandDocuments): adjust
3253 (expandFormats): adjust
3254 (expandFloatListInsert): adjust
3255 (expandFloatInsert): adjust
3256 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3258 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3259 Remove class variables lyx_pseudo_map and lyx_arg_map
3261 * LyXAction.C (searchActionArg): delete function
3262 (getPseudoAction): delete function
3263 (retrieveActionArg): delete function
3264 (LookupFunc): make it return kb_action, simplify.
3265 (getActionName): simplify
3267 * factory.C (createInset): fix new bug
3269 2003-09-19 Angus Leeming <leeming@lyx.org>
3271 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3272 masterFilename_ parameter in the include inset.
3274 * factory.C (createInset): changes due to the changes to InsetInclude.
3276 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3278 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3280 2003-09-18 Angus Leeming <leeming@lyx.org>
3283 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3284 Inset::fillWithBibKeys.
3285 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3287 2003-09-18 Angus Leeming <leeming@lyx.org>
3289 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3291 (ctor): pass and store a 'Buffer const &'
3292 (buffer): new member function.
3294 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3295 '*this' to the LaTeXFeatures ctor.
3297 2003-09-18 Angus Leeming <leeming@lyx.org>
3303 * text.C: rename EnumLColor as LColor_color.
3305 2003-09-18 Angus Leeming <leeming@lyx.org>
3307 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3308 remove #include "insets/insetbase.h" from cursor.h.
3310 2003-09-18 Angus Leeming <leeming@lyx.org>
3312 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3313 InsetOld_code to remove #include "inset.h".
3315 * iterators.C: add #include "insets/inset.h"
3317 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3319 * BufferView.C: remove more locking stuff that apparently doesn't
3320 do anything sensible.
3322 2003-09-16 André Pönitz <poenitz@gmx.net>
3325 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3328 2003-09-16 Angus Leeming <leeming@lyx.org>
3330 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3332 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3335 * paragraph.h: remove #include "lyxfont.h". Forward declare
3338 2003-09-16 Angus Leeming <leeming@lyx.org>
3340 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3341 of support/textutils.h.
3342 (isWord): move the contents of support/textutils.h's IsWordChar here.
3348 * text2.C: add #include "paragraph.h".
3351 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3353 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3359 * LaTeX.C: use namespace alias for lyx::support::os
3361 2003-09-16 Angus Leeming <leeming@lyx.org>
3364 * bufferview_funcs.C:
3367 * paragraph_pimpl.C:
3369 * text.C: add #include "LColor.h".
3371 2003-09-16 Angus Leeming <leeming@lyx.org>
3373 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3374 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3376 Store the FontBits::color variable as an int rather than as an
3377 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3380 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3381 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3382 string calls together.
3384 * lyxrc.C: add #include "LColor.h".
3386 2003-09-15 Angus Leeming <leeming@lyx.org>
3388 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3391 2003-09-15 Angus Leeming <leeming@lyx.org>
3393 * LColor.h: add an EnumLColor wrapper for LColor::color.
3395 * lyxfont.[Ch] (color, setColor, realColor):
3396 * lyxtext.h, text.C (backgroundColor):
3397 pass EnumLColor args to/from the functions, rather than LColor::color
3401 * lyxtext.h: forward declare EnumLColor.
3403 * lyx_main.C: add #include "LColor.h".
3405 2003-09-15 Angus Leeming <leeming@lyx.org>
3407 * .cvsignore: add lyx-gtk.
3409 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3414 * ParagraphParameters.C
3418 * bufferview_funcs.C
3428 * vc-backend.C: remove usage of STRCONV
3430 2003-09-15 Angus Leeming <leeming@lyx.org>
3432 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3433 explicitly define the color passed to the painter.
3435 2003-09-15 Angus Leeming <leeming@lyx.org>
3437 * bufferparams.C (BufferParams): reorder member initializers to avoid
3440 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3442 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3443 * text.C (updateRowPositions): remove an unusual nop
3445 2003-09-12 André Pönitz <poenitz@gmx.net>
3447 * BufferView_pimpl.C:
3456 * Counters.[Ch]: finish the 'automatic counters' job
3458 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3460 * aspell.C: include <boost/assert.cpp> (compile fix)
3462 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3464 * boost.C (assertion_failed): use lyx::support::abort instead of
3467 2003-09-10 Angus Leeming <leeming@lyx.org>
3469 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3470 with their _fwd progeny.
3472 2003-09-09 Angus Leeming <leeming@lyx.org>
3474 134 files throughtout the source tree: replace 'using namespace abc;'
3475 directives with the appropriate 'using abc::xyz;' declarations.
3477 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3479 * boost.C (emergencyCleanup): moved here from LAssert.c
3480 (assertion_failed): new function, called by BOOST_ASSERT
3482 * several files: change Assert to BOOST_ASSERT
3484 2003-09-09 Angus Leeming <leeming@lyx.org>
3486 * buffer.[Ch]: Add an Impl class and move Buffer's member
3487 variables into it. As a result move several header files out of
3490 Add header files to lots of .C files all over the tree as a result.
3492 2003-09-09 Angus Leeming <leeming@lyx.org>
3494 * buffer.[Ch]: make Buffer's member variables private. Add
3497 Lots of changes all over the tree as a result.
3499 2003-09-08 Angus Leeming <leeming@lyx.org>
3501 * graph.C: #include <config.h>.
3503 2003-09-08 Angus Leeming <leeming@lyx.org>
3507 * BufferView_pimpl.C:
3536 * toc.C: remove redundant using directives.
3538 2003-09-07 Angus Leeming <leeming@lyx.org>
3540 * LaTeXFeatures.h: remove #include "support/types.h".
3541 * ToolbarBackend.h: remove #include <algorithm>.
3542 * changes.h: remove #include <ctime>.
3543 * debug.h: remove #include <iosfwd>.
3544 * graph.h: remove #include "support/std_string.h".
3545 * lyx_main.h: remove #include <csignal>.
3546 * lyxlex_pimpl.h: remove #include <fstream>.
3547 * sgml.h: remove #include <algorithm>, <utility>.
3548 * toc.h: remove #include "support/std_ostream.h".
3549 Add #include <iosfwd>.
3551 2003-09-07 Angus Leeming <leeming@lyx.org>
3553 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3555 * converter.h: forward declare LatexRunParams.
3556 * encoding.h: remove #include "lyxrc.h".
3557 * lyxtext.h: remove #include "LColor.h".
3558 * lyxtextclass.h: remove #include "support/types.h".
3559 * trans.h: remove #include "tex-accent.h".
3560 * trans_mgr.h: remove #include "tex-accent.h".
3561 * insets/inset.h: remove #include "support/types.h", <vector>.
3562 * insets/insetcollapsable.h: remove #include "LColor.h".
3563 * insets/insetinclude.h: remove #include "dimension.h".
3564 * insets/insetlatexaccent.h: remove #include "dimension.h".
3565 * insets/insetoptarg.h:: remove #include "insettext.h".
3566 * insets/insettext.h: remove #include "dimension.h",
3567 <boost/shared_ptr.hpp>
3569 * insets/renderers.h: add #include "dimension.h".
3570 * insets/updatableinset.h: add #include "support/types.h".
3572 * many .C files: Associated changes.
3574 2003-09-06 Angus Leeming <leeming@lyx.org>
3576 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3577 one, inside testInvariant.
3579 * PrinterParams.C: new file.
3580 * PrinterParams.[Ch]: move the function bodies out of line.
3582 2003-09-06 Angus Leeming <leeming@lyx.org>
3584 * ParagraphParameters.h: forward declare ParameterStruct rather than
3585 including its header file.
3586 (depth): moved out-of-line.
3588 2003-09-06 Angus Leeming <leeming@lyx.org>
3590 * BufferView_pimpl.h:
3593 * lyxfunc.h: forward declare LyXKeySym rather than
3594 #include "frontends/LyXKeySym.h".
3596 * BufferView_pimpl.C:
3599 * lyxfunc.C: associated changes.
3601 2003-09-06 Angus Leeming <leeming@lyx.org>
3603 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3604 As a result, can remove the #include "insets/inset.h" from BufferView.h
3606 2003-09-06 Angus Leeming <leeming@lyx.org>
3608 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3609 As a result, can remove the #include "insets/inset.h" from BufferView.h
3611 2003-09-06 Angus Leeming <leeming@lyx.org>
3617 * bufferview_funcs.C:
3618 * BufferView_pimpl.C:
3623 * ParagraphParameters.C:
3628 * frontends/controllers/ControlDocument.C:
3629 * insets/insetcaption.C: rearrange the #includes into some sort of
3632 * buffer.h: remove #includes ErrorList.h, undo.h
3634 2003-09-06 Angus Leeming <leeming@lyx.org>
3636 * support/types.h: add a 'depth_type' typedef, used to store the
3637 nesting depth of a paragraph.
3640 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3641 defining explicitly.
3644 * paragraph_funcs.h:
3645 * ParagraphParameters.h:
3646 * sgml.h: use lyx::depth_type rather than Paragraph or
3647 ParameterStruct's depth_type.
3650 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3653 * BufferView_pimpl.C:
3655 * ParagraphParameters.C:
3658 * bufferview_funcs.C:
3665 * frontends/LyXView.C:
3666 * frontends/controllers/ControlDocument.C:
3667 * frontends/controllers/ControlErrorList.C:
3668 * insets/insetbibitem.C:
3669 * insets/insetbranch.C:
3670 * insets/insetcaption.C:
3671 * insets/insetcollapsable.C:
3672 * insets/insetenv.C:
3673 * insets/insetert.C:
3674 * insets/insetfloat.C:
3675 * insets/insetfoot.C:
3676 * insets/insetfootlike.C:
3677 * insets/insetnewline.C:
3678 * insets/insetquotes.C:
3679 * insets/insettabular.C:
3680 * insets/insettext.C:
3681 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3683 * frontends/controllers/ControlChanges.C: #include "changes.h".
3685 2003-09-06 Angus Leeming <leeming@lyx.org>
3687 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3688 than #including paragraph.h.
3691 * RowList.h: deleted. Superfluous.
3701 * insets/insettext.h: use ParagraphList_fwd.h rather than
3704 * paragraph.h: don't forward declare ParagraphList.
3707 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3708 rather than ParagraphList.h. paragraph.h is still needed for the
3709 Paragraph::depth_type parameters.
3711 * textcursor.h: enable it to compile stand-alone in light of the
3714 * bufferview_funcs.C:
3726 * frontends/controllers/ControlParagraph.C:
3727 * frontends/controllers/ControlTabular.C:
3728 * insets/insetmarginal.C:
3729 * insets/insetminipage.C:
3730 * insets/insetnote.C:
3731 * insets/insetoptarg.C: add header files needed to compile again.
3733 2003-09-06 Angus Leeming <leeming@lyx.org>
3735 * RowList_fwd.h: new file, forward-declaring Row rather than
3736 #including lyxrow.h.
3741 * insets/insettext.h: use it instead of RowList.h
3743 * bufferview_funcs.C:
3750 * text3.C: #include "RowList.h".
3752 2003-09-05 Angus Leeming <leeming@lyx.org>
3754 * factory.C (createInset):
3755 * vspace.C (c-tor): replace sscanf call with an istringstream.
3756 * ispell.C: re-add missing HP/UX headers.
3757 * lyxserver.C: re-add missing os2 headers.
3759 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3768 * text3.C: re-add missing system headers, needed for 2.95.2.
3770 2003-09-05 Angus Leeming <leeming@lyx.org>
3772 Changes most place everywhere due to the removal of using directives
3773 from support/std_sstream.h.
3775 2003-09-05 Angus Leeming <leeming@lyx.org>
3777 Replace LString.h with support/std_string.h,
3778 Lsstream.h with support/std_sstream.h,
3779 support/LIstream.h with support/std_istream.h,
3780 support/LOstream.h with support/std_ostream.h.
3782 Changes resulting throughout the tree.
3784 2003-09-05 Angus Leeming <leeming@lyx.org>
3786 * sgml.h: ensure that the header file can be compiled stand-alone.
3787 * *.C: strip out redundant #includes. (320 in total.)
3789 2003-09-04 Angus Leeming <leeming@lyx.org>
3791 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3792 here (from getPackages).
3794 * debug.[Ch]: add a new EXTERNAL tag.
3796 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3798 * text2.C (cursorEnd): simplify
3800 (getColumnNearX): adjust
3802 * text.C (computeBidiTables): adjust
3805 * rowpainter.C (paintChars): adjust
3806 (paintSelection): adjust
3807 (paintChangeBar): adjust
3810 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3812 (numberOfSeparators): adjust
3814 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3820 * text3.C: Restricts the mouse click functionality
3821 of insets like bibtex, include, toc and floatlist to the visible
3822 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3823 up the dialogs. Cursor has to be in front of the inset (i.e.
3824 start of row) for this to function.
3826 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3828 * bufferview_funcs.C (currentState): output row information
3830 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3832 * bufferview_funcs.C (currentState): output paragraph position
3834 2003-09-04 Angus Leeming <leeming@lyx.org>
3836 * FloatList.h: move out #include "Floating.h".
3837 * LaTeX.h: move out #include "DepTable.h".
3838 * LyXAction.h: move out #include "funcrequest.h".
3839 * buffer.h: move out #include "author.h", "iterators.h".
3840 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3841 * lyx_main.h: move out #include "errorlist.h".
3842 * lyxfunc.h: move out #include "FuncStatus.h".
3843 * lyxtext: move out #include "lyxcursor.h".
3844 * paragraph_pimpl.h: move out #include "counters.h".
3846 2003-09-03 Angus Leeming <leeming@lyx.org>
3848 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3849 preamble_snippets list, enabling us to add snippets to the preamble
3850 only if the snippet was not there already.
3852 2003-09-04 Angus Leeming <leeming@lyx.org>
3854 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3856 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3858 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3861 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3863 * BranchList.C: point fix, earlier forgotten
3865 2003-09-02 Angus Leeming <leeming@lyx.org>
3867 * box.C (contains): renamed from 'contained' after a fantastic
3870 2003-09-02 John Levon <levon@movementarian.org>
3876 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3878 2003-09-02 John Levon <levon@movementarian.org>
3880 * text2.C: simplification of cursorEnd(), including partial
3883 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3885 * buffer.C (readFile): add a space
3887 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3889 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3891 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3893 * buffer.C (readFile): new function, take a filename and a
3894 ParagraphList::iterator
3896 (readFile): adjust, make it private. don't use setStream, make
3897 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3898 always contain the filename.
3900 * BufferView.C (insertLyXFile): simplify and make it work for
3903 2003-08-30 John Levon <levon@movementarian.org>
3905 * Makefile.am: fix dist (from Kayvan)
3907 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3909 * most files: change to use const Buffer refs
3911 2003-08-27 André Pönitz <poenitz@gmx.net>
3913 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3914 on top of ownerPar().
3916 2003-08-27 John Levon <levon@movementarian.org>
3918 * funcrequest.C: properly initialise POD members
3920 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3922 * lyxtext.h (top_y): move top_y from here
3927 * BufferView_pimpl.[Ch]: to here
3928 * frontends/screen.C:
3929 * insets/insettabular.C:
3930 * insets/insettext.C: adjust
3931 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3933 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3936 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3938 2003-08-26 André Pönitz <poenitz@gmx.net>
3940 * paragraph_func.[Ch] (outerPar): new function
3943 * paragraph_funcs.C:
3944 * paragraph_funcs.h:
3945 * paragraph_pimpl.C:
3946 * text2.C: remove Inset::par_owner
3948 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3953 * text2.C: eliminates the needFullRow/display() stuff
3954 altogether, putting the logic in metrics/draw in the insets.
3956 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3958 * text2.C (redoParagraphInternal, redoParagraphs):
3959 * text.C (redoParagraph): add a call to updateRowPositions at the
3960 end of each 'metrics-like' call. Remove all others.
3961 (getRow): remove the 'y-computing' version.
3962 (getRowNearY): do not compute nor return the real y. Solve the
3963 'y < 0' problem and simplify.
3965 2003-08-22 Angus Leeming <leeming@lyx.org>
3967 * *.[Ch]: clean-up of licence and author blurbs.
3968 Also move config.h out of a few .h files and into a few .C files.
3970 2003-08-22 André Pönitz <poenitz@gmx.net>
3972 * lyxrow.[Ch]: add x_ and *fill_ members
3977 * text2.C: adjust/remove prepareToPrint() calls
3979 2003-08-22 André Pönitz <poenitz@gmx.net>
3981 * lyxrow.[Ch]: add end_ member
3983 * lyxrow_funcs.C: use LyXRow::end_
3985 * lyxtext.h (singleWidth): add LyXFont parameter
3988 * text2.C: adjust LyXText::singleWidth() calls
3990 * text.C (redoParagraph): simplify row breaking logic
3993 2003-08-19 André Pönitz <poenitz@gmx.net>
3995 * funcrequest.C: initialize button_ member
3998 * rowpainter.[Ch]: interface consolidation
4000 2003-08-18 André Pönitz <poenitz@gmx.net>
4003 * BufferView_pimpl.C:
4005 * paragraph_funcs.C:
4007 * text3.C: remove LyXScreen::draw() and fitCursor calls
4009 * BranchList.h: remove spurious semicolons
4011 * MenuBackend.C: fix branchlist related crash
4013 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4021 * bufferparams.[Ch]:
4025 * text3.C: implements the 'branch inset'
4026 idea. This allows the output of various versions of a document
4027 from a single source version, selectively outputing or suppressing
4028 output of parts of the text.
4029 This implementation contains a 'branch list editor' in a separate
4030 tab of the document settings dialog. Branches are user definable
4031 and have a "display colour" to distinguish them on-screen.
4033 ColorHandler was somewhat cleaned up.
4034 (1) make possible a dynamically growing LColor list by allowing
4035 the graphic context cache to grow along (vector);
4036 (2) eliminate an IMHO unnecessary step in colour allocation.
4038 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4040 * BufferView_pimpl.C: compile fix
4042 2003-08-15 André Pönitz <poenitz@gmx.net>
4044 * rowpainter.C: remove extra metrics calls
4046 * lyxtext.h: merge the two constructors into a single one,
4047 pass reference to owner's par list
4049 * BufferView_pimpl.C:
4053 2003-08-15 André Pönitz <poenitz@gmx.net>
4055 * lyxrow_funcs.[Ch]:
4058 * paragraph_funcs.C:
4063 * text_funcs.C: split LyXText::rowlist_ into individual
4064 Paragraph::rows_ chunks
4067 * BufferView_pimpl.[Ch]:
4070 * text3.C: remove toggleSelection()
4072 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4074 * bufferlist.C: beautify two alerts (shorter text of buttons)
4075 * buffer.C: Remove redundant ' ' from message
4077 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4078 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4079 rename VALIGN_CENTER to VALIGN_MIDDLE
4081 2003-08-11 André Pönitz <poenitz@gmx.net>
4083 * lyxtext.h (getPar):
4084 * text.C: new function
4086 2003-08-11 André Pönitz <poenitz@gmx.net>
4089 * tracer.[Ch]: remove unneeded files
4091 * InsetList.[Ch]: remove resizeInsetsLyXText()
4096 * text3.C: merge insertParagraphs() and appendParagraph()
4097 remove breakAgain(), update()
4099 * BufferView_pimpl.[Ch]:
4100 * bufferview_funcs.[Ch]:
4104 * tabular.C: adjust after text & InsetList changes.
4106 2003-08-08 André Pönitz <poenitz@gmx.net>
4108 * text.C (insertChar, backspace): replace rowlist fiddling
4109 with rebreak of full par
4112 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4113 checkParagraph, updateInset): removed
4115 2003-08-07 André Pönitz <poenitz@gmx.net>
4118 * text3.C: merge some LFUN handlers, remove dead code
4120 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4122 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4124 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4126 * text2.C (DEPM): fix part of bug 1255 and 1256
4128 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4130 * BufferView_pimpl.C (workAreaDispatch): change to use
4131 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4132 that are no mouse related.
4134 2003-08-05 André Pönitz <poenitz@gmx.net>
4137 * BufferView_pimpl.[Ch]:
4138 * bufferview_funcs.C:
4140 * text3.C: rip out "deep update"
4142 * textcursor.[Ch] (last_sel_cursor): remove unused member
4144 2003-08-04 André Pönitz <poenitz@gmx.net>
4147 * BufferView_pimpl.[Ch]:
4148 * ParagraphParameters.C:
4149 * bufferview_funcs.C:
4155 * text3.C: replace "complicated" BufferView::update(...) calls with
4158 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4160 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4162 * Makefile.am (lyx_SOURCES): add paper.h
4164 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4166 * Makefile.am: move things around so that both lyx-qt and
4167 lyx-xforms can be built (according to --with-frontend). Then lyx
4168 is a symbolic link to lyx-[firstfrontend]
4170 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4172 * Always use std::endl with lyxerr
4174 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4176 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4178 2003-08-01 André Pönitz <poenitz@gmx.net>
4181 * BufferView_pimpl.[Ch]:
4183 * text3.C: merge BufferView::repaint() and BufferView::update()
4185 2003-08-01 José Matos <jamatos@lyx.org>
4187 * buffer.[Ch]: file_format is no longer a buffer data element.
4189 2003-08-01 André Pönitz <poenitz@gmx.net>
4194 * text2.C: make redoParagraph more independent of current cursor
4196 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4198 * text2.C: remove unneeded members
4200 2003-07-30 André Pönitz <poenitz@gmx.net>
4202 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4204 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4205 create a single function...
4207 * paragraph_funcs.C (moveItem): ... here.
4210 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4212 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4214 * LColor.[Ch]: Add comment and greyedout logical colors.
4216 2003-07-30 André Pönitz <poenitz@gmx.net>
4218 * tabular.C: don't use Assert too heavily. This crashes where it
4221 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4223 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4224 is disabled (bug 1232)
4226 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4228 * factory.C: limited 'arg' scope
4230 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4232 * factory.C: fixed Note submenu issues
4234 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4236 * factory.C: submenu for Note/Comment/Greyedout
4238 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4241 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4243 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4246 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4247 greyedout. Patch provided by Jürgen Spitzmüller.
4249 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4251 * kbmap.C (read): fix error message when reading bind files
4253 2003-07-29 Angus Leeming <leeming@lyx.org>
4255 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4256 certainly does not do what it purports to do. I am doing it, and
4257 us, a favour by killing it.
4259 2003-07-28 José Matos <jamatos@lyx.org>
4261 * buffer.C (readBody, do_writeFile):
4262 * paragraph.C(readParagraph): \end_document replaces \the_end.
4264 2003-07-29 André Pönitz <poenitz@gmx.net>
4267 * BufferView_pimpl.[Ch]:
4271 * textcursor.[Ch]: remove toggleToggle & Co
4273 2003-07-28 José Matos <jamatos@fep.up.pt>
4275 * buffer.C (readParagraph):
4276 * params_func (readParToken, readParagraph):
4277 * paragraph.C (write): \layout -> \begin_layout.
4279 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4281 * lyxlex_pimpl.C (setFile): clean up slightly.
4283 * bufferparams.h: add compressed var
4285 * buffer_funcs.C (readFile): adjust for LyXLex change
4286 (newFile): ditto + simplify
4288 * buffer.C (writeFile): handle writing of compressed files
4290 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4291 Check if the file is compressed and set a bufferparm if so.
4293 * Makefile.am (lyx_LDADD): remove explicit -lz
4295 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4297 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4298 makeDocBookFile): put the real LyX version in the first line of
4302 * version.C.in: remove lyx_docversion
4304 * tabular.C (write_attribute): add a template-based version to
4305 write enums properly
4307 2003-07-28 André Pönitz <poenitz@gmx.net>
4312 * text3.C: use doubles again for x-coordinates. They are needed.
4314 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4316 * messages.C (getLocaleDir): use lyx_localedir()
4318 * lyxlex_pimpl.C (setFile): compress stuff
4320 * buffer.C (writeFile): add some compression stuff
4321 (do_writeFile): new func, dont call expliti close... will this
4324 * Makefile.am (lyx_LDADD): add -lz
4326 2003-07-28 José Matos <jamatos@fep.up.pt>
4328 * buffer.C: increment file format.
4329 * paragraph_funcs (readParagraph, readParToken):
4330 * paragraph.C (readParagraph): add \end_layout.
4332 2003-07-27 Angus Leeming <leeming@lyx.org>
4334 * Makefile.am: remove special casing for configure-time setting of
4335 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4337 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4338 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4340 2003-07-26 André Pönitz <poenitz@gmx.net>
4342 * paragraph_func.[Ch]:
4343 * paragraph.C (realizeFont): inline it whereever it is used
4348 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4351 2003-07-26 André Pönitz <poenitz@gmx.net>
4355 * text2.C: get rid of LyXText::need_break_row
4357 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * toc.[Ch]: put namespace toc inside namespace lyx
4361 * MenuBackend.C (expandToc2): adjust for lyx::toc
4364 * lyxfunc.C (dispatch): adjust for lyx::find
4366 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4367 lyx::find instead. Reorganize a bit.
4368 (LyXReplace): rename to replace
4369 (LyXFind): rename to find
4371 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4374 2003-07-26 André Pönitz <poenitz@gmx.net>
4376 * text.C (setHeightOfRow): restrict scope of temporary variable
4378 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4379 code (never has been used?)
4381 2003-07-27 Asger Alstrup <alstrup@local>
4383 * text.C (fill): Optimise algorithm to exploit that we can reuse
4384 the LyXFont for many characters.
4385 (setHeightOfRow): Same thing.
4386 (rowBreakPoint): Same thing.
4388 2003-07-26 Asger Alstrup <alstrup@local>
4390 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4392 * text.C (singleWidth): Spurious font copying in hot-spot
4393 singleWidth avoided. Reorder tests for arabic for efficiency.
4395 * text.C (fill): handle empty paragraphs better.
4397 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4400 * encoding.h: add includes
4402 * lyxrc.C: remove reading of bind files
4404 * lyx_main.C (init): setup bindings and menus only if we have a
4407 * kbmap.C (read): new method. Do the actual reading of bind
4410 * converter.C (dvipdfm_options):
4413 (output): adapt PAPER_* enums.
4415 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4417 * bufferparams.h: remove paper-related enums from there
4419 * paper.h: New file. A trivial header file to hold paper-related
4420 enums. It should later expand to contain many paper-related
4423 * lyxrc.C: declare extern displayTranslator
4425 2003-07-27 José Matos <jamatos@fep.up.pt>
4427 * tabular.[Ch] (linuxdoc): add support for tables and figures
4430 2003-07-27 José Matos <jamatos@fep.up.pt>
4432 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4433 consistency in both functions.
4434 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4436 2003-07-26 Asger Alstrup <alstrup@local>
4438 * rowpainter.C (paintRows): Change algorithm to work directly on
4439 the insets rather than asking every character in the document
4440 whether its an inset.
4442 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4444 * buffer.C (openFileWrite): factorize some code
4446 2003-07-26 Angus Leeming <leeming@lyx.org>
4449 * lyx_main.[Ch]: replace occurances of system_tempdir with
4452 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4454 * rename Inset to InsetOld
4456 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4458 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4459 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4460 which I think is a bit clearer. EDIT is gone, since it was
4461 premature optimisation, and broken for mathed anyway.
4462 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4463 with cursor positioning in insets as well (math insets still do not
4464 work, but that's a different story anyway.) It mysteriously
4465 crashes sometimes with undo in the first paragraph, but I'm fairly
4466 confident that this is a compiler bug.
4468 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4470 * paragraph.C (Paragraph): adjust for new clone return type
4472 (copyIntoMinibuffer): ditto
4474 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4476 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4477 by not having a special case, and always doing a full rebreak of
4478 the document after undo.
4480 2003-07-23 Angus Leeming <leeming@lyx.org>
4482 * factory.C (createInset): InsetExternal::setParams now takes a
4485 2003-07-23 Angus Leeming <leeming@lyx.org>
4487 * factory.C (createInset): changed interface to the external and
4488 graphics mailers' string2params functions.
4490 2003-07-23 Angus Leeming <leeming@lyx.org>
4492 * factory.C (createInset): pass a
4493 Buffer const * parameter to InsetExternalMailer's string2params.
4495 2003-07-22 John Levon <levon@movementarian.org>
4497 * Thesaurus.h: include the right aiksaurus header
4499 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4501 * MenuBackend.C (expand): check menu shortcuts unconditionally
4503 2003-07-21 Angus Leeming <leeming@lyx.org>
4505 * factory.C (createInset): pass a
4506 buffer_path parameter to InsetGraphicsMailer's string2params.
4508 2003-07-21 Angus Leeming <leeming@lyx.org>
4510 * BufferView_pimpl.C (buffer):
4513 * lyxfunc.C (dispatch):
4514 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4515 rather than the grfx shortcut.
4517 2003-07-21 André Pönitz <poenitz@gmx.net>
4519 * rowpainter.C: remove unused variables
4522 * tabular_funcs.h: move to tabular.C
4523 * Makefile.am: adjust
4525 * tabular.[Ch]: basic optical cleaning
4527 * author.h: pass references, not values
4529 2003-07-18 André Pönitz <poenitz@gmx.net>
4537 * text3.C: two-phase drawing for InsetText and InsetTabular
4538 some float -> int changes.
4540 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4542 * lyx_main.C: fix the fix
4544 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4546 * lyx_main.C: fix a crash in batch mode if no files specified
4549 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4551 * format.[Ch] (papersize): moved to BufferParams
4552 * converter.[Ch] (dvips_options): moved to BufferParams
4553 (dvipdfm_options): moved to anon namespace
4554 * bufferparams.[Ch]: added above functions.
4556 2003-07-17 André Pönitz <poenitz@gmx.net>
4560 * text2.C: don't call inset->update() anymore
4562 * metricsinfo.[Ch]: add convenience constructor
4564 2003-07-16 André Pönitz <poenitz@gmx.net>
4569 * text2.C: replace the LyXCursor::irow_ member with
4570 on-demand computation of the value
4572 2003-07-16 John Levon <levon@movementarian.org>
4574 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4576 2003-07-15 André Pönitz <poenitz@gmx.net>
4579 * text2.C: remove no more needed refresh_row
4581 2003-07-15 André Pönitz <poenitz@gmx.net>
4586 * text3.C: refresh_status tristate -> need_update bool
4588 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4590 * lyxtext.h (init): remove reinit argument (act as if always true)
4591 * text2.C: adjust to that
4593 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4595 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4596 * text3.C: use it to delete selections in some cases
4597 (bugs 441, 673, 702, 954).
4599 2003-07-14 André Pönitz <poenitz@gmx.net>
4601 * rowpainter.[Ch]: reduce interface
4603 2003-07-14 André Pönitz <poenitz@gmx.net>
4605 * BufferView_pimpl.C:
4606 * text2.C: adjust after removing unused BufferView * argument
4608 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4610 * text2.C (init): fix a crash fired on resize
4612 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4614 * buffer.[Ch]: added new closing signal
4615 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4616 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4617 BufferView::Pimpl via the closing the signal
4619 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4621 * buffer.[Ch]: take out all bv-related from buffer
4623 * BufferView_pimpl.[Ch]: connect to new signals
4624 * CutAndPaste.C: removed useless asserts
4625 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4628 * lyxfunc.C: moved view-related funciontality from vc here
4629 * paragraph.C: removed outdated comments
4632 2003-07-10 André Pönitz <poenitz@gmx.net>
4634 * BufferView_pimpl.C:
4638 * text2.C: remove InsetText::InnerCache, clean up consequences
4640 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4642 * ispell.C: fix two typos in error messages
4644 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4646 * Extend Note inset to other forms of annotation like Comment
4647 and Greyedout. Right button click gives dialog.
4649 Files modified or added (+):
4653 * ControlNote.[Ch] +
4655 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4656 frontends/controllers
4660 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4662 * aspell.C: add missing namespace lyx::support
4664 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4666 * BufferView.[Ch] (newFile): Add
4667 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4668 * LaTeX.[Ch] (message): added this signal and use it
4669 * buffer.[Ch] (busy, message): added these signals and use them
4670 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4674 * importer.C: use buffer signals instead of direct bv calling
4675 * lyx_cb.[Ch] (ShowMessage): removed
4678 * paragraph_funcs.C:
4679 * text2.C: use buffer signals
4681 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4683 * introduce namespace lyx::graphics
4685 2003-07-02 André Pönitz <poenitz@gmx.net>
4687 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4689 2003-07-01 André Pönitz <poenitz@gmx.net>
4696 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4697 text*.C to text_func.C
4699 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4701 * introduce namespace lyx::support
4703 2003-06-30 André Pönitz <poenitz@gmx.net>
4708 * text.C: re-enable --with-included-string
4710 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4712 * textcursor.C: add <config.h>
4714 * text.C (getWord): remove const from word_location arg
4716 * lyxvc.C (getLogFile): fix const type order
4718 * lyxtext.h: remove const from word_location arg, add arg name
4720 * lyxlayout.h: currect type on labeltype.
4722 * importer.C: correct \file
4724 * converter.C (intToFormat): use std:: on ret val, ws changes
4726 * bufferlist.h: correct \file
4728 * buffer.C (makeLinuxDocFile): fix const type order
4729 (makeDocBookFile): ditto
4730 (fillWithBibKeys): use std:: on stdlib args.
4732 * CutAndPaste.C: fix authors.
4733 (availableSelections): use std:: on return vector
4735 2003-06-27 André Pönitz <poenitz@gmx.net>
4737 * BufferView_pimpl.C:
4738 * bufferview_funcs.C:
4746 * text3.C: remove LyXCursor::row_ member
4749 * text.C: rename fullRebreak() to partialRebreak() and implement
4750 a fullRebreak() that really bereks fully
4752 * textcursor.h: new struct for cursor-related data
4754 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4756 * lyx_main.C (LyX): get full path of document loaded on the
4759 2003-06-26 André Pönitz <poenitz@gmx.net>
4761 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4762 remove unused/broken operator>,<,>=.
4764 * text.C: remove only use of broken operator<= in an Assert().
4766 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4768 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4769 moved errorlist_.clear to showErrorList
4771 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4773 * converter.C (scanLog, runLaTeX):
4774 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4775 move the bv->showErrorList call to the callers
4776 * lyxfunc.C: i.e. here...
4778 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4779 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4780 namespace, the second to...
4781 * buffer_funcs (BufferFormat, parseErrors): added
4782 * errorlist.C (ErrorList(TeXErrors const &)): removed
4784 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4786 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4788 2003-06-24 "Garst R. Reese" <reese@isn.net>
4792 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4794 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4796 * version.C.in: change docversion to 1.4
4798 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4800 * buffer.C: fix a bug just introduced
4802 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4804 * buffer.[Ch]: added the parseError signal and use it, removed
4806 * BufferView.[Ch] (addError): moved to ...
4807 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4808 to the Buffer::parseError signal to catch (guess what) parse errors
4809 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4811 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4813 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4814 ability to create a buffer and to return an existing one from
4815 the list. Moved these functions to...
4816 * buffer_funcs.[Ch]: added
4817 * BufferView.[Ch] (loadLyXFile): added
4818 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4819 job removed from bufferlist::loadLyXFile.
4820 * buffer.C (setReadOnly): make it work without view
4821 (i.e added an if (users))
4823 2003-06-19 Angus Leeming <leeming@lyx.org>
4826 * LyXAction.C (init):
4827 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4828 with LFUN_DIALOG_SHOW <name> <data>.
4830 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4832 * CutAndPaste.C (availableSelections): small compilation fix for
4833 ancient (gcc 2.9x) compilers
4835 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4837 * text3.C (cursorNext): add tmp var
4839 * text2.C (updateCounters): for function calling out of for clause
4840 (replaceSelectionWithString): ditto
4841 (insertStringAsParagraphs): ditto
4842 (getColumnNearX): add tmp var
4843 (setCursorFromCoordinates): add tmp var
4844 (cursorDownParagraph): add tmp var
4845 (deleteEmptyParagraphMechanism): add tmp var
4847 * text.C (insertChar): add tmp var
4849 * rowpainter.C (paintDepthBar): add tmp var
4851 * CutAndPaste.C (availableSelections): potentially check all
4852 paragraphs in a cut to fill the shown strings.
4854 2003-06-18 André Pönitz <poenitz@gmx.net>
4856 * kbmap.[Ch]: use vector<> instead of list<>
4858 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4860 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4861 pasteSelection with index
4863 * text2.C (pasteSelection): modify, call pasteSelection with index
4865 * paragraph.C (asString): reimplement version with no interval to
4866 call the one with interval.
4868 * lyxtext.h: add index arg to pasteSelection
4870 * MenuBackend.C (MenuItem): handle PasteRecent
4871 (Menu::read::Menutags): add md_pasterecent
4873 (expandPasteRecent): new function
4876 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4878 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4880 (availableSelections): new function
4882 2003-06-17 Angus Leeming <leeming@lyx.org>
4884 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4886 2003-06-17 Angus Leeming <leeming@lyx.org>
4889 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4891 * lyxfunc.C (dispatch): invoke it.
4893 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4895 * iterators.C (operator++, ParPosition): reintroduce some
4896 const_cast for the benefit of older compilers.
4898 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4900 * text3.C (dispatch): do not modify clipboard when doing
4901 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4902 LFUN_DELETE_SKIP on a selection selection
4904 2003-06-16 André Pönitz <poenitz@gmx.net>
4910 * tabular.[Ch]: IU of clone() and getLabelList();
4912 2003-06-13 André Pönitz <poenitz@gmx.net>
4914 * tabular.h: compactification
4916 2003-06-12 André Pönitz <poenitz@gmx.net>
4920 * tabular_funcs.h: some renaming plus whitespace
4922 2003-06-12 André Pönitz <poenitz@gmx.net>
4925 * BufferView_pimpl.C:
4931 * toc.C: Return a Paragraph & for ParIterator::operator*()
4933 2003-06-11 John Levon <levon@movementarian.org>
4937 * ToolbarBackend.C: add "Toolbars" section and
4940 2003-06-10 Angus Leeming <leeming@lyx.org>
4943 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4945 * lyxfunc.C (dispatch): invoke it.
4947 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * main.C: protect <ios> with HAVE_IOS
4950 (main): protect sync_with_stdio with HAVE_IOS
4952 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4954 * text2.C (cutSelection): adjust
4955 (pasteSelection): adjust
4957 * messages.C: handle get of empty string
4959 * main.C (main): use sync_with_stdio(false)
4961 * lyxfunc.C (dispatch): adjust
4963 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4964 (WriteAs): remove unneeded BufferView arg.
4966 * bufferparams.h: use correct types on papersize, papersize2 and
4969 * bufferparams.C (readToken): adjust for type
4970 (writeLaTeX): add missing cases to switch.
4972 * bufferlist.C (quitWriteBuffer): adjust
4975 * buffer.C (asciiParagraph): remove some commented code.
4977 * CutAndPaste.C: remove current_view extern variable.
4978 (cutSelection): add BufferParams arg.
4979 (eraseSelection): add BufferParams arg.
4980 (pasteSelection): add Buffer const & arg
4982 2003-06-07 John Levon <levon@movementarian.org>
4985 * paragraph_funcs.C:
4986 * paragraph_pimpl.C:
4990 * paragraph.C: allow InsetERT to freely space lines,
4991 and some consolidation of code
4993 2003-06-06 José Matos <jamatos@fep.up.pt>
4995 * buffer.C (makeDocBookFile): fix bug #821
4997 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4999 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5001 2003-06-04 Angus Leeming <leeming@lyx.org>
5003 * buffer.C: bump format to 224.
5005 2003-06-05 André Pönitz <poenitz@gmx.net>
5007 * text2.C (redoParagraphs): remove two const_cast<>
5009 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5011 * ParagraphList.h: remove last remnants of NO_STD_LIST
5013 2003-06-03 Angus Leeming <leeming@lyx.org>
5015 * factory.C (createInset): small change to the way InsetExternal's params
5018 2003-06-04 André Pönitz <poenitz@gmx.net>
5020 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5022 * paragraph_pimpl.h:
5023 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5025 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5027 * undo_funcs.C: make some simple cases of undo work again
5029 2003-06-03 John Levon <levon@movementarian.org>
5031 * ispell.C: HPUX doesn't have sys/select.h
5034 2003-06-03 John Levon <levon@movementarian.org>
5036 * CutAndPaste.C: update tabular and include inset
5041 * paragraph.C: remove owningBuffer(), don't pass Buffer
5044 * factory.C: insetGraphicsParams changed
5046 2003-06-02 John Levon <levon@movementarian.org>
5052 * text3.C: remove insetparent
5054 2003-06-02 John Levon <levon@movementarian.org>
5057 * buffer.C: fix inset_iterator.end(), move out of line
5060 2003-06-01 John Levon <levon@movementarian.org>
5062 * text3.C: use a proper cut/paste when doing inset
5063 insert (from Jürgen Spitzmüller)
5065 2003-06-01 John Levon <levon@movementarian.org>
5067 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5069 2003-05-30 André Pönitz <poenitz@gmx.net>
5071 * rowpainter.C: unify second drawing phase
5073 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5075 * trans_mgr.C: remove one case of current_view
5077 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5079 * paragraph_funcs.h: remove paragraph.h include
5081 * paragraph.h: delete NO_STD_LIST stuff
5083 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5085 * buffer.h: remove paragraph.h include
5087 * ParagraphList.C: delete file
5089 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5091 * toc.C (getTocList): adjust
5093 * paragraph_pimpl.C (validate): adjust
5095 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5097 * paragraph.C (Paragraph): adjust
5098 (getPositionOfInset): use const_iterator, adjust
5099 (bibitem): use const_iterator, adjust
5100 (setInsetOwner): adjust
5102 * iterators.C (operator++): adjust
5104 * InsetList.[Ch]: Replace selfmade iterator with standard
5105 vector::iterator also introduce const_iterator. Remove getPos,
5106 getInset and setInset from InsetTable. Adjust accordingly.
5108 * BufferView.C (lockInset): adjust
5109 (ChangeInsets): adjust
5111 * tabular.[Ch]: delete commented same_id functions
5113 2003-05-28 John Levon <levon@movementarian.org>
5115 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5117 2003-05-28 André Pönitz <poenitz@gmx.net>
5119 * metricsinfo.[Ch]: remove 'fullredraw' member
5121 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5123 * lyxtextclass.C (operator): remove caching.
5125 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * text2.C (cursorBottom): adjust
5130 (setCounter): use ParagraphList::find, adjust
5132 * text.C (workWidth): use ParagraphList::find, adjust
5134 * lyxcursor.C (LyXCursor): adjust
5136 * buffer.C (inset_iterator): adjust
5138 * ParagraphList.h: make iterator(value_type) private, make
5139 ParagraphList a friend of iterator.
5141 * ParagraphList.C (find): new function
5143 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5145 2003-05-27 André Pönitz <poenitz@gmx.net>
5147 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5149 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5151 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5153 2003-05-26 John Levon <levon@movementarian.org>
5155 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5157 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5159 * remove same_id from function signatures, adjust.
5161 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5163 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5165 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5167 * paragraph.C (Paragraph): get rid of same_ids parameter
5169 * ParagraphList.C (insert): adjust
5172 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * paragraph_funcs.C (breakParagraph): adjust
5175 (breakParagraphConservative): adjust
5177 * buffer.C (readParagraph): adjust
5179 * ParagraphList.C (insert): take a reference instead of a pointer
5182 * paragraph.[Ch] (id): new function
5184 * bufferlist.C (newFile): adjust
5186 * ParagraphList.C (ParagraphList): adjust
5188 (push_back): take a reference instead of a pointer.
5190 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5192 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5195 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5196 set else use old code.
5198 * ParagraphList.C: remove all NO_NEXT code and only compile this
5199 code of NO_STD_LIST is set.
5201 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5203 * BufferView_pimpl.C:
5213 * graphics/GraphicsConverter.C:
5214 * graphics/PreviewLoader.C: header adjustment
5216 2003-05-23 Angus Leeming <leeming@lyx.org>
5218 * LaTeXFeatures.[Ch] (useBabel): new method.
5219 * bufferparams.C (writeLaTeX): use it.
5221 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * ParagraphList.h (set): remove unused function.
5225 2003-05-23 André Pönitz <poenitz@gmx.net>
5228 * BufferView_pimpl.C:
5232 * undo_funcs.C: setUndo reworked
5234 * iterators.[Ch]: add access to topmost ParagraphList
5236 * lyxtext.[Ch] (workWidth): add a const
5238 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5240 * texrow.[Ch] (increasePos): remove function
5241 * exporter.C (export): removed unused var and outdated comment
5243 2003-05-23 Angus Leeming <leeming@lyx.org>
5245 * latexrunparams.h: rename fragile as moving_arg.
5246 * paragraph.C (simpleTeXOnePar): ditto.
5247 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5249 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5251 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5253 (textUndoOrRedo): comment out a currently unused var.
5255 * paragraph.h (NO_NEXT): enable NO_NEXT
5257 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5259 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5261 * exporter.C (Export): adjust for removeAutoInsets removal.
5263 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5265 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5267 * BufferView.[Ch] (removeAutoInsets): delete function
5269 2003-05-22 Angus Leeming <leeming@lyx.org>
5271 * latexrunparams.h: add a free_spacing variable.
5273 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5274 to pass moving_arg, as the data is stored in runparams.fragile.
5276 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5277 to Inset::latexOptional or to simpleTeXOnePar.
5279 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5280 free_spacing arg to Inset::latexOptional.
5282 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5285 2003-05-22 Angus Leeming <leeming@lyx.org>
5287 * latexrunparams.h: add fragile and use_babel variables.
5289 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5290 * buffer.C (makeLaTeXFile): store this returned value in
5291 runparams.use_babel, thus passing it to the inset::latex methods.
5293 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5294 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5296 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5297 longer has a fragile arg, as it is stored in runparams.fragile.
5299 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5300 moving_arg parameter as the data is stored in runparams.fragile.
5302 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5303 a fragile parameter as the data is stored in runparams.fragile.
5305 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5307 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5309 2003-05-22 Angus Leeming <leeming@lyx.org>
5311 * latexrunparams.h: add a 'bool nice' which defaults to false.
5313 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5314 now encapsulated within runparams.
5316 * bufferlist.C (updateIncludedTeXfiles):
5317 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5319 2003-05-22 Angus Leeming <leeming@lyx.org>
5321 * latexrunparams.h: new file containing struct LatexRunParams.
5322 * Makefile.am: add new file.
5324 * LaTeX.[Ch] (c-tor, run):
5325 * buffer.[Ch] (makeLaTeXFile):
5326 * bufferlist.[Ch] (updateIncludedTeXfiles):
5327 * converter.C (convert, scanLog):
5328 * converter.[Ch] (runLaTeX):
5329 * exporter.C (Export):
5330 * paragraph.[Ch] (simpleTeXOnePar):
5331 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5332 * paragraph_funcs.[Ch] (latexParagraphs):
5333 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5334 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5335 pass around a LatexRunParams parameter.
5337 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5339 * paragraph.[Ch]: remove unused constructor
5341 * ParagraphList.C (erase): new function, taking two iterators
5343 2003-05-22 André Pönitz <poenitz@gmx.net>
5345 * undo_funcs.C: remove duplicated code
5347 * iterator.[Ch]: operator=
5349 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5351 * tabular.C (SetMultiColumn): ws changes
5353 * rowpainter.C (paintFirst): get rid of a ->previous
5355 * lyx_cb.C (getPossibleLabel): parlist simplification
5357 * BufferView.C (ChangeInsets): simplify slightly.
5359 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5361 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5362 * lfuns.h: new LFUN_SPACE
5363 * lyxfunc.C: protected space has a new lfun
5364 * paragraph_funcs.C: read new space insets
5366 * factory.C: handle new space insets
5368 2003-05-22 André Pönitz <poenitz@gmx.net>
5371 * BufferView_pimpl.C:
5374 * undo_funcs.C: return a ParIterator from getParFromID.
5376 * iterators.[Ch]: add two const's
5378 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * toc.C (getTocList): adjust
5382 * iterators.[Ch]: rework for parlist
5384 * buffer.C (par_iterator_begin): adjust
5385 (par_iterator_end): adjust
5387 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5389 * BufferView.C (removeAutoInsets): adjust
5390 (ChangeInsets): adjust
5392 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5394 * text.C (top_y): fix bug 1110
5396 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5398 * errorlist.[Ch]: added
5401 * BufferView_pimpl.C:
5402 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5405 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5407 * Makefile.am: ensure that lyx is relinked upon changes to the
5408 various "convenience" libs.
5410 2003-05-20 Angus Leeming <leeming@lyx.org>
5412 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5413 files are compiled in alphabetical order again.
5415 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5417 2003-05-19 Angus Leeming <leeming@lyx.org>
5419 * gettext.[Ch]: remove "char const * _(char const *)".
5421 2003-05-19 André Pönitz <poenitz@gmx.net>
5423 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5432 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5434 2003-05-19 André Pönitz <poenitz@gmx.net>
5438 * lyxtextclass.[Ch]:
5440 * paragraph_funcs.[Ch]:
5442 * text3.C: more insetenv work
5444 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5446 * ParagraphParameters.C (params2string): small bug fixed
5448 2003-05-16 André Pönitz <poenitz@gmx.net>
5451 * bufferview_funcs.C: patch from Kornel Benko to prevent
5452 crash when _(...) is called twice in a statement
5454 2003-05-16 André Pönitz <poenitz@gmx.net>
5461 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5463 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5465 * lyx_main.C (init): remove spurious static_cast
5467 2003-05-14 André Pönitz <poenitz@gmx.net>
5469 * BufferView.C: fix format string
5471 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5473 * BufferView.[Ch] (insertErrors): removed
5474 * BufferView.[Ch] (showErrorList): added
5475 * buffer.C (runChkTeX):
5476 * converter.C (scanLog): call showErrorList instead of inserterrors
5478 2003-05-13 André Pönitz <poenitz@gmx.net>
5480 * BufferView_pimpl.C:
5482 * bufferview_func.C:
5489 * tabular_funcs.h: tostr() from its own header
5491 * ParagraphParameters.C:
5496 * text3.C: STRCONV()
5498 2003-05-12 André Pönitz <poenitz@gmx.net>
5501 * BufferView_pimpl.C:
5505 * ParagraphParameters.C:
5509 * bufferview_funcs.C:
5522 * paragraph_funcs.C:
5526 * text3.C: boost::format -> bformat all over the place
5529 2003-05-09 André Pönitz <poenitz@gmx.net>
5531 * LColor.[Ch]: Pimpl the #include <map> away
5533 2003-05-09 John Levon <levon@movementarian.org>
5535 * bufferlist.C: never remove emergency saves
5537 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * Makefile.am: better lib building
5541 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5543 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5545 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5546 (simpleTeXSpecialChars): adjust
5547 (simpleTeXSpecialChars): adjust
5548 * paragraph.C (simpleTeXOnePar): adjust
5549 * buffer.C (makeLaTeXFile): adjust
5551 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5553 * text2.C (changeDepth): parlist cleanup
5554 (getColumnNearX): ditto
5556 * rowpainter.C (getLabelFont): parlist cleanup
5558 * bufferlist.C (newFile): parlist cleanup
5560 * CutAndPaste.C (eraseSelection): parlist cleanup
5562 * BufferView_pimpl.C (trackChanges): parlist cleanup
5565 * BufferView.C (lockInset): parlist cleanup.
5566 (ChangeInsets): ditto
5568 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * CutAndPaste.h: Update file header.
5572 * CutAndPaste.C: Update file header.
5573 Store the parts cut out of the Document in a limited_stack.
5574 (copySelection): adjust
5575 (pasteSelection): new function, takes the index in the limited stack.
5576 (nrOfParagraphs): adjust
5577 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5578 simplify error inset insertion.
5579 (checkPastePossible): adjust
5581 2003-05-06 John Levon <levon@movementarian.org>
5583 * text2.C: don't cast wrap inset to float
5585 2003-05-05 André Pönitz <poenitz@gmx.net>
5588 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5590 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5591 few naked Paragraph *.
5593 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5595 * bufferparams.C: Output warning if a document with missing
5596 TeX document class is loaded
5597 * exporter.C: Disable TeX exports if the document class is missing
5600 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5601 isTeXClassAvailable()
5603 2003-05-03 John Levon <levon@movementarian.org>
5606 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5607 explicit cursor show/hide
5609 * BufferView_pimpl.h:
5610 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5611 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5613 * lyxfunc.C: hide cursor before dispatching.
5618 * text3.C: remove explicit cursor hides
5620 2003-05-02 André Pönitz <poenitz@gmx.net>
5622 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5625 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5628 * text2.C: tiny whitespace
5630 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5632 * undo_funcs.C: almost only ws changes.
5634 * ParagraphList.C (splice): just return if pl is empty.
5636 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5638 * ParagraphList.C (splice): new function.
5640 * CutAndPaste.C (pasteSelection): use it
5642 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5644 * CutAndPaste.C (pasteSelection): remove the last next and
5645 previous from this file.
5647 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5649 * CutAndPaste.C (pasteSelection): more clean up, user proper
5650 ParagraphList functions for pasteing.
5652 * ParagraphList.C (insert): new function, three arg insert
5654 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5656 * ParagraphList.C (insert): new function, three arg insert
5658 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5661 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5663 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5665 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5669 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5671 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5672 (copySelection): clean up a bit.
5673 (pasteSelection): use make_pair
5675 * ParagraphList.C (ParagraphList): implement copy constructor
5676 (operator=): implement, base on copy constructor.
5679 * paragraph.C (erase): return a bool
5681 * paragraph_pimpl.C (erasePos): remove function, move contents...
5682 (erase): ... here. Return a bool.
5683 (erase): call erase instead of erasePos.
5685 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5687 * ParagraphList.h: define PitPosPair
5688 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5689 ParagraphList, fix a bug on pasting multiple pars
5690 * text2.C: change interface to C&P
5692 2003-04-30 André Pönitz <poenitz@gmx.net>
5694 * undo_func.C: revert part of yesterday's patch 2
5696 2003-04-30 John Levon <levon@movementarian.org>
5698 * LColor.C: s/tabular/table/
5700 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5702 * text3.C (dispatch): do not convert iterator -> pointer
5703 * undo_funcs.C (setCursorParUndo): ditto
5704 * text_funcs.C (transposeChars): ditto
5706 * text2.C (setLayout): ws changes only
5708 * text.C (breakParagraph): do not convert iterator -> pointer
5710 (acceptChange): ditto
5711 (rejectChange): ditto
5716 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5719 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5721 * text3.C (gotoInset): YABG (yet another bad getChar)
5723 2003-04-29 André Pönitz <poenitz@gmx.net>
5725 * paragraph.h: make operator= private unimplemented as long as
5728 * ParagraphList.C: whitespace
5731 * paragraph_pimpl.[Ch]:
5732 * paragraph_funcs.C:
5734 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5737 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5739 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5741 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5742 * paragraph.[Ch] (erase):
5743 * paragraph_pimpl.[Ch] (erase): change return type and value
5744 * text2.C (cutSelection): some rework
5746 2003-04-28 John Levon <levon@movementarian.org>
5748 * bufferlist.C: changes for unsaved changes dialog
5750 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5752 * bufferlist.C (newFile): set language (messages_) for new
5755 * buffer.C (readFile): ws changes only.
5757 2003-04-28 André Pönitz <poenitz@gmx.net>
5762 * BufferView_pimpl.C:
5763 * BufferView.C: getParFromID related ParagraphList::iterator changes
5765 2003-04-28 André Pönitz <poenitz@gmx.net>
5767 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5770 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5772 * messages.C: remove one more localedir class variable.
5774 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5776 * messages.C (getLocaleDir): singleton generation function
5778 (Messages): add a default constructor.
5780 * main.C (main): do not setup localedir here, do not call
5783 * gettext.C (_): use it.
5784 (gettext_init): delete funciton
5786 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5788 * gettext.C (getLyXMessages): new singleton generating function.
5790 * buffer.C (updateDocLang): adjust
5792 * Makefile.am (messages.o): add target
5793 (main.o): remove target
5795 2003-04-27 John Levon <levon@movementarian.org>
5800 * lyxvc.C: specify cancel button in Alert::prompt
5802 2003-04-26 John Levon <levon@movementarian.org>
5807 * LyXAction.C: add LFUN_INSET_SETTINGS
5809 * lyxfunc.C: don't enable tabular-feature when there's
5810 just any locking inset
5812 2003-04-26 John Levon <levon@movementarian.org>
5814 * bufferlist.C: re-add Cancel to buffer close question
5816 * lyxfunc.C: fix import UI a bit
5818 2003-04-25 John Levon <levon@movementarian.org>
5820 * gettext.C: remove the broken asserts for now
5822 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5824 * messages.C: make case where setlocale cannot comply work better.
5826 * buffer.C (updateDocLang): new function
5827 (changeLanguage): use it
5830 * text2.C (setCounter): use B_ a bit.
5832 * lyxlayout.C (Read): be sure to trim the label strings.
5834 * messages.C (Messages): fix typo in comment
5836 * buffer.C (readFile): set message_ after file is loaded.
5837 (makeDocBookFile): remove double return
5838 (changeLanguage): reset message_ upon language change.
5839 (B_): new func, use this to get translated buffer strings.
5841 * main.C: add myself and Jean Marc as authors.
5843 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5845 * messages.[hC]: pimplify Messages, and three different pimpls to be
5846 used in different circumstances.
5848 * gettext.[Ch]: change for use with new message code.
5850 2003-04-24 André Pönitz <poenitz@gmx.net>
5852 * factory.C: support for eqref
5854 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5856 * messages.[Ch]: add missing char
5858 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5860 * messages.[Ch]: New files
5862 2003-04-18 John Levon <levon@movementarian.org>
5866 * BufferView_pimpl.C:
5870 * text2.C: remove layout-copy/paste (bug 778)
5872 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5874 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5876 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5878 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5879 if they succeed. Act accordingly.
5881 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5883 * text2.C (setCharFont): adjust
5884 (setCounter): adjust
5885 (insertStringAsLines): adjust
5887 * text.C (leftMargin): adjust
5888 (setHeightOfRow): adjust
5890 * rowpainter.C (paintFirst): adjust
5893 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5895 (isFirstInSequence): ditto
5896 (getEndLabel): ditto
5899 * paragraph.C (getParLanguage): comment out some hard stuff.
5901 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5903 (simpleDocBookOnePar): ditto
5904 (makeDocBookFile): use ParagraphList::iterator
5906 * CutAndPaste.C (pasteSelection): adjust
5908 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5910 * text2.C (getFont): adjust
5911 (getLayoutFont): adjust
5912 (getLabelFont): adjust
5914 * paragraph_funcs.C (TeXOnePar): adjust
5916 * buffer.C (simpleLinuxDocOnePar): adjust
5917 (simpleDocBookOnePar): adjust
5919 * CutAndPaste.C (pasteSelection): adjust
5921 * BufferView.C (getEncoding): adjust
5923 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5925 2003-04-16 John Levon <levon@movementarian.org>
5927 * lyxfind.C: use parlist stuff for search/changes
5929 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5931 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5933 * text2.C (deleteEmptyParagraphMechanism): adjust
5935 * text2.[Ch] (ownerParagraph): delete func (both of them
5937 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5939 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5941 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5943 * ParagraphList.C: prepare for NO_NEXT
5945 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5947 * text2.C (getFont): adjust
5948 (getLayoutFont): adjust
5949 (getLabelFont): adjust
5951 * paragraph.C (getFont): adjust
5952 (getLabelFont): adjust
5953 (getLayoutFont): adjust
5955 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5957 2003-04-15 John Levon <levon@movementarian.org>
5961 * lyx_main.C: handle Include in .ui files
5963 2003-04-15 John Levon <levon@movementarian.org>
5965 * MenuBackend.C: make the doc files length shorter
5968 * ToolbarBackend.C: handle toolbar placement flags,
5971 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5973 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5976 * paragraph_funcs.C (TeXOnePar): adjust
5978 * paragraph.C (getLabelFont): add outerfont arg, adjust
5979 (getLayoutFont): ditto
5980 (simpleTeXOnePar): adjust
5982 * paragraph_pimpl.C (realizeFont): delete func
5984 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5986 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5987 row argument, constify cur argument.
5989 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5991 * text2.C (getFont): adjust
5992 (getLayoutFont): adjust
5993 (getLabelFont): adjust
5995 * paragraph_funcs.C (TeXOnePar): adjust
5996 (outerFont): new func...
5997 (realizeFont): ...moved out from here, changed this to facilitate
6000 * paragraph.C (getFont): take outerfont as arg, adjust
6001 (simpleTeXOnePar): add outerfont arg, adjust
6003 * buffer.C (simpleLinuxDocOnePar): adjust
6004 (simpleDocBookOnePar): adjust
6006 * CutAndPaste.C (pasteSelection): adjust
6008 * BufferView.C (getEncoding): adjust
6010 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6012 * text2.C (setCharFont): adjust
6013 (setCounter): adjust
6015 * text.C (leftMargin): adjust
6016 (setHeightOfRow): adjust
6018 * rowpainter.C (paintFirst): adjust
6021 * paragraph_pimpl.C (realizeFont): adjust
6023 * paragraph.C (isFirstInSequence): move from here...
6024 * paragraph_funcs.C (isFirstInSequence): ...to here
6026 * paragraph.C (outerHook): move from here...
6027 * paragraph_funcs.C (outerHook): ...to here
6029 * paragraph.C (depthHook): move from here...
6030 * paragraph_funcs.C (depthHook): ...to here
6032 * paragraph.C (getEndLabel): move from here...
6033 * paragraph_funcs.C (getEndLabel): ...to here
6035 * text2.C (realizeFont): move from here...
6036 * paragraph_funcs.C (realizeFont): ...to here
6038 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6040 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6042 2003-04-14 Angus Leeming <leeming@lyx.org>
6044 * LColor.[Ch]: scrap LColor mathcursor.
6046 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6048 * lyxlex.[Ch] (text): delete function
6049 * trans.C (Load): adjust
6050 * paragraph_funcs.C (readParToken): adjust
6052 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6054 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6055 vector<char> instead of a char[].
6057 * lyxlex_pimpl.C (getString): adjust
6059 (lex): use getString
6063 * lyxlex.C (text): use pimpl_->getString()
6067 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6069 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6070 (makeFontEntriesLayoutSpecific): temp var for par.size()
6071 (setLayout): temp var for ownerParagraphs().end()
6072 (fullRebreak): temp var for rows().end()
6073 (selectionAsString): temp var for boost::next(startpit), realize
6074 that the while really is a regular for loop.
6075 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6076 setCursor in one place.
6077 (setParagraph): temp vr for ownerParagraphs().end()
6078 (updateCounters): make the while loop a for loop
6079 (cutSelection): temp var for ownerParagraphs().end()
6080 (updateInset): make the do {} while() a regular for loop
6081 (getCursorX): use temp vars
6082 (setCurrentFont): use temp vars
6083 (getColumnNearX): use temp vars
6085 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6087 * text.C (transformChar): use temp var for getChar
6088 (computeBidiTables): use temp var for row->par()
6089 (fill): move temp vars for row->par() and pit->layout() earlier in
6091 (labelFill): use temp var for row->par()
6092 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6093 asc and desc, realize that pit never changes and that firstpit is
6094 just a duplicate and not needed. Exchange rit->par() with pit in a
6096 (breakAgain): use a temp var for boost::next(rit)
6097 (breakAgainOneRow): ditto
6098 (breakParagraph): use a temp var for rows().begin()
6099 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6100 (cursorRightOneWord): use temp var for cursor.par() and
6101 cursor.pos(), remove usage of tmpcursor.
6102 (cursorLeftOneWord): use temp var for cursor.par() and
6103 cursor.pos() only set cur at end of function.
6105 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6107 * text.C, text2.C: exchange all usage of Paragraph::next with
6108 boost::next(ParagraphList::iterator)
6110 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6112 * text2.C (cursorTop): simplify implementation
6113 (cursorBottom): ditto
6114 (setParagraph): use ParagraphList::iterator
6115 (setCurrentFont): adjust
6116 (getColumnNearX): adjust
6117 (cursorRight): adjust
6118 (cursorLeft): remove usage of Paragraph::previous
6119 (cursorUpParagraph): ditto
6120 (deleteEmptyParagraphMechanism): slight cleanup
6122 * text.C (isBoundary): take a Paragraph const & instead of a
6124 (addressBreakPoint): ditto
6125 (leftMargin): remove usage of Paragraph::previous.
6126 (setHeightOfRow): ditto
6127 (cursorLeftOneWord): ditto
6128 (selectNextWordToSpellcheck): ditto
6131 (breakParagraph): remove one usage of Paragraph::next
6132 (redoParagraph): ditto
6133 (acceptChange): ditto
6134 (insertChar): adjust
6135 (rowBreakPoint): adjust
6137 * bufferview_funcs.C (toggleAndShow): adjust
6139 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6141 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6142 methods to access it.
6144 * text.C: Added updateRowPositions to compute all row positions.
6145 Make top_y and getRowNearY() to use the cached y position
6147 2003-04-11 John Levon <levon@movementarian.org>
6149 * text.C (rowBreakPoint): reintroduce the labelEnd
6150 checks, code copied from the row fill stuff. Deep voodoo.
6152 * text.C (fill): add a comment and debugging for the
6155 2003-04-11 John Levon <levon@movementarian.org>
6157 * text.C: make sure fullrow insets get wrapped to the next line,
6158 even when they're in a manual label
6160 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6162 * text2.C (insertParagraph): make it take ParagraphList::iterator
6164 (setLayout): make it return ParagraphList::iterator
6165 (redoParagraphs): ditto
6167 (checkParagraph): ditto
6169 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6171 * text2.C: adjust several funcs.
6172 (realizeFont): take a ParagraphList::iterator as arg.
6173 (getLayoutFont): ditto
6174 (getLabelFont): ditto
6175 (setCharFont): ditto
6177 * text.C: adjust several funcs.
6179 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6181 * text.C (selectNextWordToSpellcheck): don't accidentally
6184 2003-04-10 John Levon <levon@movementarian.org>
6186 * ToolbarBackend.C (getIcon): special handling for
6189 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6191 * text2.C (cursorRight): a getChar assert fixed
6193 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * text2.C (getFont): change to take a ParagraphList::iterator
6196 instead of Paragraph*
6197 Adjust several functions.
6199 * text.C (transformChar): change to take a ParagraphList::iterator
6200 instead of Paragraph*
6201 (singleWidth): ditto
6202 Adjust several functions.
6204 * rowpainter.C: adjust several functions
6205 * rowpainter.h:store a ParagraphList::iterator and not a
6209 2003-04-09 John Levon <levon@movementarian.org>
6214 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6215 and the "help" bits as well
6217 2003-04-09 John Levon <levon@movementarian.org>
6220 * ToolbarBackend.C: allow multiple toolbars
6222 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6224 * undo_funcs.C (setCursorParUndo): adjust
6226 * text_funcs.C (transposeChars): adjust
6228 * text3.C (gotoNextInset): adjust
6231 * text2.C (setLayout): adjust
6232 (changeDepth): adjust
6234 (redoParagraphs): adjust
6235 (selectionAsString): adjust
6236 (setParagraph): adjust
6237 (insertInset): adjust
6238 (cutSelection): adjust
6239 (copySelection): adjust
6240 (pasteSelection): adjust
6241 (insertStringAsLines): adjust
6242 (updateInset): adjust
6243 (setCursor): change to take a ParagraphList::iterator parameter
6244 (setCursorIntern): change to take a ParagraphList::iterator parameter
6245 (setCurrentFont): adjust
6246 (cursorLeft): adjust
6247 (cursorRight): adjust
6248 (deleteEmptyParagraphMechanism): adjust
6250 * text.C (breakParagraph): adjust
6251 (insertChar): adjust
6252 (acceptChange): adjust
6253 (rejectChange): adjust
6254 (selectNextWordToSpellcheck): adjust
6255 (changeCase): adjust
6259 * lyxfind.C (SearchForward): adjust
6260 (SearchBackward): adjust
6261 (nextChange): adjust
6263 * lyxcursor.C (par): adjust
6265 * lyxcursor.h: store a ParagraphList::iterator instead of a
6268 * lyx_cb.C (getPossibleLabel): adjust
6270 * bufferview_funcs.C (toggleAndShow): adjust
6272 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6275 * BufferView.C (removeAutoInsets): adjust
6276 (lockedInsetStoreUndo): adjust
6278 2003-04-09 John Levon <levon@movementarian.org>
6280 * ToolbarBackend.C: try icon without argument
6281 if with argument fails
6283 2003-04-08 John Levon <levon@movementarian.org>
6286 * ToolbarBackend.C: add getIcon(), handle tooltip,
6287 and change from "Icon" to "Item".
6289 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6291 * BufferView.C (lockInset): another bad getchar crunched
6293 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6295 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6298 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6300 * lyxfind.C (searchForward, searchBackwards): bug 782
6302 2003-04-07 John Levon <levon@movementarian.org>
6304 * paragraph.C: remove dead comment
6306 * text.C: remove troublesome depth-fiddling code
6307 in leftMargin() and rightMargin() (bug 1017)
6309 * text.C: fix breaking of rows in nested lists
6312 * text2.C (updateCounters): fix up depth values
6315 2003-04-07 John Levon <levon@movementarian.org>
6317 * BufferView_pimpl.C: clear message when doc finishes resizing,
6318 and after a mouse event
6320 * lyxfunc.C: clear message after exiting inset
6322 2003-04-07 John Levon <levon@movementarian.org>
6324 * bufferview_funcs.C: show math status not outside
6325 status in the statusbar
6327 2003-04-07 John Levon <levon@movementarian.org>
6329 * lyxfunc.C: note status changed after a depth change
6331 2003-04-04 Angus Leeming <leeming@lyx.org>
6333 * LaTeX.h: move AuxInfo operator==, != out of line.
6334 Remove LaTeX virtual destructor; nothing derives from it.
6335 Move operator()() out of public area and rename it startscript().
6336 Change protected for private.
6338 2003-04-04 Angus Leeming <leeming@lyx.org>
6341 * text2.C: remove unneeded #includes.
6343 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6345 * text2.C (dEPM): fix the heigth of the next row
6347 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6349 * text.C: squashed an invalid getChar requester + some ws changes
6351 2003-04-03 John Levon <levon@movementarian.org>
6353 * bufferview_funcs.h:
6354 * bufferview_funcs.C:
6357 * text2.C: make getStatus work for the env depth lfuns
6359 2003-04-03 John Levon <levon@movementarian.org>
6361 * bufferview_funcs.h:
6362 * bufferview_funcs.C:
6365 * text2.C: parlistize decDepth(), by merging it with incDepth()
6367 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6369 * lyxrow.h: store a ParagraphList::iterator instead of a
6370 Paragraph* and adjust other class functions to suit.
6372 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6375 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6377 * text2.C (setCursor): do not anchor to cursor row for the time being
6379 2003-04-02 John Levon <levon@movementarian.org>
6386 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6388 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6390 * paragraph.h: make ParagraphList and ParagraphList::iterator
6391 friends of Paragraph.
6393 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6395 * ParagraphList.C: Use the private next_ and previous_ from
6398 2003-04-01 John Levon <levon@movementarian.org>
6402 * Makefile.am: rename, remove defaults gunk
6405 * MenuBackend.C: remove defaults gunk
6408 * Languages.C: remove defaults gunk
6411 * lyx_main.C: error out if files couldn't be found.
6413 2003-04-02 John Levon <levon@movementarian.org>
6415 * text2.C: make incDepth() use parlist
6417 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6419 * undo_funcs.C (firstUndoParagraph): adjust
6421 * text3.C (gotoInset): adjust
6422 (dispatch): adjust, and rewrite loop.
6424 * text2.C (init): adjust, and rewrite loop.
6425 (redoParagraphs): adjust
6426 (updateInset): adjust, and rewrite loop.
6427 (deleteEmptyParagraphMechanism): adjust
6429 * tabular.C (LyXTabular): adjust
6430 (SetMultiColumn): adjust
6433 * lyxtext.[Ch] (ownerParagraph): delete function
6434 (ownerParagraphs): new function returns a ParagraphList.
6436 * BufferView.C (removeAutoInsets): adjust
6437 (insertErrors): adjust
6438 (setCursorFromRow): adjust
6440 2003-04-01 Angus Leeming <leeming@lyx.org>
6442 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6445 2003-04-02 John Levon <levon@movementarian.org>
6451 * text_funcs.C: make transposeChars a free function
6453 * lyxrow_funcs.C: remove wrong comment
6455 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6458 * rowpainter.C: adjust
6463 * lyxrow_funcs. [Ch]: new files
6465 * lyxrow.[Ch]: remove next and previous pointers
6466 (next,previous): remove accessor functions
6467 (isParEnd): move to lyxrow_funcs
6468 (lastPos): move to lyxrow_funcs
6469 (nextRowIsAllInset): move to lyxrow_funcs
6470 (lastPrintablePos): move to lyxrow_funcs
6471 (numberOfSeparators): move to lyxrow_funcs
6472 (numberOfHfills): move to lyxrow_funcs
6473 (numberOfLabelHfills): move to lyxrow_funcs
6474 (hfillExpansion): move to lyxrow_funcs
6478 * bufferview_funcs.C (toggleAndShow): adjust
6480 * RowList.h: Remove class RowList from file leave just a
6483 * RowList.C: delete file
6485 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6488 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6490 * text3.C (cursorPrevious): adjust
6491 (cursorNext): adjust
6494 * text2.C (redoHeightOfParagraph): adjust
6495 (redoDrawingOfParagraph): adjust
6498 * text.C (breakParagraph): adjust
6499 (insertChar): adjust
6502 * rowpainter.C (RowPainter): adjust
6503 (leftMargin): simplify and adjust
6504 (most rowpainter functions): adjust.
6506 * rowpainter.h: store the row as RowList::iterator not as Row*
6508 * lyxcursor.C (row): taka RowList::iterator as arg
6511 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6514 2003-04-01 Angus Leeming <leeming@lyx.org>
6516 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6517 stuff like bool Bool.
6519 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6521 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6524 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6526 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6529 * lyxtext.h (rows): drop one version and leve a const variant that
6530 returns a RowList::iterator.
6532 2003-03-31 Angus Leeming <leeming@lyx.org>
6534 * text.C (fill): ensure that the signature is the same as that in the
6537 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6539 * text2.C (redoParagraphs): adjust
6540 (updateCounters): adjust
6541 (checkParagraph): adjust
6542 (getColumnNearX): adjust and reformat a bit.
6544 * text.C (top_y): adjust
6546 (leftMargin): adjust
6547 (prepareToPrint): adjust
6549 (getRowNearY): adjust
6551 * lyxtext.h: make rowlist_ mutable.
6553 * RowList.h: add const_iterator
6554 * RowList.C: adjust for RowList::const_iterator.
6556 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6559 2003-03-31 John Levon <levon@movementarian.org>
6562 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6564 * lyx_main.C: set default fonts from using lyx_gui funcs
6566 * exporter.C: pdf_mode moved from lyxrc
6569 * lyxfunc.C: changes from above
6571 2003-03-31 John Levon <levon@movementarian.org>
6573 * lyx_main.C: fix to the last fix
6575 2003-03-31 John Levon <levon@movementarian.org>
6577 * bufferlist.C: "Load original" -> "Load Original"
6583 * format.C: more Alert cleanups
6585 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6587 * text2.C (removeParagraph): make it take a RowList::iterator as
6589 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6590 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6592 * text.C (anchor_row): make it take a RowList::iterator as arg,
6594 (computeBidiTables): make it take a const reference to Row instead
6595 of Row pointer, adjust.
6596 (leftMargin): make it take a RowList::iterator as arg, adjust.
6597 (rowBreakPoint): adjust
6598 (breakAgainOneRow): make it take a RowList::iterator as arg,
6600 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6602 * bufferview_funcs.C (toggleAndShow): adjust
6604 2003-03-30 John Levon <levon@movementarian.org>
6608 * boost-inst.C: moved to support
6610 * several files: changes as a result
6612 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6614 * text2.C (LyXText): adjust.
6616 (removeRow): make it take a RowList::iterator as arg, adjust.
6617 (fullRebreak): adjust
6618 (deleteEmptyParagraphMechanism): adjust
6619 (clearPaint): adjust
6622 * text.C (top_y): adjust
6623 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6624 (breakAgain): make it take a RowList::iterator as arg, adjust.
6625 (breakParagraph): adjust
6626 (insertChar): adjust
6629 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6630 need_break_row, and refresh_row.
6632 * text3.C (dispatch): adjust
6634 * text2.C (checkParagraph): adjust
6636 (setCursorFromCoordinates): adjust
6638 * text.C (top_y): adjust
6640 (getRow): make it return a RowList::iterator, adjust
6641 (getRowNearY): make it return a RowList::iterator, adjust
6643 * text2.C (init): adjust
6644 (insertRow): remove function
6645 (insertParagraph): adjust
6646 (redoParagraphs): adjust
6647 (fullRebreak): adjust
6648 (updateCounters): adjust
6650 * text.C (top_y): rewrite to use RowList iterators.
6652 (setHeightOfRow): rewrite to sue RowList iterators.
6653 (appendParagraph): adjust
6654 (breakAgain): adjust
6655 (breakAgainOneRow): adjust
6656 (breakParagraph): adjust
6658 (getRowNearY): adjust, and remove commented code.
6660 * lyxtext.h (firstRow): delete function
6661 (lastRow): delete function
6662 (rows): new function (const and non-const versions.)
6663 (insertRow): delete function
6665 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6667 2003-03-29 John Levon <levon@movementarian.org>
6669 * BufferView_pimpl.C: always update scrollbar top
6670 because pasting text when we're anchored could mean we
6671 miss an update altogether
6673 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6675 * text2.C (init): use rowlist_.end() and not 0.
6676 (insertRow): change to take a RowList::iterator as arg, adjust
6678 (insertParagraph): change to take a RowList::iterator as arg,
6680 (redoParagraphs): remove some debug msgs.
6682 * text.C (appendParagraph): change to take a RowList::iterator
6683 arg, adjust for this.
6684 (breakAgain): add an assert
6685 (breakAgainOneRow): ditto
6687 2003-03-29 John Levon <levon@movementarian.org>
6689 * text2.C: do not clear selection after inc/decDepth
6692 2003-03-29 John Levon <levon@movementarian.org>
6695 * buffer.C: fix broken strerrors according to Lars
6697 2003-03-29 John Levon <levon@movementarian.org>
6699 * converters.C: more Alert cleanups
6701 2003-03-29 John Levon <levon@movementarian.org>
6703 * bufferview_funcs.C: remove pointless Alert
6705 * buffer.C: fix confusing error message when
6706 a template is chmoded 000
6708 2003-03-29 John Levon <levon@movementarian.org>
6712 * BufferView_pimpl.C: Alert fixes
6716 * tabular-old.C: remove unused table compat reading
6718 2003-03-29 John Levon <levon@movementarian.org>
6723 * lyx_cb.C: more Alert cleanups
6725 * lyxfunc.C: don't allow chktex if not latex document
6727 2003-03-29 John Levon <levon@movementarian.org>
6731 * buffer.C: warnings pushed down from support/,
6734 2003-03-29 John Levon <levon@movementarian.org>
6736 * lyxfunc.C: safety check for C-r (revert)
6738 2003-03-29 John Levon <levon@movementarian.org>
6741 * bufferlist.C: several UI fixes using Alert::prompt.
6742 Fix the pointless looping quit code. Fix stupid revert
6747 * lyx_cb.C: use Alert::prompt
6749 * lyx_main.C: remove a silly question
6751 * lyxfunc.C: remove a couple of silly questions,
6754 2003-03-28 John Levon <levon@movementarian.org>
6756 * text2.C: fix bug 974 (End on empty par)
6758 2003-03-28 John Levon <levon@movementarian.org>
6760 * BufferView_pimpl.C:
6762 * lfuns.h: remove do-nothing math greek lfuns
6764 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6766 * lyxgluelength.h (isValidGlueLength): add default arg on
6767 parameter 2. Remove default arg from friend in class.
6769 * lyxlength.h (isValidLength): add default arg on parameter 2.
6770 Remove default arg from friend in class.
6772 * text2.C (LyXText): adjust, initialize refresh_row.
6776 (insertParagraph): adjst
6777 (redoParagraphs): adjust
6778 (fullRebreak): adjust
6779 (updateCounters): adjust
6780 (deleteEmptyParagraphMechanism): first attempt at fixing a
6783 * text.C (top_y): adjust
6784 (setHeightOfRow): adjust
6786 (getRowNearY): adjust
6788 * lyxtext.h: include RowList.h
6789 (~LyXText): not needed anymore, deleted.
6790 (firstRow): modify for RowList
6791 (lastRow): new function
6792 Delete firstrow and lastrow class variables, add a Rowlist
6793 rowlist_ class variable.
6795 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6798 * RowList.C (insert): fix case where it == begin().
6800 2003-03-26 Angus Leeming <leeming@lyx.org>
6802 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6803 the thesaurus dialog.
6805 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6807 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6809 * RowList.[Ch]: new files
6811 * ParagraphList.C (erase): handle the case where it == begin
6814 2003-03-25 John Levon <levon@movementarian.org>
6818 * aspell.C: add new aspell support
6821 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6824 2003-03-25 Angus Leeming <leeming@lyx.org>
6827 * LyXAction.C (init): new LFUN_INSET_INSERT.
6829 * BufferView_pimpl.C (dispatch): split out part of the
6830 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6832 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6835 2003-03-25 Angus Leeming <leeming@lyx.org>
6837 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6839 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6842 * text3.C: remove useless row->height(0)
6844 2003-03-25 John Levon <levon@movementarian.org>
6848 * text3.C: rename the refreshing stuff to better names
6850 2003-03-24 John Levon <levon@movementarian.org>
6852 * BufferView_pimpl.h:
6853 * BufferView_pimpl.C: update layout choice on a mouse
6856 2003-03-23 John Levon <levon@movementarian.org>
6858 * Makefile.am: fix commandtags.h reference
6860 2003-03-22 John Levon <levon@movementarian.org>
6862 * BufferView_pimpl.C:
6867 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6869 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6872 * text.C: take the rtl methods out of line
6874 2003-03-21 André Pönitz <poenitz@gmx.net>
6876 * metricsinfo.[Ch]: new files containing structures to be passed around
6877 during the two-phase-drawing...
6879 2003-03-21 André Pönitz <poenitz@gmx.net>
6881 * lyxtextclass.C: read 'environment' tag.
6883 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6885 * text2.C (removeRow): fix bug 964
6887 2003-03-20 John Levon <levon@movementarian.org>
6891 * text2.C: paint cleanups. Inset::update() dropped font
6894 2003-03-19 John Levon <levon@movementarian.org>
6896 * lyxfunc.C: only fitcursor/markDirty if available()
6898 2003-03-19 John Levon <levon@movementarian.org>
6900 * commandtags.h: rename to ...
6902 * lfuns.h: ... this, and renumber / cleanup
6904 2003-03-19 John Levon <levon@movementarian.org>
6906 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6907 fit the cursor after an lfun
6911 * BufferView_pimpl.h:
6912 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6914 * LyXAction.C: layout-character should have ReadOnly
6916 * ParagraphParameters.C:
6918 * bufferview_funcs.C:
6925 * undo_funcs.C: changes from above
6927 2003-03-18 John Levon <levon@movementarian.org>
6929 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6930 remove it from update()
6932 * lyxfunc.C: update layout choice after an lfun
6934 * text3.C: remove extra updateLayoutChoice()s
6936 2003-03-18 John Levon <levon@movementarian.org>
6938 * text.C: top_y change means full repaint, fix
6939 a drawing bug with cursor movement
6941 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6945 * text2.C: anchor row on setCursor
6947 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6949 * lyxtext.h: remove almost all mutable keywords
6952 * text3.C: remove const keywords accordingly
6954 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6956 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6958 (TeXEnvironment): ditto
6961 2003-03-17 John Levon <levon@movementarian.org>
6963 * text.C (rowBreakPoint): remove attempt to fix displayed
6964 math insets inside a manual label
6966 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6968 * lyxtext.h: remove BufferView* as first arg from almost all class
6970 * other files: adjust.
6972 2003-03-17 John Levon <levon@movementarian.org>
6976 * text2.C: more paint cleanups
6978 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6981 * rowpainter.C: remove "smart" background painting code
6983 2003-03-16 John Levon <levon@movementarian.org>
6988 * text3.C: add helper functions for setting refresh_row/y
6990 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6992 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6993 newline inset which *can* get inserted in the pass_thru layouts.
6994 This is primarily for literate documents.
6996 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6998 * buffer.C: increment LYX_FORMAT to 223
7000 2003-03-14 André Pönitz <poenitz@gmx.net>
7002 * textclass.h: prepare for environment handling, ws changes
7003 * lyxlayout.C: read latexheader and latexfooter tags
7005 2003-03-14 John Levon <levon@movementarian.org>
7007 * text2.C: rewrite ::status() a bit
7009 2003-03-13 John Levon <levon@movementarian.org>
7011 * lyxtext.h: add some docs
7013 2003-03-13 John Levon <levon@movementarian.org>
7018 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7020 2003-03-13 John Levon <levon@movementarian.org>
7022 * text3.C: fix appendix redrawing
7024 2003-03-13 John Levon <levon@movementarian.org>
7026 * text.C (setHeightOfRow):
7028 * rowpainter.C: make appendix mark have the text
7029 "Appendix" so the user knows what it is
7032 * LColor.C: s/appendixline/appendix/ from above
7034 2003-03-13 John Levon <levon@movementarian.org>
7036 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7038 * text.C: fix a getChar(pos) bug properly
7040 2003-03-13 Angus Leeming <leeming@lyx.org>
7043 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7044 Probably only temporary. Let's see how things pan out.
7046 * BufferView.C (unlockInset):
7047 * BufferView_pimpl.C (fitCursor):
7048 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7050 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7051 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7053 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7054 new functions that convert ParagraphParameters to and from a string.
7056 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7057 BufferView::Pimpl's dispatch.
7058 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7060 2003-03-13 André Pönitz <poenitz@gmx.net>
7064 * factory.C: make it aware of InsetEnv
7066 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7068 * text2.C (setCursor): never ask for one past last
7069 (setCursor): add some debugging messages.
7071 * text.C (singleWidth): never ask for one past last
7072 (singleWidth): ditto
7074 (rightMargin): ditto
7075 (rowBreakPoint): ditto
7076 (setHeightOfRow): ditto
7077 (prepareToPrint): ditto
7079 * rowpainter.C (paintBackground): never ask for one past last
7080 (paintText): never ask for one past last
7082 * paragraph_pimpl.C (getChar): make the assert stricter, never
7083 allow the one past last pos to be taken
7085 * paragraph.C (getChar): ws changes only
7087 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7088 (numberOfSeparators): ditto
7089 (numberOfHfills): ditto
7091 2003-03-12 John Levon <levon@movementarian.org>
7097 * paragraph_funcs.C: fix per-buffer authorlists
7099 2003-03-12 John Levon <levon@movementarian.org>
7101 * text.C: fix newline in right address
7103 2003-03-12 Angus Leeming <leeming@lyx.org>
7105 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7106 duplicate those in LyXFunc::dispatch.
7110 * ToolbarDefaults.C:
7111 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7112 Add LFUN_FONTFREE_UPDATE.
7114 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7115 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7117 * bufferview_func.[Ch]: several new functions to facilliate
7118 transfer of data to and from the character dialog.
7120 2003-03-12 John Levon <levon@movementarian.org>
7125 * paragraph_funcs.C:
7126 * paragraph_pimpl.C:
7130 * text3.C: remove META_NEWLINE in favour of an inset
7133 * rowpainter.C: remove paintNewline (done by inset)
7135 2003-03-12 John Levon <levon@movementarian.org>
7137 * paragraph_pimpl.C: complain about bad getChar()s
7138 for a while at least
7140 2003-03-12 John Levon <levon@movementarian.org>
7143 * buffer.C: move paragraph read into a separate function,
7144 a little renaming to reflect that.
7147 * bufferparams.C: remove the author_ids map, not necessary now
7150 * factory.C: moved Buffer::readInset to here
7152 * paragraph_funcs.h:
7153 * paragraph_funcs.C: readParagraph free function moved from
7156 * tabular.C: name change
7158 2003-03-12 John Levon <levon@movementarian.org>
7161 * ParagraphParameters.C: move par params input to
7164 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7165 behave like a normal read from the stream wrt reading
7166 a line vs. a \\token
7168 2003-03-12 John Levon <levon@movementarian.org>
7171 * ParagraphParameters.h:
7172 * ParagraphParameters.C: move output code to a
7175 2003-03-12 John Levon <levon@movementarian.org>
7177 * BufferView.C (insertLyXFile):
7180 * tabular.C: use a parlist iterator for creating the
7183 2003-03-12 John Levon <levon@movementarian.org>
7185 * buffer.C: make current_change static local not
7188 2003-03-12 John Levon <levon@movementarian.org>
7190 * buffer.C: fix insertStringAsLines for change tracking
7192 2003-03-12 John Levon <levon@movementarian.org>
7199 * bufferparams.C: move author list into params. Rename some
7200 functions. Move the header reading into a separate token
7201 loop. Move the header token reading into BufferParams.
7203 2003-03-12 John Levon <levon@movementarian.org>
7205 * changes.C: put debug inside lyxerr.debugging() checks
7207 2003-03-11 André Pönitz <poenitz@gmx.net>
7209 * factory.C: make it aware of InsetHFill
7211 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7213 * buffer.C (latexParagraphs): move function from here...
7214 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7217 2003-03-10 Angus Leeming <leeming@lyx.org>
7219 * LyXAction.C (init): fix bug in poplating array with multiple entries
7220 with the same LFUN (spotted by JMarc).
7222 2003-03-10 John Levon <levon@movementarian.org>
7225 * text2.C: move getColumnNearX() near its
7228 2003-03-10 John Levon <levon@movementarian.org>
7230 * text.C: fix break before a minipage
7232 2003-03-10 John Levon <levon@movementarian.org>
7234 * text.C: fix the last commit
7236 2003-03-09 John Levon <levon@movementarian.org>
7240 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7241 bug 365 (don't break before insets unless needed). Don't
7242 return a value > last under any circumstances.
7244 2003-03-09 Angus Leeming <leeming@lyx.org>
7246 * BufferView_pimpl.C (trackChanges, dispatch): call
7247 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7249 2003-03-09 Angus Leeming <leeming@lyx.org>
7251 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7252 than Dialogs::showAboutlyx().
7254 2003-03-09 Angus Leeming <leeming@lyx.org>
7256 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7257 than Dialogs::showTabularCreate().
7259 2003-03-09 John Levon <levon@movementarian.org>
7263 * text2.C: 3rd arg to nextBreakPoint was always the same.
7266 2003-03-08 John Levon <levon@movementarian.org>
7273 * text2.C: Remove the "main" bit from the "main body"
7276 2003-03-08 John Levon <levon@movementarian.org>
7278 * text.C (leftMargin): The left margin of an empty
7279 manual label paragraph should not include the label width
7282 * text.C (prepareToPrint): don't attempt to measure hfills
7283 for empty manual label paragraphs - the answer should be 0
7285 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7287 * CutAndPaste.C: remove commented code and reindent.
7289 2003-03-08 John Levon <levon@movementarian.org>
7292 * lyxfunc.C: move reloadBuffer()
7295 * BufferView.C: to here
7297 * lyxvc.C: add comment
7300 * vc-backend.C: call bv->reload() to avoid
7301 getStatus() check on MENURELOAD
7303 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7305 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7306 to an old format .dep file.
7308 2003-03-07 Angus Leeming <leeming@lyx.org>
7310 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7311 when the LFUN_MOUSE_RELEASE should have been handled by
7312 inset->localDispatch.
7314 2003-03-07 Angus Leeming <leeming@lyx.org>
7316 * BufferView_pimpl.C (dispatch):
7317 * LyXAction.C (init):
7318 * ToolbarDefaults.C (init):
7320 * lyxfunc.C (getStatus):
7321 remove LFUN_INSET_GRAPHICS.
7323 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7325 2003-03-07 Angus Leeming <leeming@lyx.org>
7328 * LyXAction.C (init):
7329 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7331 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7334 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7336 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7337 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7339 2003-03-07 Angus Leeming <leeming@lyx.org>
7341 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7344 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7346 * ParagraphList.C (front): new function
7349 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7351 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7352 and top_row_offset_. removed var first_y.
7354 * text2.C (LyXText, removeRow):
7356 * BufferView_pimpl.C:
7357 use these methods instead of using first_y
7359 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7361 * text2.C (pasteSelection): adjust for checkPastePossible
7363 * CutAndPaste.C: remove Paragraph * buf and replace with
7364 ParagraphList paragraphs.
7365 (DeleteBuffer): delete
7366 (cutSelection): change the tc type to textclass_type
7367 (copySelection): change the tc type to textclass_type
7368 (copySelection): adjust for ParagraphList
7369 (pasteSelection): change the tc type to textclass_type
7370 (pasteSelection): adjust for Paragraphlist
7371 (nrOfParagraphs): simplify for ParagraphList
7372 (checkPastePossible): simplify for ParagraphList
7373 (checkPastePossible): remove unused arg
7375 * ParagraphList.C (insert): handle the case where there are no
7378 * CutAndPaste.h: make CutAndPaste a namespace.
7380 * text3.C (dispatch): adjust
7382 * text.C (breakParagraph): add a ParagraphList as arg
7384 * paragraph_funcs.C (breakParagraph): change to take a
7385 BufferParams and a ParagraphList as args.
7386 (breakParagraphConservative): ditto
7387 (mergeParagraph): ditto
7388 (TeXDeeper): add a ParagraphList arg
7389 (TeXEnvironment): ditto
7392 * buffer.C (readLyXformat2): adjust
7393 (insertStringAsLines): adjust
7394 (latexParagraphs): adjust
7396 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7397 (cutSelection): adjust
7398 (pasteSelection): adjust
7400 * BufferView_pimpl.C (insertInset): adjust
7402 2003-03-05 Angus Leeming <leeming@lyx.org>
7405 * LyXAction.C (init):
7406 * BufferView_pimpl.C (dispatch):
7407 * lyxfunc.C (getStatus):
7408 remove LFUN_CHILD_INSERT.
7410 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7412 2003-03-05 Angus Leeming <leeming@lyx.org>
7415 * LyXAction.C (init):
7416 * src/factory.C (createInset):
7417 * lyxfunc.C (getStatus):
7418 * text3.C (dispatch):
7419 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7421 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7423 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7425 * ParagraphList.C (insert): handle insert right before end()
7426 (erase): fix cases where it can be first or last paragraph.
7428 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7430 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7431 Paragraph::next and Paragraph::previous
7434 * text.C (breakParagraph): adjust
7436 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7437 BufferParams& as arg.
7438 (breakParagraph): use ParagraphList::insert
7439 (breakParagraphConservative): take a Buffer* instead of a
7440 BufferParams& as arg.
7441 (breakParagraphConservative): use ParagraphList::insert.
7443 * buffer.C (insertStringAsLines): un-const it
7444 (insertStringAsLines): adjust
7446 * ParagraphList.C (insert): new function
7448 * CutAndPaste.C (pasteSelection): adjust
7450 * text.C (backspace): adjust
7452 * tabular.C (SetMultiColumn): adjust
7454 * CutAndPaste.C (cutSelection): adjust
7455 (pasteSelection): adjust
7457 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7458 Buffer const * as arg
7460 * ParagraphList.C (erase): new function
7461 * paragraph_funcs.C (mergeParagraph): use it
7462 (mergeParagraph): make it take a Buffer* instead of a
7463 BufferParams* as arg
7465 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7467 (breakParagraphConservative): ditto
7469 * paragraph.h: remove the breakParagraph friend
7471 * paragraph.C (eraseIntern): new function
7472 (setChange): new function
7474 * paragraph_funcs.C (mergeParagraph): make it take a
7475 ParagraphList::iterator instead of a Paragraph *, adjust
7478 * paragraph.h: move an #endif so that the change tracking stuff
7479 also works in the NO_NEXT case.
7481 2003-03-04 Angus Leeming <leeming@lyx.org>
7484 * LyXAction.C: new LFUN_INSET_MODIFY.
7486 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7487 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7489 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7491 * several files: ws changes only
7493 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7494 (TeXEnvironment): ditto
7497 * buffer.C (makeLaTeXFile): adjust
7498 (latexParagraphs): make it take ParagraphList::iterator as args
7500 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7502 * buffer.C (latexParagraphs): adjust
7504 * paragraph.C (TeXOnePar): move function...
7505 (optArgInset): move function...
7506 (TeXEnvironment): move function...
7507 * paragraph_pimpl.C (TeXDeeper): move function...
7508 * paragraph_funcs.C: ...here
7510 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7512 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7514 * buffer.C (readInset): remove compability code for old Figure and
7517 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7519 * buffer.C: ws changes
7522 * BufferView_pimpl.C: ditto
7525 * bufferlist.h: ditto
7529 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7531 * converter.[Ch]: split into itself +
7534 * Makefile.am: += graph.[Ch] + format.[Ch]
7541 * lyxrc.C: added #include "format.h"
7543 2003-02-27 Angus Leeming <leeming@lyx.org>
7545 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7548 * factory.C (createInset): add "label" to the factory.
7550 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7551 string and do no more.
7553 2003-02-27 Angus Leeming <leeming@lyx.org>
7556 * LyXAction.C (init):
7557 * factory.C (createInset):
7558 * BufferView_pimpl.C (dispatch):
7559 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7561 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7563 * lyxfunc.C (dispatch):
7564 * text3.C (dispatch): pass name to params2string.
7566 2003-02-26 Angus Leeming <leeming@lyx.org>
7568 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7570 Rearrange the ~includes. Strip out the unnecessary ones.
7572 * factory.C (createInset): reformat.
7573 create new insets for the various LFUN_XYZ_APPLY lfuns.
7575 2003-02-26 John Levon <levon@movementarian.org>
7578 * lyxrow.C: add isParStart,isParEnd helpers
7580 * paragraph.h: make isInserted/DeletedText take refs
7582 * paragraph_funcs.h:
7583 * paragraph_funcs.C: remove #if 0'd code
7588 * text.C: use lyxrow helpers above.
7589 Move draw and paint routines to RowPainter.
7590 Make several methods use refs not pointers.
7591 Make backgroundColor() const.
7592 Add markChangeInDraw(), isInInset().
7593 Merge changeRegionCase into changeCase.
7594 Make workWidth() shouldn't-happen code into an Assert.
7597 * rowpainter.C: new class for painting a row.
7600 * vspace.C: make inPixels take a ref
7602 2003-02-26 Angus Leeming <leeming@lyx.org>
7604 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7607 2003-02-25 John Levon <levon@movementarian.org>
7609 * ispell.C: give the forked command a more accurate name
7611 2003-02-22 John Levon <levon@movementarian.org>
7614 * toc.C: make TocItem store an id not a Paragraph *
7617 2003-02-21 Angus Leeming <leeming@lyx.org>
7619 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7620 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7621 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7622 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7623 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7624 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7626 * BufferView_pimpl.C (dispatch):
7627 * LyXAction.C (init):
7628 * factory.C (createInset):
7629 * lyxfunc.C (getStatus, dispatch):
7630 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7632 2003-02-21 Angus Leeming <leeming@lyx.org>
7634 * BufferView_pimpl.C (MenuInsertLyXFile):
7635 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7636 * lyxfunc.C (menuNew, open, doImport):
7637 no longer pass a LyXView & to fileDlg.
7639 2003-02-21 Angus Leeming <leeming@lyx.org>
7641 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7642 * LyXAction.C: change, BIBKEY to BIBITEM.
7643 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7644 Change InsetBibKey to InsetBibitem.
7645 Change BIBKEY_CODE to BIBITEM_CODE.
7646 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7647 * factory.C: replace insetbib.h with insetbibitem.h.
7648 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7649 * paragraph.C: replace insetbib.h with insetbibitem.h.
7650 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7651 Change bibkey() to bibitem().
7652 * text.C: remove insetbib.h.
7653 * text2.C: replace insetbib.h with insetbibitem.h.
7654 change bibkey() to bibitem().
7655 * text3.C: remove insetbib.h.
7656 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7658 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7660 * lyxrc.C (output): enclose user email in quotes (in case there are
7663 2003-02-18 John Levon <levon@movementarian.org>
7665 * buffer.h: add std::
7667 2003-02-17 John Levon <levon@movementarian.org>
7673 * pspell.C: reworking. Especially in ispell, a large
7674 number of clean ups and bug fixes.
7676 * lyxfunc.C: fix revert to behave sensibly
7678 2003-02-17 André Pönitz <poenitz@gmx.net>
7681 * commandtags.h: new LFUN_INSERT_BIBKEY
7691 * paragraph_func.C: remove special bibkey handling
7693 2003-02-17 John Levon <levon@movementarian.org>
7695 * text.C (Delete): fix case where delete at the end of
7696 the very first paragraph would not merge the pars
7698 2003-02-17 John Levon <levon@movementarian.org>
7700 * lyxrow.C: fix lastPrintablePos()
7702 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7704 * bufferparams.C (writeLaTeX): add a std:here
7706 * buffer.C: and remove a using directive there
7708 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7710 * buffer.C (makeLaTeXFile): move the code that generates the
7713 * bufferparams.C (writeLaTeX): ... in this new method
7715 * LaTeXFeatures.C (getEncodingSet): make const
7716 (getLanguages): make const
7718 * MenuBackend.C (binding): returns the binding associated to this
7720 (add): sets the status of each item by calling getStatus. Adds
7722 (read): add support for OptSubMenu
7723 (expand): remove extra separator at the end of expanded menu
7725 2003-02-15 John Levon <levon@movementarian.org>
7728 * BufferView_pimpl.C:
7730 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7731 inset code that had no actual effect. Remove unneeded status
7734 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7736 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7739 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7741 * text.C (drawLengthMarker): also draw an arrow marker for
7742 symbolic lengths (medskip...)
7744 2003-02-14 John Levon <levon@movementarian.org>
7747 * tabular.C: better method names
7749 2003-02-14 John Levon <levon@movementarian.org>
7751 * BufferView_pimpl.C:
7756 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7757 it's a more accurate name. Remove some pointless uses.
7759 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7761 * text2.C (LyXText): change order of initilizers to shut off
7764 2003-02-14 John Levon <levon@movementarian.org>
7766 * buffer.C: use ParIterator for getParFromID()
7770 * paragraph_pimpl.h:
7771 * paragraph_pimpl.C: remove unused getParFromID()
7773 2003-02-14 John Levon <levon@movementarian.org>
7775 * buffer.C: remove some very old #if 0'd parse code
7777 2003-02-13 John Levon <levon@movementarian.org>
7781 * text2.C: move hfillExpansion(), numberOfSeparators(),
7782 rowLast(), rowLastPrintable(), numberofHfills(),
7783 numberOfLabelHfills() ...
7786 * lyxrow.C: ... to member functions here.
7791 * text.C: remove LyXText::beginningOfMainBody(), and call
7792 p->beginningOfMainBody() directly. Move the check for
7793 LABEL_MANUAL into the latter.
7800 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7806 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7807 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7809 2003-02-13 John Levon <levon@movementarian.org>
7811 * CutAndPaste.C: remove debug
7813 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7815 * paragraph.C (asString): remove two unused variables
7817 * lyxtextclass.C (readTitleType):
7819 (LyXTextClass): handle new members titletype_ and titlename_
7821 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7823 2003-02-09 John Levon <levon@movementarian.org>
7826 * buffer.C: replace hand-coded list with a map for the dep clean
7828 2003-02-08 John Levon <levon@movementarian.org>
7830 * LaTeX.C: consolidate code into showRunMessage() helper
7832 2003-02-08 John Levon <levon@movementarian.org>
7837 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7838 and pass the size in explicitly
7840 * BufferView_pimpl.h:
7841 * BufferView_pimpl.C:
7843 * BufferView.C: add getCurrentChange()
7845 * BufferView_pimpl.h:
7846 * BufferView_pimpl.C: handle change lfuns
7848 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7849 for changes. Mark pasted paragraphs as new.
7851 * support/lyxtime.h:
7852 * support/lyxtime.C:
7853 * DepTable.C: abstract time_t as lyx::time_type
7856 * LColor.C: add colours for new text, deleted text, changebars
7858 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7859 package use "usenames" option.
7863 * LyXAction.C: add change lfuns
7867 * author.C: author handling
7870 * buffer.C: add a per-buffer author list, with first entry as
7871 current author. Handle new .lyx tokens for change tracking. Output
7872 author list to .lyx file. Output dvipost stuff to .tex preamble.
7873 Bump lyx format to 222.
7876 * bufferlist.C: add setCurrentAuthor() to reset current author details
7880 * bufferparams.C: add param for tracking
7882 * bufferview_funcs.C: output change info in minibuffer
7886 * changes.C: add change-tracking structure
7889 * debug.C: add CHANGES debug flag
7892 * lyxfind.C: add code for finding the next change piece
7895 * lyxrc.C: add user_name and user_email
7898 * lyxrow.C: add a metric for the top of the text line
7901 * text.C: implement accept/rejectChange()
7904 * text.C: paint changebars. Paint new/deleted text in the chosen
7905 colours. Strike through deleted text.
7909 * paragraph_pimpl.h:
7910 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7911 in the current change to the insert functions. Rework erase to
7912 mark text as deleted, adding an eraseIntern() and a range-based
7913 erase(). Implement per-paragraph change lookup and
7916 * paragraph_funcs.C: Fixup paste for change tracking.
7918 * tabular.C: mark added row/columns as new.
7920 * text.C: fix rowLast() to never return -1. Don't allow
7921 spellchecking of deleted text. Track transpose changes. Don't
7922 allow paragraph break or merge where appropriate.
7924 * text2.C: leave cursor at end of selection after a cut.
7926 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7928 * text.C (getLengthMarkerHeight):
7929 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7930 visible on screen too.
7932 2003-02-07 John Levon <levon@movementarian.org>
7934 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7936 2003-02-05 Angus Leeming <leeming@lyx.org>
7938 * lyxserver.C (read_ready): revert my patch of 11 September last year
7939 as it sends PC cpu through the roof. Presumably this means that
7940 the lyxserver will no longer run on an Alpha...
7942 2003-01-30 Angus Leeming <leeming@lyx.org>
7944 * factory.C (createInset): create an InsetCommandParam of type "index"
7945 and use it to 'do the right thing'.
7947 * text2.C (getStringToIndex): ensure that cursor position is always
7948 reset to the reset_cursor position.
7950 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7952 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7955 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7959 * lyxfunc.C: Output messages with identical spelling, punctuation,
7962 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7964 * MenuBackend.C (expandFormats): List only viewable export formats
7967 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7970 * lyxfunc.C (getStatus): Make sure that formats other than
7971 "fax" can also be disabled
7973 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7975 * text3.C (dispatch): put the lfuns that insert insets in 3
7976 groups, and call doInsertInset with appropriate arguments.
7977 (doInsertInset): new function, that creates an inset and inserts
7978 it according to some boolean parameters.
7980 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7982 * buffer.C (readFile): remember to pass on 'par' when calling
7983 readFile recursively.
7985 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7987 * MenuBackend.C (expandFormats): add "..." to import formats.
7989 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7991 * paragraph.C (asString): Remove XForms RTL hacks.
7993 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7994 * buffer.C: fix typo
7996 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7998 * Makefile.am (LIBS): delete var
7999 (lyx_LDADD): add @LIBS@ here instead.
8001 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8003 * Clarify the meaning of "wheel mouse jump"
8005 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8007 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8010 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8012 * importer.C (Loaders): do not preallocate 3 elements in the
8013 vector, since one ends up with 6 elements otherwise
8015 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8017 * DepTable.C (write): write the file name as last element of the
8018 .dep file (because it may contain spaces)
8019 (read): read info in the right order
8021 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8023 * paragraph_pimpl.C (simpleTeXBlanks):
8024 (simpleTeXSpecialChars):
8025 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8027 * tabular.C (latex): add some missing case statements. Reindent.
8029 * MenuBackend.C (expandToc): remove unused variable.
8031 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8040 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8043 2003-01-05 John Levon <levon@movementarian.org>
8046 * BufferView.C: add getEncoding()
8049 * kbsequence.C: do not store last keypress
8052 * lyxfunc.C: store last keypress here instead. Pass encoding
8055 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8057 * lyx_main.C (init): remove annoying error message when following
8058 symbolic links (bug #780)
8060 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8062 * text.C (insertChar):
8063 * lyxrc.C (getDescription): remove extra spaces
8065 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8067 * lyxrc.C (getDescription): remove extra spaces
8069 2002-12-20 John Levon <levon@movementarian.org>
8071 * text3.C: hack fix for page up/down across tall rows
8073 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8075 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8078 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8080 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8081 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8082 thesaurus is not compiled in
8084 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8086 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8088 2002-12-16 Angus Leeming <leeming@lyx.org>
8091 * lyx_main.C (init): remove override_x_deadkeys stuff.
8093 2002-12-12 John Levon <levon@movementarian.org>
8095 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8096 insert. Only remove shift modifier under strict
8099 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8101 * MenuBackend.C (expandToc): fix crash.
8103 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8105 * MenuBackend.C (expandToc): gettext on float names.
8107 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8109 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8110 implement bool empty() [bug 490]
8112 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8114 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8116 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8118 * several files: ws changes
8120 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8122 * text2.C (setCounter): clean up a bit, use boost.format.
8123 (updateCounters): initialize par upon declaration.
8125 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8126 if the layout exists. We do not just store the layout any more.
8127 (SwitchLayoutsBetweenClasses): use boost.format
8129 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8131 * converter.C (convert): if from and to files are the same, use a
8132 temporary files as intermediary
8134 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8137 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8139 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8141 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8143 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8145 * tabular.C (asciiPrintCell): use string(size, char) instead of
8148 * sgml.C (openTag): fix order of arguments to string constructor
8151 * lyxfunc.C (dispatch): use boost.format
8153 * lots of files: change "c" -> 'c'
8155 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8157 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8159 2002-11-25 Angus Leeming <leeming@lyx.org>
8161 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8163 * lyx_main.C (init): compile fix.
8165 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8167 * lyx_cb.C (start): boost.formatify
8168 do not include <iostream>
8170 * lengthcommon.C: ws only
8172 * boost-inst.C,BoostFormat.h: add more explict instantations
8174 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8176 * lots of files: handle USE_BOOST_FORMAT
8178 2002-11-21 John Levon <levon@movementarian.org>
8180 * pspell.C: fix compile
8182 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8184 * lyxfunc.C (dispatch): use boost::format
8188 * lyxfont.C (stateText): use boost::format
8190 * lyx_main.C (LyX): use boost::format
8192 (queryUserLyXDir): ditto
8195 (typedef boost::function): use the recommened syntax.
8197 * importer.C (Import): use boost::format
8199 * debug.C (showLevel): use boost::format
8201 * converter.C (view): use boost::format
8206 * bufferview_funcs.C (currentState): use boost::format
8208 * bufferlist.C (emergencyWrite): use boost::format
8210 * buffer.C (readLyXformat2): use boost::format
8211 (parseSingleLyXformat2Token): ditto
8213 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8215 * LaTeX.C (run): use boost::format
8217 * Chktex.C (scanLogFile): use boost::format
8219 * BufferView_pimpl.C (savePosition): use boost::format
8220 (restorePosition): ditto
8221 (MenuInsertLyXFile): ditto
8223 * BoostFormat.h: help file for explicit instation.
8225 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8227 * tabular.C (latex): Support for block alignment in fixed width
8230 2002-11-17 John Levon <levon@movementarian.org>
8232 * BufferView_pimpl.C:
8234 * lyxfunc.C: split filedialog into open/save
8236 2002-11-08 Juergen Vigna <jug@sad.it>
8238 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8239 by my last patch (hopefully).
8241 2002-11-08 John Levon <levon@movementarian.org>
8250 * toc.C: ParConstIterator, and use it (from Lars)
8252 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8254 * lyxtextclass.[Ch]: revise and add doxygen comments
8256 2002-11-07 John Levon <levon@movementarian.org>
8258 * text.C: fix progress value for spellchecker
8260 * toc.C: fix navigate menu for insetwrap inside minipage
8262 * paragraph_funcs.C: added FIXME for suspect code
8264 2002-11-07 John Levon <levon@movementarian.org>
8266 * BufferView_pimpl.C: fix redrawing of insets
8269 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8271 * text2.C (updateCounters): fix bug 668
8273 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8275 * text3.C (dispatch): Do not make the buffer dirty when moving the
8278 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8280 * vc-backend.C: STRCONV
8283 * text2.C (setCounter): STRCONV
8285 * paragraph.C (asString): STRCONV
8287 * lyxlength.C (asString): STRCONV
8288 (asLatexString): ditto
8290 * lyxgluelength.C (asString): STRCONV
8291 (asLatexString): ditto
8293 * lyxfunc.C (dispatch): STRCONV
8296 * lyxfont.C (stateText): STRCONV
8298 * importer.C (Import): STRCONV
8300 * counters.C (labelItem): STRCONV
8301 (numberLabel): ditto
8302 (numberLabel): remove unused ostringstream o
8307 * bufferview_funcs.C (currentState): STRCONV
8309 * buffer.C (readFile): STRCONV
8310 (asciiParagraph): ditto
8311 (makeLaTeXFile): ditto
8313 * Spacing.C (writeEnvirBegin): STRCONV
8315 * LaTeXFeatures.C (getLanguages): STRCONV
8316 (getPackages): ditto
8318 (getBabelOptions): ditto
8319 (getTClassPreamble): ditto
8320 (getLyXSGMLEntities): ditto
8321 (getIncludedFiles): ditto
8325 (scanAuxFile): ditto
8328 * LString.h: add the STRCONV macros
8330 * BufferView_pimpl.C (savePosition): STRCONV
8331 (restorePosition): ditto
8332 (MenuInsertLyXFile): ditto
8334 * vc-backend.C (scanMaster): change from submatch[...] to
8337 * funcrequest.C: include config.h
8339 * factory.C: include config.h
8341 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8343 * box.C: include config.h
8345 * LaTeX.C (scanAuxFile): change from submatch[...] to
8349 2002-10-25 Angus Leeming <leeming@lyx.org>
8351 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8353 * ispell.[Ch] (setError): new method.
8354 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8355 Use setError() insetead of goto END.
8357 * lyx_cb.C (AutoSave): move out child process into new class
8360 2002-10-30 John Levon <levon@movementarian.org>
8362 * text3.C: make start appendix undoable
8364 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8366 * lyxlength.C (inPixels): Fix returned value.
8368 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8371 2002-10-24 Angus Leeming <leeming@lyx.org>
8373 * lyxgluelength.h: no need to forward declare BufferParams
8374 or BufferView, so don't.
8376 2002-10-21 John Levon <levon@movementarian.org>
8378 * BufferView.C: menuUndo ->undo, redo
8380 * BufferView.h: document, remove dead, make some methods private
8382 * paragraph_funcs.h:
8383 * paragraph_funcs.C:
8384 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8389 * sgml.C: move sgml open/close tag into sgml.C
8391 * bufferview_funcs.h: unused prototype
8394 * lyxfunc.C: remove unused
8397 * text.C: remove unused
8399 2002-10-21 John Levon <levon@movementarian.org>
8403 * BufferView_pimpl.h:
8404 * BufferView_pimpl.C: fix mouse wheel handling based on
8405 patch from Darren Freeman
8407 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8409 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8411 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8413 * lyxlength.C (inPixels): Fix hanfling of negative length.
8414 Fix LyXLength::MU case.
8416 2002-10-16 John Levon <levon@movementarian.org>
8418 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8420 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8422 * converter.C (view): add support for $$i (file name) and $$p
8423 (file path) for the viewer command. If $$i is not specified, then
8424 it is appended to the command (for compatibility with old syntax)
8426 2002-10-14 Juergen Vigna <jug@sad.it>
8428 * undo_funcs.C (textHandleUndo): alter the order in which the
8429 new undopar is added to the LyXText, as we have to set first
8430 the right prev/next and then add it as otherwise the rebuild of
8431 LyXText is not correct. Also reset the cursor to the right paragraph,
8432 with this IMO we could remove the hack in "redoParagraphs()".
8434 2002-10-09 Angus Leeming <leeming@lyx.org>
8436 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8437 to turn off an optimisation if a new inset is to be inserted.
8439 2002-10-11 André Pönitz <poenitz@gmx.net>
8441 * lyxtext.h: make some functions public to allow access
8442 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8444 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8446 * text3.C (dispatch): when changing layout, avoid an infinite loop
8449 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8451 * lyxrc.C (read): treat a viewer or converter command of "none" as
8454 * MenuBackend.C (expandFormats): for an update, also allow the
8455 formats that are not viewable
8457 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8458 script if it is newer than the lyxrc.defaults in user directory
8460 2002-10-07 André Pönitz <poenitz@gmx.net>
8462 * text.C: Vitaly Lipatov's small i18n fix
8464 2002-09-25 Angus Leeming <leeming@lyx.org>
8466 * ispell.h: doxygen fix.
8468 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8470 * buffer.h (readFile): Add a new argument to the method, to allow
8471 reading of old-format templates.
8473 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8475 * toc.C (getTocList): Get TOC from InsetWrap.
8477 2002-09-16 John Levon <levon@movementarian.org>
8479 * lyxfunc.C: check tabular for cut/copy too
8481 2002-09-12 John Levon <levon@movementarian.org>
8486 * factory.C: add header
8488 * paragraph_funcs.h:
8489 * paragraph_funcs.C: cleanup
8491 2002-09-11 John Levon <levon@movementarian.org>
8493 * PrinterParams.h: odd/even default to true
8495 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8497 * PrinterParams.h: update printer parameters for new xforms dialog
8499 2002-09-11 Angus Leeming <leeming@lyx.org>
8501 * lyxserver.C (read_ready): re-write to make it more transparent
8502 and to make it work in coherent fashion under Tru64 Unix.
8504 2002-09-11 André Pönitz <poenitz@gmx.net>
8508 * text3.C: implement LFUN_WORDSEL
8510 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8512 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8513 make floatlist_ a boost::shared_ptr<FloatList>
8515 * lyxtextclass.C: include FloatList.h
8516 (LyXTextClass): initialize floatlist_
8517 (TextClassTags): add TC_NOFLOAT
8518 (Read): match "nofloat" to TC_NOFLOAT and use it.
8519 (readFloat): modify call to floatlist_
8523 * FloatList.[Ch] (FloatList): remove commented out float
8525 (erase): new function
8527 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8529 * MenuBackend.C (expandToc): fix crash when there is no document
8532 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8534 * many files: Add insetwrap.
8536 2002-09-09 John Levon <levon@movementarian.org>
8538 * text2.C: remove confusing and awkward depth wraparound
8540 2002-09-09 John Levon <levon@movementarian.org>
8542 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8545 * buffer.C: remove getIncludeonlyList()
8548 * lyxfunc.C: remove headers
8550 2002-09-09 Juergen Vigna <jug@sad.it>
8552 * text.C (getColumnNearX): fix form Michael this is most
8553 probably a cut&paste bug.
8555 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8557 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8559 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8560 references, ws changes.
8562 * text2.C (init): update counters after init
8563 (insertParagraph): no need to set counter on idividual paragraphs.
8564 (setCounter): access the counters object in the textclass object
8565 on in the buffer object.
8566 (updateCounters): ditto
8568 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8569 shared_ptr<Counters> to avoid loading counters.h in all
8571 (LyXTextClass): initialize ctrs_
8572 (TextClassTags): add TC_COUNTER, and ...
8573 (Read): use it here.
8574 (CounterTags): new tags
8575 (readCounter): new function
8576 (counters): new funtion
8577 (defaultLayoutName): return a const reference
8579 * counters.C (Counters): remove contructor
8580 (newCounter): remove a couple of unneeded statements.
8581 (newCounter): simplify a bit.
8582 (numberLabel): some small formatting changes.
8584 * buffer.[Ch]: remove all traces of counters, move the Counters
8585 object to the LyXTextClass.
8587 2002-09-06 Alain Castera <castera@in2p3.fr>
8589 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8590 package to set the horizontal alignment on fixed width columns.
8593 * lyx_sty.h: added tabularnewline macro def.
8595 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8597 2002-09-06 John Levon <levon@movementarian.org>
8599 * LyXAction.C: tooltips for sub/superscript
8601 * MenuBackend.C: a bit more verbose
8603 * lyxfunc.C: tiny clean
8605 * undo_funcs.C: document undo_frozen
8607 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8609 * counters.C (Counters): add missing algorithm counter.
8611 * text2.C (setCounter): lookup the counter with layouts latexname
8612 instead of by section number.
8613 (setCounter): use a hackish way to lookup the correct enum
8615 a float name->type change
8616 reset enum couners with counter name directly instead of depth value.
8618 * counters.C (Counters): remove the push_backs, change to use the
8619 float type not the float name.
8620 (labelItem): remove unused string, float name->type change
8622 * counters.h: don't include vector, loose the enums and sects vectors
8624 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8626 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8627 (Read): add float->TC_FLOAT to textclassTags
8628 (Read): and handle it in the switch
8629 (readFloat): new function
8631 * FloatList.C (FloatList): comment out the hardcoded float
8634 * lyxlayout.h: ws change.
8636 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8638 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8640 2002-09-03 Angus Leeming <leeming@lyx.org>
8642 * BufferView_pimpl.h: qualified name is not allowed in member
8643 declaration: WorkArea & Pimpl::workarea() const;
8645 * factory.C: added using std::endl directive.
8647 * text3.C: added using std::find and std::vector directives.
8649 2002-08-29 André Pönitz <poenitz@gmx.net>
8652 * text2.C: remove unused member number_of_rows
8655 * BufferView2.C: remove file, move contents to...
8656 * BufferView.C: ... here
8658 * BufferView_pimpl.C:
8659 * factory.C: move more inset creation to factory
8661 * vspace.C: avoid direct usage of LyXText, ws changes
8664 don't provide direct access to WorkArea, use two simple
8665 acessors haveSelction() and workHeight() instead
8668 2002-08-29 John Levon <levon@movementarian.org>
8670 * BufferView_pimpl.C (dispatch): do not continue when
8673 2002-08-28 André Pönitz <poenitz@gmx.net>
8675 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8678 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8680 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8682 * buffer.C: increment LYX_FORMAT to 221
8684 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8685 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8687 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8689 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8691 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8693 * factory.C (createInset): use LyXTextClass::floats
8695 * MenuBackend.C (expandFloatListInsert):
8696 (expandFloatInsert):
8699 * text2.C (setCounter):
8701 * LaTeXFeatures.C (useFloat):
8702 (getFloatDefinitions):
8704 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8706 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8707 floatlist_, with accessor floats().
8709 * FloatList.h: remove global FloatList
8711 2002-08-26 André Pönitz <poenitz@gmx.net>
8713 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8717 * BufferView_pimpl.C:
8718 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8720 2002-08-25 John Levon <levon@movementarian.org>
8722 * LyXAction.C: fix margin note description
8724 2002-08-24 John Levon <levon@movementarian.org>
8728 * bufferview_funcs.C:
8730 * undo_funcs.C: cleanups
8732 * lyxfunc.C: disable CUT/COPY when no selection
8734 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8736 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8737 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8739 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8740 Add backward compatibility to "mono", "gray" and "no".
8742 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8744 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8745 (and file_format >= 200).
8747 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8749 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8751 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8753 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8755 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8757 * BufferView_pimpl.C:
8764 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8765 inset and code to make it work with the paragraph code. The inset
8766 can be anywhere in the paragraph, but will only do the expected
8767 thing in LaTeX if the layout file contains the parameter line
8769 (or more generally, a nonzero value) for that layout.
8771 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8773 * paragraph.h: remove the declaration of undefined counters class
8776 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8778 * text2.C (setCounter): fixed enumeration mis-count as reported by
8779 Dr. Richard Hawkins.
8781 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8783 * paragraph_funcs.h: remove some unneeded includes
8785 * text.C (backspace): pasteParagraph now in global scipe
8787 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8788 (pasteSelection): ditto
8790 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8791 * paragraph_funcs.C (pasteParagraph): ... here
8793 2002-08-20 André Pönitz <poenitz@gmx.net>
8795 * commandtags.h: new LFUNs for swapping/copying table row/colums
8798 * lyxfunc.C: support for new lfuns
8800 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8803 * buffer.[Ch]: remove NO_COMPABILITY stuff
8805 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8807 * boost.C (throw_exception): new file, with helper function for
8808 boost compiled without exceptions.
8813 * ParameterStruct.h:
8814 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8816 * bufferlist.C (emergencyWriteAll): use boost bind
8818 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8820 * text.C: include paragraph_funcs.h
8821 (breakParagraph): breakParagraph is now in global scope
8823 * paragraph_funcs.[Ch]: new files
8825 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8828 * buffer.C: include paragraph_funcs.h
8829 (insertStringAsLines): breakParagraph is now in global scope
8831 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8834 * CutAndPaste.C: include paragraph_funcs.h
8835 (cutSelection): breakParagraphConservative is now in global scope
8836 (pasteSelection): ditto
8838 * buffer.h: declare oprator== and operator!= for
8839 Buffer::inset_iterator
8841 * bufferlist.C (emergencyWrite): don't use fmt(...)
8843 * text3.C: add using std::endl
8845 * BufferView.C (moveCursorUpdate): remove default arg
8847 2002-08-20 André Pönitz <poenitz@gmx.net>
8849 * buffer.[Ch]: move inline functions to .C
8852 * BufferView_pimpl.C:
8854 * buffer.[Ch]: use improved inset_iterator
8857 * paragraph.[Ch]: write one paragraph at a time
8859 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8861 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8862 style if style is not specified.
8864 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8866 * text2.C (setCounter): when searching for right label for a
8867 caption, make sure to recurse to parent insets (so that a caption
8868 in a minipage in a figure float works) (bug #568)
8870 2002-08-20 André Pönitz <poenitz@gmx.net>
8872 * text3.C: new file for LyXText::dispatch() and helpers
8874 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8876 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8878 2002-08-19 André Pönitz <poenitz@gmx.net>
8881 * text.C: new LyXText::dispatch()
8883 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8885 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8887 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8889 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8892 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8894 * Makefile.am: use $(variables) instead of @substitutions@
8896 2002-08-15 André Pönitz <poenitz@gmx.net>
8899 * BufferView_pimpl.C: streamlining mathed <-> outer world
8903 * LyXAction.C: remove unused LFUN_MATH
8905 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8907 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8909 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8911 * paragraph.C (Paragraph): reformat a bit
8912 (cutIntoMinibuffer): use builtin InsetList function instad of
8916 * buffer.C: include boost/bind.hpp, add using std::for_each
8917 (writeFileAscii): use ParagraphList iterators
8918 (validate): use for_each for validate traversal of paragraphs
8919 (getBibkeyList): use ParagraphList iterators
8920 (resizeInsets): use for_each to resizeInsetsLyXText for all
8922 (getParFromID): use ParagraphList iterators
8924 * BufferView2.C (lockInset): use paragraph list and iterators
8926 2002-08-14 John Levon <levon@movementarian.org>
8928 * lyxserver.C: remove spurious xforms include
8930 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8932 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8934 2002-08-13 André Pönitz <poenitz@gmx.net>
8937 * lyxfunc.C: further cleaning
8939 2002-08-13 André Pönitz <poenitz@gmx.net>
8941 * funcrequest.h: new constructor
8943 * funcrequest.C: move stuff here from .h
8946 * BufferView_pimpl.C:
8949 * lyxfunc.C: subsequent changes
8951 * lyxfunc.h: new view() member function
8953 * lyxfunc.C: subsequent changes
8955 2002-08-13 Angus Leeming <leeming@lyx.org>
8958 * BufferView_pimpl.C:
8966 changes due to the changed LyXView interface that now returns references
8967 to member variables not pointers.
8969 2002-08-13 Angus Leeming <leeming@lyx.org>
8971 * WordLangTuple (word, lang_code): return references to strings,
8976 * lyxtext.h: forward-declare WordLangTuple.
8981 * text.C: #include "WordLangTuple.h".
8984 * text.C: (selectNextWordToSpellcheck): constify return type.
8986 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8992 * paragraph_pimpl.h:
8995 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8997 Made updateCounter always count from start of buffer, and removed
8998 second argument (par).
8999 Reverted floats number display to '#'. Perhaps I'll try again when the
9000 code base is sanitized a bit.
9002 2002-08-12 Angus Leeming <leeming@lyx.org>
9004 * buffer.[Ch] (getLabelList): constify.
9006 2002-08-07 André Pönitz <poenitz@gmx.net>
9008 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9010 * funcrequest.h: extension to keep mouse (x,y) position
9012 2002-08-12 Juergen Vigna <jug@sad.it>
9014 * BufferView2.C (insertErrors): forbid undo when inserting error
9017 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9019 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9021 * ParagraphList.[Ch]: new files
9023 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9025 * BufferView2.C (lockInset): ParagraphList changes
9028 * bufferlist.C: ditto
9032 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9034 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9035 unused class variable counter_,
9037 * paragraph.[Ch] (getFirstCounter): delete unused function
9039 * counters.C: include LAssert.h
9040 (reset): add a new function with no arg, change other version to
9041 not have def. arg and to not allow empty arg.
9043 * text2.C (setCounter): remove empty arg from call to Counters::reset
9045 2002-08-11 John Levon <levon@movementarian.org>
9047 * Makefile.am: add WordLangTuple.h
9049 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9051 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9052 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9054 * insets/insettext.C: InsetList changes
9056 * graphics/GraphicsSupport.C (operator()): InsetList changes
9058 * toc.C (getTocList): InsetList changes
9060 * paragraph_pimpl.[Ch]: InsetList changes
9062 * paragraph.[Ch]: InsetList changes
9064 * buffer.C (inset_iterator): InsetList changes
9065 (setParagraph): ditto
9066 * buffer.h (inset_iterator): ditto
9067 * iterators.C (operator++): ditto
9068 * iterators.h: ditto
9070 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9072 * InsetList.[Ch]: new files, most InsetList handling moved out of
9075 * BufferView2.C (removeAutoInsets): InsetList changes
9077 (ChangeInsets): ditto
9079 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9081 * paragraph_pimpl.h (empty): new function
9083 * paragraph.[Ch] (empty): new function
9085 * other files: use the new Paragraph::empty function
9087 2002-08-09 John Levon <levon@movementarian.org>
9089 * lyxtext.h: remove unused refresh_height
9091 2002-08-09 John Levon <levon@movementarian.org>
9098 * paragraph.C: move sgml char escaping out of paragraph
9101 * paragraph.C: remove id setter
9105 * paragraph_pimpl.C: remove dead tex_code_break_column
9107 * bufferview_funcs.C: small cleanup
9109 * lyxfunc.C: remove dead proto
9111 * lyxtext.h: make some stuff private. Remove some dead stuff.
9113 * lyxgluelength.C: make as[LyX]String() readable
9115 2002-08-08 John Levon <levon@movementarian.org>
9120 * ToolbarDefaults.C:
9123 * toc.C: lyxaction cleanup
9125 2002-08-08 John Levon <levon@movementarian.org>
9127 * BufferView2.C: small cleanup
9130 * lyxfind.C: move unnecessary header into the .C
9132 2002-08-08 John Levon <levon@movementarian.org>
9134 * funcrequest.h: just tedious nonsense
9137 * lyx_main.C: cleanups
9140 * vspace.C: remove dead header lyx_main.h
9142 2002-08-07 Angus Leeming <leeming@lyx.org>
9145 * paragraph_pimpl.h:
9146 Forward declare class Counters in paragraph.h by moving the ctrs member
9147 variable into Paragraph::Pimpl.
9148 (counters): new method, returning a reference to pimpl_->ctrs.
9150 * text2.C: ensuing changes.
9152 2002-08-07 John Levon <levon@movementarian.org>
9154 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9156 * BufferView_pimpl.C: announce X selection on double/triple
9159 * lyx_main.C: use correct bool in batch dispatch
9161 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9163 2002-08-07 André Pönitz <poenitz@gmx.net>
9165 * funcrequest.h: new class to wrap a kb_action and its argument
9168 * BufferView_pimpl[Ch]:
9172 * lyxrc.C: subsequent changes
9175 2002-08-07 John Levon <levon@movementarian.org>
9177 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9178 document options change.
9180 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9185 * makefile.am: move counters functionality over from
9186 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9188 2002-08-06 John Levon <levon@movementarian.org>
9190 * WordLangTuple.h: new file for word + language code tuple
9201 * BufferView2.C: use WordLangTuple
9204 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9206 2002-08-06 John Levon <levon@movementarian.org>
9208 * lyx_main.C: fix cmdline batch handling
9210 2002-08-06 André Pönitz <poenitz@gmx.net>
9212 * lyxrc.C: set default for show_banner to true
9214 2002-08-06 John Levon <levon@movementarian.org>
9216 * pspell.C: fix a crash, and allow new aspell to work
9218 2002-08-06 John Levon <levon@movementarian.org>
9221 * kbmap.C: small cleanup
9224 * vspace.C: add const
9226 2002-08-05 John Levon <levon@movementarian.org>
9228 * LyXAction.C: back to tabular-insert
9230 2002-08-04 John Levon <levon@movementarian.org>
9233 * BufferView.C: cosmetic change
9235 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9245 * BufferView2.C: purge all "Lyx" not "LyX" strings
9248 * lyxcursor.C: attempt to add some documentation
9253 * ToolbarDefaults.C:
9254 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9255 merge with LFUN_TABULAR_INSERT
9262 * pspell.C: split up i/pspell implementations into separate
9263 files, many cleanups
9265 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9267 * text2.C: some cleanup
9269 * lyxfunc.C: don't check for isp_command == "none" any more, it
9270 didn't make any sense
9272 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9277 * makefile.am: move counters functionality over
9278 from text2.C/paragraph.[Ch] to counters.[Ch], and
9280 2002-08-02 John Levon <levon@movementarian.org>
9282 * buffer.C: s/lyxconvert/lyx2lyx/
9284 2002-08-02 Angus Leeming <leeming@lyx.org>
9286 * lyxlex.C: revert John's change as it breaks reading of the user
9289 2002-08-02 Angus Leeming <leeming@lyx.org>
9291 * importer.C (Import):
9292 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9293 changes due to LyXView::view() now returning a boost::shared_ptr.
9295 2002-08-02 John Levon <levon@movementarian.org>
9297 * lyxlex.C: small cleanup
9299 2002-08-02 John Levon <levon@movementarian.org>
9301 * text2.C (status): small cleanup, no logic change
9303 2002-08-01 John Levon <levon@movementarian.org>
9306 * buffer.C (writeFile): don't output alerts, caller
9310 * lyx_cb.C: from above
9312 * lyxfunc.C: allow to open non-existent files
9314 2002-07-31 John Levon <levon@movementarian.org>
9316 * lyxserver.C: don't let incidental errors get
9319 2002-07-30 John Levon <levon@movementarian.org>
9321 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9323 2002-07-30 John Levon <levon@movementarian.org>
9326 * lyxserver.C: remove I/O callback too
9328 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9330 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9333 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9335 * many files: strip,frontStrip -> trim,ltrim,rtrim
9337 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9339 * PrinterParams.h: remove extern containsOnly, and include
9340 support/lstrings.h instead.
9342 * LaTeX.C (scanAuxFile): modify because of strip changes
9344 * buffer.C (makeLaTeXFile): ditto
9345 * bufferparams.C (writeFile): ditt
9346 * lyxfont.C (stateText): ditto
9347 * lyxserver.C (read_ready): ditto
9348 * vc-backend.C (scanMaster): ditto
9350 * BufferView_pimpl.h: ws changes
9352 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9354 2002-07-26 André Pönitz <poenitz@gmx.net>
9356 * kb_sequence.C: remove unnedred usings
9358 2002-07-26 Juergen Vigna <jug@sad.it>
9360 * lyxfind.C (LyXReplace): we have to check better if the returned
9361 text is not of theLockingInset()->getLockingInset().
9363 2002-07-25 Juergen Vigna <jug@sad.it>
9365 * lyxfind.C (LyXReplace): don't replace if we don't get the
9368 * undo_funcs.C (createUndo): remove debugging code.
9370 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9372 * buffer.C (parseSingleLyXformat2Token): Use default placement
9373 when reading old floats.
9375 * FloatList.C (FloatList): Change the default placement of figure
9376 and tables to "tbp".
9378 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9380 * MenuBackend.C: using std::max
9382 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9384 * MenuBackend.C (expandToc):
9385 (expandToc2): code moved from xforms menu frontend. It is now
9386 generic and TOCs are transparent to menu frontends.
9388 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9390 * toc.C (getTocList): protect against buf=0
9392 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9393 Menu as first parameter. Now, this calls itself recursively to
9394 expand a whole tree (this will be useful for TOC handling)
9395 (expandFloatInsert): remove 'wide' version of floats
9397 * MenuBackend.h (submenuname): returns the name of the submenu.
9398 (submenu): returns the submenu itself, provided it has been
9399 created by MenuBackend::expand
9401 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9403 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9404 insets which have noFontChange == true. (bug #172)
9406 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9408 * BufferView_pimpl.C: add connection objects and use them...
9411 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9413 * MenuBackend.C (expandLastfiles):
9416 (expandFloatListInsert):
9417 (expandFloatInsert):
9418 (expand): split expand in parts
9420 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9422 * lyx_gui.C: use lyx_gui::exit()
9424 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9426 * LyXAction.C: show the failing pseudo action
9428 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9430 * buffer.C (readFile): Run the lyxconvert script in order to read
9433 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9437 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9439 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9443 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9445 2002-07-22 Herbert Voss <voss@lyx.org>
9448 * lyxlength.[Ch]: add support for the vertical lengths
9450 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9452 * toc.[Ch]: std:: fixes
9454 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9456 * lyxrc.C: do not include lyx_main.h
9458 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9464 * BufferView2.C: include "lyxlex.h"
9467 * bufferparams.h: do not #include "lyxlex.h"
9469 * lyxtextclasslist.C (Add): remove method
9470 (classlist): renamed to classlist_
9472 * paragraph_pimpl.C:
9476 * bufferview_funcs.C:
9481 * toc.C (getTocList): use BufferParams::getLyXTextClass
9483 * toc.C (getTocList): use InsetFloat::addToToc
9485 * toc.[Ch]: new files, containing helper functions to handle table
9488 * lyxfunc.C (dispatch): no need to remove spaces around command
9490 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9491 first command of the sequence; it is not very clever, but I do not
9492 have a better idea, actually
9494 * LyXAction.C (LookupFunc): make sure to remove space at the
9495 beginning and end of the command
9497 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9499 * MenuBackend.C (getMenubar): new method: return the menubar of
9501 (read): treat differently reading of menu and menubar (in
9502 particular, the menubar has no name now)
9503 (Menu::menubar): remove
9505 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9508 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9510 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9511 a bibitem inset in a RTL paragraph.
9513 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9515 * paragraph_pimpl.C: constify
9517 * BufferView_pimpl.C:
9519 * lyxfunc.C: fix dispatch in a nicer way
9521 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9523 * lyxfunc.C (dispatch):
9524 * BufferView_pimpl.C:
9525 * BufferView_pimpl.h:
9527 * BufferView.h: rename Dispatch() to dispatch()
9529 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9531 * lyxlayout.C (Read): honor DependsOn tag
9533 * lyxlayout.[Ch] (depends_on): new method
9535 * version.C.in: update lyx_docversion
9537 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9539 * paragraph.C (validate): remove from here...
9540 * paragraph_pimpl.C (validate): ... and move here
9541 (isTextAt): make it const
9543 * buffer.C (getLists): ws cleanup
9545 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9547 * language.C (read): Use iso8859-1 encoding in latex_lang
9548 (this prevents LyX from crashing when using iso10646-1 encoding).
9550 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9552 * text2.C (toggleInset): if cursor is inside an inset, close the
9553 inset and leave cursor _after_ it
9555 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9557 * lyxfunc.C: move minibuffer completion handling out of here
9559 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9561 * BufferView_pimpl.C:
9562 * LaTeX.C: fix dispatch calls
9564 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9566 * text.C (drawChars): Fix Arabic text rendering.
9568 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9572 * lyxfunc.C: remove message-push/pop
9576 * lyxfunc.C: rationalise some code by removing verboseDispatch
9577 in favour of a bool argument to dispatch()
9579 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9581 * lyx_main.C (init): make sure to read symlinks as absolute paths
9583 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9586 * lyxfunc.C: no need for commandshortcut to be a member
9588 2002-07-15 André Pönitz <poenitz@gmx.net>
9590 * converter.C: add support for $$s (scripts from lib/scripts dir)
9591 * lyx_main.C: white space
9593 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9597 * lyxrc.C: remove second exit confirmation
9599 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9604 * BufferView_pimpl.h:
9605 * BufferView_pimpl.C:
9606 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9608 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9610 * MenuBackend.C (expand): add numeric shortcuts to document menu
9612 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9614 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9616 * lyxfont.C (setLyXFamily):
9623 * buffer.C (asciiParagraph): use ascii_lowercase
9625 2002-07-15 Mike Fabian <mfabian@suse.de>
9627 * lyxlex_pimpl.C (search_kw):
9628 * lyxlex.C (getLongString):
9629 * converter.h (operator<):
9630 * converter.C (operator<):
9631 * buffer.C (parseSingleLyXformat2Token):
9633 * ToolbarDefaults.C (read):
9634 * MenuBackend.C (checkShortcuts):
9636 * LColor.C (getFromGUIName):
9637 (getFromLyXName): use the compare_ascii_no_case instead of
9638 compare_no_case, because in turkish, 'i' is not the lowercase
9639 version of 'I', and thus turkish locale breaks parsing of tags.
9641 2002-07-16 Angus Leeming <leeming@lyx.org>
9643 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9644 now takes a Buffer const & argument.
9646 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9648 * BufferView.C (resize): check there's a buffer to resize
9650 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9652 * lyxfunc.C: remove dead code
9655 * lyxserver.C: use lyx_guii::set_read_callback
9657 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9659 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9660 an inset in a RTL paragraph.
9662 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9664 * lyxfunc.C: repaint after a font size update
9666 2002-07-15 André Pönitz <poenitz@gmx.net>
9668 * lyxlength.C: inBP should be able to return negative values
9670 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9672 * lyxfunc.C: use lyx_gui::update_fonts()
9674 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9676 * lyxfunc.C: use lyx_gui::update_color()
9678 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9684 * lyxrc.C: remove file->new asks for name option, and let
9685 buffer-new take an argument
9687 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9689 * BufferView_pimpl.C: remove unneeded extra repaint()
9691 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9693 * LyXAction.C: allow command-sequence with NoBuffer
9695 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9697 2002-07-10 Angus Leeming <leeming@lyx.org>
9699 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9701 2002-07-09 Angus Leeming <leeming@lyx.org>
9703 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9705 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9707 * lengthcommon.h: whitespace
9709 * lyxfunc.C: update scrollbar after goto paragraph
9711 * lyxtext.h: factor out page break drawing, and fix it so
9712 page break/added space paints as selected nicely
9714 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9716 * BufferView_pimpl.C: add FIXMEs, clean up a little
9718 2002-07-09 André Pönitz <poenitz@gmx.net>
9720 * lyxfont.[Ch]: support for wasy symbols
9722 2002-07-08 André Pönitz <poenitz@gmx.net>
9724 * BufferView_pimpl.C: apply John's patch for #93.
9726 2002-07-05 Angus Leeming <leeming@lyx.org>
9728 * BufferView_pimpl.C (buffer): generate previews if desired.
9730 * LColor.h: add "preview" to the color enum.
9732 * LColor.C (LColor): add a corresponding entry to the items array.
9734 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9737 2002-07-05 Angus Leeming <leeming@lyx.org>
9739 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9740 The body of the code is now in the method that is passed an ostream &
9741 rather than a file name.
9742 Pass an additional only_preamble parameter, useful for the forthcoming
9745 2002-07-03 André Pönitz <poenitz@gmx.net>
9747 * lyxfunc.C: simplify getStatus() a bit for math stuff
9749 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9751 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9753 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9755 * text.C (changeRegionCase): do not change case of all the
9756 document when region ends at paragraph end (bug #461)
9758 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9760 * paragraph.C (startTeXParParams):
9761 (endTeXParParams): add \protect when necessary
9763 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9765 * BufferView_pimpl.C (workAreaExpose): remove warning
9767 2002-06-27 Angus Leeming <leeming@lyx.org>
9769 * Makefile.am: add lyxlayout_ptr_fwd.h.
9771 2002-06-26 André Pönitz <poenitz@gmx.net>
9773 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9775 2002-06-25 Angus Leeming <leeming@lyx.org>
9777 * lyxfunc.C (dispatch): Comment out the call to
9778 grfx::GCache::changeDisplay. The method no longer exists now that the
9779 pixmap generation part of the graphics loader has been moved into
9782 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9784 * text2.C: layout as layout
9786 * text.C: layout as layout
9788 * tabular.C (OldFormatRead): layout as layout
9790 * paragraph_pimpl.C (TeXDeeper): layout as layout
9791 (realizeFont): layout as layout
9793 * paragraph.C (writeFile): layout as layout
9794 (validate): layout as layout
9795 (getFont): layout as layout
9796 (getLabelFont): layout as layout
9797 (getLayoutFont): layout as layout
9798 (breakParagraph): layout as layout
9799 (stripLeadingSpaces): layout as layout
9800 (getEndLabel): layout as layout
9801 (getMaxDepthAfter): layout as layout
9802 (applyLayout): layout as layout
9803 (TeXOnePar): layout as layout
9804 (simpleTeXOnePar): layout as layout
9805 (TeXEnvironment): layout as layout
9806 (layout): layout as layout
9807 (layout): layout as layout
9809 * lyxtextclass.C (compare_name): new functor to work with
9810 shared_ptr, layout as layout
9811 (Read): layout as layout
9812 (hasLayout): layout as layout
9813 (operator): layout as layout
9814 (delete_layout): layout as layout
9815 (defaultLayout): layout as layout
9817 * lyxlayout_ptr_fwd.h: new file
9819 * lyxlayout.C (Read): layout as layout
9821 * lyx_cb.C (MenuInsertLabel): layout as layout
9823 * bufferlist.C (newFile): layout as layout
9825 * buffer.C (readLyXformat2): layout as layout
9826 (parseSingleLyXformat2Token): layout as layout
9827 (insertStringAsLines): layout as layout
9828 (asciiParagraph): layout as layout
9829 (latexParagraphs): layout as layout
9830 (makeLinuxDocFile): layout as layout
9831 (simpleLinuxDocOnePar): layout as layout
9832 (makeDocBookFile): layout as layout
9833 (simpleDocBookOnePar): layout as layout
9834 (getLists): layout as layout
9836 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9838 * CutAndPaste.C (cutSelection): layout as layout
9839 (pasteSelection): layout as layout
9840 (SwitchLayoutsBetweenClasses): layout as layout
9842 * BufferView_pimpl.C (Dispatch): layout as layout
9843 (smartQuote): layout as layout
9845 * BufferView2.C (unlockInset): layout as layout
9847 2002-06-24 André Pönitz <poenitz@gmx.net>
9849 * lyxfunc.C: fix #487
9851 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9855 * lyxfunc.C: remove display_shortcuts, show_banner
9857 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9859 * Buffer_pimpl.C: oops, update on resize
9861 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9868 * BufferView.C: use repaint()
9870 * BufferView_pimpl.h:
9871 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9872 as it's a clearer description. Remove superfluous
9875 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9877 * text.C: fix bug 488. Not ideal, but getting
9878 getWord() to work properly for the insets that
9879 matter is more difficult ...
9881 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9883 * BufferView_pimpl.C:
9886 * lyxfunc.C: remove the six million index lyxfuncs to just
9887 one, and DTRT (bug 458)
9889 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9893 * BufferView_pimpl.h:
9894 * BufferView_pimpl.C: clean up resize() stuff,
9895 and unnecessary updateScreen()s
9897 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9901 * BufferView_pimpl.h:
9902 * BufferView_pimpl.C:
9905 * minibuffer.C: remove focus management of workarea,
9906 not needed. Use screen's greyOut()
9908 2002-06-17 Herbert Voss <voss@lyx.org>
9910 * converter.C: (convert) do not post a message, when converting
9911 fails, let the calling function decide what to do in this case
9913 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9915 * lyxfunc.C: tidy up a little
9917 2002-06-16 <alstrup@diku.dk>
9919 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9920 Got rid of FORMS_H_LOCATION include. Now we are
9923 2002-06-15 LyX Development team <lyx@rilke>
9925 * buffer.[Ch] (sgmlOpenTag):
9926 (sgmlCloseTag): Added support for avoiding pernicious mixed
9927 content. Return number of lines written.
9930 (makeDocBookFile): Fixed calls to sgml*Tag.
9931 Simple white space clean.
9933 (simpleDocBookOnePar): Simple white space clean.
9935 * tabular.[Ch] (docBook): Renamed to docbook and got another
9936 argument to related with the pernicious mixed content.
9938 (docbookRow): Fixed calls for docbook inset method.
9940 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9942 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9943 so it's X11 independent.
9947 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9949 2002-06-15 Lyx Development team <lyx@electronia>
9951 * intl.h: Renamed getTrans to getTransManager.
9953 2002-06-14 Angus Leeming <leeming@lyx.org>
9955 * Makefile.am: nuke forgotten stl_string_fwd.h.
9957 2002-06-12 Angus Leeming <leeming@lyx.org>
9959 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9961 2002-06-13 Angus Leeming <leeming@lyx.org>
9964 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9966 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9968 * kbmap.C (getiso): add support for cyrillic and greek
9970 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9974 * BufferView_pimpl.h:
9975 * BufferView_pimpl.C: move bogus scrolling logic
9978 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9981 * BufferView_pimpl.C: view->resize() change
9983 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9985 * BufferView_pimpl.C: topCursorVisible
9988 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9992 * lyx_gui.C: move to frontends/
9996 * lyx_main.C: changes from above
9998 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10005 * lyx_main.C: minor tidy
10007 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10009 * BufferView_pimpl.h:
10010 * BufferView_pimpl.C:
10012 * BufferView.C: make painter() const,
10015 * BufferView2.C: use screen() accessor
10018 * lyx_main.C: some minor cleanup
10020 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10022 * BufferView_pimpl.h:
10023 * BufferView_pimpl.C: remove enter/leaveView,
10026 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10031 * BufferView_pimpl.h:
10032 * BufferView_pimpl.C: only construct screen once,
10035 * lyxrc.C: remove pointless comment
10037 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10040 * BufferView.C: remove active() and belowMouse()
10042 * BufferView_pimpl.h:
10043 * BufferView_pimpl.C: use workarea() not workarea_,
10044 and make it use a scoped_ptr instead
10046 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10048 * lyx_gui.C: add debug message on BadWindow
10050 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10052 * sp_spell.C: fdopen is not part of the C++ standard.
10054 * paragraph.C (InsetIterator): use >= instead of ==
10056 2002-06-07 Angus Leeming <leeming@lyx.org>
10058 Fixes needed to compile with Compaq cxx 6.5.
10059 * BufferView_pimpl.C:
10066 * lyxtextclasslist.C:
10071 all c-library variables have been moved into namespace std. Wrap
10072 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10077 Add a using std::abs declaration.
10079 * kbmap.h (modifier_pair):
10080 * paragraph.h (InsetTable, InsetList):
10081 * lyxfont.h (FontBits):
10082 type definition made public.
10084 * bufferlist.C (emergencyWriteAll): the compiler complains that
10085 there is more than one possible lyx::class_fun template to choose from.
10086 I re-named the void specialisation as lyx::void_class_fun.
10088 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10090 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10091 the compiler is is unable to find tostr in write_attribute.
10093 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10095 * buffer.C (sgmlError): hide #warning
10097 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10099 * xtl/*: get rid of xtl, which is not in use anyway
10101 * LyXAction.C (init):
10102 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10103 were unimplemented xtl experimentation
10105 2002-06-04 André Pönitz <poenitz@gmx.net>
10107 * lyxfunc.C: disable array operation on simple formulae
10109 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10111 * converter.C: constify a bit
10113 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10115 * lyx_gui.C: check xforms version correctly
10117 2002-04-30 Herbert Voss <voss@lyx.org>
10119 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10122 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10124 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10125 attempt to register it with a VCS)
10127 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10129 * lyx_main.C (init): honor variables LYX_DIR_13x and
10132 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10136 * lyx_main.C: fix a crash on bad command line,
10137 and give a useful exit status on error
10139 * lyxfunc.C (doImport): allow -i lyx to work
10141 2002-03-30 André Pönitz <poenitz@gmx.net>
10143 * lyxfunc.C: mathed font changes
10145 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10160 * trans_mgr.h: srcdocs, and some minor cleanups
10162 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10164 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10165 call getFont all the time)
10167 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10169 * switch from SigC signals to boost::signals
10171 2002-05-29 André Pönitz <poenitz@gmx.net>
10173 * paragraph_pimpl.C (getChar): don't call size() too often...
10175 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10177 * paragraph_pimpl.C (insertChar): do not try to update tables when
10178 appending (pos == size())
10180 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10181 in order to reduce drastically the number of comparisons needed to
10182 parse a large document
10184 2002-05-29 André Pönitz <poenitz@gmx.net>
10190 * textclasslist.[Ch]:
10191 * sp_ispell.h: whitespace change
10193 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10195 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10196 lyxaction directly now.
10198 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10202 * lyxvc.C: remove unused headers
10204 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10211 * undo_funcs.C: some cleanups. Use shared_ptr
10212 and a template for the undo stacks.
10214 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10216 * BufferView_pimpl.h:
10217 * BufferView_pimpl.C:
10224 * text2.C: use key_state/mouse_state
10226 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10228 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10231 * chset.C: change include order
10232 (loadFile): use boost regex and get rid of LRegex and LSubstring
10234 * Makefile.am (BOOST_LIBS): new variable
10235 (lyx_LDADD): use it
10237 * LaTeX.C: change include order.
10238 (scanAuxFile): use boost regex and get rid of LRegex and
10242 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10247 * FontInfo.C: moved to frontends/xforms/
10250 * FontLoader.C: moved into frontends for GUIIzation
10255 * lyxfunc.C: changes from above
10257 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10259 * LColor.C: remove spurious X include
10261 * BufferView_pimpl.C:
10266 * text2.C: move font metrics to frontends/
10268 2002-05-24 Juergen Vigna <jug@sad.it>
10270 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10271 setting the undo_cursor.
10273 * ParagraphParameters.h: include local includes first.
10275 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10277 * BufferView_pimpl.C:
10278 * BufferView_pimpl.h:
10282 * screen.C: move WorkArea into frontends/
10288 * BufferView2.C: move LyXScreen into frontends/
10292 * lyx_gui.C: move lyxlookup into frontends/xforms/
10294 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10297 * BufferView_pimpl.C:
10307 * bufferview_funcs.C:
10320 * vc-backend.C: move LyX/XFormsView into frontends/
10322 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10334 * text2.C: move Painter to frontends/
10336 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10338 * buffer.C: comment out some some code that depend upon lyx_format
10341 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10342 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10344 * buffer.h (NO_COMPABILITY): turn off compability
10346 * ColorHandler.C: include scoped_array.hpp
10348 * font.C: Use more specific smart_ptr header.
10351 * ShareContainer.h: ditto
10352 * lyx_main.h: ditto
10354 * FontInfo.h: ditto
10355 * BufferView_pimpl.h: ditto
10356 * ColorHandler.h: ditto
10358 * kbmap.C (defkey): change call to shared_ptr::reset
10360 2002-05-21 Juergen Vigna <jug@sad.it>
10362 * buffer.C (insertErtContents): fix to insert ert asis if it is
10363 non empty. Skip it completely if it contains only whitespaces.
10365 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10367 * BufferView_pimpl.C:
10368 * BufferView2.C: clear selection on paste (bug 393)
10370 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10372 * DepTable.C: include ctime
10374 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10376 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10378 2002-05-14 Juergen Vigna <jug@sad.it>
10380 * text.C (breakParagraph): fixed function to honor the keepempty
10381 layout in the right maner and also to permit the right breaking
10382 algorithm on empty or non empyt keepempty paragraphs.
10384 * paragraph.C (breakParagraph): we have to check also if the par
10385 is really empty (!size()) for isempty otherwise we do the wrong
10388 2002-05-10 Juergen Vigna <jug@sad.it>
10390 * buffer.[Ch] : The following are only changes to the ert
10391 compatibility read reading old LaTeX layout and font stuff and
10392 convert it to ERTInsets.
10394 * buffer.h: added isErtInset().
10396 * buffer.C (struct ErtComp): add a fromlayout bool to check
10397 if we're inside a LaTeX layout.
10398 (isErtInset): new helper function.
10399 (insertErtContents): look for other ert insets before this one
10400 and insert the contents there, so that we don't have subsequent
10401 ERT insets with nothing between them. This way we create only one
10402 inset with multiple paragraphs. Also check if we don't insert only
10403 spaces ' ' as they are ignored anyway afterwards in the .tex file
10404 so if we have only spaces we will ignore this latex part in the
10406 (parseSingleLyXformat2Token \\layout): better compatibility when
10407 reading layout-latex stuff.
10408 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10410 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10411 stuff after reading the inset only get the information back from
10414 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10416 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10418 * LaTeXFeatures.C (getBabelOptions): New method.
10420 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10422 * BufferView_pimpl.C (Dispatch): work around missing argument for
10425 2002-05-08 Juergen Vigna <jug@sad.it>
10427 * text.C (leftMargin): handle paragraph leftindent.
10429 * paragraph.C (writeFile): write the new \\leftindent tag.
10430 (validate): handle leftindent code.
10431 (TeXEnvironment): handle paragraphleftindent code again.
10433 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10435 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10436 for paragrap_extra indent code and new token \\leftindent.
10437 (latexParagraphs): handle the leftindent as environment.
10439 * ParameterStruct.h: added leftindent support.
10441 * ParagraphParameters.C (leftIndent): added support functions for
10442 the paragraph left indent.
10444 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10447 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10449 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10452 * text.C (computeBidiTables): No bidi in insetERT.
10454 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10457 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10459 * version.C.in: pre 5
10461 2002-05-02 José Matos <jamatos@fep.up.pt>
10462 * buffer.C (makeDocBookFile): white space changes, add newline to
10464 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10466 * tabular.C (docBook): fix typo.
10468 2002-05-03 Juergen Vigna <jug@sad.it>
10470 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10471 change in LyXText as we can not be sure it was not freed.
10472 (drawOneRow): remove unused code.
10474 * text.C (drawInset): redo the calculation of the need_break_row as
10475 it could have a row which was already freed.
10476 (draw): look at the return value of drawInset and return false if
10477 it also returned false.
10478 (paintRowText): look at the return value of draw and return false if
10479 it also returned false.
10481 * lyxtext.h: added bool return type to drawInset() and draw() so that
10482 if we have a change in the row so that the rowbreak has to be redone
10483 we abort drawing as it will be called again.
10485 2002-05-02 Juergen Vigna <jug@sad.it>
10487 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10488 a change in the maintext also if we're inside an inset.
10489 (Dispatch): set the cursor again after a break line and after the
10490 screen has been updated as it could be we're in a different row.
10492 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10493 to set the cursor behind the pargraph with > size().
10494 (setCursor): check also for the same paragraph when checking where
10495 to put the cursor if we have a NFR inset.
10497 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10498 parts of layout read further up as it still was in the wrong
10501 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10503 * screen.C (drawFromTo): change sine fullRebreak always return
10506 * buffer.C (parseSingleLyXformat2Token): reindent some
10508 * BufferView_pimpl.C (update): change since fullRebreak always
10510 (Dispatch): git rid of the last hardcoded "Standard"s.
10512 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10514 * text2.[Ch] (fullRebreak): make it return void now that we always
10517 2002-04-30 Juergen Vigna <jug@sad.it>
10519 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10520 ert compatibility check for "latex" layout.
10522 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10524 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10525 minipages: use col% instead of p%, and also use the current font.
10526 (makeLaTeXFile): Fix use babel condition.
10527 (parseSingleLyXformat2Token): Correct font when reading old floats.
10529 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10531 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10532 inserting list of floats.
10534 2002-04-25 Herbert Voss <voss@lyx.org>
10536 * MenuBackend.C (expand): don't add the graphics extensions to the
10539 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10541 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10542 non-existing layout, do not complain if it was the default layout
10543 of the original class (bug #342)
10545 2002-04-24 Juergen Vigna <jug@sad.it>
10547 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10548 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10550 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10552 * buffer.C (getBibkeyList): If using \bibliography, return the
10553 option field with the reference itself. Enables us to provide natbib
10554 support when using \bibliography.
10556 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10558 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10560 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10561 natbib is provided by the LaTeX class.
10563 2002-04-23 Juergen Vigna <jug@sad.it>
10565 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10568 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10570 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10572 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10574 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10575 ensuremath around textordmasculine, textordfeminine and
10578 2002-04-19 Juergen Vigna <jug@sad.it>
10580 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10581 reinitializing the buffer otherwise row-dimensions may be wrong.
10582 (update): reset also the selection cursors if they do exits otherwise
10583 their x/y positions may be wrong.
10585 * text2.C (cursorDown): don't enter the inset if we came from a row
10586 above and are one row over the inset.
10588 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10589 really leaving an inset.
10591 2002-04-18 Juergen Vigna <jug@sad.it>
10593 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10594 of the selected paragraph does not have the selected layout also if
10597 * text2.C (setLayout): fixed bug which did not change last selected
10600 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10601 changed the read and substituted \\end_float with \\end_inset!
10603 * BufferView_pimpl.C (cursorPrevious):
10604 (cursorNext): fixed to make it work with rows heigher than the work
10605 area without moving the cursor only the draw of the row.
10606 (workAreaMotionNotify): fix jumping over high rows.
10608 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10610 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10613 2002-04-16 Juergen Vigna <jug@sad.it>
10615 * text2.C (setCursor): set also the irow().
10616 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10618 (cursorDown): support for locking an inset if the x_fix value goes
10619 inside it. That way I can transverse insets too with cursor up/down.
10621 * lyxrow.h: added irow helper function same as other (i) functions.
10623 * BufferView_pimpl.C (cursorPrevious):
10624 (cursorNext): fixed for insets!
10626 2002-04-15 Juergen Vigna <jug@sad.it>
10628 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10629 position otherwise it is wrong in some cases.
10631 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10632 inside the inset before the call.
10634 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10636 * buffer.[Ch] (getBibkeyList): make it const.
10638 2002-04-12 Juergen Vigna <jug@sad.it>
10640 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10642 * text2.C (getCursorX): new helper function
10643 (setCursor): compute also ix_
10644 (setCursorFromCoordinates): set also ix.
10646 * lyxcursor.h: added ix_ and helper functions.
10648 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10650 * buffer.C (insertStringAsLines): dont break paragraph if the this
10651 paragraph is inside an inset which does not permit it!
10653 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10654 also with no chars on this paragraph.
10655 (paintRowText): only paint stuff if it's inside the workarea!
10657 * paragraph.C (breakParagraph): honor keepempty flag and break the
10658 paragraph always below not above.
10660 * BufferView2.C (unlockInset): update the paragraph layout on inset
10661 unlock as we changed paragraph in such a case.
10663 * lyxfind.C (LyXFind): clear the former selection if not found!
10665 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10666 again called in insertChar().
10668 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10669 an inset which uses the whole row!
10670 (rightMargin): ditto.
10671 (insertChar): force a rebreak if we inserted an inset!
10673 2002-03-28 Herbert Voss <voss@lyx.org>
10675 * lyxlength.[Ch]: add inBP() to get the right PS-point
10676 units (BigPoint). With inPixels we have rounding errors
10678 2002-04-11 Juergen Vigna <jug@sad.it>
10680 * text2.C (setCursorFromCoordinates): set iy to the right value.
10681 (setCursor): add check if row->previous exists!
10683 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10684 an old float_type as this was the case in the old code!
10686 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10688 * BufferView2.C (showLockedInsetCursor): use iy
10689 (fitLockedInsetCursor): ditto
10691 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10692 locked insets as there we have the right value now.
10694 * lyxcursor.C: added iy_ variable and iy functions to set to the
10695 baseline of cursor-y of the locked inset.
10697 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10698 (setCursor): fixed for insets which need a full row.
10700 * text.C (rowLastPrintable): don't ignore the last space when before
10701 an inset which needs a full row.
10702 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10703 as last character of a row when before a inset which needs a full row.
10705 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10707 * version.C.in: update date
10709 * text2.C (fullRebreak): try to always return true and see what
10712 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10714 * MenuBackend.C (expand): use Floating::listName
10716 * FloatList.C (FloatList): add listName argument to the built-in
10719 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10720 text associated with the float.
10722 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10724 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10726 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10728 * ShareContainer.h: add a couple of missing typenames.
10730 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10732 * lyxrc.C (getDescription): use _() correctly rather than N_().
10734 2002-03-28 Herbert Voss <voss@lyx.org>
10736 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10737 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10739 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10741 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10742 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10744 2002-03-29 Juergen Vigna <jug@sad.it>
10746 * lyxfunc.C (dispatch): add a missing fitCursor call.
10748 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10749 it was scrolled by a cursor move, so return the bool status.
10751 * BufferView.C (fitCursor): return the bool flag also to the outside
10752 world as this is needed.
10754 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10756 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10757 call the edit() as it is not needed (and wrong) IMO.
10758 (workAreaButtonPress): set the screen_first variable before evt.
10759 unlock the inset as this may change screen_first and then we have
10760 a wrong y position for the click!
10762 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10764 * MenuBackend.C (expand): another translation that I missed
10766 2002-03-28 Juergen Vigna <jug@sad.it>
10768 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10770 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10772 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10774 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10776 * MenuBackend.C (expand): fix export/view/update when there is no
10779 2002-03-27 Herbert Voss <voss@lyx.org>
10781 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10784 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10786 * bufferview_funcs.C (currentState): only show paragraph number
10787 for is DEVEL_VERSION is set.
10789 * lyxfunc.C (dispatch): put warning in INFO channel
10791 * MenuBackend.C (expand): translate the name of floats
10793 * FloatList.C (FloatList): mark the float names for translation
10795 * converter.C (convert): use LibScriptSearch
10797 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10799 * MenuBackend.C (defaults): fix default menu (we might as well get
10802 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10804 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10807 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10809 * lyxvc.C: reorder includes.
10811 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10813 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10816 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10818 * CutAndPaste.C: change layouts earlier on paste
10819 to avoid crashing when calling getFont()
10821 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10823 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10826 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10828 * WorkArea.C: remove 'Pending' debug message.
10830 * most files: ws cleanup
10832 * buffer.[Ch]: ws changes
10834 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10836 2002-03-21 Juergen Vigna <jug@sad.it>
10838 * tabular.C (SetMultiColumn): collapse also the contents of the
10839 cells and set the last border right. Added a Buffer const * param.
10841 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10843 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10846 2002-03-19 Juergen Vigna <jug@sad.it>
10848 * text2.C (clearSelection): reset also xsel_cache.
10850 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10851 where it needs to be called (John tells us to do so too :)
10852 (selectionLost): reset sel_cache.
10854 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10856 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10858 * text2.C (setCursorIntern): put debuging code in INSETS channel
10860 2002-03-19 André Pönitz <poenitz@gmx.net>
10862 * lyxfunc.C: tiny whitespace change
10864 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10866 * ToolbarDefaults.C (init):
10867 * LyXAction.C (init):
10869 * BufferView_pimpl.C (Dispatch):
10870 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10872 2002-03-19 Allan Rae <rae@lyx.org>
10874 * exporter.C (Export): removeAutoInsets before doing anything else.
10875 While I've just introduced a dependency on BufferView this really is
10876 the best place to clean the buffer otherwise you need to cleanup in
10877 a dozen places before calling export or cleanup in a dozen functions
10880 * converter.C (runLaTeX):
10881 (scanLog): Better handling of removeAutoInsets and screen updates.
10883 * lyxfunc.C (dispatch): small whitespace changes
10885 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10887 * WorkArea.C (C_WorkAreaEvent): return a value.
10888 (event_cb): return 1 if we handled the event, 0 otherwise.
10890 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10892 2002-03-18 Juergen Vigna <jug@sad.it>
10894 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10895 (GetAdditionalWidth): ditto.
10896 (RightLine): ditto.
10899 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10900 inset if we're there actually (probably not used right now but this
10901 is the direction to go for unifying code).
10902 (paste): disable code to clear the selection.
10904 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10905 inside an InsetText and move the check further up as it is in the
10908 * text2.C (pasteSelection): set a selection over the pasted text.
10910 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10912 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10913 and libgraphics to build on Cygwin.
10915 2002-03-15 Juergen Vigna <jug@sad.it>
10917 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10918 inserting an Inset into the paragraph. I know this is not the best
10919 fix but we already use current_view in CutAndPaste so we will remove
10920 all of it's using at the same time.
10922 * buffer.C (sgmlError): deactivated function till it is rewritten in
10923 the right mode, now it can create problems.
10925 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10926 before accessing it.
10928 2002-03-14 Juergen Vigna <jug@sad.it>
10930 * undo_funcs.C (textHandleUndo): do the right thing when updating
10931 the inset after the undo/redo.
10933 * text2.C (setCursor): just some testcode for #44 not ready yet.
10935 * undo_funcs.C (textHandleUndo): set the next() and previous()
10936 pointers of the paragraph to 0 before deleting otherwise we have
10937 problems with the Paragraph::[destructor].
10939 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10940 on a paragraph insertion.
10942 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10944 * buffer.C (asciiParagraph): use += operator for char append to
10947 * paragraph.C (getFontSettings): compare >= not just >
10948 (highestFontInRange): ditto
10951 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10953 * paragraph.C: change several algorithm to be more appripriate for
10954 the problem domain. This is lookip in FontList and in the InsetList.
10956 2002-03-13 André Pönitz <poenitz@gmx.net>
10959 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10961 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10966 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10968 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10970 * Painter.C (display): anon helper function, adjust code for this
10972 (pixmap): remove function.
10974 * Painter.h: remove private display variable.
10976 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10978 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10980 * WorkArea.[Ch]: remove figinset_canvas cruft.
10982 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10984 * lyxtextclass.C (operator): add one item cache optimization.
10986 * bufferlist.h: doxy changes
10988 * bufferlist.C: ws changes
10990 * DepTable.[Ch] (ext_exist): place const in the right spot.
10992 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10994 (workAreaExpose): call resizeInsets when the with BufferView changes.
10995 (Dispatch): adjust for protectedBlank removal
10996 (specialChar): call updateInset if the insert went ok.
10998 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10999 specialChar instead.
11001 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11003 * BufferView.h: doxy change
11005 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11007 * lyxtextclass.C (operator[]): remove non-const version
11008 (defaultLayout): remove non-const version
11010 2002-03-12 Juergen Vigna <jug@sad.it>
11012 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11013 did resize the LyXText too.
11015 * buffer.C (readLyXformat2): set layout information on newly allocated
11018 * tabular.C (OldFormatRead): set layout information on the paragraph.
11020 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11022 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11024 2002-03-11 Juergen Vigna <jug@sad.it>
11026 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11028 (resizeCurrentBuffer): force also the insets to resize themselfes.
11029 (moveCursorUpdate): fixed up for InsetText.
11031 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11034 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11035 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11036 value of Dialogs::tooltipsEnabled().
11037 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11039 2002-03-08 Juergen Vigna <jug@sad.it>
11041 * BufferView_pimpl.C (updateInset): update inset inside inset also
11042 if it isn't inside theLockingInset().
11044 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11046 * buffer.C (asciiParagraph): redo some of the word and line length
11048 (getLists): look for Caption instead of caption.
11050 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11052 * buffer.C (Buffer): initialize niceFile to true
11054 (makeLinuxDocFile):
11055 (makeDocBookFile): make sure niceFile is true on exit
11057 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11059 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11061 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11063 * LyXSendto.C: remove.
11064 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11065 * lyx_gui.C: remove now-redundant comment.
11066 * ColorHandler.h: remove forward declaration of class WorkArea.
11067 * lyxfunc.C: remove #include "WorkArea.h".
11069 2002-03-07 Juergen Vigna <jug@sad.it>
11071 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11072 got moved away with the DEPM and also set the inset_owner always
11073 right which before could have been omitted.
11075 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11077 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11078 wanted layout is not found.
11080 2002-03-07 Juergen Vigna <jug@sad.it>
11082 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11084 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11086 * paragraph.C (breakParagraph): use default layout not layout of
11088 (Paragraph): clear ParagraphParameters.
11090 2002-03-06 Juergen Vigna <jug@sad.it>
11092 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11093 otherwise it would not be a valid lenght. Fixed a special case in
11094 the minipage compatibility read where we end the document with a
11097 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11098 was set as it could be 0 for InsetTexts first entry.
11100 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11102 * paragraph.C (writeFile): if layout is empty write out
11103 defaultLayoutName().
11105 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11106 file without named layout we set layout to defaultLayoutName().
11108 2002-03-06 Juergen Vigna <jug@sad.it>
11110 * CutAndPaste.C (copySelection): set layout for new paragraph.
11112 * text.C (prepareToPrint): leave ERT inset left aligned
11113 (leftMargin): don't indent paragraphs inside ERT insets
11115 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11117 * paragraph.C (breakParagraph): dont call clear do the work manually
11119 * paragraph.[Ch] (clear): remove function
11121 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11123 * paragraph.C (Paragraph): dont call clear, the work has already
11126 * lyxtextclass.C (operator): assert if n is empty
11128 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11129 work manually instead.
11131 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11133 * BufferView_pimpl.C: protect selectionLost against text == 0
11135 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11137 * text.C (breakParagraph): fix a setting layout to '0' problem.
11139 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11141 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11142 final location of file, for the included files, and graphics.
11144 2002-03-05 Juergen Vigna <jug@sad.it>
11146 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11148 2002-03-04 Juergen Vigna <jug@sad.it>
11150 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11152 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11153 last column of multicolumn cells.
11154 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11156 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11158 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11159 file if it doesn't go to a temporary file.
11161 * buffer.C (sgmlOpenTag):
11162 (sgmlCloseTag): remove extra newline insertion.
11164 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11166 * text.C (getRowNearY): comment out debug msg
11168 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11170 * text2.C: first -> first_y
11172 * text.C (getRowNearY): add some attemts at a possible
11173 optimization, not working.
11175 * tabular.[Ch]: add BufferParams to several function so that newly
11176 created paragraph can be initialized to he default layotu for the
11179 * tabular-old.C (ReadOld): add buf->params to call of Init
11181 * screen.C: rename text->first to text->first_y
11183 * paragraph.C (breakParagraph): always set layout in the broken
11186 * lyxtextclass.C (Read): remove lowercase
11189 (delete_layout): ditto
11191 * lyxtext.h: rename first -> first_y
11193 * lyxlayout.C (Read): remove lowercase
11196 (obsoleted_by): ditto
11198 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11200 * buffer.C (insertErtContents): add params are to InsetERT
11201 (parseSingleLyXformat2Token): add code to check if a paragraphs
11202 layout really exist.
11203 (parseSingleLyXformat2Token): add params to several inset
11205 (asciiParagraph): remove lowercase, do the layout comparisons with
11208 * BufferView_pimpl.C (cursorNext): first -> first_y
11209 (resizeCurrentBuffer): first -> first_y
11210 (updateScrollbar): first -> first_y
11211 (scrollCB): first -> first_y
11212 (workAreaMotionNotify): first -> first_y
11213 (workAreaButtonPress): first -> first_y
11214 (checkInsetHit): first -> first_y
11215 (cursorPrevious): first -> first_y
11216 (cursorNext): first -> first_y
11217 (Dispatch): add buffer_->params to severl inset contructors
11219 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11221 * lyxlayout.C (Read): remove some debug info that I forgot.
11223 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11224 clean up the code slightly.
11225 (makeLinuxDocFile): ditto
11226 (makeDocBookFile): ditto
11228 * text2.C: layout as string
11230 * text.C: layout as string
11232 * paragraph_pimpl.C: layout as string
11234 * paragraph.[Ch]: layout as string
11236 * lyxtextclasslist.[Ch]: layout as string
11238 * lyxtextclass.[Ch]: layout as string
11240 * lyxtext.h: layout as string
11242 * lyxlayout.[Ch]: layout as string
11244 * lyx_cb.C: layout as string
11246 * bufferview_funcs.C: layout as string
11248 * bufferparams.C: layout as string
11250 * buffer.C: layout as string
11252 * LyXView.[Ch]: layout as string
11254 * LaTeXFeatures.[Ch]: layout as string
11256 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11258 * BufferView_pimpl.C: change current_layout to string, remove
11263 (workAreaButtonRelease): layout as string
11265 * BufferView2.C (unlockInset): adjust
11267 * vspace.C (asLatexCommand): use an explict temp variable.
11269 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11271 * Makefile.am: use FRONTEND_*
11273 2002-03-01 Juergen Vigna <jug@sad.it>
11275 * tabular.C (SetWidthOfMulticolCell): changed to something better
11276 I hope but still work in progress.
11277 (recalculateMulticolumnsOfColumn): renamed function from
11278 recalculateMulticolCells as it is more appropriate now.
11279 (SetWidthOfCell): calculate multicols better.
11281 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11283 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11285 * lyxfunc.C (processKeySym): print sequence also if it is
11286 `deleted' (complete)
11288 * kbsequence.C (print): print sequence even if it is deleted
11289 (complete would be a better word, actually).
11291 * lyxfunc.C (dispatch): print complete options after a prefix key
11293 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11295 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11297 * text2.C (setCharFont): eliminate setCharFont code duplication.
11299 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11301 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11302 LFUN_TABULAR_FEATURE (bug #177)
11304 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11306 * Makefile.am: remove figure.h
11308 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11310 * Bufferview_pimpl.C:
11322 * text2.C: remove #include "lyx_gui_misc.h".
11324 * LaTeX.C: added #include <cstdio>
11326 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11328 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11329 that the paragraph following this one can have.
11331 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11333 * vspace.C (asLatexCommand): fix bogus gcc warning
11335 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11337 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11339 * text2.C (setLayout): get rid of redundant code
11341 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11343 * text2.C (incDepth): make sure depth cannot be increased beyond
11346 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11348 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11349 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11351 * PainterBase.h (image):
11352 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11353 a LyXImage const *.
11355 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11359 * BufferView_pimpl.C:
11360 * BufferView_pimpl.h:
11380 * sp_spell.C: remove fig inset, and the crap house of
11381 cards that follows it
11383 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11388 * os2_errortable.h:
11389 * nt_defines.h: move .h into support/
11391 * vms_defines.h: remove
11393 * WorkArea.C: add space in debug output
11397 * buffer.C: add WITH_WARNINGS
11401 * bufferlist.C: s/retrive/retrieve/, add docs
11410 * chset.C: add docs
11412 * lyxgui.C: add ID to X error handler
11414 * lyxtestclass.c: fix typo
11416 2002-02-26 Juergen Vigna <jug@sad.it>
11418 * tabular_funcs.C (write_attribute): changed so that some default
11419 attributes are not written at all.
11420 (getTokenValue): set default values before trying to read the
11421 value so we have the return value always set as default if we don't
11422 find the token we search for.
11424 * tabular.C (Write): write bools as bools not as strings!
11426 2002-02-22 Juergen Vigna <jug@sad.it>
11428 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11429 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11431 * text.C (leftMargin): don't add an indent for paragraphs inside
11432 tabular cells (fix #208).
11434 2002-02-21 José Matos <jamatos@fep.up.pt>
11436 * tabular.C (docBook): fixed support for long tables.
11438 2002-02-20 Juergen Vigna <jug@sad.it>
11440 * text2.C (getFont): get the drawing font of the Inset if this
11441 paragraph is inside an inset (only important for InsetERT for now).
11443 * buffer.C (insertErtContents): use new lanugage params in ERT
11446 * CutAndPaste.C: commenting out seemingly uneeded code.
11448 2002-02-19 Allan Rae <rae@lyx.org>
11450 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11451 Iterators might be simple to use but they also get invalidated.
11452 (removeAutoInsets): renamed saved cursor tracking variables and added
11453 some comments to clarify what everything does.
11455 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11462 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11463 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11466 * vc-backend.h: remove #include "support/syscall.h"
11470 * converter.C: rearrange #includes in Lars' approved fashion.
11472 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11473 forward declare class Timeout in the header file.
11475 * XFormsView.C: changes due to the above.
11477 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11478 similar to LyXView.
11480 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11481 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11483 2002-02-18 José Matos <jamatos@fep.up.pt>
11485 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11488 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11490 * a lot of small ws changes
11491 * add a lot of using std::XXX
11492 * use std construcs some places where approp.
11493 * use some exisint stuff from lyxfunctional where approp.
11494 * Make file changes to use partial linking (lets test this now...)
11496 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11500 remove #include "support/syscontr.h" as it's redundant. Always has been.
11508 change Systemcalls::System to Systemcalls::Wait and
11509 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11510 No change of functionality, just reflects the stripped down Systemcalls
11513 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11515 * debug.[Ch]: add a GRAPHICS type to the enum.
11517 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11519 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11521 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11524 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11526 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11527 match the changes below.
11529 * text2.C (toggleInset): if there is not editable inset at cursor
11530 position, try to see if cursor is _inside_ a collapsable inset
11533 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11535 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11536 document menu has a nice checkbox
11538 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11540 * lyxlength.C (asLatexString): change PW to output as percent of
11543 * lengthcommon.C: change '%' to 't%'
11545 * lyxfunc.C (dispatch): a few comments from Martin
11547 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11551 * BufferView_pimpl.h:
11552 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11555 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11557 * vspace.C (inPixels): fix compiler warning
11559 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11561 * lyxfunc.C (getStatus): fix status message for disabled commands.
11563 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11565 * BufferView_pimpl.C: fix crash on close buffer
11566 during selection (#227)
11568 2002-01-27 Herbert Voss <voss@lyx.org>
11570 * buffer.C: link old Figure to new graphic inset
11572 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11574 * FontLoader.C (getFontinfo): Change the latex font names in order
11575 to match the names of type1inst.
11577 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11579 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11581 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11582 (extchanged): ditto
11584 (remove_files_with_extension): ditto
11585 (remove_file): ditto
11588 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11589 document is smaller than the work area height. Do not initialize
11590 static variables to 0.
11592 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11594 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11596 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11597 LFUN_LAYOUT_PARAGRAPHS.
11599 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11600 tabular. It is possible to provide a possible cell, which will
11601 typically be the actcell from the corresponding insettabular
11603 * lyxfunc.C (getStatus): small cleanup; disable
11604 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11607 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11609 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11611 * paragraph.C (startTeXParParams):
11612 (endTeXParParams): new methods. The LaTeX code to
11613 start/end paragraph formatting
11614 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11615 empty (fixes bug #200)
11617 * vspace.C (inPixels): adapt to the change below
11618 (inPixels): [later] more cleanups (remove unused variables)
11620 * lyxlength.C (inPixels): change to use a width and a height as
11623 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11625 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11626 Replaced with \paperwidth
11628 * DepTable.C (insert): add std:: qualifier
11630 2002-01-18 Allan Rae <rae@lyx.org>
11632 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11635 * text.C (drawInset): Turned out I didn't know enough about how
11636 rebreaking worked. This fixes most of the redraw problems. I see
11637 an occasional cursor trail when a line is broken now and the cursor
11638 placement can seem out by a few pixels also after a rebreak.
11640 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11642 * buffer.C (parseSingleLyXformat2Token): update because minipage
11643 width is now a LyXLength
11645 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11647 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11650 2002-01-17 Juergen Vigna <jug@sad.it>
11652 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11654 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11655 is set correctly and the inset is updated correctly.
11657 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11659 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11660 the beginning of the loop.
11662 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11664 * lyxrc.C: improve help for use_scalable_fonts
11666 2002-01-17 Allan Rae <rae@lyx.org>
11668 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11670 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11672 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11673 make sure to set their inset_owner to the right value (bug #171)
11675 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11678 * DepTable.C: Implement mtime checking to reduce time spent doing
11681 2002-01-16 Juergen Vigna <jug@sad.it>
11683 * tabular.C (GetAdditionalHeight): one of error fixed.
11685 * lyxrc.C (output): small fix in writing use_pspell.
11687 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11689 * sp_base.h: #include LString.h
11691 2002-01-16 Allan Rae <rae@lyx.org>
11693 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11694 Can someone check this please?
11696 * text.C (drawInset): It was possible that p.row would be removed by
11697 breakAgainOneRow upsetting a few other settings. There may be another
11698 small tweak possible by setting need_break_row = 0 when p.row has been
11699 removed but I don't know enough about the logic here.
11701 2002-01-15 Allan Rae <rae@lyx.org>
11703 * text.C (insertChar): removed conditional truism.
11705 * BufferView2.C (removeAutoInsets): More tweaks.
11706 cur_par_prev could be a stray pointer. Check for trailing empty line
11707 in case last line was cur_par and only had an error inset on it.
11709 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11711 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11714 * vc-backend.C (most methods):
11715 * exporter.C (Export):
11716 * converter.C (convert):
11718 * LyXSendto.C (SendtoApplyCB):
11719 * lyxfunc.C (dispatch):
11723 * lyx_cb.C (AutoSave):
11725 * BufferView_pimpl.C (MenuInsertLyXFile):
11726 * buffer.C (runChktex): use Buffer::filePath().
11728 * buffer.h: rename filename to filename_; rename filepath to
11729 filepath_ and make it private
11730 (filePath): new method
11732 * buffer.C (writeFile): use fileName()
11735 * lyx_main.C (init): fix starting of LyX when the binary is a
11736 link from so,ewhere else.
11738 * minibuffer.C: include <cctype> for isprint
11740 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11742 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11743 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11744 name clash with InsetCollapsable's width function.
11746 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11748 * lastfiles.C: include <iterator>
11750 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11752 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11755 * buffer.C (makeLaTeXFile): ditto.
11756 Also make loop operation more transparent.
11758 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11760 * ToolbarDefaults.C: remove trailing comma closing namespace.
11762 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11764 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11767 * trans.C (Load): comment out unused variable, allowed.
11769 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11771 * minibuffer.[Ch] (append_char): new method to recieve input from the
11772 drop-down completion browser. If a key was pressed, then recieve this
11773 char and append it to the existing string.
11774 (peek_event): modify the positioning data passed to the completion
11775 browser so that it can be placed above the minibuffer rather than below.
11776 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11778 * LyXAction.C (init): alloe error-next for readonly documents.
11780 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11783 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11785 * bufferlist.C (readFile): create the buffer _after_ checking that
11788 * lyxfunc.C (verboseDispatch): fix handling of arguments
11790 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11792 * lyxrc.C: use string::erase() instead of initializing to "".
11795 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11797 * BufferView_pimpl.h:
11798 * BufferView_pimpl.C:
11801 * text2.C: tell X when we have made a selection for copying
11803 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11805 * BufferView_pimpl.C (MenuInsertLyXFile):
11806 * lyxfunc.C (menuNew):
11808 (doImport): add shortcuts to directory buttons
11810 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11813 * lyxfunc.C (setStatusMessage):
11814 (getStatusMessage): new methods
11815 (getStatus):use setStatusMessage instead of setErrorMessage
11816 (dispatch): when function is disabled, set error message here
11817 [instead of in getStatus previously]
11819 * BufferView_pimpl.C (workAreaButtonRelease): update
11820 toolbar/menubar here too.
11822 2002-01-13 Allan Rae <rae@lyx.org>
11824 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11825 Now seems indestructible. Remaining task is to audit all other
11826 code affected by deleteEmptyParagraphMechanism. One small quirk
11827 left is that an empty document with an error in the preamble can
11828 be made to report an error but no error box appears. I don't know
11830 (removeAutoInsets): Improved comments.
11832 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11835 * Thesaurus.C: update for Aiksaurus 0.14
11837 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11839 * text2.C (firstParagraph): removed member function, all uses
11840 replaces with ownerParagraph
11841 (redoParagraphs): here
11842 (updateInset): here
11843 (toggleAppendix): here
11844 * BufferView2.C (insertErrors): here
11845 (setCursorFromRow): here
11847 2002-01-13 Allan Rae <rae@lyx.org>
11849 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11850 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11851 There is still a way to segfault this although you may have to do this
11852 multiple times: Have an InsetERT with an unknown command in it.
11853 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11854 <down-arrow>, <Enter> again, View->DVI, BANG!
11856 * text2.C (setCursor):
11857 (deleteEmptyParagraphMechanism):
11858 * lyxtext.h (setCursor):
11859 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11860 Making use of the return value may help fix other bugs.
11862 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11864 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11866 * LyXView.C (updateMenubar): call MenuBar::update here
11867 (updateToolbar): but not here
11868 (showState): do not update toolbar/menubar
11870 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11871 should need to care about that.
11873 * lyxfunc.C (verboseDispatch): simplify a bit
11874 (getStatus): have a version which takes a pseudoaction, and
11875 another which requires a (kb_action,string).
11877 * LyXAction.C (retrieveActionArg): make it work also when action
11878 is not a pseudo-action.
11879 (getActionName): simplify a bit
11882 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11884 * lyxfunc.C (verboseDispatch): new families of methods with
11885 several ways to specify a command and a bool to indicate whether
11886 the command name and shortcut should be displayed in minibuffer
11887 (eventually, we could extend that to a finer bitmask like
11888 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11889 (dispatch): the pristine dispatch command which just, well,
11890 dispatchs! Note it still sets its result to minibuffer; I'm not
11893 * lyxfunc.h: remove setHintMessage
11895 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11897 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11899 * BufferView_pimpl.C (specialChar): delete new inset if we have
11900 not been able to insert it.
11902 * kbmap.C: revert to using int instead of kb_action, since all we
11903 are dealing with is pseudo-actions.
11905 * LyXAction.C (searchActionArg): change to return int instead of
11906 kb_action, since the result is a pseudoaction.
11908 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11910 * buffer.C (insertErtContents): Fix (partially) the font bug.
11912 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11914 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11915 as the other one is broken on my machine!
11917 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11920 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11922 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11924 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11925 reflect their actual use. Provide compatibility code for older lyxrc
11928 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11930 change names of popup font variables in line with the changes to lyxrc.C
11932 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11934 * buffer.C (asciiParagraph): avoid outputing a word twice after
11937 * lyxrc.C (getDescription): document that document_path and
11938 template_path can be empty.
11940 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11942 * LaTeXFeatures.C (getMacros):
11943 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11945 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11947 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11949 (getPackages): rename feature "floats" to "float". Use an array to
11950 iterate over 'simple' features (i.e. just a \usepackage). Add
11951 handling of "amsmath" (renamed from "amsstyle").
11953 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11955 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11958 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11960 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11961 FuncStaus::FuncStatus & FuncStaus::some_method().
11963 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11965 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11966 of the func_satus stuff. Edited and massaged in various ways by
11969 * lyxfunc.C (getStatus): use FuncStatus
11971 2002-01-08 Juergen Vigna <jug@sad.it>
11973 * text.C (nextBreakPoint): use function Inset::isChar().
11975 * paragraph.C (TeXOnePar): use function
11976 Inset::forceDefaultParagraphs.
11978 * buffer.C (latexParagraphs): use function
11979 Inset::forceDefaultParagraphs.
11981 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11983 * lyx_gui.C (init): set the style of the menu popups to
11984 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11986 2002-01-07 Juergen Vigna <jug@sad.it>
11988 * text.C (setHeightOfRow): small fix
11989 (prepareToPrint): don't look at alignment if we don't have the place
11992 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11994 * box.C: New file. Move the Box methods and functions out of box.h,
11995 following Lars' suggestion.
11997 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11999 * box.h: #include "support/LOstream.h", needed for inlined function.
12002 * lyxtextclasslist.C: added some using std declarations.
12004 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12006 * box.h: make signed dimensions to allow insets wider than
12007 the screen (bug #162)
12009 * BufferView_pimpl.C: add some insetHit debug
12011 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12013 * vc-backend.C: add FIXME
12015 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12017 * lyxfunc.C (getStatus): enable code for showing math font status
12020 2002-01-07 Juergen Vigna <jug@sad.it>
12022 * text.C (nextBreakPoint): removed debug output not needed anymore.
12024 2002-01-06 Juergen Vigna <jug@sad.it>
12026 * text.C (nextBreakPoint): fixed up this function we had this bug
12027 since ever but now hopefully we break row better.
12028 (insertChar): we have to check if an inset is the next char as it
12029 could now happen that a large inset is causing a break.
12031 2002-01-05 Juergen Vigna <jug@sad.it>
12033 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12034 if it doesn't like to be drawed.
12036 2002-01-04 Juergen Vigna <jug@sad.it>
12038 * BufferView2.C (lockInset): forgot to set a cursor.
12040 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12042 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12044 * FormMathsPanel.C:
12047 * form_maths_panel.C:
12048 * form_maths_panel.h:
12049 * form_maths_panel.fd: implemented sub- and super- buttons in math
12052 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12053 (or ^ space) to be used as in TeX (req'd by André).
12055 * lyxfunc.C: Allow ^ and _ again to be used both as
12056 super/subscript (mathed) and as themselves (in text).
12058 2002-01-03 Allan Rae <rae@lyx.org>
12060 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12061 "LyX" or the filename of the current buffer if it has one. This is a
12062 modified form of John Levon's patch.
12064 * XFormsView.C (setWindowTitle): also set icon title.
12066 * LyXView.h (setWindowTitle): signature changed.
12067 * XFormsView.h (setWindowTitle): ditto.
12069 2002-01-02 Juergen Vigna <jug@sad.it>
12071 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12073 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12075 * screen.C (topCursorVisible): introduce a temp var for
12076 text->cursor.row(), handle the case where this row is null. (kindo
12079 * text2.C (setCursor): add a couple of asserts.
12081 * paragraph.h (inset_iterator): add -> operator
12083 * paragraph.[Ch] (autoDeleteInsets): remove member function
12085 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12086 cursor pos correctly and handle inset deletion by itself.
12087 (insertErrors): move iterator declaration out of for expression
12089 * lyxtextclass.C: add <algorithm>
12091 * Makefile.am: added the new files to sources, removed layout.C
12093 * layout.C: removed file
12095 * layout.h: remove LYX_DUMMY_LAYOUT
12097 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12101 * lyxtextclass.[Ch]:
12102 * lyxtextclasslist.[Ch]: new files
12104 * include order changes to a lot of files, also changes because of
12107 2001-12-27 Juergen Vigna <jug@sad.it>
12109 * buffer.C (asciiParagraph): more fixes.
12111 * tabular.C (ascii): make ascii export support export of only the
12112 data separated by a column-delimiter.
12113 (ascii): better support for ascii export.
12115 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12117 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12119 * tabular_funcs.C: use a "using std::getline" instead of the
12120 previous fix from Angus (necessary for cxx + lyxstring)
12122 2001-12-24 Juergen Vigna <jug@sad.it>
12124 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12126 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12127 problems. First check a minipage also if we have some ert-contents
12128 (not only on par->size(), second set the right depth of the paragraph
12129 on the relink to the root-paragraph-list!
12131 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12132 which then did not anymore update the main paragraphs on undo/redo!
12134 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12136 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12137 code. Support all font-changing funcs (even those which are not in
12138 menu currently). Support for reporting font settings in
12139 mathed (disabled until Andre provides a function on mathed's side).
12141 * func_status.h (toggle): small helper function to set toggle
12144 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12146 * tabular_funcs.C: getline -> std::getline
12148 2001-12-21 Juergen Vigna <jug@sad.it>
12150 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12151 accessed and could be 0 (I couldn't generate this but it seems
12154 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12156 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12157 * tabular_funcs.h: here and include iosfwd
12159 2001-12-20 Juergen Vigna <jug@sad.it>
12161 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12162 inside inset but undo_par was.
12164 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12166 * Thesaurus.C: always include <config.h> in sources.
12170 * box.h: do not include <config.h> in header files
12172 * text.C (paintLastRow): remove unused variable
12174 * text.C (transformChar):
12176 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12178 * Painter.C (text):
12179 * font.C (width): rewrite to use uppercase() instead of
12182 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12184 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12186 * lyxfind.C: clean up of find failure position change
12188 2001-12-20 Juergen Vigna <jug@sad.it>
12190 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12192 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12193 (TeXRow): added to LaTeX a single tabular row.
12194 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12195 (Latex): simplified and finally good LT-h/f support.
12196 (various_functions): just small adaptions for LT-h/f support.
12198 * tabular_funcs.[hC]: added and moved here all not classfunctions
12201 2001-12-19 Juergen Vigna <jug@sad.it>
12203 * tabular.[Ch]: better support for longtabular options (not finished
12206 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12208 * text.C (paintLastRow): use the label font instead of the font of
12209 the last character to compute the size of *_BOX. This makes more
12210 sense and avoids a crash with empty paragraphs.
12211 Use Painter::rectangle to draw EMPTY_BOX.
12213 2001-12-19 Juergen Vigna <jug@sad.it>
12215 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12216 the paragraphs if the replaced paragraph is not the first one!
12217 Tried to delete not used paragraphs but does not work yet so for
12218 now it's inside #ifdef's and by default off!
12220 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12222 * MenuBackend.C: include "lyx_main.h" instead of declaring
12223 lastfiles (actually was declared as LastFiles* instead of a
12226 2001-12-17 Juergen Vigna <jug@sad.it>
12228 * tabular.C (AppendColumn): applied John's fix
12230 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12234 * BufferView_pimpl.h:
12235 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12238 * box.h: new start of class for above
12240 * lyxfunc.C: ignore space-only minibuffer dispatches.
12241 Show the command name when it doesn't exist
12243 * minibuffer.C: don't add empty lines to the history
12245 * minibuffer.C: add a space on dropdown completion
12247 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12249 * text.C: fix line above/below drawing in insets
12251 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12253 * lyxlength.C (LyXLength): Initialize private variables.
12255 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12257 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12258 when inserting error insets.
12260 2001-12-13 Juergen Vigna <jug@sad.it>
12262 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12263 actually sometimes the before-paragraph.
12264 (setUndo): don't clear the redostack if we're not actually undoing!
12266 2001-12-06 Juergen Vigna <jug@sad.it>
12268 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12269 and fixed redoing of main paragraph, so we can use it now ;)
12271 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12273 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12275 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12278 2001-12-13 André Pönitz <poenitz@gmx.net>
12281 * undo_func.C: minor cleanup
12283 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12285 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12286 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12287 font in urw-fonts package which is marked as -urw-fontspecific and
12288 does not work (incidentally, changing the encoding in the
12289 fonts.dir of this package to -adobe-fontspecific fixes the
12292 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12293 is a crash when undoing first paragraph (Juergen, please take a
12294 look). THis does not mean the undo fix is wrong, just that it
12297 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12298 the (Paragraph*) version when needed instead of duplicating the
12301 * text.C (workWidth): use Inset::parOwner to find out where the
12302 inset has been inserted. This is a huge performance gain for large
12303 documents with lots of insets. If Inset::parOwner is not set, fall
12304 back on the brute force method
12306 * paragraph_pimpl.C (insertInset):
12307 * paragraph.C (Paragraph):
12308 (cutIntoMinibuffer): set parOwner of insets when
12309 inserting/removing them
12311 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12313 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12319 * mathed/formulabase.C:
12320 * mathed/math_cursor.[Ch]:
12321 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12324 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12326 * lyxlength.[Ch] (operator!=): new function
12328 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12330 * text.C (workWidth): use Inset::parOwner to find out where the
12331 inset has been inserted. This is a huge performance gain for large
12332 documents with lots of insets. If Inset::parOwner is not set, fall
12333 back on the brute force method
12335 * paragraph_pimpl.C (insertInset):
12336 * paragraph.C (Paragraph):
12337 (cutIntoMinibuffer): set parOwner of insets when
12338 inserting/removing them
12340 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12342 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12344 * tabular-old.C (getTokenValue):
12345 * tabular.C (getTokenValue):
12346 (write_attribute): new versions for LyXLength
12347 (everywhere): adjust the use of widths
12349 * tabular.h: change the type of widths from string to LyXLength
12351 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12353 * paragraph.C: fixed missing line number count when exporting
12354 Environments to LaTeX file
12356 * buffer.C: added informational message for checking line numbers.
12358 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12360 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12361 paragraph, do the 'double space' part, but not the 'empty
12364 * text.C (workWidth): small optimization
12365 (getLengthMarkerHeight): use minimal size for negative lengths.
12367 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12369 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12371 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12373 2001-12-11 André Pönitz <poenitz@gmx.net>
12376 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12378 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12380 * text2.C: keep selection on a setFont()
12382 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12384 * lyx_cb.C: another bv->text misuse, from insert label
12386 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12389 * kbsequence.C: re-instate nmodifier mask
12391 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12393 * lyx_main.h: make lyxGUI private.
12395 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12397 * lyxfind.C: place the cursor correctly on failed search
12399 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12401 * text.C (getLengthMarkerHeight): for small heights, the arrows
12402 are not always on top/bottom of the text
12403 (drawLengthMarker): smaller arrows; take the left margin in
12404 account; draw also vfills.
12406 (paintLastRow): remove special code for vfill and standard spaces,
12407 since everything is handled in drawLengthMarker now.
12409 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12411 * buffer.C (insertErtContents): try to handle font and language
12412 interaction a bit better.g
12414 * ColorHandler.C (updateColor): change the hash to cover the whole
12415 LColor enum, ws cleanup
12416 (getGCLinepars): ditto
12417 (getGCLinepars): only lookup in the linecache once.
12419 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12421 * iterators.C (operator++): Make the iterator more robust
12423 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12425 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12427 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12430 * text.C: better added space drawing
12432 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12435 * BufferView2.C: fix layout combo update on inset unlock
12437 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12439 * Makefile.am: don't compile unused files
12441 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12445 * LyXAction.C: remove old LFUN_LAYOUTNO
12447 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12449 * paragraph_pimpl.h:
12450 * paragraph_pimpl.C: isTextAt() doesn't need font param
12452 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12455 * lyxlex.C: little cleanup
12457 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12459 * BufferView_pimpl.C: fix insertAscii for insets
12461 2001-12-05 Juergen Vigna <jug@sad.it>
12463 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12464 set the right font on the "multi" paragraph paste!
12466 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12472 * lyxlength.C: remove out-commented code.
12474 * BufferView_pimpl:
12488 * vc-backend.C: change "while(" to "while ("
12490 * lyxlength.[Ch]: add zero function to check if length is zero or
12492 * lyxgluelength.C: use it
12494 2001-12-05 Allan Rae <rae@lyx.org>
12496 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12497 Works for 2.95.3, from what I understand of Garst's reports this should
12498 work for other g++ versions. We're screwed if the abs(int) definition
12499 changed between bugfix releases of gcc.
12501 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12503 * text.C: fix chapter label offset !
12505 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12508 * text.C: fix hfill at end of line, clean up
12510 2001-12-04 Juergen Vigna <jug@sad.it>
12512 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12513 that we force an update of the inset and it's owners if neccessary.
12515 2001-12-03 Juergen Vigna <jug@sad.it>
12517 * text.C (rowLast): simplified code
12519 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12521 * lyxfunc.C: fix show options on timeout
12523 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12525 * screen.C (topCursorVisible): scroll half a page when the cursor
12526 reached top of bottom of screen
12528 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12530 * minibuffer.C: deactivate on loss of focus
12532 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12534 * vspace.[Ch] (operator!=): add operator.
12536 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12538 * BufferView_pimpl.C: refuse to open an inset when
12539 there's a selection.
12541 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12543 * BufferView_pimpl.C: allow to click on RHS of full row insets
12545 2001-11-30 Juergen Vigna <jug@sad.it>
12547 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12548 insets for undo reasons.
12550 2001-11-28 André Pönitz <poenitz@gmx.net>
12552 * vspace.[Ch]: cosmetical changes
12554 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12564 * kbsequence.C: part re-write of old kb code
12567 * WorkArea.C: remove Lgb_bug_find_hack
12569 2001-11-30 José Matos <jamatos@fep.up.pt>
12571 * buffer.C (makeDocBookFile): add a comment to point a hack.
12572 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12573 Fixed a double write of labels.
12575 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12578 * LaTeX.h Fixed bug in LaTeX class where it would not
12579 re-run latex if no depfiles were changed, but the .dvi was removed.
12581 2001-11-28 André Pönitz <poenitz@gmx.net>
12583 * all the files from the change on 2001/11/26:
12584 use lyx::layout_type instead of LyXTextClass::size_type
12585 use lyx::textclass_type instead of LyXTextClassList::size_type
12587 2001-11-29 Juergen Vigna <jug@sad.it>
12589 * text.C: added support for paragraph::isFreeSpacing()
12591 * buffer.C: same as above
12593 * paragraph.h: inserted isFreeSpacing() function to enable
12594 FreeSpacing inside InsetERT.
12596 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12597 of the paragraph's in the cut/copy buffer to 0!
12599 * text2.C (removeRow): remove the assert as it can!
12601 * lyxtext.h: added helper function firstRow returning firstrow and
12602 made firstrow private again.
12604 * BufferView2.C (lockInset): don't relock if we're already locked!
12606 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12607 the only paragraph.
12608 (removeRow): added Assert::(firstrow)
12610 * debug.C: forgot to add INSETTEXT here.
12612 2001-11-28 Juergen Vigna <jug@sad.it>
12614 * sp_spell.C (initialize): changed error text to more general
12615 spellchecker command use (not only ispell!)
12617 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12619 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12621 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12623 * vspace.C: initialise lyxgluelength on failure
12625 2001-11-28 Allan Rae <rae@lyx.org>
12627 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12628 declaration & definition that looks like a function declaration.
12630 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12632 * BufferView2.C (copy):
12633 (copyEnvironment): do not clear the selection when doing a copy.
12635 * text.C (paintFirstRow): compilation fix
12637 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12639 * tabular.C (Latex): correct line count when writing latex.
12641 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12643 * paragraph_pimpl.h:
12644 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12647 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12651 * LColor.C: change vfillline->added_space
12653 * text.C: add markers and text for added space
12655 * vspace.C: fix comment
12657 2001-11-28 André Pönitz <poenitz@gmx.net>
12659 * paragraph.C: whitespace changes
12660 * all the other files from the change on 2001/11/26:
12661 change *::pos_type into lyx::pos_type
12663 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12665 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12666 language of the document when inserting error insets.
12668 2001-11-26 André Pönitz <poenitz@gmx.net>
12670 * BufferView_pimpl.[Ch]:
12678 * paragraph_pimpl.[Ch]:
12681 * text2.C: reduce header dependencies, introduce type for positions
12683 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12685 * <various>: change to use Alert.h
12687 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12689 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12690 when encountering an unknown token.
12691 (readLyXformat2): Show an error message if there were unknown tokens.
12693 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12696 * BufferView_pimpl.C:
12700 * text2.C: use par->isInset()
12702 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12704 * paragraph_pimpl.h:
12705 * paragraph_pimpl.C: cleanup
12707 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12709 * text2.C (removeRow):
12710 * text.C (setHeightOfRow): remove useless (and costly) call to
12713 2001-11-20 Allan Rae <rae@lyx.org>
12715 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12716 Now need Inset*::checkInsertChar() to return true for appropriate
12717 cases so that the characters in the minibuffer will actually be
12720 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12722 * text.C: change the order of the includes.
12723 (workWidth): initialize it at once.
12724 (workWidth): make maxw unsigned
12725 (setHeightOfRow): remove unused variable (inset)
12726 (selectSelectedWord): remove unused variable (inset)
12727 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12729 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12731 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12732 server is not running.
12734 (closeConnection): add debug info when server is disabled.
12736 * ColorHandler.C (getGCForeground): send debug message to GUI
12739 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12741 * kbmap.C (bind): modify because return conventions of
12742 kb_sequence::parse have changed.
12744 * kbsequence.C (parse): only ignore spaces and not any stupid
12745 control character. This avoids tests like s[i] <= ' ', which are
12746 guaranteed to fail with 8bit characters and signed chars.
12747 Change return code to string::npos when there have been no error
12748 (0 was a bad idea when error is at first character)
12750 2001-11-14 José Matos <jamatos@fep.up.pt>
12753 * buffer.C (simpleDocBookOnePar): removed unused argument.
12755 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12757 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12758 insets which are part of a word. Paragraph::isLetter takes care of
12759 that now. Use Paragraph::isInset to identify insets.
12760 (selectSelectedWord): do not test for hyphenation break.
12762 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12763 that protected spaces are considered as spaces.
12765 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12768 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12771 * lyxserver.C: fix it. and small cleanup.
12773 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12775 * BufferView_pimpl.C: use inline helpers
12778 * LaTeXFeatures.C: fix typos
12781 * Spacing.C: move spacing_string into class
12783 * ToolbarDefaults.C: move stuff into namespace anon
12785 * layout.h: update enum
12787 * lyxfunc.C: use better debug
12789 * minibuffer.h: fix typo
12793 * WorkArea.C: add and use Debug::WORKAREA
12797 * text2.C: code re-organisation, inline helpers
12799 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12801 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12802 std::vector.empty().
12804 2001-11-09 Allan Rae <rae@lyx.org>
12806 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12807 '\n's after tables. Tabular and ERT inset work now makes this no
12810 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12813 * minibuffer.C: fix crash, improve drop-down completion
12815 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12818 * lyxserver.C: invalidate fd's when doing endPipe()
12820 2001-11-08 José Matos <jamatos@fep.up.pt>
12822 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12823 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12826 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12828 2001-11-07 José Matos <jamatos@fep.up.pt>
12831 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12834 * buffer.C (sgmlOpenTag):
12835 * buffer.C (sgmlCloseTag): removed debug info.
12837 * buffer.h (sgmlOpenTag):
12838 * buffer.h (sgmlCloseTag): made public.
12840 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12842 * buffer.C (saveParamsAsDefaults):
12843 * lyx_cb.C (MenuLayoutSave): remove
12845 * LyXAction.C (init):
12847 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12849 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12851 * buffer.C (setPaperStuff): removed from here...
12853 * bufferparams.C (setPaperStuff): ... and moved there.
12855 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12859 * XFormsView.C: add support for drop-down completion
12861 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12863 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12866 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12868 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12871 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12873 * lyx_main.C: change ref to known bugs
12875 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12877 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12878 to work around older babel problems.
12880 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12882 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12884 2001-10-24 Juergen Vigna <jug@sad.it>
12886 * tabular-old.C (ReadOld): below variable changes reflected.
12888 * tabular.[Ch]: added ltType struct for longtable header/footer
12889 defines and changed all instances where they are used. Added
12890 future support for double top/bottom rows.
12892 2001-10-24 José Matos <jamatos@fep.up.pt>
12894 * buffer.h (docbookHandleCaption):
12895 * buffer.C (docbookHandleCaption): removed unused function.
12896 (makeDocBookFile): moved docbook supported version to v4.1.
12898 2001-10-24 José Matos <jamatos@fep.up.pt>
12901 * tabular.C (docbookRow): new function to export docbook code of a row.
12902 (DocBook): now honors the longtable flags.
12904 2001-10-23 José Matos <jamatos@fep.up.pt>
12907 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12908 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12910 * buffer.C (makeLinuxDocFile):
12911 (makeDocBookFile): reworked the preamble, more clean, and with
12912 support for lyx defined entities. Changed the document declaration
12913 to be more XML friendly.
12915 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12916 if we need to output XML that should be done with a filter.
12918 2001-10-22 Juergen Vigna <jug@sad.it>
12920 * sp_pspell.h (class PSpell): add alive function needed in the
12921 controller to see if the spellchecker could be started.
12923 2001-10-22 Juergen Vigna <jug@sad.it>
12925 * buffer.C (insertStringAsLines): modify the font for inserting
12926 chars in certain conditions by calling checkInsertChar(font).
12928 2001-10-19 Juergen Vigna <jug@sad.it>
12930 * text.C (workWidth): use getRow instead of wrong algorithm.
12931 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12933 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12938 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12940 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12942 * text.C (workWidth): do not search for the exact row when
12943 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12944 optimization for big documents.
12946 2001-10-18 Juergen Vigna <jug@sad.it>
12948 * text.C (workWidth): new function with added Inset * parameter.
12950 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12952 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12954 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12955 change return type of getColumnNearX.
12958 * text.C (changeRegionCase): use uppercase/lowercase instead of
12961 (rightMargin): simplify code by factoring out the uses of
12966 (appendParagraph): use Paragraph::size_type
12968 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12970 * vspace.C (asLatexString): add a missing break
12972 2001-10-15 Herbert Voss <voss@perce.de>
12974 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12976 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12978 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12981 2001-10-10 André Pönitz <poenitz@gmx.net>
12983 * lyxfunc.C: removed greek_kb_flag.
12985 2001-10-10 Herbert Voss <voss@perce.de>
12987 * lyx_main.C: delete global string help_lyxdir.
12989 2001-10-09 Herbert Voss <voss@perce.de>
12991 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12993 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12995 * lyx_main.C: added global string help_lyxdir.
12997 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12999 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13001 * lyxrc.C (set_font_norm_type): support iso8859-4
13003 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13005 * LaTeX.C (deplog): add another regex for MikTeX
13007 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13009 * lyxrc.C (set_font_norm_type): support iso8859-3
13011 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13013 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13015 * LaTeXFeatures.C: remove special case of french and index
13017 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13018 before \begin{document}). This solves several incompatibilities.
13020 2001-10-03 Garst Reese <reese@isn.net>
13022 * lyx_cb.C: change CheckTex error msg.
13024 2001-10-03 José Matos <jamatos@fep.up.pt>
13026 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13028 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13030 * .cvsignore: update
13032 * lyx_main.C (commandLineVersionInfo): use new style version info.
13034 * buffer.C (writeFile):
13036 (makeLinuxDocFile):
13037 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13039 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13041 * version.h: update to use stuff in version.C
13043 * version.C.in: new file. Contains version information determined
13044 at compile time. This is a merging of version.h and
13047 2001-10-03 Juergen Vigna <jug@sad.it>
13049 * BufferView_pimpl.C (update): don't change "dirty" status in
13052 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13054 * WorkArea.C (c-tor): re-position version string slightly.
13056 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13058 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13059 revert to previous code.
13061 WorkArea.[Ch]: (show, destroySplash): methods removed.
13063 WorkArea.C: rework code so that it's an amalgam of the codes before and
13064 after the splash screen was moved to WorkArea.
13066 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13069 * vspace.C (inPixels):
13072 * buffer.C (insertStringAsLines):
13073 (asciiParagraph): fix types to be large enough
13075 * lyxlex_pimpl.h: change member status from short to int
13077 * layout.h: fix type of endlabeltype
13080 * kbsequence.C (parse): change return type to string::size_type
13082 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13085 * Bullet.C (bulletSize):
13086 (bulletEntry): do not use short ints as parameters
13088 * BufferView2.C (insertLyXFile): change a char to an int.
13090 * WorkArea.C (WorkArea): remove unneeded floats in computation
13092 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13094 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13096 * paragraph.C (asString): Do not ignore newline/hfill chars when
13097 copying to the clipboard.
13099 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13101 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13102 after a multi-line inset.
13104 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13106 * paragraph.C (validate): Set NeedLyXFootnoteCode
13108 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13110 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13111 and decrease-error to decrease.
13113 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13115 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13116 it more readable (should be equivalent)
13118 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13120 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13122 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13124 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13125 of a cursor (row, etc.) after a character has been deleted
13126 (deleteEmptyParagraphMechanism): call the method above on _all_
13127 cursors held by the LyXText when a double space has been
13130 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13132 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13134 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13136 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13137 background. Use greyOut() and the new show() methods to toggle between
13138 the foreground and background. Add code to remove the splash after
13139 its initial showing.
13141 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13142 (create_forms): no longer call Dialogs::showSplash.
13144 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13146 * .cvsignore: add version_info.h
13148 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13150 * version_info.h.in: new file
13152 * Makefile.am: add version_info.h.in
13154 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13155 version_info.h instead of VERSION_INFO
13157 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13159 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13160 The ERT inset now returns string().
13162 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13164 * lyxtext.h, text.C (selectNextWord): renamed as
13165 selectNextWordToSpellcheck.
13167 * text.C (selectNextWordToSpellcheck): Modified to not select
13168 words inside an ERT inset.
13170 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13172 * lyx_cb.C (MenuLayoutSave): change a bit the question
13174 * sp_base.h: include <sys/types.h>
13176 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13178 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13180 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13182 * several files: fix typos in user-visible strings
13184 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13186 * text2.C (pasteSelection): do not set the selection, since it
13187 will be cleared later. Actually, the intent was to fix the way the
13188 selection was set, but I figured rmoving the code was just as good.
13190 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13192 * FontLoader.C (available): Check if font is available without
13195 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13197 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13199 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13201 * lyxrc.[Ch]: added display_graphics variable and associated code.
13203 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13205 * bufferparams.C (hasClassDefaults): new method. Returns true if
13206 the buffer parameters correspond to known class defaults
13208 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13210 * XFormsView.C (show): set minimum size to the main window.
13212 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13214 * text2.C (copySelection):
13216 * lyxfind.C (LyXReplace):
13217 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13218 LyXText::selectionAsString.
13220 * paragraph.C (asString): add "label" argument to the second form
13222 * text2.C (selectionAsString): add "label" argument and pass it to
13223 Paragraph::asString.
13225 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13227 * lyx_main.C (commandLineHelp): remove version information
13229 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13231 * lyx_main.C: add -version commandline option
13233 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13235 * paragraph.h: make the optional constructor arg required instead.
13236 some modifications to other files because of this.
13238 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13240 * lyxserver.C (C_LyXComm_callback): make it static
13242 * lyx_main.C (error_handler): make it static
13244 * lyx_gui.C (LyX_XErrHandler): make it static
13246 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13248 * WorkArea.C: make the extern "C" methods static.
13250 * Makefile.am (lyx_LDADD): simplify
13252 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13254 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13255 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13257 * LyXAction.C (init):
13258 * lyxfunc.C (dispatch): associated code removal.
13260 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13262 * lyxfont.h (isSymbolFont): shut off warning
13264 * text.C (setHeightOfRow):
13265 (getVisibleRow): fix crash with empty paragraphs which have a
13268 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13270 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13273 2001-09-04 José Matos <jamatos@fep.up.pt>
13276 * tabular.C (docbook): rename docBook method to docbook.
13278 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13280 * Makefile.am: add dependencies to main.o.
13282 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13284 * FontLoader.C (available): Return false if !lyxrc.use_gui
13286 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13288 * FontInfo.C (query):
13289 * converter.C (view):
13290 * importer.C (Import):
13291 * exporter.C (Export): Can not -> cannot.
13293 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13295 * BufferView_pimpl.C: allow to create index inset even if
13298 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13300 * buffer.C (getLists): replace boost::tie code with an explicit pair
13301 as boost::tie can break some compilers.
13303 * iterators.h: Added a std:: declaration to the return type of
13306 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13308 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13311 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13313 * iterators.[Ch]: New files. Provide paragraph iterators.
13315 * buffer.C (changeLanguage): Use paragraph iterators.
13316 (isMultiLingual): ditto
13318 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13320 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13322 * FontLoader.C: Support for cmr font.
13324 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13326 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13327 (available): New method.
13329 * FontInfo.C (getFontname): Use scalable fonts even when
13330 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13333 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13335 * converter.C (Formats::view): reverted! Incorrect fix.
13337 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13339 * converter.C (Formats::view): only output the -paper option
13340 if the dvi viewer is xdvi, thereby fixing bug #233429.
13342 2001-08-23 Herbert Voss <voss@perce>
13344 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13346 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13348 * Spacing.h (Spacing): Set space to Default on in the default
13351 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13353 * vc-backend.h (RCS::versionString): add RCS to version
13354 (CVS::versionString): add CVS to version
13356 * vc-backend.C (scanMaster): do not add CVS to version.
13357 (scanMaster): do not add RCS to version
13359 * lyxvc.C (versionString): new method
13361 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13363 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13365 * Spacing.C (set): initialize fval
13367 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13369 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13372 2001-08-16 Juergen Vigna <jug@sad.it>
13374 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13376 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13378 * BufferView_pimpl.C:
13381 * text2.C: setParagraph takes linespacing now
13383 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13385 * LyxAction.C: add internal LFUN_CITATION_INSERT
13387 * LyXView.C: actually apply fix
13389 * bufferlist.C: fix open non-existent file
13391 * lyxfind.C: fix indentation
13393 * lyxfunc.C: remove unneeded assert, fix typo
13395 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13397 * MenuBackend.C: use "Floatname List"
13399 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13401 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13402 when converting LaTeX layout to insetERT.
13403 Generate a non-collapsed float when reading old float
13405 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13407 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13410 2001-08-13 Juergen Vigna <jug@sad.it>
13412 * text.C (fill): return 0 instead of 20 as this seems to be the more
13415 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13417 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13420 2001-08-13 Juergen Vigna <jug@sad.it>
13422 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13424 (SearchBackward): comment out the unlocking of the inset_owner this
13425 should not be needed!
13427 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13429 * Many files: Remove inherit_language, and add latex_language
13431 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13432 collapsible insets.
13434 2001-08-10 Juergen Vigna <jug@sad.it>
13436 * text.C (prepareToPrint): fixed hfill-width in draw!
13438 * BufferView2.C (selectLastWord): save the selection cursor as this
13439 now is cleared in the function LyXText::clearSelection!
13441 2001-08-08 Juergen Vigna <jug@sad.it>
13443 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13444 BACKSPACE type functions.
13446 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13447 is only cutted from the document but not put in the cut-buffer, where
13448 still the old stuff should be.
13450 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13452 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13454 * tabular.C (SetWidthOfCell): fixed special case where the width
13456 (LeftLine): handle '|' in align_special.
13458 (LeftAlreadyDrawed): ditto
13459 (SetWidthOfCell): ditto
13461 2001-08-07 Juergen Vigna <jug@sad.it>
13463 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13465 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13467 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13468 * lyxlex.[hC]: ditto
13470 2001-08-06 Juergen Vigna <jug@sad.it>
13472 * text.C (getVisibleRow): fix up row clearing a bit.
13474 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13476 * minibuffer.C: make sure the X server sees the changes in the input.
13478 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13480 * paragraph.C (getFont): split into...
13481 (getLabelFont): this
13482 (getLayoutFont): and this
13483 * paragraph_pimpl.C (realizeFont): calling this
13485 * text2.C (getFont): split into...
13486 (getLayoutFont): this
13487 (getLabelFont): and this
13488 (realizeFont): all three calling this
13490 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13493 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13495 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13497 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13499 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13500 layouts from the Quote inset insertion.
13502 2001-08-03 Juergen Vigna <jug@sad.it>
13504 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13506 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13507 only if status not is already CHANGED_IN_DRAW (second level).
13509 * text.C (draw): don't set the need_break_row when inside an
13512 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13514 * buffer.C (parseSingleLyXformat2Token): handle more latex
13517 * bufferview_funcs.[hC]: change function names to
13518 begin with small char, adjust other files.
13520 2001-08-02 André Pönitz <poenitz@gmx.net>
13523 BufferView_pimpl.C: remove broken special code for math-greek
13525 2001-08-02 Juergen Vigna <jug@sad.it>
13527 * BufferView_pimpl.C (update): redone this function so that we
13528 update the text again if there was a CHANGE_IN_DRAW.
13530 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13531 (drawFromTo): added a new internal bool which is used by draw() and
13533 (general): some cursor drawing problems fixed.
13535 2001-08-01 Juergen Vigna <jug@sad.it>
13537 * lyxfind.C (LyXFind): fixed
13538 (SearchForward): ditto
13539 (SearchBackward): ditto
13541 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13542 spurius drawing of the cursor in the main area.
13544 * text2.C (status): small fix which could lead to a segfault!
13545 (clearSelection): remove unneeded BufferView param.
13547 2001-08-01 André Pönitz <poenitz@gmx.net>
13549 * lyxfunc.C: small change due to changed mathed interface
13551 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13553 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13555 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13557 * lyxfunc.c: fail gracefully if file doesn't exist
13562 * BufferView_pimpl.C: IsDirWriteable() proto changed
13564 * LyXView.C: fix updateWindowTitle() to store the last title
13566 2001-07-31 Juergen Vigna <jug@sad.it>
13568 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13569 the font (wrong since using of Paragraph::highestFontInRange).
13571 * paragraph.C (highestFontInRange): added a default_size parameter.
13573 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13574 (setHeightOfRow): reformat
13576 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13578 * converter.[hC] + affected files: move to (inital-char)lowercase
13581 * ParagraphParameters.C (ParagraphParameters): remove commented code
13583 * PainterBase.[Ch]: remove commented code
13585 * LaTeXFeatures.h: add "bool floats" for float.sty
13587 * LaTeXFeatures.C (LaTeXFeatures): init floats
13588 (require): handle float
13589 (getPackages): do it with floats
13591 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13593 * BufferView_pimpl.C (Dispatch): improve handling of
13594 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13596 * commandtags.h: #include lyxfont.h here temporarily to avoid
13599 * bufferlist.h: include LString.h here.
13601 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13603 * text2.C (getStringToIndex): new method.
13605 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13607 * *: Reduced header file dependencies all over.
13609 2001-07-30 Baruch Even <baruch@lyx.org>
13611 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13613 2001-07-29 Baruch Even <baruch@lyx.org>
13615 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13617 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13619 * ParameterStruct.h (endif): add a default constructor to make
13620 sure that all variables is initialized.
13622 * ParagraphParameters.C (ParagraphParameters): adjust
13624 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13626 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13627 index; also, check that there is something to index, and that it
13628 does not span over several paragraphs.
13629 (doubleClick): use WHOLE_WORD_STRICT for double click.
13631 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13633 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13636 2001-07-26 Baruch Even <baruch@lyx.org>
13638 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13639 an InsetFig figure, backwards compatible reading of old figure code.
13641 2001-07-27 Juergen Vigna <jug@sad.it>
13643 * text2.C: font.realize function adaption.
13645 * text.C (draw): add a warnings lyxerr text if needed.
13647 * layout.C: font.realize function adaption.
13649 * language.C: add inherit_language and implement it's handlings
13651 * bufferview_funcs.C (StyleReset): remove language parameter from
13652 font creation (should be language_inherit now).
13654 * bufferparams.C (writeFile): handle ignore_language.
13656 * paragraph.C (getFontSettings): the language has to be resolved
13657 otherwise we have problems in LyXFont!
13659 * lyxfont.C (lyxWriteChanges): added document_language parameter
13660 (update): removed unneeded language parameter
13662 * paragraph.C (validate): fixed wrong output of color-package when
13663 using interface colors for certain fonts in certain environments,
13664 which should not seen as that on the final output.
13666 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13668 * BufferView_pimpl.C:
13673 * LyXAction.C: add thesaurus support
13676 * lyxfind.C: add "once" parameter, for thesaurus, to not
13677 move to the next match
13679 2001-07-26 Juergen Vigna <jug@sad.it>
13681 * lyxfont.C (realize): honor ignore_language too!
13684 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13686 * text.C (draw): one place more for ignore_language to not draw
13689 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13691 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13693 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13695 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13696 the minipage conversion problem.
13698 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13700 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13703 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13705 * BufferView.h: don't forward declare WorkArea
13707 * BufferView.C: don't include WorkArea.h
13709 2001-07-25 André Pönitz <poenitz@gmx.net>
13713 * lyxfunc.C: new LFUN 'math-space'
13715 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13717 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13719 * text2.C (toggleInset): call open/close
13721 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13723 * lyxfunc.C (dispatch): add debug for the disabled case
13725 * font.C (buttonText): make similar to rectText
13727 * buffer.C (readInset): comment out parsing of insetlist and
13730 * PainterBase.C (rectText): small correction
13732 * BufferView_pimpl.C: comment out insettheorem and insetlist
13733 * LyXAction.C: ditto
13734 * commandtags.h: ditto
13736 2001-07-24 Juergen Vigna <jug@sad.it>
13738 * text.C (draw): honor the ignore_language.
13740 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13742 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13744 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13747 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13749 * lyxtext.h: remove unused (and unimplemented) methods
13751 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13753 * text.C (getVisibleRow): honor background color
13756 * Painter.h: remove default color argument for fillRectangle
13758 * text.C (backgroundColor): new method
13760 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13762 * text.C (getVisibleRow): adjust
13764 * font.[Ch] (rectText): new method, metrics
13765 (buttonText): new method, metrics
13767 * PainterBase.[hC]: make rectText and buttonText always draw and take
13770 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13772 * ToolbarDefaults.C (read):
13773 * MenuBackend.C (read): allow escaping in all strings
13775 * BufferView_pimpl.C (insertAndEditInset): new method.
13776 (Dispatch): use insertAndEditInset whenever appropriate.
13778 * BufferView_pimpl.C (insertNote): removed
13780 * BufferView_pimpl.C (smartQuote): new method, moved from
13781 BufferView; if an insetquote cannot be inserted, insert a '"'
13784 * BufferView2.C: remove insertCorrectQuote();
13786 * lyxfunc.C (getStatus): Add support for all remaingin
13787 inset-insert lfuns.
13789 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13791 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13792 command (necessary to pass " as parameter of self-insert.
13794 * text.C (selectWordWhenUnderCursor):
13795 (selectWord): add word_location parameter
13796 (selectWordWhenUnderCursor): same + remove special code for word
13798 (selectNextWord): use kind() to guess type of insetspecialchar,
13801 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13802 (insertErtContents): create ert insets as collapsed.
13803 (readInset): better compatibility code for Info inset.
13805 2001-07-20 Juergen Vigna <jug@sad.it>
13807 * lyxfunc.C (dispatch): use always LyXFind now!
13809 * text2.C (init): add a reinit flag so that the LyXText can be
13810 reinited instead of deleted and reallocated (used in InsetText).
13812 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13818 2001-07-18 Juergen Vigna <jug@sad.it>
13820 * text.C (selectNextWord): handle insets inside inset by calling
13821 always the bv->text functions so that we can go up the_locking_inset!
13823 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13824 in strange locations when inside an inset!
13826 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13827 handling to include insets.
13829 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13831 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13833 * LyXAction.C (init):
13835 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13836 LIGATURE_BREAK, since the name is so stupid.
13838 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13840 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13843 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13845 * sp_form.[Ch]: remove.
13847 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13849 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13852 * src/buffer.C (readInset): ditto.
13854 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13856 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13857 menuSeparator(), endOfSentenceDot(), ldots() and
13858 hyphenationPoint(), which are therefore removed.
13859 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13861 * LyXAction.C (init):
13862 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13864 * paragraph.C (getWord): removed.
13866 * BufferView_pimpl.C (Dispatch): use last word or selection for
13867 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13869 * lyx_main.C (queryUserLyXDir): do not ask before creating
13870 user_dir, except if it has been named explicitely.
13872 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13874 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13875 a document of zero size.
13877 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13879 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13880 approriately in the c-tor and in require().
13881 (getPackages): output the appropriate LaTeX for natbib support.
13883 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13884 variables "use_natbib" and "use_numerical_citations" when reading the
13886 (readInset): read the various natbib cite commands.
13887 (validate): white-space change.
13889 * bufferparams.[Ch]: new variables "bool use_natbib" and
13890 "bool use_numerical_citations".
13891 (writeFile): output them in the LyX file.
13893 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13895 * lyxfunc.C (getStatus): add support for all the inset insertion
13898 * text2.C (insertInset):
13899 * paragraph.C (insetAllowed):
13900 * BufferView_pimpl.C (insertInset): update to take in account the
13901 renaming of insertInsetAllowed
13903 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13905 * text2.C (getInset): new method. returns inset at cursor position.
13907 * BufferView_pimpl.C (Dispatch): changes because of this.
13909 * LyXAction.C (init): rename open-stuff to inset-toggle.
13911 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13913 * text2.C (toggleInset): renamed from openStuff; use
13916 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13918 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13920 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13922 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13924 * buffer.C (readLyXformat2): Add filename to the error dialog
13926 2001-07-18 Juergen Vigna <jug@sad.it>
13928 * tabular.C (GetCellNumber): put an assert here instead of the check!
13930 2001-07-17 Juergen Vigna <jug@sad.it>
13932 * BufferView_pimpl.C (toggleSelection): adapted too.
13934 * text.C (selectNextWord): adapted for use with insets.
13935 (selectSelectedWord): ditto
13937 2001-07-17 Juergen Vigna <jug@sad.it>
13939 * sp_spell.C (PSpell): fix initialitation order.
13941 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13943 * paragraph.C: spacing
13945 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13947 * sp_spell.C: repair language selection for pspell
13949 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13951 * lyxfunc.h: change more methods to begin with lower char.
13953 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13955 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13956 for unknown layouts.
13958 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13960 * buffer.C (readLyXformat2): Generate an error dialog if there are
13963 2001-07-16 Juergen Vigna <jug@sad.it>
13965 * sp_spell.C: always compile ISpell part.
13967 * lyxrc.C: added use_pspell entry and it's handling.
13969 2001-07-13 Juergen Vigna <jug@sad.it>
13971 * sp_spell.C: removed double includes.
13973 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13975 Consistent use of Lsstream.h:
13976 * Lsstream.h: added using std::stringstream for consistencies sake.
13978 * buffer.C: removed using std::stringstream
13980 * lyxfont.C (stateText):
13981 * paragraph.C (asString):
13982 * text.C (selectNextWord, selectSelectedWord):
13983 * text2.C (setCounter):
13984 * vspace.C (asString, asLatexString):
13985 std::ostringstream -> ostringstream.
13987 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13989 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13990 * commandtags.h: add LFUN_HELP_ABOUTLYX
13991 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13993 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13995 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13997 * lyx_gui_misc.C: remove spellchecker
13998 * lyxfunc.C: showSpellchecker
14000 * sp_ispell.h: added
14001 * sp_pspell.h: added
14002 * sp_spell.C: added
14003 * sp_form.[Ch]: removed
14004 * spellchecker.[Ch]: removed
14006 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14008 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14010 (simpleTeXSpecialChars): Simply print the input character without
14011 any special translation if pass_thru is set.
14013 * layout.h: Added bool pass_thru to layout class for being able to
14014 implement pass through of a paragraph for Literate Programming.
14016 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14017 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14018 * layout.C (Read): add "passthru" to list of layout tags and add
14019 code to set the pass_thru boolean when it is read.
14021 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14023 * trans_decl.h: remove allowed from KmodInfo
14025 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14026 remove allowed code
14029 * paragraph_pimpl.C (erase): use boost::prior
14031 * Painter.C (text): use data() instead of c_str() when length is
14033 * WorkArea.C (putClipboard): ditto
14034 * font.h (width): ditto
14036 * BufferView2.C: use it-> instead of (*it). for iterators
14038 * paragraph_pimpl.C: ditto
14039 * paragraph.C: ditto
14040 * minibuffer.C: ditto
14041 * language.C: ditto
14043 * encoding.C: ditto
14044 * counters.C: ditto
14045 * converter.C: ditto
14047 * Variables.C: ditto
14048 * TextCache.C: ditto
14049 * MenuBackend.C: ditto
14050 * LyXAction.C: ditto
14052 * FloatList.C: ditto
14053 * DepTable.C: ditto
14054 * ColorHandler.C (LyXColorHandler): ditto
14056 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14058 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14060 * text2.C (openStuff): reintroduce this method (which had been
14061 nuked in NEW_INSETS frenzy).
14063 * lyxfunc.C (Dispatch): when an action has not been handled, use
14064 its name in the error message, not its number.
14066 * paragraph.C (inInset): change method name to begin with lowercase.
14069 * text2.C: updates because of this.
14071 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14073 * ToolbarDefaults.C (add): add spaces in error message
14075 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14077 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14078 (readLyXformat2): rename return_par to first_par, use lyxlex's
14079 pushToken and remove the manual push handling.
14080 (parseSingleLyXformat2Token): add another ert comp. variable:
14081 in_tabular, rename return_par to first_par. handle newlines better
14083 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14085 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14087 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14089 * text2.C (getParFromID): removed
14091 * buffer.C (getParFromID): new method moved form lyxtext.
14092 * BufferView2.C (insertErrors): adjust
14093 (setCursorFromRow): adjust
14094 * BufferView_pimpl.C (restorePosition): adjust
14095 * lyxfunc.C (Dispatch): adjust
14096 * undo_funcs.C (textUndo): adjust
14098 (textHandleUndo): adjust
14099 (textHandleUndo): adjust
14101 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14103 * buffer.C: up' the LYX_FORMAT
14105 * lyxfont.h: turn NO_LATEX on as default
14107 * buffer.C (insertErtContents): new methods of tex style compability.
14108 (parseSingleLyXformat2Token): use it several places.
14109 * tabular.C (OldFormatRead): and here
14111 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14113 * text2.C: remove some commented code.
14116 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14117 * trans.C: changes because of the above.
14119 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14121 * text2.C (setCounter): Fix counters bug with bibliography layout.
14123 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14125 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14126 own member functions
14127 (simpleTeXSpecialChars): ditto
14129 2001-07-06 Juergen Vigna <jug@sad.it>
14131 * a lot of files: changed the access to LyXText::status and the
14132 call of undo-functions.
14134 * undo.[Ch]: added a inset_id to the undo informations.
14136 * undo_funcs.[Ch]: added and moved here all undo functions.
14138 * lyxtext.h: give the status enum a weight, made status_ a private
14139 variable and made accessor functions for it, removed the whole bunch
14140 of undo-functions as they are now in their own file, make some
14141 functions publically available. Added function ownerParagraph with
14144 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14145 made InInset() a const function, added getParFromID() function.
14147 * buffer.[Ch]: added const version for inset_iterator functions,
14148 added getInsetFromID() function.
14150 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14151 changed undo functions for new version.
14153 2001-07-05 Juergen Vigna <jug@sad.it>
14155 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14156 unknow mechanism does not call the proper constructor but only this
14157 one also if I request the other!?
14159 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14161 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14163 * text2.C (LyXText): use initialization lists.
14165 * lyxtext.h (Selection): initialize set_ and mark_
14166 (init): remove method
14168 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14170 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14172 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14174 * screen.[Ch]: change method names to begin with lowercase
14176 * BufferView_pimpl.C (updateScrollbar): simplify further and
14177 hopefully make it a bit faster.
14179 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14181 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14182 calling directly xforms functions.
14184 * Painter.C (Painter):
14185 * lyx_cb.C (MenuWrite):
14186 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14189 * lyx_gui.C: remove bogus guiruntime extern declaration.
14191 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14193 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14195 (redoDrawingOfParagraph): ditto
14196 (redoParagraphs): ditto
14197 (cutSelection): don't create a object for CutAndPaste use the
14198 static method directly
14199 (pasteSelection): ditto
14201 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14204 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14206 * modifications to some other files because of this.
14208 * Makefile.am (lyx_SOURCES): add XFormsView
14210 * XFormsView.[Ch]: new files
14212 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14213 the main window. Move the gui dependent stuff to XFormsView
14215 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14217 * tabular.C (GetCellInset): update cur_cell also in the row/col
14218 version of this function.
14220 * lyxfunc.C: no need to include figure_form.h here.
14226 * lyxvc.C: no need to include forms.h here.
14228 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14230 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14232 * lyxfunc.C (Dispatch):
14234 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14235 constructor argument.
14237 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14239 * paragraph.C (Paragraph): dont't clear, and just set layout.
14240 (makeSameLayout): use params's copy contructor.
14242 * ParagraphParameters.[Ch] (makeSame): delete method
14244 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14246 * Variables.[Ch]: fix indentation, rename set to isSet
14248 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14250 * lyxfunc.C (Dispatch): fix typo
14252 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14254 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14257 * bufferlist.C: include assert.h for emergencyWrite().
14259 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14261 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14262 give up at last (bug #425202) !
14264 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14270 * spellchecker.C: strip spellchecker options and bring up
14271 preferences tab instead
14273 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14275 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14276 the istringstream constructor
14278 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14280 * paragraph.C (getLayout): fix return value
14282 * paragraph.h: do not declare getLayout as inline.
14284 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14286 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14288 * lyxcursor.h (operator<): new func
14289 (operator>): new func
14290 (operator>=): new func
14291 (operator<=): new func
14293 * text.C (changeCase): use selection.start and selection.end
14294 (changeRegionCase): require from to be <= to. Require par to be a
14297 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14299 2001-06-27 Juergen Vigna <jug@sad.it>
14301 * text.C (cursorLeftOneWord): changed to return the cursor and added
14302 overlay with BufferView * parameter which calls this one.
14304 (selectWord): use new getWord function.
14305 (changeCase): renamed from changeWordCase as and extended to work
14306 also on selections.
14308 * lyxtext.h: added enum word_location
14310 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14311 changeCase as this operates now also on selections.
14313 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14315 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14317 * many files: send debug output to Debug::INFO instead of
14320 * converter.C (View):
14322 (Move): send debug output to Debug::FILES instead of console.
14324 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14326 * lyxfunc.C (getStatus): use func_status
14328 * func_status.h: new header, describing the results of
14329 LyXFunc::getStatus;
14331 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14334 2001-06-25 The LyX Project <jug@sad.it>
14336 * buffer.C (sgmlOpenTag):
14338 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14340 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14342 * text2.C: remove some dead code
14344 * tabular.C (GetCellInset): store the last cell checked (gotten)
14346 * tabular.h: add the helper for the speedup
14348 * lyxtext.h: remove some dead code
14350 2001-06-26 The LyX Project <Asger>
14352 * paragraph.C: Change export to LaTeX of alignment to
14353 \begin{center} and family for better roundtrip work with reLyX.
14355 * Tune the math drawing a bit.
14357 2001-06-25 The LyX Project <Asger>
14359 * LColor.C (LColor): New color for math background. New color
14362 2001-06-25 The LyX Project <jug@sad.it>
14364 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14366 * lyxfunc.C (Open):
14367 * bufferlist.C (newFile): do not restrict to files ending with
14370 * BufferView_pimpl.C (MenuInsertLyXFile):
14372 2001-06-24 The LyX Project <jug@sad.it>
14374 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14377 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14379 * lyxtext.h: rename most methods to begin with a small char.
14380 Lots of changes because of this.
14382 * paragraph.C (Paragraph): do not call fitToSize
14383 (erase): call Pimpl::erase
14384 (insertChar): call Pimpl::insertChar
14385 (insertInset): call Pipl::insertInset
14386 (breakParagraph): do not call fitToSize
14387 (breakParagraphConservative): do not call fitToSize
14388 (fitToSize): remove method
14390 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14392 2001-06-24 The LyX Project <Asger>
14394 * Fix Qt compilation^2
14396 2001-06-24 The LyX Project <jug@sad.it>
14398 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14399 depthHook(getDepth()-1).
14402 * ParagraphParameters.h:
14403 * ParameterStruct.h: change type of depth to unsigned int ==
14404 depth_type. Many adaptations to other files before of that.
14406 2001-06-24 The LyX Project <Asger>
14408 * Fix Qt compilation.
14410 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14412 * paragraph.h: renamed several methods to begin with small letter.
14413 several changes to many parts of the code because of this.
14415 2001-06-23 The LyX Project <jug@sad.it>
14417 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14418 rewritten to discard all double spaces when KeepEmpty is off
14419 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14420 to only handle newlines but not fiddle with spaces and friends.
14422 * lyxfunc.C (MenuNew): when doing 'new from template', use
14423 template_path as default directory
14425 2001-06-23 The LyX Project <Asger>
14427 * Clean-up of header file includes all over
14428 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14430 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14432 * paragraph.h: renamed from lyxparagraph.h
14434 2001-06-23 Asger <lyx@violet.home.sad.it>
14436 * Buffer.h: Removed Buffer::resize
14437 * BufferList.h: Removed BufferList::resize
14438 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14439 the document lazily when we change the width, or the font settings.
14441 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14443 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14445 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14447 * buffer.h: remove out of date comment
14449 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14452 * screen.C: fix "theoretical" GC leak
14454 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14456 * LaTeX.C (scanAuxFile):
14457 (deplog): remove trailing \r when reading stream (useful under
14460 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14462 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14463 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14464 and BufferView::theLockingInset(Inset*), so should use them and not
14465 access bv_->text->the_locking_inset directly.
14467 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14469 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14472 * tex-defs.h: remove old unused file
14474 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14476 * BufferView_pimpl.C: fix typo, remove minibuffer message
14477 when buffer has loaded
14479 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14481 * lyxfunc.C (Dispatch): use stringstream
14482 (MenuNew): use stringstream
14483 (Open): use stringstream
14485 * importer.C (Import): use stringstream
14487 * bufferview_funcs.C (CurrentState): use stringstream
14489 * LaTeX.C (run): use stringstream
14491 * BufferView_pimpl.C (savePosition): use stringstream
14492 (restorePosition): use stringstream
14493 (MenuInsertLyXFile): use stringstream
14495 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14508 * vspace.C: removed // -*- C++ -*- as first line.
14511 * version.h: added // -*- C++ -*- as first line.
14513 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14515 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14517 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14520 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14522 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14525 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14527 * gettext.C: include LString.h even when --disable-nls is on.
14529 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14531 * converter.h (Get): changed argument type from int to
14532 FormatList::size_type to avoid unnecessary conversion.
14534 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14537 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14539 * gettext.h: include LString.h even when --disable-nls is on.
14541 2001-06-07 Juergen Vigna <jug@sad.it>
14543 * text.C (BreakAgain): subst spaces with tabs.
14545 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14546 (resizeInsetsLyXText): set force on resizeLyXText.
14548 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14550 * gettext.h (gettext_init):
14551 (locale_init): use a real definition instead of a macro
14553 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14555 * Bufferview_pimpl.C:
14557 * LColor.C: further lcolor tidies
14559 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14561 * BufferView_pimpl.C (updateScrollbar): simplify.
14563 * BufferView2.C: don't include insets/insetinfo.h, change
14564 prototype for insertInset and call the Pimpl version. let
14565 updateInset call Pimpl version.
14567 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14568 gotoInset to BufferView::Pimpl
14570 2001-06-01 Juergen Vigna <jug@sad.it>
14572 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14573 inside a LockingInset (is the update needed at all?).
14575 2001-05-31 Juergen Vigna <jug@sad.it>
14577 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14578 here not the old one otherwise how should we compare it afterwards
14581 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14586 * FontInfo.C: bring C functions into global namespace when
14589 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14591 * LString.h: make sure config.h has been loaded before LString.h.
14593 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14594 (one for each char read by EatLine!).
14596 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14599 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14601 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14602 to the same as the par we break from
14604 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14606 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14608 * MenuBackend.C (expand): also create menu entries for wide
14609 versions of the floats.
14611 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14613 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14615 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14616 frontends/Makefile.am
14622 * tabular.C (getTokenValue): add std::
14624 * tabular-old.C (getTokenValue): add std::
14625 (getTokenValue): ditto
14626 (getTokenValue): ditto
14628 * screen.C (ToggleSelection): adjust
14630 * lyxtext.h: put selection cursors inside a Selection struct.
14632 * lyxfunc.C (moveCursorUpdate): adjust
14634 * lyxfont.C (latexWriteStartChanges): add std::
14636 * lyxfind.C: adjust
14638 * font.h: delete with(char const *, LyXFont const &)
14640 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14642 * FontInfo.C (getFontname): add std::
14644 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14645 (workAreaButtonPress): adjust
14646 (tripleClick): adjust
14648 (moveCursorUpdate): adjust
14651 * BufferView2.C (gotoInset): adjust
14653 2001-05-30 Juergen Vigna <jug@sad.it>
14655 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14656 to check pspell I add this as default as I now have new pspell
14657 libraries and they seem to use this.
14659 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14661 * text2.C (CutSelection): make the cursor valid before the call to
14664 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14666 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14667 relied on 0 terminated strings and other horrors. Bug found due to
14668 the new assert in lyxstring!
14670 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14673 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14675 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14678 * lyxfunc.C (processKeySym): change method of getting to the
14681 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14682 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14683 * BufferView_pimpl.[Ch]: here as private methods.
14685 2001-05-28 Juergen Vigna <jug@sad.it>
14687 * text.C (SetHeightOfRow): added the update() call again as it is
14688 needed to initialize inset dimensions!
14690 2001-05-16 Juergen Vigna <jug@sad.it>
14692 * text2.C (SetCharFont): Add new function with BufferView * and
14693 bool toggleall parameters for setting insets internal fonts.
14694 (SetFont): Freeze the undo as we may change fonts in Insets and
14695 all this change should be inside only one Undo!
14697 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14698 setting font's in insets as for them we have the SetFont function!
14700 2001-05-15 Juergen Vigna <jug@sad.it>
14702 * text2.C (ClearSelection): to be sure we REALLY don't have any
14705 * tabular.C (TeXCellPreamble): fixed the left border problem for
14708 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14710 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14713 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14715 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14716 LFUN_BREAKPARAGRAPH.
14718 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14719 help test to "internal only", similar for LFUN_INSERT_URL
14721 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14722 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14723 auto_region_delete and deadkeys.
14725 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14728 * LColor.C: remove some dead entries, tidy a little
14730 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14732 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14734 (Dispatch): implement LFUN_ESCAPE
14736 * commandtags.h: add LFUN_ESCAPE
14738 * LyXAction.C (init): add entry for LFUN_ESCAPE
14740 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14741 Remove commented code.
14742 (insertNote): moved here
14743 (open_new_inset): moved here
14745 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14748 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14750 * kbmap.C (findbinding): clean it up and make it work correctly.
14752 * lyx_main.C (init): do not pass argc and argv as parameters
14754 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14756 * buffer.C: fix path for OS/2 & Win32
14760 * lyx_main.C: Added os:: class.
14762 * os2_defines.h: update
14764 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14766 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14767 better by trying again with reduced state.
14769 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14771 * lyxrc.C (read): print error about invalid key sequence only when
14772 debugging (because not all latinX keysyms are known to some X
14775 * kbsequence.C (getiso): add a few std:: qualifiers
14776 (getiso): comment out extra return statement.
14778 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14780 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14782 (Dispatch): enhance the accent inset a bit. (not perfect)
14784 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14786 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14788 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14790 * bufferlist.C (emergencyWrite): fix assert() call
14792 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14794 * text.C (InsertChar): Added trivial patch to only send the "you
14795 can not do multiple spaces this way" message once during a
14798 2001-05-08 Baruch Even <baruch@lyx.org>
14800 * Makefile.am: Changed order of libraries to get LyX to link properly
14801 with the gnome frontend.
14803 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14805 * LaTeXFeatures.h: add a std:: qualifier
14807 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14809 * paragraph.C (String): use stringstream
14811 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14813 * paragraph.C (writeFile): remove footflag arg
14815 * buffer.C (makeLaTeXFile): use stringstream
14816 (latexParagraphs): remove footnot gurba
14818 * LaTeXFeatures.C (getPackages): use stringstream
14819 (getMacros): likewise
14820 (getTClassPreamble): likewise
14821 (getFloatDefinitions): new method
14823 * paragraph.C (writeFile): reindent
14826 * WorkArea.h: revert the xpos + etc changes.
14828 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14830 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14832 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14833 (pasteSelection): likewise
14834 * text2.C (CreateUndo): likewise
14836 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14838 * minibuffer.C (peek_event): temporarily reduce the functionality
14839 of the minibuffer (to allow args on lfuns)
14841 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14842 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14844 * buffer.C (readInset): add compability reading of old float
14845 lists, add reading of new style float list.
14846 (readInset): avoid reevaluation of inscmd.getCmdName()
14847 (getLists): reindent
14849 * MenuBackend.C (MenuItem): implement parsing of
14850 md_floatlistinsert and md_floatinsert.
14851 (expand::LastFiles): move initalizaton of iterators out of loop,
14852 avoid reevaluation.
14853 (expand::Documents): introduce typdedef vector<string> Strings,
14855 (expand::ExportFormats): introduce typedef vector<Format const *>
14856 Formats, and use it.
14857 (expand): implement FloatListInsert and FloatInsert.
14859 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14860 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14861 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14863 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14865 (Dispatch::LFUN_FLOAT_LIST): implement
14867 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14869 * LaTeX.C (run): Fix problem with --export code.
14871 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14873 * BufferView.[Ch] (workarea): removed.
14874 (getClipboard) new method; wrapper for workarea()->getClipboard()
14876 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14879 * WorkArea.h (width, height, xpos, ypos): These methods all
14880 returned the dimensions of the work_area sub-area of WorkArea,
14881 resulting in a position error if the WorkArea were resized. Now
14882 return the dimensions of the entire WorkArea.
14884 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14886 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14888 * LaTeX.C (deplog): correct the syntax of regex reg1
14890 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14892 * undo.C: remove !NEW_INSETS cruft
14894 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14896 * text2.C: remove !NEW_INSETS cruft
14898 * text.C: remove !NEW_INSETS cruft
14900 * tabular.C: remove !NEW_INSETS cruft
14902 * spellchecker.C: remove !NEW_INSETS cruft
14904 * lyxtext.h: remove !NEW_INSETS cruft
14906 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14908 * lyxfunc.C: remove !NEW_INSETS cruft
14910 * lyxfind.C: remove !NEW_INSETS cruft
14912 * lyx_cb.C: remove !NEW_INSETS cruft
14914 * figureForm.C: remove !NEW_INSETS cruft
14916 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14918 * buffer.[Ch]: remove !NEW_INSETS cruft
14920 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14922 * CutAndPaste.C: remove !NEW_INSETS cruft
14924 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14926 * BufferView2.C: remove !NEW_INSETS cruft
14928 * BufferView.h: remove !NEW_INSETS cruft
14930 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14932 * Lsstream.h: include LString.h before the sstream headers to
14933 fix problem with gcc 2.95.3 and lyxstring
14935 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14937 * lyx_main.C: add using directives when needed for C functions
14938 declared in std:: namespace.
14940 2001-04-27 Juergen Vigna <jug@sad.it>
14942 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14943 (SetHeightOfRow): comment out the update call should not be needed!
14945 2001-04-13 Juergen Vigna <jug@sad.it>
14947 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14948 (LyXTabular): tried to minimize operator= operations (and realized
14949 hopfully Lars wish).
14951 2001-04-27 Juergen Vigna <jug@sad.it>
14953 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14955 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14957 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14959 * buffer.C (readInset): hack to make listof algorithm work
14961 * BufferView_pimpl.C: hack to make listof algorithm work
14963 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14965 * LyXAction.C: removed all !NEW_INSETS cruft
14966 (init): moved lfun_item in method
14968 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14970 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14972 * BufferView2.C (theLockingInset): white space.
14974 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14976 * minibuffer.C: include <iostream>
14978 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14980 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14982 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14984 * text.[Ch] (TransposeChars): new method
14986 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14988 * call message directly through LyXView instead of through LyXFunc
14989 * BufferView2.C: adjust
14990 * BufferView_pimpl.C: adjust
14991 * FontLoader.C: adjust
14993 * bufferview_funcs.C: adjust
14994 * converter.C: adjust
14995 * figureForm.C: adjust
14996 * importer.C: adjust
14998 * lyx_gui_misc.C: adjust
14999 * lyxfunc.C: adjust
15002 + more files in subdirs
15004 * lyxparagraph.h (size): move up int file
15007 * adjust all uses of Assert to lyx::Assert.
15009 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15010 lyxfunctional in namespace lyx
15011 * layout.C (hasLayout): ditto
15014 (delete_layout): ditto
15015 (NumberOfClass): ditto
15016 * converter.C (GetFormat): ditto
15021 * bufferlist.C (getFileNames): ditto
15022 (emergencyWriteAll): ditto
15025 * MenuBackend.C (hasSubmenu): ditto
15028 * BufferView_pimpl.C (getInsetByCode): ditto
15030 2001-04-18 Juergen Vigna <jug@sad.it>
15032 * vspace.C (asLatexString): fixed the 100% problem.
15034 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15036 * lyxfunc.C (Dispatch):
15038 * minibuffer.h: add a few std:: qualifiers
15040 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15042 * minibuffer.[Ch]: reimplement so that commands is initiated and
15043 run from lyxfunc, simplified som handling, and made the completion
15044 and history code for complete. wip.
15046 * lyxfunc.C (processKeySym): call message
15047 (miniDispatch): new temporary method
15048 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15049 (LFUN_MESSAGE): implement
15050 (LFUN_MESSAGE_PUSH): implement
15051 (LFUN_MESSAGE_POP): implement
15052 (initMiniBuffer): the initial/defualt minibuffer message.
15054 * lyxfont.[Ch]: inline some more getters
15056 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15058 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15060 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15061 (AutoSave): use LFUN_MESSAGE
15062 (Reconfigure): ditto
15064 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15066 * figureForm.C: use LFUN_MESSAGE
15068 * converter.C (runLaTeX): use LFUN_MESSAGE
15070 * bufferview_funcs.C: use LFUN_MESSAGE
15072 (changeDepth): ditto
15074 * bufferparams.h: use boost::
15076 * bufferlist.h: inherit privately from noncopyable
15078 * bufferlist.C (loadLyXFile): remove some commented code.
15080 * buffer.C (runChktex): use LFUN_MESSAGE
15082 * ShareContainer.h: inherit privately from noncopyable
15084 * ParagraphParameters.[hC] (depth): inline it.
15086 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15088 (message): new method
15089 (messagePush): ditto
15090 (messagePop): ditto
15091 (show): init minibuffer
15092 (showState): direct call
15094 * LaTeX.[Ch]: inherit privately from noncopyable
15095 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15096 instead of WriteStatus.
15098 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15100 * BufferView_pimpl.C (buffer): don't init minibuffer
15101 (workAreaButtonPress): use LFUN_MESSAGE
15102 (workAreaButtonRelease): ditto
15103 (savePosition): ditto
15104 (restorePosition): ditto
15105 (MenuInsertLyXFile): ditto
15106 (workAreaExpose): don't init minibuffer
15107 (update): remove commented code, simplify
15109 * BufferView2.C (openStuff): use LFUN_MESSAGE
15110 (toggleFloat): ditto
15113 (copyEnvironment): ditto
15114 (pasteEnvironment): ditto
15119 (updateInset): remove some commented code
15121 * lastfiles.h: inherit privately from noncopyable
15124 * lyx_main.h: ditto
15126 * lyxlex_pimpl.h: ditto
15128 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15129 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15130 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15132 * LyXAction.h: inherit privately from noncopyable, add methods
15133 func_begin, func_end, returning iterators to the func map.
15135 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15136 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15137 (func_begin): new method
15138 (func_end): new method
15140 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15142 (copySelection): ditto
15143 (pasteSelection): ditto
15145 * BufferView.C: whitespace change
15146 * BufferView.h: inherit privately from noncopyable
15148 2001-04-16 Allan Rae <rae@lyx.org>
15150 * tabular-old.C (l_getline):
15151 * spellchecker.C (sc_check_word):
15152 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15153 an unrecognised preprocessor directive. So ensure they're wrapped.
15155 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15157 * src/exporter.C (Export): Give an error message when path to file
15160 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15162 * LaTeX.C (deplog): Always check that foundfile exists.
15164 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15167 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15169 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15171 * tabular.[Ch] (getLabelList): implement new method
15173 * minibuffer.h: comment ouf setTiimer
15175 * minibuffer.C (ExecutingCB): constify res
15176 (peek_event): constify s
15177 (Set): constify ntext
15178 (Init): constify nicename
15180 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15182 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15183 (savePosition): use two params to Minibuffer::Set
15184 (restorePosition): ditto
15186 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15188 * lyx_main.C: include language.h
15190 * Makefile.am (lyx_main.o): add language.h
15192 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15198 * CutAndPaste.C: include gettext.h
15200 * lyxfont.h: remove old hack with ON and OFF.
15203 * lyxfont.h: do not include language.h...
15208 * bufferview_funcs.C:
15214 * paragraph.C: ... but do it here instead
15216 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15218 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15220 * tabular.C: small reformat
15222 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15225 (BreakParagraph): ditto
15226 (SetOnlyLayout): ditto
15229 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15232 * lastfiles.C: removed most using decl, add std:: where needed
15234 * buffer.C: ws changes
15236 * MenuBackend.C (class compare_format): put into anon namespace
15237 (expand): constify label, names, action, action2
15240 * text.C (SingleWidth): constify font
15241 (IsBoundary): constify rtl2
15242 (GetVisibleRow): constify ww
15244 * LaTeX.C (deplog): constify logfile
15246 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15248 (workAreaExpose): constify widthChange, heightChange
15250 * lyxrow.C (par): moved
15253 * lyxrow.h: as inlines here
15255 * lyxfont.h (shape): moved from lyxfont.C
15256 (emph): moved from lyxfont.C
15258 * lyxfont.C (LyXFont): use initialization list for all
15260 (shape): move to lyxfont.h as inline
15261 (emph): move to lyxfont.h as inline
15264 2001-04-04 Juergen Vigna <jug@sad.it>
15266 * vspace.C: had to include stdio.h for use of sscanf
15268 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15271 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15272 independent of xforms.
15274 2001-04-02 Juergen Vigna <jug@sad.it>
15276 * spellchecker.C: fixed namespace placing!
15278 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15280 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15281 the LyXParagraph * is 0.
15283 2001-03-29 Juergen Vigna <jug@sad.it>
15285 * vspace.C: added support for %, c%, p%, l%.
15286 (stringFromUnit): added helper function.
15287 (asLatexString): changed to give right results for the %-values.
15289 * buffer.C: convert the widthp in a width%.
15291 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15293 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15296 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15297 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15299 * lyx_cb.[Ch]: see above.
15301 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15305 * lyx.[Ch]: replaced by figure_form.[Ch].
15309 * lyxfunc.C: changed headers associated with above changes.
15311 2001-03-27 Juergen Vigna <jug@sad.it>
15313 * BufferView_pimpl.C: set the temporary cursor right!
15315 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15317 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15319 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15321 * LString.h: removed "using std::getline"!
15323 * BufferView_pimpl.C (Dispatch): changes due to changes in
15324 InsetInclude::Params.
15326 * buffer.C (tag_name): removed redundant break statements as they were
15327 producing lots of warnings with my compiler.
15329 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15331 * LString.h: add "using std::getline" when using the real <string>.
15333 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15335 * buffer.C: removed bitset usage.
15336 PAR_TAG moved to an anonymous name space.
15337 (tag_name): new funtion, also in the anonymous namespace.
15338 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15339 (makeDocBookFile): clean code. Completed transition from string arrays
15341 (SimpleDocBookOnePar): code clean.
15343 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15345 * tabular.C: add some comments.
15347 2001-03-22 Juergen Vigna <jug@sad.it>
15349 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15350 compatibility read a bit and fixed bug with minipage in different
15353 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15355 * buffer.C (pop_tag): removed.
15356 (push_tag): removed.
15357 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15358 array replaced with vector. Added support for CDATA sections.
15359 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15361 (makeDocBookFile): XML conformant declaration of CDATA section,
15362 fixed bug related to <emphasis> in the first paragraph char.
15363 (sgmlOpenTag): exclude empty tags.
15364 (sgmlCloseTag): ditto.
15366 * buffer.h (pop_tag): removed.
15367 (push_tag): removed.
15369 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15371 * language.h (Languages): added size_type and size().
15373 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15375 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15376 response on compability reading of minipages. One probliem is that
15377 the old usage of minipages was «flertydig»
15379 * several files here and in subdirs: don't use static at file
15380 scope use anon namespaces instead.
15382 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15384 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15385 LaTeX output. This is necessary for Literate document
15388 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15390 * buffer.C: insert hfill when needed.
15392 * tabular.C (l_getline): use string::erase, small whitespace change.
15394 * BufferView_pimpl.C: try the anon namespace.
15395 * WorkArea.C: ditto
15397 2001-03-16 Juergen Vigna <jug@sad.it>
15399 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15400 otherwise it won't open options-dialogs.
15402 * buffer.C: honor pextraWidth(p) on converting minipages.
15404 * tabular.C (l_getline): changed the functions to strip trailing \r.
15406 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15408 * BufferView_pimpl.C:
15409 * minibuffer..C: added "using SigC::slot" declaration.
15411 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15413 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15419 * paragraph.C: ditto
15421 * lyxtext.h: NO_PEXTRA
15423 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15425 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15426 * ParameterStruct.h: ditto
15427 * ParagraphParameters.h: ditto
15428 * lyxparagraph.h: ditto
15430 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15432 * buffer.C: add compability for minipage alignment.
15433 (latexParagraphs): remove unwanted pextra check.
15435 * several files: remove CXX_WORKING_NAMESPACES
15437 * buffer.C (pop_tag): tie is in namespace boost
15439 * BufferView.h: noncopyable is in namespace boost
15441 * lyx_main.h: ditto
15444 * lastfiles.h: ditto
15445 * bufferlist.h: ditto
15446 * ShareContainer.h: ditto
15448 * LyXAction.h: ditto
15451 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15453 * Merging changes from BRANCH_MVC back into HEAD.
15455 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15457 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15459 * BufferView_pimpl.C: change from intl.C
15463 * Makefile.am: move combox.*
15469 * intl.C: remove dialog (covered by prefs)
15471 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15473 * lyxfunc.C (Dispatch): removed redundant break statement.
15475 2001-03-14 Juergen Vigna <jug@sad.it>
15477 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15479 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15481 * buffer.C: add hack to fix compability reading of minipages.
15483 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15485 * buffer.C (getLists): Cleanup.
15487 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15489 * lyxfont.C (update): don't honor toggleall on font size.
15491 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15495 * Makefile.am: moved to frontends/xforms/
15499 * BufferView_pimpl.C: changes for moved mathpanel
15501 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15503 * gettext.h: fix gettext_init() in --disable-nls
15505 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15507 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15509 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15512 * lyx.h: strip external form
15514 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15516 * BufferView_pimpl.C: add comment, destroySplash()
15518 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15520 * BufferView_pimpl.C:
15524 * lyxfunc.C: use re-worked insetinclude
15526 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15528 * buffer.C: add using std::stringstream.
15530 * lyx_cb.C: readd using std::ios.
15532 * buffer.C: add using std::map.
15534 * BufferView_pimpl.C: add using std::vector.
15536 * ShareContainer.h: add std:: to swap.
15538 * buffer.h: add some typedefs
15539 * buffer.C (getLists): use them
15540 (getLists): renamed from getTocList.
15541 add a counter for the different float types and use it in the
15543 (getLists): use the same counter for the NEW_INSETS and the "non"
15546 * lyx_cb.h: remove unused items, includes, using etc.
15548 * ShareContainer.h: remove some commented code, add more comments
15549 and "documentation".
15551 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15553 * buffer.C (getTocList): make the list also when NEW_INSETS is
15556 * buffer.h: remove TocType
15558 * buffer.C (getTocList): change to return a map<string,
15559 vector<TocItem> >, implement for dynamic number of list.
15561 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15562 * text2.C (PasteSelection): adjust
15563 * CutAndPaste.C (pasteSelection): adjust
15565 * FloatList.C (FloatList): update from the new_insets branch.
15566 * Floating.[Ch]: ditto
15567 * LaTeXFeatures.C: ditto
15569 * lyxlex_pimpl.C: ditto
15571 * paragraph.C (Last): remove when NEW_INSETS is defined.
15573 * other file: changes because of the above.
15575 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15577 * lyxparagraph.h: rename next to next_, previous to previous_,
15578 make them private for NEW_INSETS. Rename Next() to next(),
15579 Previous() to previous().
15581 * other files: changes because of the above.
15583 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15586 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15589 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15591 * main.C (main): pass lyx_localedir to gettext_init().
15593 * gettext.h: remove locale_init and gettext_init macros
15595 * gettext.C (locale_init): new function
15596 (gettext_init): new function
15598 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15601 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15603 * Moved credits to frontends:
15604 * credits.[Ch]: removed
15605 * credits_form.[Ch]: removed
15606 * lyx_gui_misc.C: remove credits stuff
15609 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15611 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15613 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15614 unneeded destructor.
15616 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15617 a standalone pointer again.
15619 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15621 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15627 * ToolbarDefaults.C:
15636 * BufferView_pimpl.C: use new file dialog in GUII
15639 * lyx_cb.C: remove LayoutsCB to Toolbar
15641 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15643 * ShareContainer.h (get): add std:: qualifier
15645 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15647 * ShareContainer.h: define a proper ShareContainer::value_type
15648 type (and use typename to please compaq cxx)
15650 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15652 * lyxparagraph.h: move serveral local vars to
15653 ParameterStruct/ParagraphParameters., use ShareContainer in
15654 FontTable., make vars in FontTable private and add getter and
15657 * paragraph.C: changes because of the above.
15659 * lyxfont.h: remove copy constructor and copy assignment. (the
15660 default ones is ok), move number inside FontBits. move inlines to
15663 * lyxfont.C: add number to initializaton of statics, move several
15664 inlines here. constify several local vars. some whitespace
15665 cleanup. Dont hide outerscope variables.
15667 * Spacing.h: add two new constructors to match the set methods.
15669 * ShareContainer.h: new file, will perhaps be moved to support
15671 * ParameterStruct.h: new file
15673 * ParagraphParameters.h: new file
15675 * ParagraphParameters.C: new file
15677 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15678 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15680 * BufferView_pimpl.C: ParagraphParameter changes.
15681 * buffer.C: Likewise.
15682 * bufferview_funcs.C: Likewise.
15683 * text.C: Likewise.
15684 * text2.C: Likewise.
15686 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15688 * lyxfind.C (LyXReplace): do not redefine default argument in
15690 (IsStringInText): ditto
15691 (SearchForward): ditto
15692 (SearchBackward): ditto
15694 2001-03-06 Juergen Vigna <jug@sad.it>
15696 * lyxfind.C (IsStringInText): put parentes around expressions.
15698 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15700 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15702 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15704 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15706 * stl_string_fwd.h: add comment
15708 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15711 * tabular.C: remove unused DocBook methods
15717 killed DO_USE_DEFAULT_LANGUAGE
15719 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15721 * lyx_gui.C: do not include language.h.
15723 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15724 arguments in function implementation.
15726 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15728 * BufferView_pimpl.C: add <ctime>
15730 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15732 * BufferView_pimpl.C: add using std::find_if
15734 2001-02-27 José Matos <jamatos@fep.up.pt>
15736 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15739 2001-02-11 José Matos <jamatos@fep.up.pt>
15741 * buffer.C (makeDocBookFile): command styles now have a parameter as
15742 "title" by default.
15744 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15746 * layout_forms.[Ch]: removed
15747 * lyx_cb.[Ch]: out character
15748 * lyx_gui.C: out character
15749 * lyx_gui_misc.C: out character
15750 * bufferview_funcs.C: : out character,
15751 added toggleall as parameter in ToggleAndShow
15753 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15755 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15757 * text2.C (SetCurrentFont): Disable number property at boundary.
15759 2001-02-26 Juergen Vigna <jug@sad.it>
15761 * lyxfunc.C (getStatus): added a string argument override function so
15762 that this is correctly called from LyXFunc::Dispatch if it contains a
15763 do_not_use_argument which is used!
15764 (Dispatch): added check for "custom" export and call appropriate func.
15766 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15768 * lyxrc.C: Add language_command_local, language_use_babel and
15769 language_global_options.
15771 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15773 * buffer.C (makeLaTeXFile): Use language_use_babel and
15774 language_global_options.
15776 2001-02-23 Juergen Vigna <jug@sad.it>
15778 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15779 which works with LyXText and putted it inside BufferView. Here now we
15780 only call for that part the BufferView::Dispatch() function.
15782 * BufferView.C (Dispatch): added.
15784 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15785 functions which needs to use a LyXText over from LyXFunc.
15786 (MenuInsertLyXFile): added
15787 (getInsetByCode): added
15788 (moveCursorUpdate): added
15789 (static TEXT): added
15791 2001-02-22 Juergen Vigna <jug@sad.it>
15793 * BufferView_pimpl.C (update): call a status update to see if LyXText
15796 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15798 * vc-backend.C (revert): implement for CVS
15799 (getLog): implement for CVS
15801 2001-02-20 Juergen Vigna <jug@sad.it>
15803 * text2.C (ClearSelection): added BufferView param for inset_owner call
15805 * lyxfunc.C (TEXT): added this function and use it instead of
15806 directly owner->view()-text of getLyXText().
15808 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15810 * src/layout_forms.C: out preamble
15811 * src/layout_forms.h: out preamble
15812 * src/lyx_cb.C: out preamble
15813 * src/lyx_cb.h: out preamble
15814 * src/lyx_gui.C: out preamble
15815 * src/lyx_gui_misc.C: out preamble
15816 * src/lyxfunc.C: connect with guii preamble
15818 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15820 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15822 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15824 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15825 whether to run bibtex.
15827 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15829 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15831 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15833 * Makefile.am (lyx_SOURCES): removed bibforms.h
15835 * vspace.h: doxygen
15837 * text.C (GetVisibleRow): make several local vars const
15839 * tabular.C: small cleanup.
15841 * lyxserver.C (callback): use compare instead of strncmp
15843 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15844 inlines to after class or to paragraph.C
15846 * lyxfont.h: remove friend operator!=
15848 * converter.h: move friend bool operator< to non friend and after
15851 * combox.h: small cleanup
15853 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15854 to inlines after class def.
15856 * buffer.C (pop_tag): use string operations instead of strcmp
15858 * bmtable.c: doxygen, small cleanup
15860 * LaTeX.h: remove friend operator==
15862 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15874 * BufferView_pimpl.C:
15875 * BufferView.[Ch]: remove cruft
15877 2001-02-14 Juergen Vigna <jug@sad.it>
15879 * lyxfunc.C: removed #if 0 unused code
15881 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15883 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15885 * text2.C (SetSelection): added a BufferView * parameter
15887 2001-02-13 Juergen Vigna <jug@sad.it>
15889 * lyxfunc.C (Dispatch): fixed protected blank problem.
15890 * BufferView2.C (protectedBlank): added LyxText * parameter.
15892 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15893 (AppendColumn): same as above for column_info.
15895 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15896 (moveCursorUpdate): use a LyXText param for support of InsetText.
15898 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15899 (tripleClick): ditto
15901 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15903 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15905 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15907 * text2.C (SetSelection): set correct update status if inset_owner
15908 (ToggleFree): ditto
15910 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15912 * tabular.C: remove some commented code.
15914 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15916 * BufferView_pimpl.C: call hideSplash()
15918 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15921 * bibforms.h: remove
15924 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15925 add LFUN_CHILD_CREATE
15927 * counters.h: fix tiny typo
15932 * lyx.C: move splash to frontends/xforms/
15934 * lyx_gui_misc.C: move Include and Bibform to frontends
15936 * lyxvc.h: clarify comment
15938 * vspace.C: tiny housekeeping
15940 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15942 * text.C (PrepareToPrint): RTL Fix.
15944 * paragraph.C (GetUChar): New method.
15945 (String): Use GetUChar.
15947 * buffer.C (asciiParagraph): Use GetUChar.
15949 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15951 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15953 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15956 * buffer.C: rename to getLogName(), handle
15957 build log / latex log nicely
15959 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15962 * MenuBackend.h: remove support for reference menuitem type.
15964 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15966 * BufferView_pimpl.C: housekeeping
15967 * BufferView_pimpl.h:
15972 * minibuffer.h: move Timeout GUI-I
15974 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15976 * lyxrc.C (read): Update converters data-structures.
15978 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15980 * LaTeX.h (operator!=): add operator != for Aux_Info
15982 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15984 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15986 * LaTeXLog.C: deleted, useful code moved to Buffer
15989 * buffer.C: new function getLatexLogName()
15995 * lyxfunc.C: use frontends for LaTeX and VC logs
15997 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15999 * LaTeX.h: yet another std:: that Allan forgot.
16001 * Variables.C (set): renamed from isset(), because this clashes
16002 with some HP-UX macros (grr).
16004 2001-02-06 Allan Rae <rae@lyx.org>
16006 * LaTeX.h: Another bug fix. Missing std:: this time.
16008 2001-02-04 Allan Rae <rae@lyx.org>
16010 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16011 floats problem. I've left it commented out because it's not quite
16012 correct. It should also test that the current object is a table or
16013 figure inset. But I haven't gotten around to figuring out how to do
16014 that. I *think* it'll be something like: "table" == inset.type()
16016 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16019 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16021 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16022 all the citation/databases/styles in the auxilary file.
16023 (run): Rerun latex if there was a babel language error.
16025 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16027 * text.C (Backspace): Preserve the font when changing newline char
16029 (BreakParagraph): If the cursor is before a space, delete the space.
16031 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16033 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16035 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16036 new argument (code).
16037 (ChangeCitationsIfUnique): New method.
16039 * paragraph.C (GetPositionOfInset): Handle bibkey.
16041 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16043 * BufferView_pimpl.h: change type of Position::par_pos to
16044 LyXParagraph::size_type.
16046 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16048 * BufferView_pimpl.C (savePosition, restorePosition): Write
16049 messages to minibuffer.
16051 2001-01-28 José Matos <jamatos@fep.up.pt>
16053 * buffer.C (makeDocBookFile): adds support for document language.
16054 A silly restriction on the name of LatexCommand types where removed.
16055 Added support for CDATA sections, allows to chars unescaped, used
16056 among others in code, to avoid escape < and >.
16058 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16060 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16061 saved positions instrad of a stack. Furthermore, a position is
16062 stored using paragraph id/paragraph position.
16064 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16065 Remove LFUN_REF_BACK.
16067 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16069 * converter.C (dvipdfm_options): New method.
16071 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16073 * vspace.C (isValidLength): Fix for empty input string.
16075 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16077 * LyXAction.C (init): change description of LFUN_FIGURE to
16080 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16082 * LaTeX.C: add using directive
16084 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16086 * MenuBackend.C (expand): Fix the sorting of the formats.
16088 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16090 * lyx_main.C: tiny error message fix
16092 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16094 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16095 calling fl_initialize(). This fixes the problem with ',' as
16096 decimal separator in text files.
16098 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16100 * trans.C (process): Fix the keymap bug.
16102 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16104 * LaTeX.C (scanAuxFiles): New method. Provides support for
16105 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16106 (scanLogFile) Scan for "run BibTeX" messages.
16108 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16109 OT1 font encoding. Also, load the aecompl package if the ae
16112 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16114 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16116 * texrow.C (increasePos): turn two error messages into debug
16119 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16121 * LaTeX.C (scanAux): Handle the \@input macro.
16122 (runBibTeX): Use scanAux().
16124 * language.C (latex_options_): New field.
16126 * LaTeXFeatures.C (getMacros): Add language macros.
16128 * buffer.C (makeLaTeXFile): Small fix.
16130 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16132 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16134 * text2.C: add a using directive.
16136 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16141 * lyxfunc.C: kill LyXBell.
16143 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16145 * text.C (IsBoundary): Remove the error message
16147 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16149 * lyxrc.C (setDefaults): Correct initialization value for
16152 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16154 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16157 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16158 and GotoNextNote().
16160 * src/LyXAction.C: Added reference-next.
16162 * text.C (InsertChar): Use contains instead of strchr.
16164 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16166 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16168 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16169 alignment commands (when needed).
16171 * text.C (InsertChar): Add ':' to number separator chars.