1 2004-10-23 José Matos <jamatos@lyx.org>
3 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
4 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
5 docbook. The new scheme is recursive and makes use of iterators, the
6 same as latex export works.
7 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
8 directly with the paragraph contents. This code was moved up to
9 output_docbook.C (docbookParagraphs).
10 * sgml.C (openTag, closeTag): removed unneeded newlines.
11 (closeEnvTags) removed.
13 2003-10-23 André Pönitz <poenitz@gmx.net>
15 * undo.C (textUndoOrRedo):
16 * dociterator.C (asDocIterator): work around crash
18 * cursor.C (getStatus): replace ASSERT by more verbose error message
19 and manual correction of the problem. Should increase stability
20 while providing more sensible information.
22 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
26 * bufferlist.C (previous, next): new methods
29 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
31 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
33 * buffer.C (makeDocBookFile): add dsssl stylesheet control
36 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
38 * messages.C (Pimpl): strip off translation context information
40 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
43 the cursor is correct (bug 1694)
45 2004-10-13 José Matos <jamatos@lyx.org>
47 * output_docbook.C (docbookParagraphs): fix closing tags in the
50 2004-10-09 José Matos <jamatos@lyx.org>
52 * buffer.C: format up to 237.
53 * bufferparams.C (write): use tostr to convert booleans to strings.
55 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
57 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
59 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
61 * LaTeX.C: implement use of babel language in xindy.
63 2004-10-05 José Matos <jamatos@lyx.org>
65 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
66 Add new translators to help reading and writing the lyx file.
68 2004-10-05 José Matos <jamatos@lyx.org>
70 * ParagraphParameters.C (read):
71 * text.C (readParToken): replace nexToken by more appropriate lex
74 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
76 * LaTeX.C (runMakeIndex):
77 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
78 (usually 'makeindex') configurable.
80 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
81 with a variable rather than with a number.
83 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
85 * output_latex.C (TeXOnePar): make sure font setting is the first
86 thing that gets output (and the last at the end). Should fix bug
89 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
91 * pch.h: use proper signal include
93 * LaTeX.h: Use preferred calling of Boost.Signal
96 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
98 * pch.h: dont include <boost/function/function0.hpp>
100 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
102 * paragraph_pimpl.h: remove usage of ShareContainer
104 * paragraph_pimpl.C: remove initialization of ShareContainer.
106 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
110 * BufferView.C (putSelectionAt): change the semantics when
111 backwards == true: now, this just swaps cursor and anchor wrt the
114 * BufferView.h (putSelectionAt): add some documentation
116 * lyxfind.C (findBackwards): rewrite using while(). In particular,
117 make sure backwardChar is done at least once (to avoid getting
119 (findNextChange): use putSelectionAt in the forward direction
120 (operator()): use Paragraph::isWord
122 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
124 * Spacing.C (set): c_str fix
126 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
128 * lyx_cb.C (Reconfigure): quote the name of configure script in
129 case it contains spaces
131 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
135 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
136 (BOOST_LIBS): use top_buildir when looking for the file
138 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
140 * pch.h: do not use include boost/format.hpp, multiple symbols
141 will result (gcc bug)
144 2004-08-23 José Matos <jamatos@lyx.org>
146 * bufferparams.C (readToken): fix reading of the author field.
148 2004-08-20 José Matos <jamatos@lyx.org>
150 * lyxrc.C: remove support/translator.h inclusion since it is not used.
152 2004-08-20 José Matos <jamatos@lyx.org>
154 * lyxlex.[Ch] (findToken): remove function.
156 * ParagraphParameters.C (findToken):
157 * bufferparams.C (findToken): replace call for previous function
158 with local copy. This local function has one more argument, the
159 read string argument.
161 2004-08-16 José Matos <jamatos@lyx.org>
163 * ParagraphParameters.C (write):
164 * Spacing.C (writeFile):
165 * bufferparams.C (writeLaTeX):
166 * lyx_cb.C (Reconfigure):
167 * paragraph.C (write):
168 * tabular.C (write): remove unnecessary space at end of line.
171 2004-08-16 José Matos <jamatos@lyx.org>
173 * text.C (readParagraph): remove debug message.
175 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
180 * output_plaintext.C (asciiParagraph): set depth correctly
182 * outputparams.h: add member depth
184 * paragraph_funcs.C (ownerPar): remove.
186 * text2.C (setCounter): remove first_pit; comment out some
187 non-working code that uses ownerPar
189 * BufferView.C (getParentLanguage): remove. Not used anymore, and
192 2004-08-16 José Matos <jamatos@lyx.org>
194 * text.C (readParToken, readParagraph, read): report all unknown tokens.
195 For the same level of importance use the same chanel to report problems.
196 (read): add code to deal with \begin_body and \end_body.
199 2004-08-15 José Matos <jamatos@lyx.org>
201 * lyxlex.C (getString): fix comment, buffer::readBody is now
204 * tex-strings.C (string_papersize): Default -> default,
205 Custom -> custom, for consistency with other options.
207 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
211 * Makefile.am: support pch
213 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
215 * text.C (readParToken): remove the static LyXFont variable and
216 pass it as a parameter instead. This fixes a nasty bug where an
217 inset will be inserted with a bad font in some situations
218 (readParagraph): adapt
220 * text2.C (setCounter): reduce number of calls to pars_[pit]
222 * text.C (singleWidth): add an assert, fix a test
224 * rowpainter.C (paintText): reduce number of calls to singleWidth
226 * paragraph.C (isHfill):
229 2004-08-14 André Pönitz <poenitz@gmx.net>
234 * lyxtext.h (several functions): use a Paragraph & argument
237 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * metricsinfo.h: add a new field ltr_pos to PainterInfo
241 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
243 * text.C (singleWidth): remove useless test
245 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
247 * tabular.h: remove bogus comments
249 * tabular.C (getDescentOfRow):
250 (isPartOfMultiColumn): add assertions
252 * lyxlength.C (inPixels): remove #warning
254 2004-08-14 André Pönitz <poenitz@gmx.net>
256 * paragraph.h: inline getChar()
258 * BufferView.h: remove unused declarations
260 2004-08-14 José Matos <jamatos@lyx.org>
262 * Buffer.[Ch] (readDocument): new name for old readBody.
263 * Buffer.C: new file format, new keywords: \begin_document,
264 \begin_header, \begin_body, \end_body.
266 * bufferparams.C (readToken): replace all calls to lex.nextToken
267 by lex.next(). Do the same to eatLine except where really needed.
269 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
270 line when writing to the lyx file.
272 * output_plaintext.C (asciiParagraph): fix Bibliography style
275 * text.C (read): fix end of file handling.
277 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
279 * MenuBackend.C (Menu::operator[]): new method to access
280 individual menu items
281 (Menu::hasFunc): new method. search for an item that corresponds
283 (MenuBackend::specialMenu): new method
284 (MenuBackend::expand): if a special menu has been set, skip
285 entries whose func() appears in this menu
287 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
289 * text3.C: use Debug::DEBUG a bit more
291 * text.C (leftMargin): try to simplify a tiny bit change var x to
292 l_margin. Dont output the wide margins always.
293 (rightMargin): no margin in inner texts
295 * rowpainter.h (nestMargin): new func
296 (changebarMargin): new func
297 (rightMargin): new func
299 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
303 * factory.C (createInset): modify setDrawFrame
305 * cursor.C: use Debug::DEBUG a bit more
307 2004-08-14 André Pönitz <poenitz@gmx.net>
310 * Makefile.am: new files to accomodate an 'external' (x,y)-position
311 cache for all insets in (at least partially) visible (top-level)
314 * BufferView_pimpl.C: reset external coord cache before every update.
315 This means the coord cache only contains valid entries.
317 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
320 * BufferView_pimpl.C (getInsetByCode): move function out of class
321 and change in to a template in anon namespace. Also fix to do what
324 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
327 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
329 (breakParagraph): rename par to par_offset and use a local
330 reference. Add code to keep the language over a rebreak.
331 (breakParagraphConservative): rename par to par_offset, use a
333 (mergeParagraph): ditto
335 (isFirstInSequence): ditto
336 (outerFont): rename pit to par_offset
338 * paragraph.C: ws change
343 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
345 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
348 * paragraph.C (simpleTeXOnePar): when we have a \item with
349 optional argument, enclose the argument with curly brackets (in
350 case it contains a closing square bracket)
354 * text3.C (checkInsetHit): constify
356 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
358 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
361 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
363 Fix toggling of collapsable insets with the mouse (bug 1558)
365 * lyxfunc.C (dispatch): adapt to LCursor changes
367 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
368 make sure that dispatch is not invoked twice
370 * cursor.C (needsUpdate): new method
371 (dispatch): return void
372 (result): new method, to access the DispatchResult of the cursor.
374 2004-08-13 José Matos <jamatos@lyx.org>
376 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
378 2004-08-13 André Pönitz <poenitz@gmx.net>
380 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
382 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
385 2004-08-12 André Pönitz <poenitz@gmx.net>
387 * text3.C: take out the 'cursor right' form insertInset and only
388 do it in those places when it is really needed. Fixes crash on
391 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
395 * BufferView_pimpl.C (setBuffer): initialize the current font of
396 the underlying LyXText
398 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
400 * kbsequence.C (print): use UI native formatting for menu
403 * text.C (insertChar): call Paragraph::insertChar with a font
406 * paragraph.C (insertInset, insertChar): the version that takes a
407 LyXFont argument is now a wrapper around the other one (the
408 opposite used to be true).
410 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
411 argument. Font setting is done in Paragraph now.
413 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
415 * outputparams.h: add new members intitle and lang.
417 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
418 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
420 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
422 * text3.C (dispatch): remove special handling of button 4 and 5,
423 it is now taken care of in the frontend code.
425 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
427 * Spacing.h: add <string> (STLPort compile fix)
429 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
431 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
433 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
435 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
438 * converter.C (showMessage): inherit from unary_function, make
441 * buffer.C (writeFile): initialize retval
443 * InsetList.h: rename private variable list to list_
444 * InsetList.[Ch]: adjust accordingly.
446 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
448 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
449 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
450 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
451 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
452 * ParagraphParameters.C, LaTeXFeatures.C: replace
453 "support/std_sstream.h" with <sstream>
455 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
457 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
458 * lyxsocket.C (LyXServerSocket): ditto
459 (serverCallback): ditto
461 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
463 * LaTeXFeatures.C: check release date when loading jurabib.
465 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
467 * lyxserver.C (startPipe): call register_socket_callback
468 (endPipe): call unregister_socket_callback
470 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
472 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
473 (LyXServerSocket): register the callback
474 (LyXServerSocket): unregister the callback
475 (fd): delete function
476 (serverCallback): improve error checking and setup the callbacks.
477 (dataCallback): change arg to fd.
478 (writeln): new func (copied fro the client socket) used for server
480 (LyXDataSocket): simplify
481 (~LyXDataSocket): close ann unregiser callback
482 (server): delete function
483 (fd): delete function
484 (readln): small changes, improve some std::string usage
485 (writeln): constify a bit
487 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
489 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
492 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * BufferView_pimpl.C (setBuffer): set the layout combox value only
495 after it has been populated
497 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
499 * text2.C (insertInset): move cursor when inserting inset.
501 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
503 * kbmap.C (findbindings): a couple of new methods. returns a
504 container of kb_sequence objects. The real work is done by the
505 private recursive version
506 (printbindings): uses findbindings to print out a bracketed list
507 of bindings (renamed from findbinding).
509 * MenuBackend.C (binding): use kb_keymap::findbindings
511 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
513 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
515 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
517 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
519 * paragraph.C (isWord): return true on insets that report
522 * text.C (getWord): use Paragraph::isWord to decide what is in a
523 word and what is not; fix bug 1609.
525 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
527 * tex-strings.C: add "none" to string_paperpackages[], fixes
528 off-by-one-error in the paperpackage selection.
531 * tex-strings.[Ch]: char const * string[n]
532 -> char const * const string[]
534 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
536 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
537 command, return early.
539 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
541 * debug.h: add DEBUG to enum and fix size of ANY.
543 * debug.C: add support for Debug::DEBUG
544 (showTags): cast errorTags.level to unsigned int
546 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
547 (redoCurrentBuffer): ditto
548 (updateScrollbar): ditto
549 * cursor.C (dispatch): ditto
550 * text2.C (setLayout): ditto
552 (updateCounters): ditto
554 (deleteEmptyParagraphMechanism): ditto
556 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
558 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
559 annotations to cleanup the Makefile slightly.
561 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
563 * lyxrc.C: do not set user_email to a default value but use empty
564 instead. The entry used to be translated, which does not work
565 since at the point where lyxrc is constructed there is no
566 translation service available
568 * messages.C (getLocaleDir): remove and use directly
569 lyx_localedir() instead
571 2004-06-02 Angus Leeming <leeming@lyx.org>
573 Fix crash caused by dereferencing null pointer 'exportdata' in
574 OutputParams by creating a new ExportData variable on the heap,
575 storing it in a boost::shared_ptr.
576 The crash was triggered when generating an Instant Preview
577 of an external inset.
579 * Makefile.am: add outputparams.C
581 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
582 (c-tor): allocate memory to it.
584 * exporter.C (c-tor): associated changes.
586 2004-06-01 Angus Leeming <leeming@lyx.org>
588 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
589 contains data before calling isInset(0). (Bug 1513.)
591 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
593 * exporter.C (checkOverwrite): new method
594 * exporter.C (copyFile): new method
595 * exporter.C (Export): copy referenced files to the document dir
596 * exporter.[Ch]: new class ExportedFile
597 * exporter.[Ch]: new class ExportData. Contains currently the
598 names of referenced external files
599 * outputparams.h: add exportdata member.
601 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
603 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
606 2004-05-19 Angus Leeming <leeming@lyx.org>
611 * lyxfunc.C: small changes due to the introduction of namespace
612 lyx::frontend and the moving of namespace biblio to lyx::biblio.
614 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
616 * text3.C (dispatch): supress update when only moving the cursor
617 * cursor.C (selHandle): remove commented code
619 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
621 * paragraph.C (startTeXParParams): correct column count
622 * CutAndPaste.C (pasteSelection): remove const_cast
623 * output_docbook.C (docbookParagraphs): remove const_cast
624 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
625 const_cast and return ParagraphList::const_iterator
626 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
627 * output_plaintext.C (writeFileAscii): remove const_cast
628 * paragraph.[Ch] (simpleTeXOnePar): make const
629 * paragraph_funcs.C (outerPar): use const iterators
630 * paragraph_pimpl.C (validate): use const iterators
631 * text.C (setHeightOfRow): use const iterators
633 2004-05-17 Angus Leeming <leeming@lyx.org>
636 * LyXAction.C (init): new LFUN_INSET_REFRESH.
638 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
639 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
640 if the citation engine has changed.
642 2004-05-14 José Matos <jamatos@lyx.org>
644 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
645 if the textclass does not provide it. Have it different for sgml and
647 support the language of document.
648 * output_docbook.C (docbookParagraphs):
649 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
650 first anchor as the id of the paragraph, remove special case code.
651 * sgml.C (escapeChar): escape only < & >.
653 2004-05-14 Angus Leeming <leeming@lyx.org>
655 * bufferparams.h: move biblio::CiteEngine enum here to minimize
656 dependencies on src/frontends/controllers/biblio.h. Define a
657 CiteEngine_enum wrapper class to enable the enum to be forward
660 2004-05-12 Angus Leeming <leeming@lyx.org>
662 * buffer.C: up LYX_FORMAT to 234.
663 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
664 use_numerical_citations with a single biblio::CiteEngine cite_engine
666 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
668 2004-05-13 José Matos <jamatos@lyx.org>
671 * converter.C (Converter, readFlags): add xml member.
672 * outputparams.h: add XML flavor.
673 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
675 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
677 * lyxfunc.C (dispatch):
678 (getStatus): fix handling of LFUN_SEQUENCE
680 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
682 * debug.C (showLevel): do not forget the end-of-line marker
684 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
686 * kbmap.C (read): do not stop parsing a bind file when an error
689 2004-04-29 Angus Leeming <leeming@lyx.org>
694 * text2.C: wrap a bunch of #warning statements
695 inside #ifdef WITH_WARNINGS blocks.
697 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
699 * buffer.C: increment format to 233.
701 2004-04-28 Angus Leeming <leeming@lyx.org>
703 * BufferView_pimpl.C:
706 s/updateToolbar()/updateToolbars()/
707 s/Toolbar.h/Toolbars.h/
709 2004-04-28 Angus Leeming <leeming@lyx.org>
711 * BufferView.[Ch] (c-tor):
712 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
713 No longer passes these data to the WorkArea generator.
715 2004-04-28 Angus Leeming <leeming@lyx.org>
717 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
719 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
721 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
723 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
725 * output_latex.C (TeXEnvironment): make sure that there is a line
726 break before \end{foo} for the last paragraph of a document
727 (TeXOnePar): if the paragraph is at the end of the document (or
728 inset) and the language has to be reset, then make sure that the
729 line break is _before_ the language command, not after (fixes bug
730 1225); also make sure that the language reset command is the first
731 thing after the paragraph (to ensure proper nesting of
732 environments and thus fix bug 1404)
734 2004-04-21 John Levon <levon@movementarian.org>
737 * ToolbarBackend.C: make "name" be a programmatic name
738 and a gui_name field.
740 * lyxfunc.C: display the minibuffer on M-x
742 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
744 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
747 2004-04-19 Angus Leeming <leeming@lyx.org>
749 * BufferView_pimpl.C (setBuffer): changed preview interface.
751 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
754 2004-04-19 John Levon <levon@movementarian.org>
756 * BufferView_pimpl.C:
757 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
759 2004-04-05 Angus Leeming <leeming@lyx.org>
761 * text.C (redoParagraphs): add call to updateCounters(), thereby
762 fixing the missing "Figure #:" label from the caption of a
765 2004-04-13 Angus Leeming <leeming@lyx.org>
767 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
768 cursor is clicked out of an inset.
770 2004-04-13 Angus Leeming <leeming@lyx.org>
772 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
773 than an InsetOld one.
775 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
777 * format.[Ch]: add editor to Format
778 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
779 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
781 2004-04-08 André Pönitz <poenitz@gmx.net>
783 * metricsinfo.h: remove PainterInfo::width member
785 2004-04-08 Angus Leeming <leeming@lyx.org>
787 * lyx_sty.C (boldsymbol_def): modify so that it outputs
788 "\providecommand" rather than "\newcommand", thereby preventing
789 clashes with packages that define "\boldsymbol" themselves.
792 2004-04-08 Angus Leeming <leeming@lyx.org>
794 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
795 thereby squashing an unnecessary warning.
797 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
799 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
802 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
804 * BufferView.C (setCursor): call redoParagraph (some insets could
806 (putSelectionAt): remove the 'double update' trick
808 * BufferView_pimpl.C (fitCursor): call refreshPar
809 (workAreaDispatch): remove an uneeded update call
810 (dispatch): remove some manual update calls
812 * cursor.[Ch]: remove cached_y_, updatePos
813 (selHandle): set noUpdate when appropriate
815 * lyxfunc.C (dispatch): track if we need an update
817 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
819 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
820 (paintSelection): cheap optimization, do not call cursorX when not
822 (paintPars): change signature
825 (paintTextInset): adjust
829 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
831 * lengthcommon.C: compilation fix: remove explicit array size from
832 unit_name[] and friends
834 2004-04-05 Angus Leeming <leeming@lyx.org>
836 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
838 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
839 present only for the preferences dialog.
840 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
842 2004-04-05 Angus Leeming <leeming@lyx.org>
844 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
845 to enable the frontends to export changes to lyxrc correctly.
847 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
849 2004-04-07 André Pönitz <poenitz@gmx.net>
851 * cursor.[Ch] (selClear, adjust): remove math
853 * cursor_slice.C: more agressive assert
856 * BufferView_pimpl.C: rework mouse event dispatch
863 2004-04-05 André Pönitz <poenitz@gmx.net>
865 * cursor.[Ch] (valign, halign...): remove unneeded functions
867 2004-04-05 Angus Leeming <leeming@lyx.org>
869 * lyxlength.[Ch] (unit_name et al.): const-correct.
871 2004-04-05 Angus Leeming <leeming@lyx.org>
873 * BufferView_pimpl.C:
882 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
884 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
886 * text3.C (getStatus): add LFUN_BEGINNINGBUF
888 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
890 * lyxfind.C: add a couple of inTexted() tests + other small fixes
891 * BufferView_pimpl.[Ch] (getStatus)
892 * BufferView.[Ch] (getStatus): add
893 * lyxfunc.C (getStatus): move lfuns handled in
894 BufferView::dispatch to te function above
895 * Cursor.C (setSelection): set selection() = true
897 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
899 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
901 2004-03-31 Angus Leeming <leeming@lyx.org>
903 * lyxfunc.C (dispatch): Fall through to the generic
904 Dialogs::show("preamble").
906 2004-03-31 Angus Leeming <leeming@lyx.org>
908 * lyxfunc.C (dispatch): Fall through to the generic
909 Dialogs::show("spellchecker").
911 2004-03-31 Angus Leeming <leeming@lyx.org>
913 * lyxfunc.C (getStatus, dispatch): changed invocation of the
916 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
921 * insetiterator.[Ch]:
926 * undo.[Ch]: s/DocumentIterator/DocIterator/g
928 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
930 * BufferView.C (setCursor, putSelectionAt): call edit to open the
931 insets where we are putting the cursor.
933 2004-03-31 Angus Leeming <leeming@lyx.org>
936 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
938 * lyxrc.[Ch] (read, write): overloaded member functions taking
939 a std::[io]stream arguments.
941 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
943 2004-03-31 Angus Leeming <leeming@lyx.org>
945 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
946 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
948 * lyxtextclass.C (load): if the text class couldn't be loaded, then
949 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
951 2004-03-31 Angus Leeming <leeming@lyx.org>
953 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
954 the LFUN_ALL_INSETS_TOGGLE code.
956 2004-03-30 Angus Leeming <leeming@lyx.org>
958 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
959 has died. Fall through to the generic Dialogs::show("document").
961 2004-03-30 Angus Leeming <leeming@lyx.org>
964 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
965 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
967 * lyxfunc.C (getStatus, dispatch): define the actions for these
968 lfuns. Little more than a cut and pste job from ControlDocument.C
970 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
972 2004-03-30 Angus Leeming <leeming@lyx.org>
975 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
976 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
978 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
979 open/closed state of ollapsable insets. Usage:
981 all-inset-toggle <state> <name>, where
982 <state> == "open" || "closed" || "toggle" and
983 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
985 * lyxtext.h, text2.C (toggleInset): removed.
987 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
988 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
989 now passes LFUN_INSET_TOGGLE to the found inset.
991 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
992 is now invoked as "all-insets-toggle toggle branch".
994 2004-03-30 Angus Leeming <leeming@lyx.org>
998 * pariterator.[Ch]: added/corrected header blurb.
1000 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1002 * dociterator.[Ch]: add an inset_ member
1003 (backwardPos): implemented
1004 (backwardPos, forwardPos): use inset_ when the stack is empty.
1005 (doc_iterator_begin, doc_iterator_end): implemented
1006 * pariterator.[Ch]: adjust, add begin, end
1007 * insetiterator.[Ch]: adjust, add begin, end
1011 * BufferView_pimpl.C:
1012 * CutAndPaste.C: adjust
1014 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1016 * buffer.C: increment file format to 232.
1017 * LaTeXFeatures.C: add bibtopic package.
1018 * bufferparams.[Ch]: param \use_bibtopic.
1020 * lyxrc.[Ch]: add lyxrc bibtex_command
1021 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1023 * buffer.C: increment file format to 231.
1025 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1027 * dociterator.C: implement forwardPar
1028 * iterators.[Ch]: remove, replaced by
1029 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1031 * BufferView_pimpl.C:
1034 * bufferview_funcs.C:
1040 * Makefile.am: adjust
1042 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1044 * CutAndPaste.C (pasteSelection): fix 2 crashes
1045 (eraseSelection): fix a crash
1046 * paragraph_funcs.C: remove a warning
1048 2004-03-28 Angus Leeming <leeming@lyx.org>
1051 * LyXAction.C (init): new LFUN_PRINT.
1053 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1055 2004-03-27 Angus Leeming <leeming@lyx.org>
1058 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1060 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1062 2004-03-27 Angus Leeming <leeming@lyx.org>
1064 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1065 insetlist always contains non-null pointers to insets.
1067 2004-03-26 Angus Leeming <leeming@lyx.org>
1069 * src/BufferView_pimpl.C:
1070 * src/CutAndPaste.C:
1073 * src/output_plaintext.C:
1074 * src/outputparams.h:
1075 * src/paragraph_funcs.C:
1079 * src/frontends/controllers/ControlErrorList.C:
1080 * src/frontends/gtk/FileDialogPrivate.C:
1081 * src/frontends/gtk/GPainter.C:
1082 * src/frontends/gtk/GToolbar.C:
1083 * src/frontends/qt2/QRef.C:
1084 * src/mathed/math_scriptinset.C: squash compiler warnings.
1086 2004-03-26 Angus Leeming <leeming@lyx.org>
1088 * ispell.C (LaunchIspell::start):
1089 * lyx_cb.C (AutoSaveBuffer::start):
1090 invoke run(DontWait) rather than runNonBlocking().
1092 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1094 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1096 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1098 * kbsequence.C (print): adjust
1100 * kbmap.C (printKeySym): rename and change signature
1101 (printKey): use LyXKeySym::print()
1103 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1105 * undo.C: add using std::advance to compile for stlport
1107 2004-03-24 Angus Leeming <leeming@lyx.org>
1109 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1110 it leads to a crash when no buffer is present.
1112 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1113 Martin Vermeer <martin.vermeer@hut.fi>
1115 * lyxfunc.C (dispatch):
1116 * bufferparams.C (readToken): use the new LColor::setColor
1118 * LColor.[Ch] (setColor): new version that takes two strings as
1119 argument and creates a new color entry if necessary
1121 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1123 * buffer.C (makeLaTeXFile): if the main latex file that is
1124 processed is usually a subdocument of some master, then pretend
1125 for a while that it is actually the master
1127 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1129 * buffer.C (getLabelList):
1130 (getBibkeyList): use getMasterBuffer()
1131 (getMasterBuffer): new method. Returns the main document in the
1132 case where one is using included documents.
1134 2004-03-25 André Pönitz <poenitz@gmx.net>
1138 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1140 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1142 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1143 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1145 * ParameterStruct.h: merge with ParagraphParameters
1147 * lyxtext.h: remove LyXText::parOffset() and getPar()
1149 * text3.C: Remove all 'manual' update calls. We do now one per user
1150 interaction which is completely sufficient.
1154 * BufferView_pimpl.C:
1155 * FontIterator.[Ch]:
1157 * ParagraphParameters.[Ch]:
1162 * cursor_slice.[Ch]:
1169 * output_docbook.[Ch]:
1170 * output_latex.[Ch]:
1171 * output_linuxdoc.[Ch]:
1172 * output_plaintext.[Ch]:
1174 * paragraph_funcs.[Ch]:
1175 * paragraph_pimpl.[Ch]:
1183 * frontends/controllers/ControlDocument.C:
1184 * frontends/controllers/ControlErrorList.C:
1185 * frontends/controllers/ControlSpellchecker.C:
1188 * insets/insetbase.h:
1189 * insets/insetbibitem.C:
1190 * insets/insetbox.C:
1191 * insets/insetbranch.C:
1192 * insets/insetcaption.C:
1193 * insets/insetcharstyle.C:
1194 * insets/insetcharstyle.h:
1195 * insets/insetcollapsable.C:
1196 * insets/insetcollapsable.h:
1197 * insets/insetert.C:
1198 * insets/insetfloat.C:
1199 * insets/insetfoot.C:
1200 * insets/insetmarginal.C:
1201 * insets/insetnote.C:
1202 * insets/insetoptarg.C:
1203 * insets/insettabular.C:
1204 * insets/insettext.C:
1205 * insets/insettext.h:
1206 * insets/insetwrap.C:
1207 * mathed/math_mboxinset.C:
1208 * mathed/math_nestinset.C:
1209 * mathed/math_scriptinset.C:
1210 * mathed/math_scriptinset.h:
1213 2004-03-24 Angus Leeming <leeming@lyx.org>
1215 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1216 deal with any child processes that have finished but are waiting to
1217 communicate this fact to the rest of LyX.
1219 2004-03-24 Angus Leeming <leeming@lyx.org>
1221 64-bit compile fixes.
1223 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1224 (c-tor): pass lyx::pos_types rather than ints.
1226 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1229 * text.C (Delete): compile fix.
1230 (getPar): ensure that function declaration is the same as that in
1233 2004-03-23 Angus Leeming <leeming@lyx.org>
1235 * ispell.C (LaunchIspell):
1236 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1237 a boost::shred_ptr rather than a std::auto_ptr.
1239 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1241 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1242 handle LFUN_FILE_INSERT_*
1244 * lyxrc.C (setDefaults, getDescription, output, read):
1245 * lyxrc.h: remove ps_command
1247 2004-03-22 Angus Leeming <leeming@lyx.org>
1249 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1250 Ensure that error_handler is processed once only and that all data
1251 is saved before attempting to output any warning messages.
1253 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1255 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1257 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1259 2004-03-19 André Pönitz <poenitz@gmx.net>
1261 * cursor.[Ch] (reset): take main text inset as argument
1263 * BufferView: adjust
1264 * BufferView_pimpl.C: adjust
1266 * paragraph.[Ch]: fix completely broken operator=()
1268 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1270 * LColor.C (getFromLyXName): make sure that the color name is used
1273 2004-03-17 Angus Leeming <leeming@lyx.org>
1276 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1278 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1279 dialog and to kill a forked process.
1281 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1283 * text2.C (setCursorFromCoordinates): fix font problem
1285 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1287 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1288 bogus "rebuild cursor" code
1290 2004-03-11 André Pönitz <poenitz@gmx.net>
1292 * buffer.[Ch]: use InsetText instead of LyXText as container for
1295 * dociterator.[Ch]: drop the BufferView * member which is not needed
1296 anymore after the change to buffer.C
1298 * paragraph_funcs.C:
1302 * BufferView_pimpl.[Ch]:
1304 * cursor_slice.[Ch]: adjust
1306 * text3.C: fix bug in mathDispatch
1308 2004-03-08 André Pönitz <poenitz@gmx.net>
1310 * undo.[Ch]: use 'StableDocumentIterator' as base for
1313 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1316 * bufferparams.[Ch]: add jurabib support and param.
1318 * LaTeX.C: add FIXME/comment.
1320 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1322 * buffer.C: increment file format to 230.
1324 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1326 * cursor.C (dispatch): avoid infinite loops
1328 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1330 * rowpainter.C (paintSelection): fix x coordinates
1332 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1334 * text.C (rowBreakPoint): fix breaking before displayed insets
1336 2004-03-01 André Pönitz <poenitz@gmx.net>
1338 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1340 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1344 * BufferView_pimpl.C:
1352 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1358 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1359 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1361 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1363 * Bidi.[Ch] (computeTables): const correctness
1364 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1365 fill_hfill, fill_label_hfill and x from Row
1366 * lyxtext.h: prepareToPrint returns a RowMetrics
1367 * rowPainter.C: adjust
1368 * text.C (prepareToPrint): use width, not textWidth. adjust
1369 (redoParagraphInternal, cursorX): adjust
1370 * text2.C (getColumnNearX): adjust
1371 (init): put a default value to the top LyXText::width
1373 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1375 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1377 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1379 * lyxtext.h: add FontIterator class
1381 * text.C (FontIterator, operator*, operator->, operator++): add
1382 (rowBreakPoint, setRowWidth): adjust (fixing a
1385 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1387 * BufferView_pimpl.C (workAreaDispatch): allow also
1388 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1390 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1392 * text.C (rowBreakPoint): fix a bug showing with very large insets
1394 2004-02-25 André Pönitz <poenitz@gmx.net>
1397 * cursor.[Ch]: move some mathed specific code to mathed
1399 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1401 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1402 use_tempdir in preferences
1403 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1405 * lyx_main.C: ensure that tempdir is valid
1406 * lyxlex.h: correct typo
1407 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1408 * paragraph.[Ch] (isMultiLingual): make const
1409 * cursor.[Ch] (openable): make const
1411 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1413 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1415 2004-02-20 André Pönitz <poenitz@gmx.net>
1417 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1419 * cursor.[Ch]: prepare for localized getStatus()
1425 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1427 2004-02-20 André Pönitz <poenitz@gmx.net>
1429 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1431 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1433 * text2.C (setCursorFromCoordinates): switch to absolute coords
1435 (cursorDown): adjust
1436 * text3.C (dispatch): adjust
1438 2004-02-16 André Pönitz <poenitz@gmx.net>
1440 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1443 * cursor_slice.[Ch]: remove unneeded acessor function
1445 * lyxtext.h: rename rtl() to isRTL()
1453 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1455 * rowpainter.C (paintSelection): coord fix
1457 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1459 * Spacing.C: compile fix
1461 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1463 * cursor.C (dispatch): restore current_ before returning
1465 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1467 * text2.C (cursorUp, cursorDown): fix coords
1470 2004-02-12 André Pönitz <poenitz@gmx.net>
1475 * text3.C: add LCursor & parameter to most cursor movement functions
1476 remove usage of LyXText::cursorRow() and cursorPar()
1478 * cursor.[Ch]: add textRow() needed members
1481 * BufferView_pimpl.C:
1484 * BufferView_pimpl.C: adjust
1486 2004-02-11 André Pönitz <poenitz@gmx.net>
1490 * BufferView_pimpl.C: shift undo/redo handling
1492 * cursor.[Ch]: fix mathed crash
1495 * lyxtext.h: move selectionAsText to LCursor
1503 * rowpainter.C: fix excessive drawing
1505 2004-02-06 André Pönitz <poenitz@gmx.net>
1508 * BufferView_pimpl.[Ch]:
1509 * text3.C: move some text specific LFUN handling
1511 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1513 * text3.C (checkInsetHit): adjust coords
1514 * text2.C (getColumnNearX): adjust coords
1515 (edit): adjust coords
1516 * text.C (getRowNearY): add two asserts
1518 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1521 * format.C: add using std::distance to compile on gcc 2.95/stlport
1523 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1525 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1527 2004-02-04 André Pönitz <poenitz@gmx.net>
1529 * BufferView.[Ch] (insertInset):
1530 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1535 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1537 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1538 on the default clause of the switch
1539 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1540 wasn't catched by LCursor::dispatch
1542 2004-02-03 André Pönitz <poenitz@gmx.net>
1545 * cursor.[Ch]: some additional asserts
1547 * undo.[Ch]: remove LyXText dependency in interface
1551 * lyxtext.h (firstPar, lastPar): remove dead functions
1556 * paragraph.[Ch]: adjust
1558 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1560 * lyxfind.C (find): fix argument order in call to ::find
1562 2004-02-02 André Pönitz <poenitz@gmx.net>
1564 * cursor.[Ch]: remove direct access to anchor
1566 * text.C: remove findText() hack
1568 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1570 * iterators.[Ch] (lockPath): remove in favour of...
1571 * BufferView.[Ch] (setCursor): this addition
1572 * BufferView.C (putSelectionAt): adjust
1573 * undo.C (performUndoOrRedo): adjust
1574 * lyxfunc.C (dispatch): adjust
1576 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1578 * iterators.C (lockPath): add a missing slice
1579 * undo.C (performUndoOrRedo): remove redundant positioning code
1581 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1583 * vc-backend.C (scanMaster): ";" -> ';'
1585 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1587 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1588 std::binary_function
1590 * lyxtextclass.C (compare_name): rename to...
1591 (LayoutNamesEqual): ...this
1593 * lyxlex_pimpl.C (compare_tags): inherit from
1594 std::binary_function, put back into anon namespace
1596 * lyxfind.C (MatchString): inherig from std::binary_function
1597 (findChange): use empty() istead of !size()
1599 * format.C (FormatNamesEqual): new functor
1606 * converter.C (compare_Converter): rename to...
1607 (ConverterEqual): ...this, and fixup a bit.
1608 (getConverter): use it, and make function const
1609 (getNumber): use it, and make function const
1613 * bufferlist.C: add using boost::bind
1615 * MenuBackend.C (MenuNamesEqual): new functor
1616 (hasMenu): use it, and make function const
1617 (hasSubmenu): use nested bind to get rid of compare_memfun.
1619 2004-01-30 André Pönitz <poenitz@gmx.net>
1621 * BufferView_pimpl.C:
1624 * cursor_slice.[Ch]:
1627 * paragraph_funcs.C:
1628 * paragraph_funcs.h:
1632 * text3.C: move some of the edit(x,y) handling to the insets
1633 some coordinate changes.
1635 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1637 * text.C: add using statements for std::advance and std::distance
1639 * paragraph.C: add using statement for std::distance
1641 * lyxfind.C: add using statement for std::advance
1643 * cursor.C (region): remove std:: from swap
1644 (openable): use nucleus in stead of operator->
1646 * BufferView.C: add using statements for std::distance and std::swap
1648 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1650 * iterators.C: Remove the pimple, move the needed structures to
1651 the header file. Create accessor for the positions stack.
1652 (asPosIterator): remove function
1654 * PosIterator.C (PosIterator): move constructors to top of file
1655 (PosIterator): reimplement the constructor taking a ParIterator in
1657 (setFrom): new function
1658 (operator!=): inline it
1660 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1662 * lyxfind.C (replaceAll): use std::advance
1664 * iterators.h: inherit from std::iterator.
1666 * PosIterator.C (advance, distance): remove
1667 * PosIterator.h: interit from std::iterator.
1669 2004-01-26 André Pönitz <poenitz@gmx.net>
1672 * BufferView_pimpl.[Ch]:
1676 * bufferview_funcs.C:
1686 * output_linuxdoc.C:
1687 * output_plaintext.C:
1689 * paragraph_funcs.[Ch]:
1690 * paragraph_pimpl.[Ch]:
1696 * text3.C: more IU: dumps most of the rest of the mathcursor
1697 implementation into cursor.[Ch]; "globalize" a bit of it.
1699 2004-01-25 Angus Leeming <leeming@lyx.org>
1701 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1703 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1705 * LaTeXFeatures.h: add nice_ and nice() const
1706 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1708 2004-01-20 André Pönitz <poenitz@gmx.net>
1711 * BufferView_pimpl.C:
1713 * bufferview_funcs.C:
1715 * cursor_slice.[Ch]:
1726 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1727 LCursor and mathcursor parts to LCursor and InsetBase.
1729 2004-01-15 André Pönitz <poenitz@gmx.net>
1731 * cursor_slice.[Ch]: add a few covienience functions
1733 * funcrequest.[Ch]: remove BufferView * member
1735 * BufferView_pimpl.C:
1742 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1744 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1746 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1747 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1749 2004-01-13 André Pönitz <poenitz@gmx.net>
1752 * lyxtext.h: hide cursor and selection anchor behind accessor function
1755 * BufferView_pimpl.[Ch]:
1757 * bufferview_funcs.C:
1767 * cursor_slice.[Ch]: some integer type changes for inset unification
1769 * lyxcursor.[hC]: remove, it's CursorSlice now.
1772 * BufferView_pimpl.[Ch]:
1773 * bufferview_funcs.C:
1779 * textcursor.[Ch]: adjust
1781 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1783 * text2.C (undoSpan): add and use
1784 * text.C (breakParagraph): use undoSpan (fix bug 578)
1787 2004-01-08 Angus Leeming <leeming@lyx.org>
1789 * BufferView_pimpl.C (MenuInsertLyXFile):
1790 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1791 * lyxfunc.C (menuNew, open, doImport):
1792 FileFilterList change to the FileDialog open and save functions.
1794 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1796 * ShareContainer.h: make isEqual and isUnique adaptable
1798 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1800 2004-01-07 Angus Leeming <leeming@lyx.org>
1803 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1805 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1807 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1808 functions replacing find, replace and replaceAll.
1810 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1811 LFUN_WORDFIND(FORWARD|BACKWARD).
1813 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1815 * text.C (breakParagraph): remove an outdated #warning
1817 2004-01-07 André Pönitz <poenitz@gmx.net>
1819 * lyxfind.C: somewhat clearer logic
1821 * text.C: prevent crash in cursorX on unitialized row cache
1823 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1825 * lyxcursor.[Ch] (operator>): add
1826 * textcursor.C (selStart, selEnd): use std::min and std::max
1828 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1830 * Chktex.C: include boost/format.hpp
1832 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1834 * InsetList.C: replace functor MathcIt with adaptable functor
1836 (insetIterator): modify accordingly
1838 * BranchList.h: move the BranchNamesEqual functor here from...
1839 * BranchList.C: ... to here
1841 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1843 (add): replace a finding loop with std::find_if.
1845 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1847 * output_docbook.C: moving LatexParam functionality into
1850 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1852 * buffer.C: increment format to 229.
1854 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1857 * lyx_sty.[Ch]: remove minipageindent_def
1863 * text3.C: remove LFUN_INSET_MINIPAGE
1865 2003-12-28 Angus Leeming <leeming@lyx.org>
1867 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1869 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1871 * text2.C (setParagraph): fix off-by-one crash
1873 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1875 * output_docbook.C: header stuff for AGU
1877 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1879 * text2.C (redoCursor): remove
1882 * BufferView_pimpl.C: remove calls to redoCursor and
1883 setCursor(cursor.par(), cursor.pos()) all around
1885 2003-12-15 Angus Leeming <leeming@lyx.org>
1887 * buffer.C: up the format to 228.
1889 2003-12-15 André Pönitz <poenitz@gmx.net>
1891 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1896 * BufferView_pimpl.C:
1905 2003-12-15 Angus Leeming <leeming@lyx.org>
1907 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1908 than getFromGUIName to manipulate the color.
1910 2003-12-14 Angus Leeming <leeming@lyx.org>
1912 * BranchList.[Ch]: minimize the API.
1913 (Branch::getBranch, getColor): now return a 'const &'.
1914 (Branch::setSelected) now returns a bool set to true if the
1915 selection status changes.
1916 (BranchList::clear, size, getColor, setColor, setSelected,
1917 allBranches, allSelected, separator): removed.
1918 (BranchList::find): new functions, returning the Branch with
1920 (BranchList::add, remove): return a bool indicating that
1921 the operation was successful.
1923 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1924 new InsetBranch::isBranchSlected member function.
1926 * LColor.[Ch]: mimimize the API.
1927 (fill): renamed as addColor and made private.
1928 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1929 versions of these functions taking a string arg have been removed.
1931 * bufferparams.C (readToken):
1932 * lyxfunc.C (dispatch):
1933 * lyxrc.C (read): changes due to the altered BranchList and
1936 * factory.C (createInset, readInset): changes due to altered
1939 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1942 * lyxfunc.C: remove insetminipage. "minipage-insert"
1943 now produces a frameless minipage box inset.
1945 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1947 * textcursor.[Ch] (selStart,selEnd): add new methods
1948 remove selection::start, end, use LyXCursor::operator<
1949 * lyxcursor.[Ch] (operator<): add
1950 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1951 * BufferView.[Ch] (unsetXSel): add
1952 * text2.C (clearSelection): use unsetXSel,adjust
1955 * rowpainter.C: adjust
1956 * bufferview_funcs.C (put_selection_at): adjust
1958 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1960 * BufferView_pimpl.C: small coord. correction
1962 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1964 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1965 dragging over the splash screen.
1967 2003-12-11 Angus Leeming <leeming@lyx.org>
1969 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1970 as it is now handled in LyXText::dispatch.
1972 * text3.C (doInsertInset): remove a level of nesting.
1974 2003-12-11 Angus Leeming <leeming@lyx.org>
1976 * factory.C (createInset): changes due to the changed interface to
1977 InsetCommandMailer::string2params.
1979 2003-12-10 Angus Leeming <leeming@lyx.org>
1981 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1982 'dialog-show-new-inset <inset name>'
1984 2003-12-10 Angus Leeming <leeming@lyx.org>
1986 * buffer.C: up the format to 227.
1988 * factory.C: the box inset is now identified simply by 'Box'.
1990 2003-12-10 Angus Leeming <leeming@lyx.org>
1992 * buffer.C: up the format to 226.
1994 * factory.C: the note inset is now identified simply by 'Note'.
1996 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1998 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1999 when a pit is enough. Standarize a couple of loops.
2001 2003-12-05 Angus Leeming <leeming@lyx.org>
2003 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2004 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2005 data to the re-worked "log" dialog.
2007 2003-12-03 André Pönitz <poenitz@gmx.net>
2013 * paragraph_funcs.C:
2015 * text2.C: use Inset::getText instead of Inset::getParagraph
2017 2003-12-03 André Pönitz <poenitz@gmx.net>
2021 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2022 InsetText::read() as LyXText::read()
2024 2003-12-02 Angus Leeming <leeming@lyx.org>
2026 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2027 type. Add a comment in the implementation that the function uses
2028 the stream's bad() function rather than fail() as the std::streams
2031 2003-12-02 André Pönitz <poenitz@gmx.net>
2033 * lyxlex.[Ch]: make interface more similar to std::stream
2035 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2037 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2039 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2041 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2043 * vspace.[Ch]: remove VSpace::NONE
2045 2003-12-01 André Pönitz <poenitz@gmx.net>
2048 * lyxtext.h: move ParagraphList member to LyXText
2049 rename LyXText::ownerParagraphs to LyXText::paragraph
2052 * bufferview_funcs.C:
2062 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2064 * undo.C: fix cursor positioning
2066 2003-12-01 John Levon <levon@movementarian.org>
2068 * BufferView_pimpl.C: fix a crash on exit with
2071 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2073 * BranchList.C: fix setSelected() method.
2075 2003-11-28 André Pönitz <poenitz@gmx.net>
2077 * ParagraphParameters.[Ch]:
2078 * ParameterStruct.h: remove space above/below from Paragraph to
2081 * BufferView_pimpl.C:
2087 * paragraph_funcs.C:
2093 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2095 * factory.C: Syntax change for CharStyles
2097 2003-11-28 André Pönitz <poenitz@gmx.net>
2102 * buffer.[Ch]: move LyXText member
2104 2003-11-28 André Pönitz <poenitz@gmx.net>
2106 * BufferView.[Ch]: make LyXText * text a private member
2108 * BufferView_pimpl.C:
2119 * output_plaintext.C: cleanup
2121 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2124 * lyxtextclass.[Ch]: parametrize SGML document header
2126 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2129 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2132 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2134 * text2.C (setFont): rework using PosIterator (no more recursive)
2135 (setCharFont): no more needed
2136 (setLayout): no more selection cursors fiddling (done by redoCursor)
2137 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2138 destroy remaining ones)
2140 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2142 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2144 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2147 * text3.C: adjust + re-allow multi par depth changes
2148 * textcursor.C: simplify a bit
2150 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2156 * src/output_docbook.C:
2157 * src/output_latex.C:
2162 * src/text2.C: Introducing a number of tags parametrizing various
2163 XML formats that we may want to support
2165 2003-11-25 André Pönitz <poenitz@gmx.net>
2167 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2169 * lyxtext.h (leftMargin/rightMargin): simplify interface
2176 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2178 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2179 master file to any child files. Fixes bug 546.
2181 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2183 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2185 2003-11-24 André Pönitz <poenitz@gmx.net>
2187 * rowpainter.C: simplification
2189 * text2.C (updateCounters): remove call to redoParagraph on
2190 changed labels as this is far too expensive.
2192 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2194 * converter.C (convert): fix a crash: this function gets
2195 called with buffer == 0 from importer code.
2197 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2199 * text3.C (cursorPrevious): make sure that we do not compare
2200 iterators form different containers.
2203 * rowpainter.C (paintSelection): make sure that we do not compare
2204 iterators from different containers.
2206 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2207 iterators from different ParagraphList containers.
2210 * text2.C (LyXText): change order of initialization slightly
2211 (operator=): new function. copy all variables except cache_par_
2212 (moveUp): make sure that we do not compare iterators from
2213 different ParagraphList constainers.
2216 * text.C (firstPar): new function
2217 (lastPar): new function
2218 (endPar): new function
2220 * lyxtext.h: move things around and group public functions, public
2221 variables, private functions, private variables
2223 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2225 * factory.C: change call to InsetERT constructor to avoid
2226 additional invocation of method status
2227 * text2.C (toggleInset): remove redundant update() call
2228 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2229 instead of a Bufferview pointer
2231 2003-11-21 André Pönitz <poenitz@gmx.net>
2233 * rowpainter.C: simplification
2235 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2237 * text3.C (dispatch): make possible to extend a word/row selection
2240 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2242 * lyxtext.h: x0_,y0_ -> xo_,yo_
2243 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2244 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2245 * rowpainter.C (paintRows): paint full paragraphs
2247 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2249 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2252 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2254 * lyxtext.h: add x0_, y0_
2255 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2256 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2258 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2260 * text2.C (setCursorIntern): move the x_target update here *
2261 * text3.C: change some bv() to true/false in calls to
2262 cursorUp/Down/Right/Left
2263 * cursor.C: use helper function.
2265 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2267 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2268 * paragraph_funcs.[Ch]: correct comment
2269 * rowpainter.C: do not paint selections away from bv->cursor()
2270 Fix a long standing selection painting bug.
2271 * text3.C: generalize mouse-selection code to LyXTexts other that
2273 * textcursor.C: do not use y coords if we can use par offsets
2275 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2277 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2278 cursor position after e.g. inset insert)
2280 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2282 * lyxfind.C (replace): adjust to locking removal + some
2285 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2287 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2290 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2293 * output_docbook.C: XML sanitation: new layout
2294 parameters InnerTag and CommandDepth
2296 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2298 * BufferView_pimpl.C:
2300 * text3.C: Fix the insertion and modification of button-style
2303 2003-11-13 André Pönitz <poenitz@gmx.net>
2305 * InsetList.[Ch]: remove deleteLyXText
2307 * paragraph.[Ch]: cache beginOfBody position
2312 * text3.C: remove superfluous update() calls
2316 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2318 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2319 * BufferView.C (fitLockedInsetCursor): remove
2320 * cursor.[Ch] (getDim): add
2321 * text.C (getRowNearY): add faster version
2322 * text3.C: remove some update calls
2324 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2336 * text3.C: The Character Style /XML short element patch.
2338 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2341 * factory.C: Small step to solving 'unable to insert some insets'
2344 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2346 * cursor.[Ch] (updatePos): new function for updating the y
2347 position of the tip inset
2348 * bufferview_funcs.C (put_selection_at):
2349 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2351 2003-11-11 André Pönitz <poenitz@gmx.net>
2353 * text.C: remove big comment on invalid Paragraph pointers as it is
2356 2003-11-11 André Pönitz <poenitz@gmx.net>
2358 * text_funcs.[Ch]: merge with ...
2366 * Makefile.am: remove text_funcs.[Ch]
2368 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2370 * cursor.C (getPos): return absolute cached y coord
2372 * BufferView_pimpl.C (fitCursor): new simplistic code
2373 (workAreaDispatch): add a fitCursor call
2375 2003-11-10 André Pönitz <poenitz@gmx.net>
2378 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2380 2003-11-10 André Pönitz <poenitz@gmx.net>
2382 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2383 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2384 indicate that the cursor needs to leave an inset
2386 * lyxtext.h: remove inset locking
2388 * cursor.[Ch]: re-implement functionality provided by inset locking
2391 * BufferView_pimpl.[Ch]:
2393 * bufferview_funcs.[Ch]:
2405 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2407 * PosIterator.[Ch]: replace the stack with a vector, add inset
2409 * iterators.[C]: adjust
2411 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2413 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2415 * paragraph_funcs.C (readParToken): put the correct id in the
2416 error item, not the id of the top paragraph
2418 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2420 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2421 * bufferview_funcs.C (put_selection_at): use the above
2423 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2425 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2427 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2429 * output_linuxdoc.h:
2430 * output_plaintext.h:
2432 * output_docbook.h: add #include statements
2434 2003-11-05 José Matos <jamatos@lyx.org>
2436 * output_docbook.[Ch]:
2437 * output_latex.[Ch]:
2438 * output_linuxdoc.[Ch]:
2439 * output_plaintext.[Ch]: New files for output formats.
2440 * output.[Ch]: New file for helper functions.
2443 * paragraph_funcs.[Ch]: output functions moved to new files.
2445 * outputparams.h: rename of latexrunparams.h
2453 * paragraph_funcs.[Ch]:
2454 * paragraph_pimpl.[Ch]:
2455 * tabular.[Ch]: rename ascii to plaintext
2456 and LatexRunParams to OutputParams.
2458 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2460 * iterators.[Ch] (text): require bv argument
2461 * undo.C (recordUndo):
2462 * lyxfunc.C (dispatch):
2463 * bufferview_funcs.C (put_selection_at): adjust
2465 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2467 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2469 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2471 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2474 2003-11-04 André Pönitz <poenitz@gmx.net>
2476 * cursor.[Ch]: restructure
2479 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2481 * iterators.[Ch] (asCursor): remove
2483 * lfuns.h: remove LFUN_INSET_EDIT
2489 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2491 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2493 * lyxfind.[Ch]: complete overhaul
2494 * BufferView_pimpl.C:
2496 * paragraph.[Ch] (insert): add
2498 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2502 * text.C: remove dead spellcheck code
2504 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * dispatchresult.h: add a val setter
2508 * cursor.C (dispatch): use a tempvar for data_[i]
2510 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2512 * PosIterator.[Ch]: compile fix
2514 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2516 * text.C (cursorPar): deactivate the cursor cache
2518 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2520 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2522 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2524 * text3.C (dispatch): adjust for new DisptchResult semantics.
2526 * lyxfunc.C (dispatch): handle update when return from
2527 Cursor::dispatch, adjust for new DispatchResult semantics.
2529 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2530 DispatchResult(true) mean to not update. Add class functions for
2531 setting dispatched and update, as well as reading.
2533 * cursor.C (dispatch): don't handle update here
2535 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2537 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2538 * trans_mgr.C: adjust
2540 * paragraph_funcs.C (readParToken): exception safety
2542 * lyxvc.h: store the vcs pointer in a scoped_ptr
2545 * lyxsocket.C (serverCallback): exception safety
2547 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2549 * ispell.C (clone): make it return a auto_ptr
2551 * factory.C (createInset): exception safety
2552 (readInset): exception safety
2554 * bufferlist.C (newBuffer): exception safety
2556 * Thesaurus.C (Thesaurus): use initialization for aik_
2558 * MenuBackend.C (expandToc): exception safety.
2560 2003-11-03 André Pönitz <poenitz@gmx.net>
2564 * bufferview_funcs.C: remove getInsetFromId()
2567 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2573 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2575 * PosIterator.C (distance, advance): new
2576 * bufferview_funcs.[Ch] (put_selection_at): new
2577 * iterators.[Ch] (lockPath): new
2579 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2581 * iterators.[Ch] (asPosIterator): added
2582 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2583 * PosIterator.[Ch]: added
2585 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2589 * cursor.C (dispatch):
2590 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2592 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2593 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2594 contructor, add a class function dispatched. Remove operator>=
2596 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2598 * debug.C: only use the default constructor for debugstream
2601 * main.C (main): include debug.h and setup the lyxerr streambuf
2604 2003-10-31 José Matos <jamatos@lyx.org>
2606 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2608 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2609 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2610 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2611 * paragraph_pimpl.C (simpleTeXSpecialC):
2612 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2613 add LatexRunParams argument.
2615 * exporter.C (Export): change call accordingly.
2617 * latexrunparams.h: add new member to take care of the other backends.
2618 2003-10-30 José Matos <jamatos@lyx.org>
2620 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2621 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2622 factorise code for paragraph output.
2624 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2627 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * text3.C (dispatch):
2630 * lyxfunc.C (dispatch):
2631 * cursor.C (dispatch):
2632 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2634 * dispatchresult.h: make the dispatch_result_t ctor explicit
2636 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2639 * buffer.C: small refactoring of docbook stuff
2641 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2646 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2648 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2649 operator dispatch_result_t, and operators for == != and >=
2651 * cursor.C (dispatch): adjust for operator dispatch_result_t
2652 removal. comment out call to update
2654 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2656 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2664 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2667 * dispatchresult.h: new file, DispatchResult broken out of
2670 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2672 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2674 * text.C (rowBreakPoint): put a hack inside #if 0
2676 2003-10-28 André Pönitz <poenitz@gmx.net>
2680 * paragraph_funcs.C:
2683 * text2.C: general cleanup (lots of small stuff)
2685 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2687 * text2.C (cursorEnd): simple fix to the "end key goes to one
2688 before the end on last row" bug
2690 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2692 * text.C (backspace): fix the "zombie characters"
2694 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2696 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2698 2003-10-27 André Pönitz <poenitz@gmx.net>
2700 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2702 * factory.C: handle new InsetPagebreak, InsetLine
2704 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2705 and move handling into new InsetPagebreak, InsetLine
2707 * BufferView_pimpl.C:
2709 * ParagraphParameters.C:
2710 * ParameterStruct.h:
2715 * paragraph_funcs.C:
2716 * paragraph_pimpl.C:
2722 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2725 * lyxrow_funcs.[Ch]:
2731 * text3.C: remove lastPos uses in favour of Row::endpos
2733 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2735 * undo.C (performUndoOrRedo): fix two crashes by setting a
2736 cursor by hand and reordering some calls. Use bv->lockInset instead
2737 of inset->edit because the latter loses cursor information
2739 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2741 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2743 (rowBreakPoint): fix width. change point to point + 1.
2744 Add a missing check.
2746 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2749 * lyxfunc.C: fix (at least partly) the problems
2750 with the Nav menu and headers inside branch insets
2753 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2755 * paragraph.C (getChar): add strong asserts
2757 * lyxrow_funcs.C (lastPos): remove hideous hack
2759 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2760 (fill): adjust to that (avoid an infinite loop)
2762 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2764 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2766 2003-10-23 André Pönitz <poenitz@gmx.net>
2768 * RowList_fwd.h: change list<> to vector<> to gain speed
2769 after suggestion from Alfredo
2771 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2773 * lyxtext.h: move the bidi stuff from here...
2776 * Bidi.[Ch]: ... to here
2778 2003-10-23 André Pönitz <poenitz@gmx.net>
2781 * text.C (isLastRow, isFirstRow): new functions
2783 * paragraph.h: new width cache member
2785 * rowpainter.C: replace RowList::iterator with Row & where possible
2787 * lyxfunc.C: replace several view()->text with a single call
2789 * toc.C: fix 'unused' warning
2791 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2793 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2794 when woring with stream::pos_type
2795 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2797 2003-10-22 André Pönitz <poenitz@gmx.net>
2800 * text.C: use Row & instead of RowList::iterator
2802 * lyxrow.h: rename end() to endpos()
2808 2003-10-22 Angus Leeming <leeming@lyx.org>
2810 * buffer.[Ch] (fully_loaded): new member function, returning true
2811 only when the file has been loaded fully.
2812 Used to prevent the premature generation of previews and by the
2813 citation inset to prevent computation of the natbib-style label.
2815 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2816 templates are all set up.
2818 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2820 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2822 * text.C: fixed an "oops" in the "is a bit silly"
2825 2003-10-21 André Pönitz <poenitz@gmx.net>
2827 * FuncStatus.[Ch]: small stuff, whitespace
2829 * lyxfont.[Ch]: operator<<() for debug reasons
2833 * lyxtext.h: whitespace, spelling
2835 * paragraph.C: naming of variables
2838 * text2.C: small stuff
2841 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2843 * text.C: (1) finish off the inset display() work;
2844 (2) fix the "is a bit silly" bug (accessing char
2847 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2849 * text.C: re-introduce display() for insets, fixing the
2850 various bugs (stretch of line above, math inset
2853 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2855 * text.C (rightMargin): remove spurious semicolon
2857 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2860 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2862 * text3.C: fix one crash due to wrong cursor def
2864 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2866 * vc-backend.C (scanMaster): make the regex static
2868 * LaTeX.C (scanAuxFile): make the regexs static
2870 * text3.C (doInsertInset, dispatch, dispatch):
2871 * text2.C (cursorUp, cursorDown):
2872 * text.C (selectNextWordToSpellcheck):
2873 * BufferView_pimpl.C (dispatch):
2874 * lyxfunc.C (dispatch): localDispatch -> dispatch
2876 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2878 * lyxsocket.C: include <cerrno>
2880 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2882 * lyxfunc.C (dispatch): remove textcache stuff
2884 * bufferlist.C (release): remove textcache stuff
2887 * TextCache.C: delete file
2888 * TextCache.h: delete file
2890 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2892 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2893 delete of the bv_->text.
2894 (resizeCurrentBuffer): remove texcache stuff
2895 (workAreaResize): ditto
2897 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2899 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2902 2003-10-16 André Pönitz <poenitz@gmx.net>
2909 * text3.C: speed up by storing y positions per paragraph plus per-row
2910 offset instead of having a 'full' y position in the row.
2912 2003-10-15 André Pönitz <poenitz@gmx.net>
2916 * undo.[Ch]: make undo aware of inner insets
2918 2003-10-14 Angus Leeming <leeming@lyx.org>
2920 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2921 static member functions LyX::ref() and LyX::cref.
2922 (lastfiles): new accessor functions for the new lastfiles_ member var.
2923 (addLyXView, views_): add a new LyXView to the list of views_.
2924 (updateInset): loop over all LyXViews to call their own updateInset
2925 member function, returning a pointer to the Buffer owning the inset.
2927 * BufferView_pimpl.C (loadLyXFile):
2928 * MenuBackend.C (expandLastfiles):
2929 * bufferlist.C (MenuWrite, QuitLyX):
2930 lastfiles is no longer a global variable.
2931 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2933 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2934 static function. Access through LyX::cref().emergencyCleanup().
2936 2003-10-14 André Pönitz <poenitz@gmx.net>
2938 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2940 * undo.[Ch]: restoring part of 'undo in insets'
2943 * undo_funcs.[Ch]: merge with undo.[Ch]
2945 * tabular.C: small cleansing stuff
2947 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2949 * paragraph_funcs.C (readParToken): report unknown insets as error
2950 boxes. Use the outer paragraph as location (also for unknown
2953 * factory.C (readInset): do not abort on reading an unknown inset.
2954 Eat it and return 0.
2956 2003-10-13 Angus Leeming <leeming@lyx.org>
2958 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2960 * lyxrc.C: displayTranslator is now a function,
2961 declared in GraphicsTypes.h.
2963 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2965 * format.C: new placeholder $$a to pass the socket address.
2967 * bufferlist.[Ch]: new function getBufferFromTmp.
2969 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2970 files in the temporary dir.
2972 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2974 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2976 * Makefile.am: add lyxsocket.[Ch].
2978 * lyx_main.C (error_handler): handle SIGPIPE.
2980 2003-10-13 André Pönitz <poenitz@gmx.net>
2982 * BufferView_pimpl.C:
2987 * undo_funcs.[Ch]: use paroffset_type instead of
2988 ParagraphList::iterators to prevent multiple conversion
2989 (and get a more robust interface)
2991 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2995 * text3.C (dispatch): ditto
2997 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2999 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3000 move the onlyfile, use onlyfile instead of foundfile in a couple
3003 * DepTable.C (update): flush the error stream a bit more
3005 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3007 * lyxserver.C (callback): adjust
3009 * lyxfunc.C (getStatus): add a missing brace in commented code
3010 (ensureBufferClean): reindent
3011 (dispatch): delete version taking a string
3013 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3015 * LaTeX.C (deplog): move found file handlig from here...
3016 (handleFoundFile): .. to new function here.
3017 (deplog): make sure to discover several files mentioned on the
3020 2003-10-10 André Pönitz <poenitz@gmx.net>
3027 * text3.C: fix some of the tabular crashes
3029 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3031 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3033 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3035 2003-10-09 André Pönitz <poenitz@gmx.net>
3037 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3040 * BufferView_pimpl.C:
3041 * bufferview_funcs.C:
3052 * undo_funcs.C: adjust
3054 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3056 * text2.C (incrementItemDepth): new function, use a backtracking
3057 algorithm to discover the correct item depth.
3058 (resetEnumCounterIfNeeded): new function, use a backtracking
3059 algorithm to discover if counter reset is needed.
3060 (setCounter): use them. Simplify a bit. Add different labels for
3061 different item depths for itemize.
3063 * paragraph.C (Paragraph): remove initialization of enumdepth
3066 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3067 enumerate and itemize. Change the type of itemdepth to signed char.
3069 2003-10-08 André Pönitz <poenitz@gmx.net>
3071 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3076 * tabular.[Ch]: fix crash after 'row-insert'
3078 2003-10-08 Angus Leeming <leeming@lyx.org>
3080 Fix doxygen warnings.
3082 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3083 Remove CutAndPaste:: prefix from header file declaration.
3085 * LColor.h (fill): remove LColor:: prefix from declaration.
3087 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3088 use lyx::depth_type rather than Paragraph::depth_type so that
3089 header file and .C file match.
3091 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3093 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3094 * aspell.C: \file aspell_local.C -> \file aspell.C
3095 * gettext.C: \file gettext.C -> \file src/gettext.C
3096 * gettext.h: \file gettext.h -> \file src/gettext.h
3097 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3098 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3099 * text.C: \file text.C -> \file src/text.C
3101 * toc.C: move comment so that doxygen is not confused.
3103 2003-10-07 Angus Leeming <leeming@lyx.org>
3105 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3107 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3110 * aspell_local.h: add forgotten std::string's.
3112 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3119 * text3.C: The Box patch. Fancybox support, minipage, parbox
3121 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3127 * ParagraphParameters.h:
3137 * lyxtextclasslist.h:
3140 * paragraph_pimpl.C:
3141 * textcursor.h: add <string> and other small fixes to make Lars'
3142 std::string patch compile with STLport.
3144 2003-10-06 Angus Leeming <leeming@lyx.org>
3146 * LColor.h: Add missing #include <string>.
3148 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3150 * All most all file in all subdirs: Make <string> be the prefered
3151 way of getting to std::string, add using declarations.
3153 2003-10-06 André Pönitz <poenitz@gmx.net>
3155 * metricsinfo.C: initialize LyXFont before changing attribute.
3156 (fixes the 'math in \emph is upright' bug)
3158 2003-10-06 André Pönitz <poenitz@gmx.net>
3160 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3162 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3165 * paragraph_pimpl.C: Small fixes to build using STLport
3167 2003-10-02 André Pönitz <poenitz@gmx.net>
3170 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3172 2003-10-01 André Pönitz <poenitz@gmx.net>
3174 * factory.C: assert early
3176 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3178 * lyx_main.C: remove the global debug object
3180 * debug.h: adjust for new debugstream
3182 * debug.C: adjust for new debugstream and keep the global debug
3185 2003-09-22 Angus Leeming <leeming@lyx.org>
3187 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3188 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3189 an incomplete class LyXFont.
3191 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3193 * factory.C: bug fix in branches
3195 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3197 * lyxfunc.C (processKeySym): adjust
3199 (dispatch): change arg name from ev to func, adjust
3200 (sendDispatchMessage): ditto
3202 * lyx_main.C (defaultKeyBindings): adjust keybindings
3203 (deadKeyBindings): ditto
3205 * kbsequence.C (addkey): return a FuncRequest
3207 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3209 * kbmap.C (bind): take a FuncRequest as arg, adjust
3212 (defkey): change to take a FuncRequest as arg, adjust
3213 (findbinding): take a FuncRequest as arg, adjust.
3215 * funcrequest.h (operator=): added
3217 * funcrequest.C (FuncRequest): default kb_action changed from
3218 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3220 * buffer.C (dispatch): simplify
3221 (dispatch): adjust to take a FuncRequest as arg, adjust
3223 * boost.C (assertion_failed): change assertion message slightly
3225 * ToolbarBackend.C (read): simplify
3227 * MenuBackend.C (binding): adjust call to findbinding, add a
3228 message if no binding is found.
3230 (expandToc): correct by adding a empty FuncRequest
3232 * LyXAction.C: include <boost/assert.hpp>
3233 (isPseudoAction): delete function
3234 (LookupFunc): change name to...
3235 (lookupFunc): this. change return type to FuncRequest.
3236 (getActionName): take kb_action as arg, simplify
3237 (funcHasFlag): add an assert, simplify.
3239 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3241 * toc.C (action): return a FuncRequest, simplify
3243 * lyxfunc.C (processKeySym): adjust
3244 (getStatus): delete version that takes an int.
3246 (dispatch): delete version that takes action as int
3248 (sendDispatchMessage): simplify and adjust
3250 * funcrequest.C (getArg): take unsigned int as arg
3252 * ToolbarBackend.C (read): adjust
3253 (add): delete version that takes func as a string.
3254 (getIton): take a FuncRequest as arg
3256 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3259 * MenuBackend.C (MenuItem): add a new construct that only takes a
3260 Kind, simplify the constructor use for submenus.
3262 (expandLastfiles): adjust
3263 (expandDocuments): adjust
3264 (expandFormats): adjust
3265 (expandFloatListInsert): adjust
3266 (expandFloatInsert): adjust
3267 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3269 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3270 Remove class variables lyx_pseudo_map and lyx_arg_map
3272 * LyXAction.C (searchActionArg): delete function
3273 (getPseudoAction): delete function
3274 (retrieveActionArg): delete function
3275 (LookupFunc): make it return kb_action, simplify.
3276 (getActionName): simplify
3278 * factory.C (createInset): fix new bug
3280 2003-09-19 Angus Leeming <leeming@lyx.org>
3282 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3283 masterFilename_ parameter in the include inset.
3285 * factory.C (createInset): changes due to the changes to InsetInclude.
3287 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3289 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3291 2003-09-18 Angus Leeming <leeming@lyx.org>
3294 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3295 Inset::fillWithBibKeys.
3296 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3298 2003-09-18 Angus Leeming <leeming@lyx.org>
3300 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3302 (ctor): pass and store a 'Buffer const &'
3303 (buffer): new member function.
3305 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3306 '*this' to the LaTeXFeatures ctor.
3308 2003-09-18 Angus Leeming <leeming@lyx.org>
3314 * text.C: rename EnumLColor as LColor_color.
3316 2003-09-18 Angus Leeming <leeming@lyx.org>
3318 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3319 remove #include "insets/insetbase.h" from cursor.h.
3321 2003-09-18 Angus Leeming <leeming@lyx.org>
3323 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3324 InsetOld_code to remove #include "inset.h".
3326 * iterators.C: add #include "insets/inset.h"
3328 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3330 * BufferView.C: remove more locking stuff that apparently doesn't
3331 do anything sensible.
3333 2003-09-16 André Pönitz <poenitz@gmx.net>
3336 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3339 2003-09-16 Angus Leeming <leeming@lyx.org>
3341 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3343 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3346 * paragraph.h: remove #include "lyxfont.h". Forward declare
3349 2003-09-16 Angus Leeming <leeming@lyx.org>
3351 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3352 of support/textutils.h.
3353 (isWord): move the contents of support/textutils.h's IsWordChar here.
3359 * text2.C: add #include "paragraph.h".
3362 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3364 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3370 * LaTeX.C: use namespace alias for lyx::support::os
3372 2003-09-16 Angus Leeming <leeming@lyx.org>
3375 * bufferview_funcs.C:
3378 * paragraph_pimpl.C:
3380 * text.C: add #include "LColor.h".
3382 2003-09-16 Angus Leeming <leeming@lyx.org>
3384 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3385 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3387 Store the FontBits::color variable as an int rather than as an
3388 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3391 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3392 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3393 string calls together.
3395 * lyxrc.C: add #include "LColor.h".
3397 2003-09-15 Angus Leeming <leeming@lyx.org>
3399 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3402 2003-09-15 Angus Leeming <leeming@lyx.org>
3404 * LColor.h: add an EnumLColor wrapper for LColor::color.
3406 * lyxfont.[Ch] (color, setColor, realColor):
3407 * lyxtext.h, text.C (backgroundColor):
3408 pass EnumLColor args to/from the functions, rather than LColor::color
3412 * lyxtext.h: forward declare EnumLColor.
3414 * lyx_main.C: add #include "LColor.h".
3416 2003-09-15 Angus Leeming <leeming@lyx.org>
3418 * .cvsignore: add lyx-gtk.
3420 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3425 * ParagraphParameters.C
3429 * bufferview_funcs.C
3439 * vc-backend.C: remove usage of STRCONV
3441 2003-09-15 Angus Leeming <leeming@lyx.org>
3443 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3444 explicitly define the color passed to the painter.
3446 2003-09-15 Angus Leeming <leeming@lyx.org>
3448 * bufferparams.C (BufferParams): reorder member initializers to avoid
3451 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3453 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3454 * text.C (updateRowPositions): remove an unusual nop
3456 2003-09-12 André Pönitz <poenitz@gmx.net>
3458 * BufferView_pimpl.C:
3467 * Counters.[Ch]: finish the 'automatic counters' job
3469 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3471 * aspell.C: include <boost/assert.cpp> (compile fix)
3473 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3475 * boost.C (assertion_failed): use lyx::support::abort instead of
3478 2003-09-10 Angus Leeming <leeming@lyx.org>
3480 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3481 with their _fwd progeny.
3483 2003-09-09 Angus Leeming <leeming@lyx.org>
3485 134 files throughtout the source tree: replace 'using namespace abc;'
3486 directives with the appropriate 'using abc::xyz;' declarations.
3488 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3490 * boost.C (emergencyCleanup): moved here from LAssert.c
3491 (assertion_failed): new function, called by BOOST_ASSERT
3493 * several files: change Assert to BOOST_ASSERT
3495 2003-09-09 Angus Leeming <leeming@lyx.org>
3497 * buffer.[Ch]: Add an Impl class and move Buffer's member
3498 variables into it. As a result move several header files out of
3501 Add header files to lots of .C files all over the tree as a result.
3503 2003-09-09 Angus Leeming <leeming@lyx.org>
3505 * buffer.[Ch]: make Buffer's member variables private. Add
3508 Lots of changes all over the tree as a result.
3510 2003-09-08 Angus Leeming <leeming@lyx.org>
3512 * graph.C: #include <config.h>.
3514 2003-09-08 Angus Leeming <leeming@lyx.org>
3518 * BufferView_pimpl.C:
3547 * toc.C: remove redundant using directives.
3549 2003-09-07 Angus Leeming <leeming@lyx.org>
3551 * LaTeXFeatures.h: remove #include "support/types.h".
3552 * ToolbarBackend.h: remove #include <algorithm>.
3553 * changes.h: remove #include <ctime>.
3554 * debug.h: remove #include <iosfwd>.
3555 * graph.h: remove #include "support/std_string.h".
3556 * lyx_main.h: remove #include <csignal>.
3557 * lyxlex_pimpl.h: remove #include <fstream>.
3558 * sgml.h: remove #include <algorithm>, <utility>.
3559 * toc.h: remove #include "support/std_ostream.h".
3560 Add #include <iosfwd>.
3562 2003-09-07 Angus Leeming <leeming@lyx.org>
3564 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3566 * converter.h: forward declare LatexRunParams.
3567 * encoding.h: remove #include "lyxrc.h".
3568 * lyxtext.h: remove #include "LColor.h".
3569 * lyxtextclass.h: remove #include "support/types.h".
3570 * trans.h: remove #include "tex-accent.h".
3571 * trans_mgr.h: remove #include "tex-accent.h".
3572 * insets/inset.h: remove #include "support/types.h", <vector>.
3573 * insets/insetcollapsable.h: remove #include "LColor.h".
3574 * insets/insetinclude.h: remove #include "dimension.h".
3575 * insets/insetlatexaccent.h: remove #include "dimension.h".
3576 * insets/insetoptarg.h:: remove #include "insettext.h".
3577 * insets/insettext.h: remove #include "dimension.h",
3578 <boost/shared_ptr.hpp>
3580 * insets/renderers.h: add #include "dimension.h".
3581 * insets/updatableinset.h: add #include "support/types.h".
3583 * many .C files: Associated changes.
3585 2003-09-06 Angus Leeming <leeming@lyx.org>
3587 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3588 one, inside testInvariant.
3590 * PrinterParams.C: new file.
3591 * PrinterParams.[Ch]: move the function bodies out of line.
3593 2003-09-06 Angus Leeming <leeming@lyx.org>
3595 * ParagraphParameters.h: forward declare ParameterStruct rather than
3596 including its header file.
3597 (depth): moved out-of-line.
3599 2003-09-06 Angus Leeming <leeming@lyx.org>
3601 * BufferView_pimpl.h:
3604 * lyxfunc.h: forward declare LyXKeySym rather than
3605 #include "frontends/LyXKeySym.h".
3607 * BufferView_pimpl.C:
3610 * lyxfunc.C: associated changes.
3612 2003-09-06 Angus Leeming <leeming@lyx.org>
3614 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3615 As a result, can remove the #include "insets/inset.h" from BufferView.h
3617 2003-09-06 Angus Leeming <leeming@lyx.org>
3619 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3620 As a result, can remove the #include "insets/inset.h" from BufferView.h
3622 2003-09-06 Angus Leeming <leeming@lyx.org>
3628 * bufferview_funcs.C:
3629 * BufferView_pimpl.C:
3634 * ParagraphParameters.C:
3639 * frontends/controllers/ControlDocument.C:
3640 * insets/insetcaption.C: rearrange the #includes into some sort of
3643 * buffer.h: remove #includes ErrorList.h, undo.h
3645 2003-09-06 Angus Leeming <leeming@lyx.org>
3647 * support/types.h: add a 'depth_type' typedef, used to store the
3648 nesting depth of a paragraph.
3651 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3652 defining explicitly.
3655 * paragraph_funcs.h:
3656 * ParagraphParameters.h:
3657 * sgml.h: use lyx::depth_type rather than Paragraph or
3658 ParameterStruct's depth_type.
3661 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3664 * BufferView_pimpl.C:
3666 * ParagraphParameters.C:
3669 * bufferview_funcs.C:
3676 * frontends/LyXView.C:
3677 * frontends/controllers/ControlDocument.C:
3678 * frontends/controllers/ControlErrorList.C:
3679 * insets/insetbibitem.C:
3680 * insets/insetbranch.C:
3681 * insets/insetcaption.C:
3682 * insets/insetcollapsable.C:
3683 * insets/insetenv.C:
3684 * insets/insetert.C:
3685 * insets/insetfloat.C:
3686 * insets/insetfoot.C:
3687 * insets/insetfootlike.C:
3688 * insets/insetnewline.C:
3689 * insets/insetquotes.C:
3690 * insets/insettabular.C:
3691 * insets/insettext.C:
3692 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3694 * frontends/controllers/ControlChanges.C: #include "changes.h".
3696 2003-09-06 Angus Leeming <leeming@lyx.org>
3698 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3699 than #including paragraph.h.
3702 * RowList.h: deleted. Superfluous.
3712 * insets/insettext.h: use ParagraphList_fwd.h rather than
3715 * paragraph.h: don't forward declare ParagraphList.
3718 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3719 rather than ParagraphList.h. paragraph.h is still needed for the
3720 Paragraph::depth_type parameters.
3722 * textcursor.h: enable it to compile stand-alone in light of the
3725 * bufferview_funcs.C:
3737 * frontends/controllers/ControlParagraph.C:
3738 * frontends/controllers/ControlTabular.C:
3739 * insets/insetmarginal.C:
3740 * insets/insetminipage.C:
3741 * insets/insetnote.C:
3742 * insets/insetoptarg.C: add header files needed to compile again.
3744 2003-09-06 Angus Leeming <leeming@lyx.org>
3746 * RowList_fwd.h: new file, forward-declaring Row rather than
3747 #including lyxrow.h.
3752 * insets/insettext.h: use it instead of RowList.h
3754 * bufferview_funcs.C:
3761 * text3.C: #include "RowList.h".
3763 2003-09-05 Angus Leeming <leeming@lyx.org>
3765 * factory.C (createInset):
3766 * vspace.C (c-tor): replace sscanf call with an istringstream.
3767 * ispell.C: re-add missing HP/UX headers.
3768 * lyxserver.C: re-add missing os2 headers.
3770 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3779 * text3.C: re-add missing system headers, needed for 2.95.2.
3781 2003-09-05 Angus Leeming <leeming@lyx.org>
3783 Changes most place everywhere due to the removal of using directives
3784 from support/std_sstream.h.
3786 2003-09-05 Angus Leeming <leeming@lyx.org>
3788 Replace LString.h with support/std_string.h,
3789 Lsstream.h with support/std_sstream.h,
3790 support/LIstream.h with support/std_istream.h,
3791 support/LOstream.h with support/std_ostream.h.
3793 Changes resulting throughout the tree.
3795 2003-09-05 Angus Leeming <leeming@lyx.org>
3797 * sgml.h: ensure that the header file can be compiled stand-alone.
3798 * *.C: strip out redundant #includes. (320 in total.)
3800 2003-09-04 Angus Leeming <leeming@lyx.org>
3802 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3803 here (from getPackages).
3805 * debug.[Ch]: add a new EXTERNAL tag.
3807 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3809 * text2.C (cursorEnd): simplify
3811 (getColumnNearX): adjust
3813 * text.C (computeBidiTables): adjust
3816 * rowpainter.C (paintChars): adjust
3817 (paintSelection): adjust
3818 (paintChangeBar): adjust
3821 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3823 (numberOfSeparators): adjust
3825 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3831 * text3.C: Restricts the mouse click functionality
3832 of insets like bibtex, include, toc and floatlist to the visible
3833 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3834 up the dialogs. Cursor has to be in front of the inset (i.e.
3835 start of row) for this to function.
3837 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3839 * bufferview_funcs.C (currentState): output row information
3841 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3843 * bufferview_funcs.C (currentState): output paragraph position
3845 2003-09-04 Angus Leeming <leeming@lyx.org>
3847 * FloatList.h: move out #include "Floating.h".
3848 * LaTeX.h: move out #include "DepTable.h".
3849 * LyXAction.h: move out #include "funcrequest.h".
3850 * buffer.h: move out #include "author.h", "iterators.h".
3851 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3852 * lyx_main.h: move out #include "errorlist.h".
3853 * lyxfunc.h: move out #include "FuncStatus.h".
3854 * lyxtext: move out #include "lyxcursor.h".
3855 * paragraph_pimpl.h: move out #include "counters.h".
3857 2003-09-03 Angus Leeming <leeming@lyx.org>
3859 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3860 preamble_snippets list, enabling us to add snippets to the preamble
3861 only if the snippet was not there already.
3863 2003-09-04 Angus Leeming <leeming@lyx.org>
3865 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3867 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3869 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3872 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3874 * BranchList.C: point fix, earlier forgotten
3876 2003-09-02 Angus Leeming <leeming@lyx.org>
3878 * box.C (contains): renamed from 'contained' after a fantastic
3881 2003-09-02 John Levon <levon@movementarian.org>
3887 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3889 2003-09-02 John Levon <levon@movementarian.org>
3891 * text2.C: simplification of cursorEnd(), including partial
3894 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3896 * buffer.C (readFile): add a space
3898 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3900 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3902 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3904 * buffer.C (readFile): new function, take a filename and a
3905 ParagraphList::iterator
3907 (readFile): adjust, make it private. don't use setStream, make
3908 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3909 always contain the filename.
3911 * BufferView.C (insertLyXFile): simplify and make it work for
3914 2003-08-30 John Levon <levon@movementarian.org>
3916 * Makefile.am: fix dist (from Kayvan)
3918 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3920 * most files: change to use const Buffer refs
3922 2003-08-27 André Pönitz <poenitz@gmx.net>
3924 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3925 on top of ownerPar().
3927 2003-08-27 John Levon <levon@movementarian.org>
3929 * funcrequest.C: properly initialise POD members
3931 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3933 * lyxtext.h (top_y): move top_y from here
3938 * BufferView_pimpl.[Ch]: to here
3939 * frontends/screen.C:
3940 * insets/insettabular.C:
3941 * insets/insettext.C: adjust
3942 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3944 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3947 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3949 2003-08-26 André Pönitz <poenitz@gmx.net>
3951 * paragraph_func.[Ch] (outerPar): new function
3954 * paragraph_funcs.C:
3955 * paragraph_funcs.h:
3956 * paragraph_pimpl.C:
3957 * text2.C: remove Inset::par_owner
3959 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3964 * text2.C: eliminates the needFullRow/display() stuff
3965 altogether, putting the logic in metrics/draw in the insets.
3967 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3969 * text2.C (redoParagraphInternal, redoParagraphs):
3970 * text.C (redoParagraph): add a call to updateRowPositions at the
3971 end of each 'metrics-like' call. Remove all others.
3972 (getRow): remove the 'y-computing' version.
3973 (getRowNearY): do not compute nor return the real y. Solve the
3974 'y < 0' problem and simplify.
3976 2003-08-22 Angus Leeming <leeming@lyx.org>
3978 * *.[Ch]: clean-up of licence and author blurbs.
3979 Also move config.h out of a few .h files and into a few .C files.
3981 2003-08-22 André Pönitz <poenitz@gmx.net>
3983 * lyxrow.[Ch]: add x_ and *fill_ members
3988 * text2.C: adjust/remove prepareToPrint() calls
3990 2003-08-22 André Pönitz <poenitz@gmx.net>
3992 * lyxrow.[Ch]: add end_ member
3994 * lyxrow_funcs.C: use LyXRow::end_
3996 * lyxtext.h (singleWidth): add LyXFont parameter
3999 * text2.C: adjust LyXText::singleWidth() calls
4001 * text.C (redoParagraph): simplify row breaking logic
4004 2003-08-19 André Pönitz <poenitz@gmx.net>
4006 * funcrequest.C: initialize button_ member
4009 * rowpainter.[Ch]: interface consolidation
4011 2003-08-18 André Pönitz <poenitz@gmx.net>
4014 * BufferView_pimpl.C:
4016 * paragraph_funcs.C:
4018 * text3.C: remove LyXScreen::draw() and fitCursor calls
4020 * BranchList.h: remove spurious semicolons
4022 * MenuBackend.C: fix branchlist related crash
4024 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4032 * bufferparams.[Ch]:
4036 * text3.C: implements the 'branch inset'
4037 idea. This allows the output of various versions of a document
4038 from a single source version, selectively outputing or suppressing
4039 output of parts of the text.
4040 This implementation contains a 'branch list editor' in a separate
4041 tab of the document settings dialog. Branches are user definable
4042 and have a "display colour" to distinguish them on-screen.
4044 ColorHandler was somewhat cleaned up.
4045 (1) make possible a dynamically growing LColor list by allowing
4046 the graphic context cache to grow along (vector);
4047 (2) eliminate an IMHO unnecessary step in colour allocation.
4049 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4051 * BufferView_pimpl.C: compile fix
4053 2003-08-15 André Pönitz <poenitz@gmx.net>
4055 * rowpainter.C: remove extra metrics calls
4057 * lyxtext.h: merge the two constructors into a single one,
4058 pass reference to owner's par list
4060 * BufferView_pimpl.C:
4064 2003-08-15 André Pönitz <poenitz@gmx.net>
4066 * lyxrow_funcs.[Ch]:
4069 * paragraph_funcs.C:
4074 * text_funcs.C: split LyXText::rowlist_ into individual
4075 Paragraph::rows_ chunks
4078 * BufferView_pimpl.[Ch]:
4081 * text3.C: remove toggleSelection()
4083 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4085 * bufferlist.C: beautify two alerts (shorter text of buttons)
4086 * buffer.C: Remove redundant ' ' from message
4088 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4089 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4090 rename VALIGN_CENTER to VALIGN_MIDDLE
4092 2003-08-11 André Pönitz <poenitz@gmx.net>
4094 * lyxtext.h (getPar):
4095 * text.C: new function
4097 2003-08-11 André Pönitz <poenitz@gmx.net>
4100 * tracer.[Ch]: remove unneeded files
4102 * InsetList.[Ch]: remove resizeInsetsLyXText()
4107 * text3.C: merge insertParagraphs() and appendParagraph()
4108 remove breakAgain(), update()
4110 * BufferView_pimpl.[Ch]:
4111 * bufferview_funcs.[Ch]:
4115 * tabular.C: adjust after text & InsetList changes.
4117 2003-08-08 André Pönitz <poenitz@gmx.net>
4119 * text.C (insertChar, backspace): replace rowlist fiddling
4120 with rebreak of full par
4123 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4124 checkParagraph, updateInset): removed
4126 2003-08-07 André Pönitz <poenitz@gmx.net>
4129 * text3.C: merge some LFUN handlers, remove dead code
4131 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4133 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4135 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4137 * text2.C (DEPM): fix part of bug 1255 and 1256
4139 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4141 * BufferView_pimpl.C (workAreaDispatch): change to use
4142 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4143 that are no mouse related.
4145 2003-08-05 André Pönitz <poenitz@gmx.net>
4148 * BufferView_pimpl.[Ch]:
4149 * bufferview_funcs.C:
4151 * text3.C: rip out "deep update"
4153 * textcursor.[Ch] (last_sel_cursor): remove unused member
4155 2003-08-04 André Pönitz <poenitz@gmx.net>
4158 * BufferView_pimpl.[Ch]:
4159 * ParagraphParameters.C:
4160 * bufferview_funcs.C:
4166 * text3.C: replace "complicated" BufferView::update(...) calls with
4169 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4171 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4173 * Makefile.am (lyx_SOURCES): add paper.h
4175 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4177 * Makefile.am: move things around so that both lyx-qt and
4178 lyx-xforms can be built (according to --with-frontend). Then lyx
4179 is a symbolic link to lyx-[firstfrontend]
4181 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4183 * Always use std::endl with lyxerr
4185 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4187 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4189 2003-08-01 André Pönitz <poenitz@gmx.net>
4192 * BufferView_pimpl.[Ch]:
4194 * text3.C: merge BufferView::repaint() and BufferView::update()
4196 2003-08-01 José Matos <jamatos@lyx.org>
4198 * buffer.[Ch]: file_format is no longer a buffer data element.
4200 2003-08-01 André Pönitz <poenitz@gmx.net>
4205 * text2.C: make redoParagraph more independent of current cursor
4207 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4209 * text2.C: remove unneeded members
4211 2003-07-30 André Pönitz <poenitz@gmx.net>
4213 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4215 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4216 create a single function...
4218 * paragraph_funcs.C (moveItem): ... here.
4221 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4223 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4225 * LColor.[Ch]: Add comment and greyedout logical colors.
4227 2003-07-30 André Pönitz <poenitz@gmx.net>
4229 * tabular.C: don't use Assert too heavily. This crashes where it
4232 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4234 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4235 is disabled (bug 1232)
4237 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4239 * factory.C: limited 'arg' scope
4241 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4243 * factory.C: fixed Note submenu issues
4245 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4247 * factory.C: submenu for Note/Comment/Greyedout
4249 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4252 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4254 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4257 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4258 greyedout. Patch provided by Jürgen Spitzmüller.
4260 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4262 * kbmap.C (read): fix error message when reading bind files
4264 2003-07-29 Angus Leeming <leeming@lyx.org>
4266 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4267 certainly does not do what it purports to do. I am doing it, and
4268 us, a favour by killing it.
4270 2003-07-28 José Matos <jamatos@lyx.org>
4272 * buffer.C (readBody, do_writeFile):
4273 * paragraph.C(readParagraph): \end_document replaces \the_end.
4275 2003-07-29 André Pönitz <poenitz@gmx.net>
4278 * BufferView_pimpl.[Ch]:
4282 * textcursor.[Ch]: remove toggleToggle & Co
4284 2003-07-28 José Matos <jamatos@fep.up.pt>
4286 * buffer.C (readParagraph):
4287 * params_func (readParToken, readParagraph):
4288 * paragraph.C (write): \layout -> \begin_layout.
4290 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4292 * lyxlex_pimpl.C (setFile): clean up slightly.
4294 * bufferparams.h: add compressed var
4296 * buffer_funcs.C (readFile): adjust for LyXLex change
4297 (newFile): ditto + simplify
4299 * buffer.C (writeFile): handle writing of compressed files
4301 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4302 Check if the file is compressed and set a bufferparm if so.
4304 * Makefile.am (lyx_LDADD): remove explicit -lz
4306 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4308 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4309 makeDocBookFile): put the real LyX version in the first line of
4313 * version.C.in: remove lyx_docversion
4315 * tabular.C (write_attribute): add a template-based version to
4316 write enums properly
4318 2003-07-28 André Pönitz <poenitz@gmx.net>
4323 * text3.C: use doubles again for x-coordinates. They are needed.
4325 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * messages.C (getLocaleDir): use lyx_localedir()
4329 * lyxlex_pimpl.C (setFile): compress stuff
4331 * buffer.C (writeFile): add some compression stuff
4332 (do_writeFile): new func, dont call expliti close... will this
4335 * Makefile.am (lyx_LDADD): add -lz
4337 2003-07-28 José Matos <jamatos@fep.up.pt>
4339 * buffer.C: increment file format.
4340 * paragraph_funcs (readParagraph, readParToken):
4341 * paragraph.C (readParagraph): add \end_layout.
4343 2003-07-27 Angus Leeming <leeming@lyx.org>
4345 * Makefile.am: remove special casing for configure-time setting of
4346 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4348 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4349 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4351 2003-07-26 André Pönitz <poenitz@gmx.net>
4353 * paragraph_func.[Ch]:
4354 * paragraph.C (realizeFont): inline it whereever it is used
4359 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4362 2003-07-26 André Pönitz <poenitz@gmx.net>
4366 * text2.C: get rid of LyXText::need_break_row
4368 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4370 * toc.[Ch]: put namespace toc inside namespace lyx
4372 * MenuBackend.C (expandToc2): adjust for lyx::toc
4375 * lyxfunc.C (dispatch): adjust for lyx::find
4377 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4378 lyx::find instead. Reorganize a bit.
4379 (LyXReplace): rename to replace
4380 (LyXFind): rename to find
4382 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4385 2003-07-26 André Pönitz <poenitz@gmx.net>
4387 * text.C (setHeightOfRow): restrict scope of temporary variable
4389 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4390 code (never has been used?)
4392 2003-07-27 Asger Alstrup <alstrup@local>
4394 * text.C (fill): Optimise algorithm to exploit that we can reuse
4395 the LyXFont for many characters.
4396 (setHeightOfRow): Same thing.
4397 (rowBreakPoint): Same thing.
4399 2003-07-26 Asger Alstrup <alstrup@local>
4401 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4403 * text.C (singleWidth): Spurious font copying in hot-spot
4404 singleWidth avoided. Reorder tests for arabic for efficiency.
4406 * text.C (fill): handle empty paragraphs better.
4408 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4411 * encoding.h: add includes
4413 * lyxrc.C: remove reading of bind files
4415 * lyx_main.C (init): setup bindings and menus only if we have a
4418 * kbmap.C (read): new method. Do the actual reading of bind
4421 * converter.C (dvipdfm_options):
4424 (output): adapt PAPER_* enums.
4426 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4428 * bufferparams.h: remove paper-related enums from there
4430 * paper.h: New file. A trivial header file to hold paper-related
4431 enums. It should later expand to contain many paper-related
4434 * lyxrc.C: declare extern displayTranslator
4436 2003-07-27 José Matos <jamatos@fep.up.pt>
4438 * tabular.[Ch] (linuxdoc): add support for tables and figures
4441 2003-07-27 José Matos <jamatos@fep.up.pt>
4443 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4444 consistency in both functions.
4445 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4447 2003-07-26 Asger Alstrup <alstrup@local>
4449 * rowpainter.C (paintRows): Change algorithm to work directly on
4450 the insets rather than asking every character in the document
4451 whether its an inset.
4453 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4455 * buffer.C (openFileWrite): factorize some code
4457 2003-07-26 Angus Leeming <leeming@lyx.org>
4460 * lyx_main.[Ch]: replace occurances of system_tempdir with
4463 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4465 * rename Inset to InsetOld
4467 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4469 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4470 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4471 which I think is a bit clearer. EDIT is gone, since it was
4472 premature optimisation, and broken for mathed anyway.
4473 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4474 with cursor positioning in insets as well (math insets still do not
4475 work, but that's a different story anyway.) It mysteriously
4476 crashes sometimes with undo in the first paragraph, but I'm fairly
4477 confident that this is a compiler bug.
4479 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4481 * paragraph.C (Paragraph): adjust for new clone return type
4483 (copyIntoMinibuffer): ditto
4485 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4487 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4488 by not having a special case, and always doing a full rebreak of
4489 the document after undo.
4491 2003-07-23 Angus Leeming <leeming@lyx.org>
4493 * factory.C (createInset): InsetExternal::setParams now takes a
4496 2003-07-23 Angus Leeming <leeming@lyx.org>
4498 * factory.C (createInset): changed interface to the external and
4499 graphics mailers' string2params functions.
4501 2003-07-23 Angus Leeming <leeming@lyx.org>
4503 * factory.C (createInset): pass a
4504 Buffer const * parameter to InsetExternalMailer's string2params.
4506 2003-07-22 John Levon <levon@movementarian.org>
4508 * Thesaurus.h: include the right aiksaurus header
4510 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4512 * MenuBackend.C (expand): check menu shortcuts unconditionally
4514 2003-07-21 Angus Leeming <leeming@lyx.org>
4516 * factory.C (createInset): pass a
4517 buffer_path parameter to InsetGraphicsMailer's string2params.
4519 2003-07-21 Angus Leeming <leeming@lyx.org>
4521 * BufferView_pimpl.C (buffer):
4524 * lyxfunc.C (dispatch):
4525 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4526 rather than the grfx shortcut.
4528 2003-07-21 André Pönitz <poenitz@gmx.net>
4530 * rowpainter.C: remove unused variables
4533 * tabular_funcs.h: move to tabular.C
4534 * Makefile.am: adjust
4536 * tabular.[Ch]: basic optical cleaning
4538 * author.h: pass references, not values
4540 2003-07-18 André Pönitz <poenitz@gmx.net>
4548 * text3.C: two-phase drawing for InsetText and InsetTabular
4549 some float -> int changes.
4551 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4553 * lyx_main.C: fix the fix
4555 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4557 * lyx_main.C: fix a crash in batch mode if no files specified
4560 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4562 * format.[Ch] (papersize): moved to BufferParams
4563 * converter.[Ch] (dvips_options): moved to BufferParams
4564 (dvipdfm_options): moved to anon namespace
4565 * bufferparams.[Ch]: added above functions.
4567 2003-07-17 André Pönitz <poenitz@gmx.net>
4571 * text2.C: don't call inset->update() anymore
4573 * metricsinfo.[Ch]: add convenience constructor
4575 2003-07-16 André Pönitz <poenitz@gmx.net>
4580 * text2.C: replace the LyXCursor::irow_ member with
4581 on-demand computation of the value
4583 2003-07-16 John Levon <levon@movementarian.org>
4585 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4587 2003-07-15 André Pönitz <poenitz@gmx.net>
4590 * text2.C: remove no more needed refresh_row
4592 2003-07-15 André Pönitz <poenitz@gmx.net>
4597 * text3.C: refresh_status tristate -> need_update bool
4599 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4601 * lyxtext.h (init): remove reinit argument (act as if always true)
4602 * text2.C: adjust to that
4604 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4606 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4607 * text3.C: use it to delete selections in some cases
4608 (bugs 441, 673, 702, 954).
4610 2003-07-14 André Pönitz <poenitz@gmx.net>
4612 * rowpainter.[Ch]: reduce interface
4614 2003-07-14 André Pönitz <poenitz@gmx.net>
4616 * BufferView_pimpl.C:
4617 * text2.C: adjust after removing unused BufferView * argument
4619 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4621 * text2.C (init): fix a crash fired on resize
4623 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4625 * buffer.[Ch]: added new closing signal
4626 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4627 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4628 BufferView::Pimpl via the closing the signal
4630 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4632 * buffer.[Ch]: take out all bv-related from buffer
4634 * BufferView_pimpl.[Ch]: connect to new signals
4635 * CutAndPaste.C: removed useless asserts
4636 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4639 * lyxfunc.C: moved view-related funciontality from vc here
4640 * paragraph.C: removed outdated comments
4643 2003-07-10 André Pönitz <poenitz@gmx.net>
4645 * BufferView_pimpl.C:
4649 * text2.C: remove InsetText::InnerCache, clean up consequences
4651 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4653 * ispell.C: fix two typos in error messages
4655 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4657 * Extend Note inset to other forms of annotation like Comment
4658 and Greyedout. Right button click gives dialog.
4660 Files modified or added (+):
4664 * ControlNote.[Ch] +
4666 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4667 frontends/controllers
4671 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4673 * aspell.C: add missing namespace lyx::support
4675 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4677 * BufferView.[Ch] (newFile): Add
4678 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4679 * LaTeX.[Ch] (message): added this signal and use it
4680 * buffer.[Ch] (busy, message): added these signals and use them
4681 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4685 * importer.C: use buffer signals instead of direct bv calling
4686 * lyx_cb.[Ch] (ShowMessage): removed
4689 * paragraph_funcs.C:
4690 * text2.C: use buffer signals
4692 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4694 * introduce namespace lyx::graphics
4696 2003-07-02 André Pönitz <poenitz@gmx.net>
4698 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4700 2003-07-01 André Pönitz <poenitz@gmx.net>
4707 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4708 text*.C to text_func.C
4710 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4712 * introduce namespace lyx::support
4714 2003-06-30 André Pönitz <poenitz@gmx.net>
4719 * text.C: re-enable --with-included-string
4721 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * textcursor.C: add <config.h>
4725 * text.C (getWord): remove const from word_location arg
4727 * lyxvc.C (getLogFile): fix const type order
4729 * lyxtext.h: remove const from word_location arg, add arg name
4731 * lyxlayout.h: currect type on labeltype.
4733 * importer.C: correct \file
4735 * converter.C (intToFormat): use std:: on ret val, ws changes
4737 * bufferlist.h: correct \file
4739 * buffer.C (makeLinuxDocFile): fix const type order
4740 (makeDocBookFile): ditto
4741 (fillWithBibKeys): use std:: on stdlib args.
4743 * CutAndPaste.C: fix authors.
4744 (availableSelections): use std:: on return vector
4746 2003-06-27 André Pönitz <poenitz@gmx.net>
4748 * BufferView_pimpl.C:
4749 * bufferview_funcs.C:
4757 * text3.C: remove LyXCursor::row_ member
4760 * text.C: rename fullRebreak() to partialRebreak() and implement
4761 a fullRebreak() that really bereks fully
4763 * textcursor.h: new struct for cursor-related data
4765 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4767 * lyx_main.C (LyX): get full path of document loaded on the
4770 2003-06-26 André Pönitz <poenitz@gmx.net>
4772 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4773 remove unused/broken operator>,<,>=.
4775 * text.C: remove only use of broken operator<= in an Assert().
4777 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4779 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4780 moved errorlist_.clear to showErrorList
4782 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4784 * converter.C (scanLog, runLaTeX):
4785 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4786 move the bv->showErrorList call to the callers
4787 * lyxfunc.C: i.e. here...
4789 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4790 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4791 namespace, the second to...
4792 * buffer_funcs (BufferFormat, parseErrors): added
4793 * errorlist.C (ErrorList(TeXErrors const &)): removed
4795 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4797 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4799 2003-06-24 "Garst R. Reese" <reese@isn.net>
4803 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4805 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4807 * version.C.in: change docversion to 1.4
4809 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4811 * buffer.C: fix a bug just introduced
4813 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4815 * buffer.[Ch]: added the parseError signal and use it, removed
4817 * BufferView.[Ch] (addError): moved to ...
4818 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4819 to the Buffer::parseError signal to catch (guess what) parse errors
4820 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4822 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4824 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4825 ability to create a buffer and to return an existing one from
4826 the list. Moved these functions to...
4827 * buffer_funcs.[Ch]: added
4828 * BufferView.[Ch] (loadLyXFile): added
4829 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4830 job removed from bufferlist::loadLyXFile.
4831 * buffer.C (setReadOnly): make it work without view
4832 (i.e added an if (users))
4834 2003-06-19 Angus Leeming <leeming@lyx.org>
4837 * LyXAction.C (init):
4838 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4839 with LFUN_DIALOG_SHOW <name> <data>.
4841 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4843 * CutAndPaste.C (availableSelections): small compilation fix for
4844 ancient (gcc 2.9x) compilers
4846 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4848 * text3.C (cursorNext): add tmp var
4850 * text2.C (updateCounters): for function calling out of for clause
4851 (replaceSelectionWithString): ditto
4852 (insertStringAsParagraphs): ditto
4853 (getColumnNearX): add tmp var
4854 (setCursorFromCoordinates): add tmp var
4855 (cursorDownParagraph): add tmp var
4856 (deleteEmptyParagraphMechanism): add tmp var
4858 * text.C (insertChar): add tmp var
4860 * rowpainter.C (paintDepthBar): add tmp var
4862 * CutAndPaste.C (availableSelections): potentially check all
4863 paragraphs in a cut to fill the shown strings.
4865 2003-06-18 André Pönitz <poenitz@gmx.net>
4867 * kbmap.[Ch]: use vector<> instead of list<>
4869 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4871 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4872 pasteSelection with index
4874 * text2.C (pasteSelection): modify, call pasteSelection with index
4876 * paragraph.C (asString): reimplement version with no interval to
4877 call the one with interval.
4879 * lyxtext.h: add index arg to pasteSelection
4881 * MenuBackend.C (MenuItem): handle PasteRecent
4882 (Menu::read::Menutags): add md_pasterecent
4884 (expandPasteRecent): new function
4887 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4889 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4891 (availableSelections): new function
4893 2003-06-17 Angus Leeming <leeming@lyx.org>
4895 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4897 2003-06-17 Angus Leeming <leeming@lyx.org>
4900 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4902 * lyxfunc.C (dispatch): invoke it.
4904 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4906 * iterators.C (operator++, ParPosition): reintroduce some
4907 const_cast for the benefit of older compilers.
4909 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4911 * text3.C (dispatch): do not modify clipboard when doing
4912 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4913 LFUN_DELETE_SKIP on a selection selection
4915 2003-06-16 André Pönitz <poenitz@gmx.net>
4921 * tabular.[Ch]: IU of clone() and getLabelList();
4923 2003-06-13 André Pönitz <poenitz@gmx.net>
4925 * tabular.h: compactification
4927 2003-06-12 André Pönitz <poenitz@gmx.net>
4931 * tabular_funcs.h: some renaming plus whitespace
4933 2003-06-12 André Pönitz <poenitz@gmx.net>
4936 * BufferView_pimpl.C:
4942 * toc.C: Return a Paragraph & for ParIterator::operator*()
4944 2003-06-11 John Levon <levon@movementarian.org>
4948 * ToolbarBackend.C: add "Toolbars" section and
4951 2003-06-10 Angus Leeming <leeming@lyx.org>
4954 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4956 * lyxfunc.C (dispatch): invoke it.
4958 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4960 * main.C: protect <ios> with HAVE_IOS
4961 (main): protect sync_with_stdio with HAVE_IOS
4963 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4965 * text2.C (cutSelection): adjust
4966 (pasteSelection): adjust
4968 * messages.C: handle get of empty string
4970 * main.C (main): use sync_with_stdio(false)
4972 * lyxfunc.C (dispatch): adjust
4974 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4975 (WriteAs): remove unneeded BufferView arg.
4977 * bufferparams.h: use correct types on papersize, papersize2 and
4980 * bufferparams.C (readToken): adjust for type
4981 (writeLaTeX): add missing cases to switch.
4983 * bufferlist.C (quitWriteBuffer): adjust
4986 * buffer.C (asciiParagraph): remove some commented code.
4988 * CutAndPaste.C: remove current_view extern variable.
4989 (cutSelection): add BufferParams arg.
4990 (eraseSelection): add BufferParams arg.
4991 (pasteSelection): add Buffer const & arg
4993 2003-06-07 John Levon <levon@movementarian.org>
4996 * paragraph_funcs.C:
4997 * paragraph_pimpl.C:
5001 * paragraph.C: allow InsetERT to freely space lines,
5002 and some consolidation of code
5004 2003-06-06 José Matos <jamatos@fep.up.pt>
5006 * buffer.C (makeDocBookFile): fix bug #821
5008 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5010 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5012 2003-06-04 Angus Leeming <leeming@lyx.org>
5014 * buffer.C: bump format to 224.
5016 2003-06-05 André Pönitz <poenitz@gmx.net>
5018 * text2.C (redoParagraphs): remove two const_cast<>
5020 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5022 * ParagraphList.h: remove last remnants of NO_STD_LIST
5024 2003-06-03 Angus Leeming <leeming@lyx.org>
5026 * factory.C (createInset): small change to the way InsetExternal's params
5029 2003-06-04 André Pönitz <poenitz@gmx.net>
5031 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5033 * paragraph_pimpl.h:
5034 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5036 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5038 * undo_funcs.C: make some simple cases of undo work again
5040 2003-06-03 John Levon <levon@movementarian.org>
5042 * ispell.C: HPUX doesn't have sys/select.h
5045 2003-06-03 John Levon <levon@movementarian.org>
5047 * CutAndPaste.C: update tabular and include inset
5052 * paragraph.C: remove owningBuffer(), don't pass Buffer
5055 * factory.C: insetGraphicsParams changed
5057 2003-06-02 John Levon <levon@movementarian.org>
5063 * text3.C: remove insetparent
5065 2003-06-02 John Levon <levon@movementarian.org>
5068 * buffer.C: fix inset_iterator.end(), move out of line
5071 2003-06-01 John Levon <levon@movementarian.org>
5073 * text3.C: use a proper cut/paste when doing inset
5074 insert (from Jürgen Spitzmüller)
5076 2003-06-01 John Levon <levon@movementarian.org>
5078 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5080 2003-05-30 André Pönitz <poenitz@gmx.net>
5082 * rowpainter.C: unify second drawing phase
5084 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5086 * trans_mgr.C: remove one case of current_view
5088 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5090 * paragraph_funcs.h: remove paragraph.h include
5092 * paragraph.h: delete NO_STD_LIST stuff
5094 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5096 * buffer.h: remove paragraph.h include
5098 * ParagraphList.C: delete file
5100 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5102 * toc.C (getTocList): adjust
5104 * paragraph_pimpl.C (validate): adjust
5106 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5108 * paragraph.C (Paragraph): adjust
5109 (getPositionOfInset): use const_iterator, adjust
5110 (bibitem): use const_iterator, adjust
5111 (setInsetOwner): adjust
5113 * iterators.C (operator++): adjust
5115 * InsetList.[Ch]: Replace selfmade iterator with standard
5116 vector::iterator also introduce const_iterator. Remove getPos,
5117 getInset and setInset from InsetTable. Adjust accordingly.
5119 * BufferView.C (lockInset): adjust
5120 (ChangeInsets): adjust
5122 * tabular.[Ch]: delete commented same_id functions
5124 2003-05-28 John Levon <levon@movementarian.org>
5126 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5128 2003-05-28 André Pönitz <poenitz@gmx.net>
5130 * metricsinfo.[Ch]: remove 'fullredraw' member
5132 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5134 * lyxtextclass.C (operator): remove caching.
5136 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5140 * text2.C (cursorBottom): adjust
5141 (setCounter): use ParagraphList::find, adjust
5143 * text.C (workWidth): use ParagraphList::find, adjust
5145 * lyxcursor.C (LyXCursor): adjust
5147 * buffer.C (inset_iterator): adjust
5149 * ParagraphList.h: make iterator(value_type) private, make
5150 ParagraphList a friend of iterator.
5152 * ParagraphList.C (find): new function
5154 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5156 2003-05-27 André Pönitz <poenitz@gmx.net>
5158 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5160 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5162 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5164 2003-05-26 John Levon <levon@movementarian.org>
5166 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5168 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * remove same_id from function signatures, adjust.
5172 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5176 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5178 * paragraph.C (Paragraph): get rid of same_ids parameter
5180 * ParagraphList.C (insert): adjust
5183 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5185 * paragraph_funcs.C (breakParagraph): adjust
5186 (breakParagraphConservative): adjust
5188 * buffer.C (readParagraph): adjust
5190 * ParagraphList.C (insert): take a reference instead of a pointer
5193 * paragraph.[Ch] (id): new function
5195 * bufferlist.C (newFile): adjust
5197 * ParagraphList.C (ParagraphList): adjust
5199 (push_back): take a reference instead of a pointer.
5201 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5203 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5206 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5207 set else use old code.
5209 * ParagraphList.C: remove all NO_NEXT code and only compile this
5210 code of NO_STD_LIST is set.
5212 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5214 * BufferView_pimpl.C:
5224 * graphics/GraphicsConverter.C:
5225 * graphics/PreviewLoader.C: header adjustment
5227 2003-05-23 Angus Leeming <leeming@lyx.org>
5229 * LaTeXFeatures.[Ch] (useBabel): new method.
5230 * bufferparams.C (writeLaTeX): use it.
5232 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5234 * ParagraphList.h (set): remove unused function.
5236 2003-05-23 André Pönitz <poenitz@gmx.net>
5239 * BufferView_pimpl.C:
5243 * undo_funcs.C: setUndo reworked
5245 * iterators.[Ch]: add access to topmost ParagraphList
5247 * lyxtext.[Ch] (workWidth): add a const
5249 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5251 * texrow.[Ch] (increasePos): remove function
5252 * exporter.C (export): removed unused var and outdated comment
5254 2003-05-23 Angus Leeming <leeming@lyx.org>
5256 * latexrunparams.h: rename fragile as moving_arg.
5257 * paragraph.C (simpleTeXOnePar): ditto.
5258 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5260 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5262 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5264 (textUndoOrRedo): comment out a currently unused var.
5266 * paragraph.h (NO_NEXT): enable NO_NEXT
5268 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5270 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5272 * exporter.C (Export): adjust for removeAutoInsets removal.
5274 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5276 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5278 * BufferView.[Ch] (removeAutoInsets): delete function
5280 2003-05-22 Angus Leeming <leeming@lyx.org>
5282 * latexrunparams.h: add a free_spacing variable.
5284 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5285 to pass moving_arg, as the data is stored in runparams.fragile.
5287 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5288 to Inset::latexOptional or to simpleTeXOnePar.
5290 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5291 free_spacing arg to Inset::latexOptional.
5293 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5296 2003-05-22 Angus Leeming <leeming@lyx.org>
5298 * latexrunparams.h: add fragile and use_babel variables.
5300 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5301 * buffer.C (makeLaTeXFile): store this returned value in
5302 runparams.use_babel, thus passing it to the inset::latex methods.
5304 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5305 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5307 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5308 longer has a fragile arg, as it is stored in runparams.fragile.
5310 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5311 moving_arg parameter as the data is stored in runparams.fragile.
5313 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5314 a fragile parameter as the data is stored in runparams.fragile.
5316 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5320 2003-05-22 Angus Leeming <leeming@lyx.org>
5322 * latexrunparams.h: add a 'bool nice' which defaults to false.
5324 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5325 now encapsulated within runparams.
5327 * bufferlist.C (updateIncludedTeXfiles):
5328 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5330 2003-05-22 Angus Leeming <leeming@lyx.org>
5332 * latexrunparams.h: new file containing struct LatexRunParams.
5333 * Makefile.am: add new file.
5335 * LaTeX.[Ch] (c-tor, run):
5336 * buffer.[Ch] (makeLaTeXFile):
5337 * bufferlist.[Ch] (updateIncludedTeXfiles):
5338 * converter.C (convert, scanLog):
5339 * converter.[Ch] (runLaTeX):
5340 * exporter.C (Export):
5341 * paragraph.[Ch] (simpleTeXOnePar):
5342 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5343 * paragraph_funcs.[Ch] (latexParagraphs):
5344 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5345 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5346 pass around a LatexRunParams parameter.
5348 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5350 * paragraph.[Ch]: remove unused constructor
5352 * ParagraphList.C (erase): new function, taking two iterators
5354 2003-05-22 André Pönitz <poenitz@gmx.net>
5356 * undo_funcs.C: remove duplicated code
5358 * iterator.[Ch]: operator=
5360 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5362 * tabular.C (SetMultiColumn): ws changes
5364 * rowpainter.C (paintFirst): get rid of a ->previous
5366 * lyx_cb.C (getPossibleLabel): parlist simplification
5368 * BufferView.C (ChangeInsets): simplify slightly.
5370 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5372 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5373 * lfuns.h: new LFUN_SPACE
5374 * lyxfunc.C: protected space has a new lfun
5375 * paragraph_funcs.C: read new space insets
5377 * factory.C: handle new space insets
5379 2003-05-22 André Pönitz <poenitz@gmx.net>
5382 * BufferView_pimpl.C:
5385 * undo_funcs.C: return a ParIterator from getParFromID.
5387 * iterators.[Ch]: add two const's
5389 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5391 * toc.C (getTocList): adjust
5393 * iterators.[Ch]: rework for parlist
5395 * buffer.C (par_iterator_begin): adjust
5396 (par_iterator_end): adjust
5398 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5400 * BufferView.C (removeAutoInsets): adjust
5401 (ChangeInsets): adjust
5403 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5405 * text.C (top_y): fix bug 1110
5407 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5409 * errorlist.[Ch]: added
5412 * BufferView_pimpl.C:
5413 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5416 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5418 * Makefile.am: ensure that lyx is relinked upon changes to the
5419 various "convenience" libs.
5421 2003-05-20 Angus Leeming <leeming@lyx.org>
5423 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5424 files are compiled in alphabetical order again.
5426 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5428 2003-05-19 Angus Leeming <leeming@lyx.org>
5430 * gettext.[Ch]: remove "char const * _(char const *)".
5432 2003-05-19 André Pönitz <poenitz@gmx.net>
5434 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5443 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5445 2003-05-19 André Pönitz <poenitz@gmx.net>
5449 * lyxtextclass.[Ch]:
5451 * paragraph_funcs.[Ch]:
5453 * text3.C: more insetenv work
5455 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5457 * ParagraphParameters.C (params2string): small bug fixed
5459 2003-05-16 André Pönitz <poenitz@gmx.net>
5462 * bufferview_funcs.C: patch from Kornel Benko to prevent
5463 crash when _(...) is called twice in a statement
5465 2003-05-16 André Pönitz <poenitz@gmx.net>
5472 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5474 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5476 * lyx_main.C (init): remove spurious static_cast
5478 2003-05-14 André Pönitz <poenitz@gmx.net>
5480 * BufferView.C: fix format string
5482 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5484 * BufferView.[Ch] (insertErrors): removed
5485 * BufferView.[Ch] (showErrorList): added
5486 * buffer.C (runChkTeX):
5487 * converter.C (scanLog): call showErrorList instead of inserterrors
5489 2003-05-13 André Pönitz <poenitz@gmx.net>
5491 * BufferView_pimpl.C:
5493 * bufferview_func.C:
5500 * tabular_funcs.h: tostr() from its own header
5502 * ParagraphParameters.C:
5507 * text3.C: STRCONV()
5509 2003-05-12 André Pönitz <poenitz@gmx.net>
5512 * BufferView_pimpl.C:
5516 * ParagraphParameters.C:
5520 * bufferview_funcs.C:
5533 * paragraph_funcs.C:
5537 * text3.C: boost::format -> bformat all over the place
5540 2003-05-09 André Pönitz <poenitz@gmx.net>
5542 * LColor.[Ch]: Pimpl the #include <map> away
5544 2003-05-09 John Levon <levon@movementarian.org>
5546 * bufferlist.C: never remove emergency saves
5548 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5550 * Makefile.am: better lib building
5552 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5554 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5556 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5557 (simpleTeXSpecialChars): adjust
5558 (simpleTeXSpecialChars): adjust
5559 * paragraph.C (simpleTeXOnePar): adjust
5560 * buffer.C (makeLaTeXFile): adjust
5562 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5564 * text2.C (changeDepth): parlist cleanup
5565 (getColumnNearX): ditto
5567 * rowpainter.C (getLabelFont): parlist cleanup
5569 * bufferlist.C (newFile): parlist cleanup
5571 * CutAndPaste.C (eraseSelection): parlist cleanup
5573 * BufferView_pimpl.C (trackChanges): parlist cleanup
5576 * BufferView.C (lockInset): parlist cleanup.
5577 (ChangeInsets): ditto
5579 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5581 * CutAndPaste.h: Update file header.
5583 * CutAndPaste.C: Update file header.
5584 Store the parts cut out of the Document in a limited_stack.
5585 (copySelection): adjust
5586 (pasteSelection): new function, takes the index in the limited stack.
5587 (nrOfParagraphs): adjust
5588 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5589 simplify error inset insertion.
5590 (checkPastePossible): adjust
5592 2003-05-06 John Levon <levon@movementarian.org>
5594 * text2.C: don't cast wrap inset to float
5596 2003-05-05 André Pönitz <poenitz@gmx.net>
5599 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5601 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5602 few naked Paragraph *.
5604 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5606 * bufferparams.C: Output warning if a document with missing
5607 TeX document class is loaded
5608 * exporter.C: Disable TeX exports if the document class is missing
5611 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5612 isTeXClassAvailable()
5614 2003-05-03 John Levon <levon@movementarian.org>
5617 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5618 explicit cursor show/hide
5620 * BufferView_pimpl.h:
5621 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5622 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5624 * lyxfunc.C: hide cursor before dispatching.
5629 * text3.C: remove explicit cursor hides
5631 2003-05-02 André Pönitz <poenitz@gmx.net>
5633 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5636 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5639 * text2.C: tiny whitespace
5641 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5643 * undo_funcs.C: almost only ws changes.
5645 * ParagraphList.C (splice): just return if pl is empty.
5647 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5649 * ParagraphList.C (splice): new function.
5651 * CutAndPaste.C (pasteSelection): use it
5653 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5655 * CutAndPaste.C (pasteSelection): remove the last next and
5656 previous from this file.
5658 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5660 * CutAndPaste.C (pasteSelection): more clean up, user proper
5661 ParagraphList functions for pasteing.
5663 * ParagraphList.C (insert): new function, three arg insert
5665 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * ParagraphList.C (insert): new function, three arg insert
5669 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5672 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5674 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5676 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5678 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5680 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5683 (copySelection): clean up a bit.
5684 (pasteSelection): use make_pair
5686 * ParagraphList.C (ParagraphList): implement copy constructor
5687 (operator=): implement, base on copy constructor.
5690 * paragraph.C (erase): return a bool
5692 * paragraph_pimpl.C (erasePos): remove function, move contents...
5693 (erase): ... here. Return a bool.
5694 (erase): call erase instead of erasePos.
5696 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5698 * ParagraphList.h: define PitPosPair
5699 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5700 ParagraphList, fix a bug on pasting multiple pars
5701 * text2.C: change interface to C&P
5703 2003-04-30 André Pönitz <poenitz@gmx.net>
5705 * undo_func.C: revert part of yesterday's patch 2
5707 2003-04-30 John Levon <levon@movementarian.org>
5709 * LColor.C: s/tabular/table/
5711 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5713 * text3.C (dispatch): do not convert iterator -> pointer
5714 * undo_funcs.C (setCursorParUndo): ditto
5715 * text_funcs.C (transposeChars): ditto
5717 * text2.C (setLayout): ws changes only
5719 * text.C (breakParagraph): do not convert iterator -> pointer
5721 (acceptChange): ditto
5722 (rejectChange): ditto
5727 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5730 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5732 * text3.C (gotoInset): YABG (yet another bad getChar)
5734 2003-04-29 André Pönitz <poenitz@gmx.net>
5736 * paragraph.h: make operator= private unimplemented as long as
5739 * ParagraphList.C: whitespace
5742 * paragraph_pimpl.[Ch]:
5743 * paragraph_funcs.C:
5745 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5748 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5750 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5752 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5753 * paragraph.[Ch] (erase):
5754 * paragraph_pimpl.[Ch] (erase): change return type and value
5755 * text2.C (cutSelection): some rework
5757 2003-04-28 John Levon <levon@movementarian.org>
5759 * bufferlist.C: changes for unsaved changes dialog
5761 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5763 * bufferlist.C (newFile): set language (messages_) for new
5766 * buffer.C (readFile): ws changes only.
5768 2003-04-28 André Pönitz <poenitz@gmx.net>
5773 * BufferView_pimpl.C:
5774 * BufferView.C: getParFromID related ParagraphList::iterator changes
5776 2003-04-28 André Pönitz <poenitz@gmx.net>
5778 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5781 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5783 * messages.C: remove one more localedir class variable.
5785 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5787 * messages.C (getLocaleDir): singleton generation function
5789 (Messages): add a default constructor.
5791 * main.C (main): do not setup localedir here, do not call
5794 * gettext.C (_): use it.
5795 (gettext_init): delete funciton
5797 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5799 * gettext.C (getLyXMessages): new singleton generating function.
5801 * buffer.C (updateDocLang): adjust
5803 * Makefile.am (messages.o): add target
5804 (main.o): remove target
5806 2003-04-27 John Levon <levon@movementarian.org>
5811 * lyxvc.C: specify cancel button in Alert::prompt
5813 2003-04-26 John Levon <levon@movementarian.org>
5818 * LyXAction.C: add LFUN_INSET_SETTINGS
5820 * lyxfunc.C: don't enable tabular-feature when there's
5821 just any locking inset
5823 2003-04-26 John Levon <levon@movementarian.org>
5825 * bufferlist.C: re-add Cancel to buffer close question
5827 * lyxfunc.C: fix import UI a bit
5829 2003-04-25 John Levon <levon@movementarian.org>
5831 * gettext.C: remove the broken asserts for now
5833 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5835 * messages.C: make case where setlocale cannot comply work better.
5837 * buffer.C (updateDocLang): new function
5838 (changeLanguage): use it
5841 * text2.C (setCounter): use B_ a bit.
5843 * lyxlayout.C (Read): be sure to trim the label strings.
5845 * messages.C (Messages): fix typo in comment
5847 * buffer.C (readFile): set message_ after file is loaded.
5848 (makeDocBookFile): remove double return
5849 (changeLanguage): reset message_ upon language change.
5850 (B_): new func, use this to get translated buffer strings.
5852 * main.C: add myself and Jean Marc as authors.
5854 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5856 * messages.[hC]: pimplify Messages, and three different pimpls to be
5857 used in different circumstances.
5859 * gettext.[Ch]: change for use with new message code.
5861 2003-04-24 André Pönitz <poenitz@gmx.net>
5863 * factory.C: support for eqref
5865 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5867 * messages.[Ch]: add missing char
5869 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5871 * messages.[Ch]: New files
5873 2003-04-18 John Levon <levon@movementarian.org>
5877 * BufferView_pimpl.C:
5881 * text2.C: remove layout-copy/paste (bug 778)
5883 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5885 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5887 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5889 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5890 if they succeed. Act accordingly.
5892 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5894 * text2.C (setCharFont): adjust
5895 (setCounter): adjust
5896 (insertStringAsLines): adjust
5898 * text.C (leftMargin): adjust
5899 (setHeightOfRow): adjust
5901 * rowpainter.C (paintFirst): adjust
5904 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5906 (isFirstInSequence): ditto
5907 (getEndLabel): ditto
5910 * paragraph.C (getParLanguage): comment out some hard stuff.
5912 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5914 (simpleDocBookOnePar): ditto
5915 (makeDocBookFile): use ParagraphList::iterator
5917 * CutAndPaste.C (pasteSelection): adjust
5919 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5921 * text2.C (getFont): adjust
5922 (getLayoutFont): adjust
5923 (getLabelFont): adjust
5925 * paragraph_funcs.C (TeXOnePar): adjust
5927 * buffer.C (simpleLinuxDocOnePar): adjust
5928 (simpleDocBookOnePar): adjust
5930 * CutAndPaste.C (pasteSelection): adjust
5932 * BufferView.C (getEncoding): adjust
5934 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5936 2003-04-16 John Levon <levon@movementarian.org>
5938 * lyxfind.C: use parlist stuff for search/changes
5940 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5942 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5944 * text2.C (deleteEmptyParagraphMechanism): adjust
5946 * text2.[Ch] (ownerParagraph): delete func (both of them
5948 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5952 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5954 * ParagraphList.C: prepare for NO_NEXT
5956 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5958 * text2.C (getFont): adjust
5959 (getLayoutFont): adjust
5960 (getLabelFont): adjust
5962 * paragraph.C (getFont): adjust
5963 (getLabelFont): adjust
5964 (getLayoutFont): adjust
5966 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5968 2003-04-15 John Levon <levon@movementarian.org>
5972 * lyx_main.C: handle Include in .ui files
5974 2003-04-15 John Levon <levon@movementarian.org>
5976 * MenuBackend.C: make the doc files length shorter
5979 * ToolbarBackend.C: handle toolbar placement flags,
5982 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5984 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5987 * paragraph_funcs.C (TeXOnePar): adjust
5989 * paragraph.C (getLabelFont): add outerfont arg, adjust
5990 (getLayoutFont): ditto
5991 (simpleTeXOnePar): adjust
5993 * paragraph_pimpl.C (realizeFont): delete func
5995 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5997 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5998 row argument, constify cur argument.
6000 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6002 * text2.C (getFont): adjust
6003 (getLayoutFont): adjust
6004 (getLabelFont): adjust
6006 * paragraph_funcs.C (TeXOnePar): adjust
6007 (outerFont): new func...
6008 (realizeFont): ...moved out from here, changed this to facilitate
6011 * paragraph.C (getFont): take outerfont as arg, adjust
6012 (simpleTeXOnePar): add outerfont arg, adjust
6014 * buffer.C (simpleLinuxDocOnePar): adjust
6015 (simpleDocBookOnePar): adjust
6017 * CutAndPaste.C (pasteSelection): adjust
6019 * BufferView.C (getEncoding): adjust
6021 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6023 * text2.C (setCharFont): adjust
6024 (setCounter): adjust
6026 * text.C (leftMargin): adjust
6027 (setHeightOfRow): adjust
6029 * rowpainter.C (paintFirst): adjust
6032 * paragraph_pimpl.C (realizeFont): adjust
6034 * paragraph.C (isFirstInSequence): move from here...
6035 * paragraph_funcs.C (isFirstInSequence): ...to here
6037 * paragraph.C (outerHook): move from here...
6038 * paragraph_funcs.C (outerHook): ...to here
6040 * paragraph.C (depthHook): move from here...
6041 * paragraph_funcs.C (depthHook): ...to here
6043 * paragraph.C (getEndLabel): move from here...
6044 * paragraph_funcs.C (getEndLabel): ...to here
6046 * text2.C (realizeFont): move from here...
6047 * paragraph_funcs.C (realizeFont): ...to here
6049 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6051 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6053 2003-04-14 Angus Leeming <leeming@lyx.org>
6055 * LColor.[Ch]: scrap LColor mathcursor.
6057 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6059 * lyxlex.[Ch] (text): delete function
6060 * trans.C (Load): adjust
6061 * paragraph_funcs.C (readParToken): adjust
6063 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6065 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6066 vector<char> instead of a char[].
6068 * lyxlex_pimpl.C (getString): adjust
6070 (lex): use getString
6074 * lyxlex.C (text): use pimpl_->getString()
6078 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6080 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6081 (makeFontEntriesLayoutSpecific): temp var for par.size()
6082 (setLayout): temp var for ownerParagraphs().end()
6083 (fullRebreak): temp var for rows().end()
6084 (selectionAsString): temp var for boost::next(startpit), realize
6085 that the while really is a regular for loop.
6086 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6087 setCursor in one place.
6088 (setParagraph): temp vr for ownerParagraphs().end()
6089 (updateCounters): make the while loop a for loop
6090 (cutSelection): temp var for ownerParagraphs().end()
6091 (updateInset): make the do {} while() a regular for loop
6092 (getCursorX): use temp vars
6093 (setCurrentFont): use temp vars
6094 (getColumnNearX): use temp vars
6096 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6098 * text.C (transformChar): use temp var for getChar
6099 (computeBidiTables): use temp var for row->par()
6100 (fill): move temp vars for row->par() and pit->layout() earlier in
6102 (labelFill): use temp var for row->par()
6103 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6104 asc and desc, realize that pit never changes and that firstpit is
6105 just a duplicate and not needed. Exchange rit->par() with pit in a
6107 (breakAgain): use a temp var for boost::next(rit)
6108 (breakAgainOneRow): ditto
6109 (breakParagraph): use a temp var for rows().begin()
6110 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6111 (cursorRightOneWord): use temp var for cursor.par() and
6112 cursor.pos(), remove usage of tmpcursor.
6113 (cursorLeftOneWord): use temp var for cursor.par() and
6114 cursor.pos() only set cur at end of function.
6116 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6118 * text.C, text2.C: exchange all usage of Paragraph::next with
6119 boost::next(ParagraphList::iterator)
6121 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6123 * text2.C (cursorTop): simplify implementation
6124 (cursorBottom): ditto
6125 (setParagraph): use ParagraphList::iterator
6126 (setCurrentFont): adjust
6127 (getColumnNearX): adjust
6128 (cursorRight): adjust
6129 (cursorLeft): remove usage of Paragraph::previous
6130 (cursorUpParagraph): ditto
6131 (deleteEmptyParagraphMechanism): slight cleanup
6133 * text.C (isBoundary): take a Paragraph const & instead of a
6135 (addressBreakPoint): ditto
6136 (leftMargin): remove usage of Paragraph::previous.
6137 (setHeightOfRow): ditto
6138 (cursorLeftOneWord): ditto
6139 (selectNextWordToSpellcheck): ditto
6142 (breakParagraph): remove one usage of Paragraph::next
6143 (redoParagraph): ditto
6144 (acceptChange): ditto
6145 (insertChar): adjust
6146 (rowBreakPoint): adjust
6148 * bufferview_funcs.C (toggleAndShow): adjust
6150 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6152 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6153 methods to access it.
6155 * text.C: Added updateRowPositions to compute all row positions.
6156 Make top_y and getRowNearY() to use the cached y position
6158 2003-04-11 John Levon <levon@movementarian.org>
6160 * text.C (rowBreakPoint): reintroduce the labelEnd
6161 checks, code copied from the row fill stuff. Deep voodoo.
6163 * text.C (fill): add a comment and debugging for the
6166 2003-04-11 John Levon <levon@movementarian.org>
6168 * text.C: make sure fullrow insets get wrapped to the next line,
6169 even when they're in a manual label
6171 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * text2.C (insertParagraph): make it take ParagraphList::iterator
6175 (setLayout): make it return ParagraphList::iterator
6176 (redoParagraphs): ditto
6178 (checkParagraph): ditto
6180 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6182 * text2.C: adjust several funcs.
6183 (realizeFont): take a ParagraphList::iterator as arg.
6184 (getLayoutFont): ditto
6185 (getLabelFont): ditto
6186 (setCharFont): ditto
6188 * text.C: adjust several funcs.
6190 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6192 * text.C (selectNextWordToSpellcheck): don't accidentally
6195 2003-04-10 John Levon <levon@movementarian.org>
6197 * ToolbarBackend.C (getIcon): special handling for
6200 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6202 * text2.C (cursorRight): a getChar assert fixed
6204 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6206 * text2.C (getFont): change to take a ParagraphList::iterator
6207 instead of Paragraph*
6208 Adjust several functions.
6210 * text.C (transformChar): change to take a ParagraphList::iterator
6211 instead of Paragraph*
6212 (singleWidth): ditto
6213 Adjust several functions.
6215 * rowpainter.C: adjust several functions
6216 * rowpainter.h:store a ParagraphList::iterator and not a
6220 2003-04-09 John Levon <levon@movementarian.org>
6225 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6226 and the "help" bits as well
6228 2003-04-09 John Levon <levon@movementarian.org>
6231 * ToolbarBackend.C: allow multiple toolbars
6233 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6235 * undo_funcs.C (setCursorParUndo): adjust
6237 * text_funcs.C (transposeChars): adjust
6239 * text3.C (gotoNextInset): adjust
6242 * text2.C (setLayout): adjust
6243 (changeDepth): adjust
6245 (redoParagraphs): adjust
6246 (selectionAsString): adjust
6247 (setParagraph): adjust
6248 (insertInset): adjust
6249 (cutSelection): adjust
6250 (copySelection): adjust
6251 (pasteSelection): adjust
6252 (insertStringAsLines): adjust
6253 (updateInset): adjust
6254 (setCursor): change to take a ParagraphList::iterator parameter
6255 (setCursorIntern): change to take a ParagraphList::iterator parameter
6256 (setCurrentFont): adjust
6257 (cursorLeft): adjust
6258 (cursorRight): adjust
6259 (deleteEmptyParagraphMechanism): adjust
6261 * text.C (breakParagraph): adjust
6262 (insertChar): adjust
6263 (acceptChange): adjust
6264 (rejectChange): adjust
6265 (selectNextWordToSpellcheck): adjust
6266 (changeCase): adjust
6270 * lyxfind.C (SearchForward): adjust
6271 (SearchBackward): adjust
6272 (nextChange): adjust
6274 * lyxcursor.C (par): adjust
6276 * lyxcursor.h: store a ParagraphList::iterator instead of a
6279 * lyx_cb.C (getPossibleLabel): adjust
6281 * bufferview_funcs.C (toggleAndShow): adjust
6283 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6286 * BufferView.C (removeAutoInsets): adjust
6287 (lockedInsetStoreUndo): adjust
6289 2003-04-09 John Levon <levon@movementarian.org>
6291 * ToolbarBackend.C: try icon without argument
6292 if with argument fails
6294 2003-04-08 John Levon <levon@movementarian.org>
6297 * ToolbarBackend.C: add getIcon(), handle tooltip,
6298 and change from "Icon" to "Item".
6300 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6302 * BufferView.C (lockInset): another bad getchar crunched
6304 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6306 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6309 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6311 * lyxfind.C (searchForward, searchBackwards): bug 782
6313 2003-04-07 John Levon <levon@movementarian.org>
6315 * paragraph.C: remove dead comment
6317 * text.C: remove troublesome depth-fiddling code
6318 in leftMargin() and rightMargin() (bug 1017)
6320 * text.C: fix breaking of rows in nested lists
6323 * text2.C (updateCounters): fix up depth values
6326 2003-04-07 John Levon <levon@movementarian.org>
6328 * BufferView_pimpl.C: clear message when doc finishes resizing,
6329 and after a mouse event
6331 * lyxfunc.C: clear message after exiting inset
6333 2003-04-07 John Levon <levon@movementarian.org>
6335 * bufferview_funcs.C: show math status not outside
6336 status in the statusbar
6338 2003-04-07 John Levon <levon@movementarian.org>
6340 * lyxfunc.C: note status changed after a depth change
6342 2003-04-04 Angus Leeming <leeming@lyx.org>
6344 * LaTeX.h: move AuxInfo operator==, != out of line.
6345 Remove LaTeX virtual destructor; nothing derives from it.
6346 Move operator()() out of public area and rename it startscript().
6347 Change protected for private.
6349 2003-04-04 Angus Leeming <leeming@lyx.org>
6352 * text2.C: remove unneeded #includes.
6354 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6356 * text2.C (dEPM): fix the heigth of the next row
6358 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6360 * text.C: squashed an invalid getChar requester + some ws changes
6362 2003-04-03 John Levon <levon@movementarian.org>
6364 * bufferview_funcs.h:
6365 * bufferview_funcs.C:
6368 * text2.C: make getStatus work for the env depth lfuns
6370 2003-04-03 John Levon <levon@movementarian.org>
6372 * bufferview_funcs.h:
6373 * bufferview_funcs.C:
6376 * text2.C: parlistize decDepth(), by merging it with incDepth()
6378 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6380 * lyxrow.h: store a ParagraphList::iterator instead of a
6381 Paragraph* and adjust other class functions to suit.
6383 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6386 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6388 * text2.C (setCursor): do not anchor to cursor row for the time being
6390 2003-04-02 John Levon <levon@movementarian.org>
6397 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6399 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6401 * paragraph.h: make ParagraphList and ParagraphList::iterator
6402 friends of Paragraph.
6404 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6406 * ParagraphList.C: Use the private next_ and previous_ from
6409 2003-04-01 John Levon <levon@movementarian.org>
6413 * Makefile.am: rename, remove defaults gunk
6416 * MenuBackend.C: remove defaults gunk
6419 * Languages.C: remove defaults gunk
6422 * lyx_main.C: error out if files couldn't be found.
6424 2003-04-02 John Levon <levon@movementarian.org>
6426 * text2.C: make incDepth() use parlist
6428 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6430 * undo_funcs.C (firstUndoParagraph): adjust
6432 * text3.C (gotoInset): adjust
6433 (dispatch): adjust, and rewrite loop.
6435 * text2.C (init): adjust, and rewrite loop.
6436 (redoParagraphs): adjust
6437 (updateInset): adjust, and rewrite loop.
6438 (deleteEmptyParagraphMechanism): adjust
6440 * tabular.C (LyXTabular): adjust
6441 (SetMultiColumn): adjust
6444 * lyxtext.[Ch] (ownerParagraph): delete function
6445 (ownerParagraphs): new function returns a ParagraphList.
6447 * BufferView.C (removeAutoInsets): adjust
6448 (insertErrors): adjust
6449 (setCursorFromRow): adjust
6451 2003-04-01 Angus Leeming <leeming@lyx.org>
6453 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6456 2003-04-02 John Levon <levon@movementarian.org>
6462 * text_funcs.C: make transposeChars a free function
6464 * lyxrow_funcs.C: remove wrong comment
6466 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6469 * rowpainter.C: adjust
6474 * lyxrow_funcs. [Ch]: new files
6476 * lyxrow.[Ch]: remove next and previous pointers
6477 (next,previous): remove accessor functions
6478 (isParEnd): move to lyxrow_funcs
6479 (lastPos): move to lyxrow_funcs
6480 (nextRowIsAllInset): move to lyxrow_funcs
6481 (lastPrintablePos): move to lyxrow_funcs
6482 (numberOfSeparators): move to lyxrow_funcs
6483 (numberOfHfills): move to lyxrow_funcs
6484 (numberOfLabelHfills): move to lyxrow_funcs
6485 (hfillExpansion): move to lyxrow_funcs
6489 * bufferview_funcs.C (toggleAndShow): adjust
6491 * RowList.h: Remove class RowList from file leave just a
6494 * RowList.C: delete file
6496 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6499 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6501 * text3.C (cursorPrevious): adjust
6502 (cursorNext): adjust
6505 * text2.C (redoHeightOfParagraph): adjust
6506 (redoDrawingOfParagraph): adjust
6509 * text.C (breakParagraph): adjust
6510 (insertChar): adjust
6513 * rowpainter.C (RowPainter): adjust
6514 (leftMargin): simplify and adjust
6515 (most rowpainter functions): adjust.
6517 * rowpainter.h: store the row as RowList::iterator not as Row*
6519 * lyxcursor.C (row): taka RowList::iterator as arg
6522 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6525 2003-04-01 Angus Leeming <leeming@lyx.org>
6527 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6528 stuff like bool Bool.
6530 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6532 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6535 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6537 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6540 * lyxtext.h (rows): drop one version and leve a const variant that
6541 returns a RowList::iterator.
6543 2003-03-31 Angus Leeming <leeming@lyx.org>
6545 * text.C (fill): ensure that the signature is the same as that in the
6548 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6550 * text2.C (redoParagraphs): adjust
6551 (updateCounters): adjust
6552 (checkParagraph): adjust
6553 (getColumnNearX): adjust and reformat a bit.
6555 * text.C (top_y): adjust
6557 (leftMargin): adjust
6558 (prepareToPrint): adjust
6560 (getRowNearY): adjust
6562 * lyxtext.h: make rowlist_ mutable.
6564 * RowList.h: add const_iterator
6565 * RowList.C: adjust for RowList::const_iterator.
6567 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6570 2003-03-31 John Levon <levon@movementarian.org>
6573 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6575 * lyx_main.C: set default fonts from using lyx_gui funcs
6577 * exporter.C: pdf_mode moved from lyxrc
6580 * lyxfunc.C: changes from above
6582 2003-03-31 John Levon <levon@movementarian.org>
6584 * lyx_main.C: fix to the last fix
6586 2003-03-31 John Levon <levon@movementarian.org>
6588 * bufferlist.C: "Load original" -> "Load Original"
6594 * format.C: more Alert cleanups
6596 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6598 * text2.C (removeParagraph): make it take a RowList::iterator as
6600 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6601 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6603 * text.C (anchor_row): make it take a RowList::iterator as arg,
6605 (computeBidiTables): make it take a const reference to Row instead
6606 of Row pointer, adjust.
6607 (leftMargin): make it take a RowList::iterator as arg, adjust.
6608 (rowBreakPoint): adjust
6609 (breakAgainOneRow): make it take a RowList::iterator as arg,
6611 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6613 * bufferview_funcs.C (toggleAndShow): adjust
6615 2003-03-30 John Levon <levon@movementarian.org>
6619 * boost-inst.C: moved to support
6621 * several files: changes as a result
6623 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6625 * text2.C (LyXText): adjust.
6627 (removeRow): make it take a RowList::iterator as arg, adjust.
6628 (fullRebreak): adjust
6629 (deleteEmptyParagraphMechanism): adjust
6630 (clearPaint): adjust
6633 * text.C (top_y): adjust
6634 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6635 (breakAgain): make it take a RowList::iterator as arg, adjust.
6636 (breakParagraph): adjust
6637 (insertChar): adjust
6640 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6641 need_break_row, and refresh_row.
6643 * text3.C (dispatch): adjust
6645 * text2.C (checkParagraph): adjust
6647 (setCursorFromCoordinates): adjust
6649 * text.C (top_y): adjust
6651 (getRow): make it return a RowList::iterator, adjust
6652 (getRowNearY): make it return a RowList::iterator, adjust
6654 * text2.C (init): adjust
6655 (insertRow): remove function
6656 (insertParagraph): adjust
6657 (redoParagraphs): adjust
6658 (fullRebreak): adjust
6659 (updateCounters): adjust
6661 * text.C (top_y): rewrite to use RowList iterators.
6663 (setHeightOfRow): rewrite to sue RowList iterators.
6664 (appendParagraph): adjust
6665 (breakAgain): adjust
6666 (breakAgainOneRow): adjust
6667 (breakParagraph): adjust
6669 (getRowNearY): adjust, and remove commented code.
6671 * lyxtext.h (firstRow): delete function
6672 (lastRow): delete function
6673 (rows): new function (const and non-const versions.)
6674 (insertRow): delete function
6676 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6678 2003-03-29 John Levon <levon@movementarian.org>
6680 * BufferView_pimpl.C: always update scrollbar top
6681 because pasting text when we're anchored could mean we
6682 miss an update altogether
6684 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6686 * text2.C (init): use rowlist_.end() and not 0.
6687 (insertRow): change to take a RowList::iterator as arg, adjust
6689 (insertParagraph): change to take a RowList::iterator as arg,
6691 (redoParagraphs): remove some debug msgs.
6693 * text.C (appendParagraph): change to take a RowList::iterator
6694 arg, adjust for this.
6695 (breakAgain): add an assert
6696 (breakAgainOneRow): ditto
6698 2003-03-29 John Levon <levon@movementarian.org>
6700 * text2.C: do not clear selection after inc/decDepth
6703 2003-03-29 John Levon <levon@movementarian.org>
6706 * buffer.C: fix broken strerrors according to Lars
6708 2003-03-29 John Levon <levon@movementarian.org>
6710 * converters.C: more Alert cleanups
6712 2003-03-29 John Levon <levon@movementarian.org>
6714 * bufferview_funcs.C: remove pointless Alert
6716 * buffer.C: fix confusing error message when
6717 a template is chmoded 000
6719 2003-03-29 John Levon <levon@movementarian.org>
6723 * BufferView_pimpl.C: Alert fixes
6727 * tabular-old.C: remove unused table compat reading
6729 2003-03-29 John Levon <levon@movementarian.org>
6734 * lyx_cb.C: more Alert cleanups
6736 * lyxfunc.C: don't allow chktex if not latex document
6738 2003-03-29 John Levon <levon@movementarian.org>
6742 * buffer.C: warnings pushed down from support/,
6745 2003-03-29 John Levon <levon@movementarian.org>
6747 * lyxfunc.C: safety check for C-r (revert)
6749 2003-03-29 John Levon <levon@movementarian.org>
6752 * bufferlist.C: several UI fixes using Alert::prompt.
6753 Fix the pointless looping quit code. Fix stupid revert
6758 * lyx_cb.C: use Alert::prompt
6760 * lyx_main.C: remove a silly question
6762 * lyxfunc.C: remove a couple of silly questions,
6765 2003-03-28 John Levon <levon@movementarian.org>
6767 * text2.C: fix bug 974 (End on empty par)
6769 2003-03-28 John Levon <levon@movementarian.org>
6771 * BufferView_pimpl.C:
6773 * lfuns.h: remove do-nothing math greek lfuns
6775 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6777 * lyxgluelength.h (isValidGlueLength): add default arg on
6778 parameter 2. Remove default arg from friend in class.
6780 * lyxlength.h (isValidLength): add default arg on parameter 2.
6781 Remove default arg from friend in class.
6783 * text2.C (LyXText): adjust, initialize refresh_row.
6787 (insertParagraph): adjst
6788 (redoParagraphs): adjust
6789 (fullRebreak): adjust
6790 (updateCounters): adjust
6791 (deleteEmptyParagraphMechanism): first attempt at fixing a
6794 * text.C (top_y): adjust
6795 (setHeightOfRow): adjust
6797 (getRowNearY): adjust
6799 * lyxtext.h: include RowList.h
6800 (~LyXText): not needed anymore, deleted.
6801 (firstRow): modify for RowList
6802 (lastRow): new function
6803 Delete firstrow and lastrow class variables, add a Rowlist
6804 rowlist_ class variable.
6806 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6809 * RowList.C (insert): fix case where it == begin().
6811 2003-03-26 Angus Leeming <leeming@lyx.org>
6813 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6814 the thesaurus dialog.
6816 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6818 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6820 * RowList.[Ch]: new files
6822 * ParagraphList.C (erase): handle the case where it == begin
6825 2003-03-25 John Levon <levon@movementarian.org>
6829 * aspell.C: add new aspell support
6832 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6835 2003-03-25 Angus Leeming <leeming@lyx.org>
6838 * LyXAction.C (init): new LFUN_INSET_INSERT.
6840 * BufferView_pimpl.C (dispatch): split out part of the
6841 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6843 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6846 2003-03-25 Angus Leeming <leeming@lyx.org>
6848 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6850 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6853 * text3.C: remove useless row->height(0)
6855 2003-03-25 John Levon <levon@movementarian.org>
6859 * text3.C: rename the refreshing stuff to better names
6861 2003-03-24 John Levon <levon@movementarian.org>
6863 * BufferView_pimpl.h:
6864 * BufferView_pimpl.C: update layout choice on a mouse
6867 2003-03-23 John Levon <levon@movementarian.org>
6869 * Makefile.am: fix commandtags.h reference
6871 2003-03-22 John Levon <levon@movementarian.org>
6873 * BufferView_pimpl.C:
6878 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6880 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6883 * text.C: take the rtl methods out of line
6885 2003-03-21 André Pönitz <poenitz@gmx.net>
6887 * metricsinfo.[Ch]: new files containing structures to be passed around
6888 during the two-phase-drawing...
6890 2003-03-21 André Pönitz <poenitz@gmx.net>
6892 * lyxtextclass.C: read 'environment' tag.
6894 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6896 * text2.C (removeRow): fix bug 964
6898 2003-03-20 John Levon <levon@movementarian.org>
6902 * text2.C: paint cleanups. Inset::update() dropped font
6905 2003-03-19 John Levon <levon@movementarian.org>
6907 * lyxfunc.C: only fitcursor/markDirty if available()
6909 2003-03-19 John Levon <levon@movementarian.org>
6911 * commandtags.h: rename to ...
6913 * lfuns.h: ... this, and renumber / cleanup
6915 2003-03-19 John Levon <levon@movementarian.org>
6917 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6918 fit the cursor after an lfun
6922 * BufferView_pimpl.h:
6923 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6925 * LyXAction.C: layout-character should have ReadOnly
6927 * ParagraphParameters.C:
6929 * bufferview_funcs.C:
6936 * undo_funcs.C: changes from above
6938 2003-03-18 John Levon <levon@movementarian.org>
6940 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6941 remove it from update()
6943 * lyxfunc.C: update layout choice after an lfun
6945 * text3.C: remove extra updateLayoutChoice()s
6947 2003-03-18 John Levon <levon@movementarian.org>
6949 * text.C: top_y change means full repaint, fix
6950 a drawing bug with cursor movement
6952 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6956 * text2.C: anchor row on setCursor
6958 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6960 * lyxtext.h: remove almost all mutable keywords
6963 * text3.C: remove const keywords accordingly
6965 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6967 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6969 (TeXEnvironment): ditto
6972 2003-03-17 John Levon <levon@movementarian.org>
6974 * text.C (rowBreakPoint): remove attempt to fix displayed
6975 math insets inside a manual label
6977 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6979 * lyxtext.h: remove BufferView* as first arg from almost all class
6981 * other files: adjust.
6983 2003-03-17 John Levon <levon@movementarian.org>
6987 * text2.C: more paint cleanups
6989 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6992 * rowpainter.C: remove "smart" background painting code
6994 2003-03-16 John Levon <levon@movementarian.org>
6999 * text3.C: add helper functions for setting refresh_row/y
7001 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7003 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7004 newline inset which *can* get inserted in the pass_thru layouts.
7005 This is primarily for literate documents.
7007 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7009 * buffer.C: increment LYX_FORMAT to 223
7011 2003-03-14 André Pönitz <poenitz@gmx.net>
7013 * textclass.h: prepare for environment handling, ws changes
7014 * lyxlayout.C: read latexheader and latexfooter tags
7016 2003-03-14 John Levon <levon@movementarian.org>
7018 * text2.C: rewrite ::status() a bit
7020 2003-03-13 John Levon <levon@movementarian.org>
7022 * lyxtext.h: add some docs
7024 2003-03-13 John Levon <levon@movementarian.org>
7029 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7031 2003-03-13 John Levon <levon@movementarian.org>
7033 * text3.C: fix appendix redrawing
7035 2003-03-13 John Levon <levon@movementarian.org>
7037 * text.C (setHeightOfRow):
7039 * rowpainter.C: make appendix mark have the text
7040 "Appendix" so the user knows what it is
7043 * LColor.C: s/appendixline/appendix/ from above
7045 2003-03-13 John Levon <levon@movementarian.org>
7047 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7049 * text.C: fix a getChar(pos) bug properly
7051 2003-03-13 Angus Leeming <leeming@lyx.org>
7054 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7055 Probably only temporary. Let's see how things pan out.
7057 * BufferView.C (unlockInset):
7058 * BufferView_pimpl.C (fitCursor):
7059 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7061 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7062 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7064 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7065 new functions that convert ParagraphParameters to and from a string.
7067 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7068 BufferView::Pimpl's dispatch.
7069 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7071 2003-03-13 André Pönitz <poenitz@gmx.net>
7075 * factory.C: make it aware of InsetEnv
7077 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7079 * text2.C (setCursor): never ask for one past last
7080 (setCursor): add some debugging messages.
7082 * text.C (singleWidth): never ask for one past last
7083 (singleWidth): ditto
7085 (rightMargin): ditto
7086 (rowBreakPoint): ditto
7087 (setHeightOfRow): ditto
7088 (prepareToPrint): ditto
7090 * rowpainter.C (paintBackground): never ask for one past last
7091 (paintText): never ask for one past last
7093 * paragraph_pimpl.C (getChar): make the assert stricter, never
7094 allow the one past last pos to be taken
7096 * paragraph.C (getChar): ws changes only
7098 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7099 (numberOfSeparators): ditto
7100 (numberOfHfills): ditto
7102 2003-03-12 John Levon <levon@movementarian.org>
7108 * paragraph_funcs.C: fix per-buffer authorlists
7110 2003-03-12 John Levon <levon@movementarian.org>
7112 * text.C: fix newline in right address
7114 2003-03-12 Angus Leeming <leeming@lyx.org>
7116 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7117 duplicate those in LyXFunc::dispatch.
7121 * ToolbarDefaults.C:
7122 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7123 Add LFUN_FONTFREE_UPDATE.
7125 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7126 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7128 * bufferview_func.[Ch]: several new functions to facilliate
7129 transfer of data to and from the character dialog.
7131 2003-03-12 John Levon <levon@movementarian.org>
7136 * paragraph_funcs.C:
7137 * paragraph_pimpl.C:
7141 * text3.C: remove META_NEWLINE in favour of an inset
7144 * rowpainter.C: remove paintNewline (done by inset)
7146 2003-03-12 John Levon <levon@movementarian.org>
7148 * paragraph_pimpl.C: complain about bad getChar()s
7149 for a while at least
7151 2003-03-12 John Levon <levon@movementarian.org>
7154 * buffer.C: move paragraph read into a separate function,
7155 a little renaming to reflect that.
7158 * bufferparams.C: remove the author_ids map, not necessary now
7161 * factory.C: moved Buffer::readInset to here
7163 * paragraph_funcs.h:
7164 * paragraph_funcs.C: readParagraph free function moved from
7167 * tabular.C: name change
7169 2003-03-12 John Levon <levon@movementarian.org>
7172 * ParagraphParameters.C: move par params input to
7175 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7176 behave like a normal read from the stream wrt reading
7177 a line vs. a \\token
7179 2003-03-12 John Levon <levon@movementarian.org>
7182 * ParagraphParameters.h:
7183 * ParagraphParameters.C: move output code to a
7186 2003-03-12 John Levon <levon@movementarian.org>
7188 * BufferView.C (insertLyXFile):
7191 * tabular.C: use a parlist iterator for creating the
7194 2003-03-12 John Levon <levon@movementarian.org>
7196 * buffer.C: make current_change static local not
7199 2003-03-12 John Levon <levon@movementarian.org>
7201 * buffer.C: fix insertStringAsLines for change tracking
7203 2003-03-12 John Levon <levon@movementarian.org>
7210 * bufferparams.C: move author list into params. Rename some
7211 functions. Move the header reading into a separate token
7212 loop. Move the header token reading into BufferParams.
7214 2003-03-12 John Levon <levon@movementarian.org>
7216 * changes.C: put debug inside lyxerr.debugging() checks
7218 2003-03-11 André Pönitz <poenitz@gmx.net>
7220 * factory.C: make it aware of InsetHFill
7222 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7224 * buffer.C (latexParagraphs): move function from here...
7225 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7228 2003-03-10 Angus Leeming <leeming@lyx.org>
7230 * LyXAction.C (init): fix bug in poplating array with multiple entries
7231 with the same LFUN (spotted by JMarc).
7233 2003-03-10 John Levon <levon@movementarian.org>
7236 * text2.C: move getColumnNearX() near its
7239 2003-03-10 John Levon <levon@movementarian.org>
7241 * text.C: fix break before a minipage
7243 2003-03-10 John Levon <levon@movementarian.org>
7245 * text.C: fix the last commit
7247 2003-03-09 John Levon <levon@movementarian.org>
7251 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7252 bug 365 (don't break before insets unless needed). Don't
7253 return a value > last under any circumstances.
7255 2003-03-09 Angus Leeming <leeming@lyx.org>
7257 * BufferView_pimpl.C (trackChanges, dispatch): call
7258 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7260 2003-03-09 Angus Leeming <leeming@lyx.org>
7262 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7263 than Dialogs::showAboutlyx().
7265 2003-03-09 Angus Leeming <leeming@lyx.org>
7267 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7268 than Dialogs::showTabularCreate().
7270 2003-03-09 John Levon <levon@movementarian.org>
7274 * text2.C: 3rd arg to nextBreakPoint was always the same.
7277 2003-03-08 John Levon <levon@movementarian.org>
7284 * text2.C: Remove the "main" bit from the "main body"
7287 2003-03-08 John Levon <levon@movementarian.org>
7289 * text.C (leftMargin): The left margin of an empty
7290 manual label paragraph should not include the label width
7293 * text.C (prepareToPrint): don't attempt to measure hfills
7294 for empty manual label paragraphs - the answer should be 0
7296 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7298 * CutAndPaste.C: remove commented code and reindent.
7300 2003-03-08 John Levon <levon@movementarian.org>
7303 * lyxfunc.C: move reloadBuffer()
7306 * BufferView.C: to here
7308 * lyxvc.C: add comment
7311 * vc-backend.C: call bv->reload() to avoid
7312 getStatus() check on MENURELOAD
7314 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7316 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7317 to an old format .dep file.
7319 2003-03-07 Angus Leeming <leeming@lyx.org>
7321 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7322 when the LFUN_MOUSE_RELEASE should have been handled by
7323 inset->localDispatch.
7325 2003-03-07 Angus Leeming <leeming@lyx.org>
7327 * BufferView_pimpl.C (dispatch):
7328 * LyXAction.C (init):
7329 * ToolbarDefaults.C (init):
7331 * lyxfunc.C (getStatus):
7332 remove LFUN_INSET_GRAPHICS.
7334 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7336 2003-03-07 Angus Leeming <leeming@lyx.org>
7339 * LyXAction.C (init):
7340 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7342 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7345 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7347 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7348 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7350 2003-03-07 Angus Leeming <leeming@lyx.org>
7352 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7355 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7357 * ParagraphList.C (front): new function
7360 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7362 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7363 and top_row_offset_. removed var first_y.
7365 * text2.C (LyXText, removeRow):
7367 * BufferView_pimpl.C:
7368 use these methods instead of using first_y
7370 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7372 * text2.C (pasteSelection): adjust for checkPastePossible
7374 * CutAndPaste.C: remove Paragraph * buf and replace with
7375 ParagraphList paragraphs.
7376 (DeleteBuffer): delete
7377 (cutSelection): change the tc type to textclass_type
7378 (copySelection): change the tc type to textclass_type
7379 (copySelection): adjust for ParagraphList
7380 (pasteSelection): change the tc type to textclass_type
7381 (pasteSelection): adjust for Paragraphlist
7382 (nrOfParagraphs): simplify for ParagraphList
7383 (checkPastePossible): simplify for ParagraphList
7384 (checkPastePossible): remove unused arg
7386 * ParagraphList.C (insert): handle the case where there are no
7389 * CutAndPaste.h: make CutAndPaste a namespace.
7391 * text3.C (dispatch): adjust
7393 * text.C (breakParagraph): add a ParagraphList as arg
7395 * paragraph_funcs.C (breakParagraph): change to take a
7396 BufferParams and a ParagraphList as args.
7397 (breakParagraphConservative): ditto
7398 (mergeParagraph): ditto
7399 (TeXDeeper): add a ParagraphList arg
7400 (TeXEnvironment): ditto
7403 * buffer.C (readLyXformat2): adjust
7404 (insertStringAsLines): adjust
7405 (latexParagraphs): adjust
7407 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7408 (cutSelection): adjust
7409 (pasteSelection): adjust
7411 * BufferView_pimpl.C (insertInset): adjust
7413 2003-03-05 Angus Leeming <leeming@lyx.org>
7416 * LyXAction.C (init):
7417 * BufferView_pimpl.C (dispatch):
7418 * lyxfunc.C (getStatus):
7419 remove LFUN_CHILD_INSERT.
7421 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7423 2003-03-05 Angus Leeming <leeming@lyx.org>
7426 * LyXAction.C (init):
7427 * src/factory.C (createInset):
7428 * lyxfunc.C (getStatus):
7429 * text3.C (dispatch):
7430 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7432 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7434 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7436 * ParagraphList.C (insert): handle insert right before end()
7437 (erase): fix cases where it can be first or last paragraph.
7439 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7441 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7442 Paragraph::next and Paragraph::previous
7445 * text.C (breakParagraph): adjust
7447 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7448 BufferParams& as arg.
7449 (breakParagraph): use ParagraphList::insert
7450 (breakParagraphConservative): take a Buffer* instead of a
7451 BufferParams& as arg.
7452 (breakParagraphConservative): use ParagraphList::insert.
7454 * buffer.C (insertStringAsLines): un-const it
7455 (insertStringAsLines): adjust
7457 * ParagraphList.C (insert): new function
7459 * CutAndPaste.C (pasteSelection): adjust
7461 * text.C (backspace): adjust
7463 * tabular.C (SetMultiColumn): adjust
7465 * CutAndPaste.C (cutSelection): adjust
7466 (pasteSelection): adjust
7468 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7469 Buffer const * as arg
7471 * ParagraphList.C (erase): new function
7472 * paragraph_funcs.C (mergeParagraph): use it
7473 (mergeParagraph): make it take a Buffer* instead of a
7474 BufferParams* as arg
7476 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7478 (breakParagraphConservative): ditto
7480 * paragraph.h: remove the breakParagraph friend
7482 * paragraph.C (eraseIntern): new function
7483 (setChange): new function
7485 * paragraph_funcs.C (mergeParagraph): make it take a
7486 ParagraphList::iterator instead of a Paragraph *, adjust
7489 * paragraph.h: move an #endif so that the change tracking stuff
7490 also works in the NO_NEXT case.
7492 2003-03-04 Angus Leeming <leeming@lyx.org>
7495 * LyXAction.C: new LFUN_INSET_MODIFY.
7497 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7498 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7500 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7502 * several files: ws changes only
7504 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7505 (TeXEnvironment): ditto
7508 * buffer.C (makeLaTeXFile): adjust
7509 (latexParagraphs): make it take ParagraphList::iterator as args
7511 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7513 * buffer.C (latexParagraphs): adjust
7515 * paragraph.C (TeXOnePar): move function...
7516 (optArgInset): move function...
7517 (TeXEnvironment): move function...
7518 * paragraph_pimpl.C (TeXDeeper): move function...
7519 * paragraph_funcs.C: ...here
7521 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7523 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7525 * buffer.C (readInset): remove compability code for old Figure and
7528 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7530 * buffer.C: ws changes
7533 * BufferView_pimpl.C: ditto
7536 * bufferlist.h: ditto
7540 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7542 * converter.[Ch]: split into itself +
7545 * Makefile.am: += graph.[Ch] + format.[Ch]
7552 * lyxrc.C: added #include "format.h"
7554 2003-02-27 Angus Leeming <leeming@lyx.org>
7556 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7559 * factory.C (createInset): add "label" to the factory.
7561 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7562 string and do no more.
7564 2003-02-27 Angus Leeming <leeming@lyx.org>
7567 * LyXAction.C (init):
7568 * factory.C (createInset):
7569 * BufferView_pimpl.C (dispatch):
7570 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7572 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7574 * lyxfunc.C (dispatch):
7575 * text3.C (dispatch): pass name to params2string.
7577 2003-02-26 Angus Leeming <leeming@lyx.org>
7579 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7581 Rearrange the ~includes. Strip out the unnecessary ones.
7583 * factory.C (createInset): reformat.
7584 create new insets for the various LFUN_XYZ_APPLY lfuns.
7586 2003-02-26 John Levon <levon@movementarian.org>
7589 * lyxrow.C: add isParStart,isParEnd helpers
7591 * paragraph.h: make isInserted/DeletedText take refs
7593 * paragraph_funcs.h:
7594 * paragraph_funcs.C: remove #if 0'd code
7599 * text.C: use lyxrow helpers above.
7600 Move draw and paint routines to RowPainter.
7601 Make several methods use refs not pointers.
7602 Make backgroundColor() const.
7603 Add markChangeInDraw(), isInInset().
7604 Merge changeRegionCase into changeCase.
7605 Make workWidth() shouldn't-happen code into an Assert.
7608 * rowpainter.C: new class for painting a row.
7611 * vspace.C: make inPixels take a ref
7613 2003-02-26 Angus Leeming <leeming@lyx.org>
7615 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7618 2003-02-25 John Levon <levon@movementarian.org>
7620 * ispell.C: give the forked command a more accurate name
7622 2003-02-22 John Levon <levon@movementarian.org>
7625 * toc.C: make TocItem store an id not a Paragraph *
7628 2003-02-21 Angus Leeming <leeming@lyx.org>
7630 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7631 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7632 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7633 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7634 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7635 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7637 * BufferView_pimpl.C (dispatch):
7638 * LyXAction.C (init):
7639 * factory.C (createInset):
7640 * lyxfunc.C (getStatus, dispatch):
7641 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7643 2003-02-21 Angus Leeming <leeming@lyx.org>
7645 * BufferView_pimpl.C (MenuInsertLyXFile):
7646 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7647 * lyxfunc.C (menuNew, open, doImport):
7648 no longer pass a LyXView & to fileDlg.
7650 2003-02-21 Angus Leeming <leeming@lyx.org>
7652 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7653 * LyXAction.C: change, BIBKEY to BIBITEM.
7654 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7655 Change InsetBibKey to InsetBibitem.
7656 Change BIBKEY_CODE to BIBITEM_CODE.
7657 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7658 * factory.C: replace insetbib.h with insetbibitem.h.
7659 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7660 * paragraph.C: replace insetbib.h with insetbibitem.h.
7661 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7662 Change bibkey() to bibitem().
7663 * text.C: remove insetbib.h.
7664 * text2.C: replace insetbib.h with insetbibitem.h.
7665 change bibkey() to bibitem().
7666 * text3.C: remove insetbib.h.
7667 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7669 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7671 * lyxrc.C (output): enclose user email in quotes (in case there are
7674 2003-02-18 John Levon <levon@movementarian.org>
7676 * buffer.h: add std::
7678 2003-02-17 John Levon <levon@movementarian.org>
7684 * pspell.C: reworking. Especially in ispell, a large
7685 number of clean ups and bug fixes.
7687 * lyxfunc.C: fix revert to behave sensibly
7689 2003-02-17 André Pönitz <poenitz@gmx.net>
7692 * commandtags.h: new LFUN_INSERT_BIBKEY
7702 * paragraph_func.C: remove special bibkey handling
7704 2003-02-17 John Levon <levon@movementarian.org>
7706 * text.C (Delete): fix case where delete at the end of
7707 the very first paragraph would not merge the pars
7709 2003-02-17 John Levon <levon@movementarian.org>
7711 * lyxrow.C: fix lastPrintablePos()
7713 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7715 * bufferparams.C (writeLaTeX): add a std:here
7717 * buffer.C: and remove a using directive there
7719 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7721 * buffer.C (makeLaTeXFile): move the code that generates the
7724 * bufferparams.C (writeLaTeX): ... in this new method
7726 * LaTeXFeatures.C (getEncodingSet): make const
7727 (getLanguages): make const
7729 * MenuBackend.C (binding): returns the binding associated to this
7731 (add): sets the status of each item by calling getStatus. Adds
7733 (read): add support for OptSubMenu
7734 (expand): remove extra separator at the end of expanded menu
7736 2003-02-15 John Levon <levon@movementarian.org>
7739 * BufferView_pimpl.C:
7741 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7742 inset code that had no actual effect. Remove unneeded status
7745 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7747 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7750 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7752 * text.C (drawLengthMarker): also draw an arrow marker for
7753 symbolic lengths (medskip...)
7755 2003-02-14 John Levon <levon@movementarian.org>
7758 * tabular.C: better method names
7760 2003-02-14 John Levon <levon@movementarian.org>
7762 * BufferView_pimpl.C:
7767 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7768 it's a more accurate name. Remove some pointless uses.
7770 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7772 * text2.C (LyXText): change order of initilizers to shut off
7775 2003-02-14 John Levon <levon@movementarian.org>
7777 * buffer.C: use ParIterator for getParFromID()
7781 * paragraph_pimpl.h:
7782 * paragraph_pimpl.C: remove unused getParFromID()
7784 2003-02-14 John Levon <levon@movementarian.org>
7786 * buffer.C: remove some very old #if 0'd parse code
7788 2003-02-13 John Levon <levon@movementarian.org>
7792 * text2.C: move hfillExpansion(), numberOfSeparators(),
7793 rowLast(), rowLastPrintable(), numberofHfills(),
7794 numberOfLabelHfills() ...
7797 * lyxrow.C: ... to member functions here.
7802 * text.C: remove LyXText::beginningOfMainBody(), and call
7803 p->beginningOfMainBody() directly. Move the check for
7804 LABEL_MANUAL into the latter.
7811 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7817 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7818 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7820 2003-02-13 John Levon <levon@movementarian.org>
7822 * CutAndPaste.C: remove debug
7824 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7826 * paragraph.C (asString): remove two unused variables
7828 * lyxtextclass.C (readTitleType):
7830 (LyXTextClass): handle new members titletype_ and titlename_
7832 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7834 2003-02-09 John Levon <levon@movementarian.org>
7837 * buffer.C: replace hand-coded list with a map for the dep clean
7839 2003-02-08 John Levon <levon@movementarian.org>
7841 * LaTeX.C: consolidate code into showRunMessage() helper
7843 2003-02-08 John Levon <levon@movementarian.org>
7848 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7849 and pass the size in explicitly
7851 * BufferView_pimpl.h:
7852 * BufferView_pimpl.C:
7854 * BufferView.C: add getCurrentChange()
7856 * BufferView_pimpl.h:
7857 * BufferView_pimpl.C: handle change lfuns
7859 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7860 for changes. Mark pasted paragraphs as new.
7862 * support/lyxtime.h:
7863 * support/lyxtime.C:
7864 * DepTable.C: abstract time_t as lyx::time_type
7867 * LColor.C: add colours for new text, deleted text, changebars
7869 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7870 package use "usenames" option.
7874 * LyXAction.C: add change lfuns
7878 * author.C: author handling
7881 * buffer.C: add a per-buffer author list, with first entry as
7882 current author. Handle new .lyx tokens for change tracking. Output
7883 author list to .lyx file. Output dvipost stuff to .tex preamble.
7884 Bump lyx format to 222.
7887 * bufferlist.C: add setCurrentAuthor() to reset current author details
7891 * bufferparams.C: add param for tracking
7893 * bufferview_funcs.C: output change info in minibuffer
7897 * changes.C: add change-tracking structure
7900 * debug.C: add CHANGES debug flag
7903 * lyxfind.C: add code for finding the next change piece
7906 * lyxrc.C: add user_name and user_email
7909 * lyxrow.C: add a metric for the top of the text line
7912 * text.C: implement accept/rejectChange()
7915 * text.C: paint changebars. Paint new/deleted text in the chosen
7916 colours. Strike through deleted text.
7920 * paragraph_pimpl.h:
7921 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7922 in the current change to the insert functions. Rework erase to
7923 mark text as deleted, adding an eraseIntern() and a range-based
7924 erase(). Implement per-paragraph change lookup and
7927 * paragraph_funcs.C: Fixup paste for change tracking.
7929 * tabular.C: mark added row/columns as new.
7931 * text.C: fix rowLast() to never return -1. Don't allow
7932 spellchecking of deleted text. Track transpose changes. Don't
7933 allow paragraph break or merge where appropriate.
7935 * text2.C: leave cursor at end of selection after a cut.
7937 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7939 * text.C (getLengthMarkerHeight):
7940 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7941 visible on screen too.
7943 2003-02-07 John Levon <levon@movementarian.org>
7945 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7947 2003-02-05 Angus Leeming <leeming@lyx.org>
7949 * lyxserver.C (read_ready): revert my patch of 11 September last year
7950 as it sends PC cpu through the roof. Presumably this means that
7951 the lyxserver will no longer run on an Alpha...
7953 2003-01-30 Angus Leeming <leeming@lyx.org>
7955 * factory.C (createInset): create an InsetCommandParam of type "index"
7956 and use it to 'do the right thing'.
7958 * text2.C (getStringToIndex): ensure that cursor position is always
7959 reset to the reset_cursor position.
7961 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7963 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7966 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7970 * lyxfunc.C: Output messages with identical spelling, punctuation,
7973 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7975 * MenuBackend.C (expandFormats): List only viewable export formats
7978 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7981 * lyxfunc.C (getStatus): Make sure that formats other than
7982 "fax" can also be disabled
7984 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7986 * text3.C (dispatch): put the lfuns that insert insets in 3
7987 groups, and call doInsertInset with appropriate arguments.
7988 (doInsertInset): new function, that creates an inset and inserts
7989 it according to some boolean parameters.
7991 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7993 * buffer.C (readFile): remember to pass on 'par' when calling
7994 readFile recursively.
7996 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7998 * MenuBackend.C (expandFormats): add "..." to import formats.
8000 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8002 * paragraph.C (asString): Remove XForms RTL hacks.
8004 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8005 * buffer.C: fix typo
8007 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8009 * Makefile.am (LIBS): delete var
8010 (lyx_LDADD): add @LIBS@ here instead.
8012 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8014 * Clarify the meaning of "wheel mouse jump"
8016 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8018 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8021 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8023 * importer.C (Loaders): do not preallocate 3 elements in the
8024 vector, since one ends up with 6 elements otherwise
8026 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8028 * DepTable.C (write): write the file name as last element of the
8029 .dep file (because it may contain spaces)
8030 (read): read info in the right order
8032 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8034 * paragraph_pimpl.C (simpleTeXBlanks):
8035 (simpleTeXSpecialChars):
8036 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8038 * tabular.C (latex): add some missing case statements. Reindent.
8040 * MenuBackend.C (expandToc): remove unused variable.
8042 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8051 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8054 2003-01-05 John Levon <levon@movementarian.org>
8057 * BufferView.C: add getEncoding()
8060 * kbsequence.C: do not store last keypress
8063 * lyxfunc.C: store last keypress here instead. Pass encoding
8066 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8068 * lyx_main.C (init): remove annoying error message when following
8069 symbolic links (bug #780)
8071 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8073 * text.C (insertChar):
8074 * lyxrc.C (getDescription): remove extra spaces
8076 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8078 * lyxrc.C (getDescription): remove extra spaces
8080 2002-12-20 John Levon <levon@movementarian.org>
8082 * text3.C: hack fix for page up/down across tall rows
8084 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8086 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8089 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8091 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8092 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8093 thesaurus is not compiled in
8095 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8097 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8099 2002-12-16 Angus Leeming <leeming@lyx.org>
8102 * lyx_main.C (init): remove override_x_deadkeys stuff.
8104 2002-12-12 John Levon <levon@movementarian.org>
8106 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8107 insert. Only remove shift modifier under strict
8110 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8112 * MenuBackend.C (expandToc): fix crash.
8114 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8116 * MenuBackend.C (expandToc): gettext on float names.
8118 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8120 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8121 implement bool empty() [bug 490]
8123 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8125 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8127 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8129 * several files: ws changes
8131 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8133 * text2.C (setCounter): clean up a bit, use boost.format.
8134 (updateCounters): initialize par upon declaration.
8136 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8137 if the layout exists. We do not just store the layout any more.
8138 (SwitchLayoutsBetweenClasses): use boost.format
8140 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8142 * converter.C (convert): if from and to files are the same, use a
8143 temporary files as intermediary
8145 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8148 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8150 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8152 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8154 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8156 * tabular.C (asciiPrintCell): use string(size, char) instead of
8159 * sgml.C (openTag): fix order of arguments to string constructor
8162 * lyxfunc.C (dispatch): use boost.format
8164 * lots of files: change "c" -> 'c'
8166 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8168 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8170 2002-11-25 Angus Leeming <leeming@lyx.org>
8172 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8174 * lyx_main.C (init): compile fix.
8176 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8178 * lyx_cb.C (start): boost.formatify
8179 do not include <iostream>
8181 * lengthcommon.C: ws only
8183 * boost-inst.C,BoostFormat.h: add more explict instantations
8185 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8187 * lots of files: handle USE_BOOST_FORMAT
8189 2002-11-21 John Levon <levon@movementarian.org>
8191 * pspell.C: fix compile
8193 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8195 * lyxfunc.C (dispatch): use boost::format
8199 * lyxfont.C (stateText): use boost::format
8201 * lyx_main.C (LyX): use boost::format
8203 (queryUserLyXDir): ditto
8206 (typedef boost::function): use the recommened syntax.
8208 * importer.C (Import): use boost::format
8210 * debug.C (showLevel): use boost::format
8212 * converter.C (view): use boost::format
8217 * bufferview_funcs.C (currentState): use boost::format
8219 * bufferlist.C (emergencyWrite): use boost::format
8221 * buffer.C (readLyXformat2): use boost::format
8222 (parseSingleLyXformat2Token): ditto
8224 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8226 * LaTeX.C (run): use boost::format
8228 * Chktex.C (scanLogFile): use boost::format
8230 * BufferView_pimpl.C (savePosition): use boost::format
8231 (restorePosition): ditto
8232 (MenuInsertLyXFile): ditto
8234 * BoostFormat.h: help file for explicit instation.
8236 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8238 * tabular.C (latex): Support for block alignment in fixed width
8241 2002-11-17 John Levon <levon@movementarian.org>
8243 * BufferView_pimpl.C:
8245 * lyxfunc.C: split filedialog into open/save
8247 2002-11-08 Juergen Vigna <jug@sad.it>
8249 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8250 by my last patch (hopefully).
8252 2002-11-08 John Levon <levon@movementarian.org>
8261 * toc.C: ParConstIterator, and use it (from Lars)
8263 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8265 * lyxtextclass.[Ch]: revise and add doxygen comments
8267 2002-11-07 John Levon <levon@movementarian.org>
8269 * text.C: fix progress value for spellchecker
8271 * toc.C: fix navigate menu for insetwrap inside minipage
8273 * paragraph_funcs.C: added FIXME for suspect code
8275 2002-11-07 John Levon <levon@movementarian.org>
8277 * BufferView_pimpl.C: fix redrawing of insets
8280 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8282 * text2.C (updateCounters): fix bug 668
8284 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8286 * text3.C (dispatch): Do not make the buffer dirty when moving the
8289 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8291 * vc-backend.C: STRCONV
8294 * text2.C (setCounter): STRCONV
8296 * paragraph.C (asString): STRCONV
8298 * lyxlength.C (asString): STRCONV
8299 (asLatexString): ditto
8301 * lyxgluelength.C (asString): STRCONV
8302 (asLatexString): ditto
8304 * lyxfunc.C (dispatch): STRCONV
8307 * lyxfont.C (stateText): STRCONV
8309 * importer.C (Import): STRCONV
8311 * counters.C (labelItem): STRCONV
8312 (numberLabel): ditto
8313 (numberLabel): remove unused ostringstream o
8318 * bufferview_funcs.C (currentState): STRCONV
8320 * buffer.C (readFile): STRCONV
8321 (asciiParagraph): ditto
8322 (makeLaTeXFile): ditto
8324 * Spacing.C (writeEnvirBegin): STRCONV
8326 * LaTeXFeatures.C (getLanguages): STRCONV
8327 (getPackages): ditto
8329 (getBabelOptions): ditto
8330 (getTClassPreamble): ditto
8331 (getLyXSGMLEntities): ditto
8332 (getIncludedFiles): ditto
8336 (scanAuxFile): ditto
8339 * LString.h: add the STRCONV macros
8341 * BufferView_pimpl.C (savePosition): STRCONV
8342 (restorePosition): ditto
8343 (MenuInsertLyXFile): ditto
8345 * vc-backend.C (scanMaster): change from submatch[...] to
8348 * funcrequest.C: include config.h
8350 * factory.C: include config.h
8352 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8354 * box.C: include config.h
8356 * LaTeX.C (scanAuxFile): change from submatch[...] to
8360 2002-10-25 Angus Leeming <leeming@lyx.org>
8362 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8364 * ispell.[Ch] (setError): new method.
8365 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8366 Use setError() insetead of goto END.
8368 * lyx_cb.C (AutoSave): move out child process into new class
8371 2002-10-30 John Levon <levon@movementarian.org>
8373 * text3.C: make start appendix undoable
8375 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8377 * lyxlength.C (inPixels): Fix returned value.
8379 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8382 2002-10-24 Angus Leeming <leeming@lyx.org>
8384 * lyxgluelength.h: no need to forward declare BufferParams
8385 or BufferView, so don't.
8387 2002-10-21 John Levon <levon@movementarian.org>
8389 * BufferView.C: menuUndo ->undo, redo
8391 * BufferView.h: document, remove dead, make some methods private
8393 * paragraph_funcs.h:
8394 * paragraph_funcs.C:
8395 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8400 * sgml.C: move sgml open/close tag into sgml.C
8402 * bufferview_funcs.h: unused prototype
8405 * lyxfunc.C: remove unused
8408 * text.C: remove unused
8410 2002-10-21 John Levon <levon@movementarian.org>
8414 * BufferView_pimpl.h:
8415 * BufferView_pimpl.C: fix mouse wheel handling based on
8416 patch from Darren Freeman
8418 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8420 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8422 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8424 * lyxlength.C (inPixels): Fix hanfling of negative length.
8425 Fix LyXLength::MU case.
8427 2002-10-16 John Levon <levon@movementarian.org>
8429 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8431 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8433 * converter.C (view): add support for $$i (file name) and $$p
8434 (file path) for the viewer command. If $$i is not specified, then
8435 it is appended to the command (for compatibility with old syntax)
8437 2002-10-14 Juergen Vigna <jug@sad.it>
8439 * undo_funcs.C (textHandleUndo): alter the order in which the
8440 new undopar is added to the LyXText, as we have to set first
8441 the right prev/next and then add it as otherwise the rebuild of
8442 LyXText is not correct. Also reset the cursor to the right paragraph,
8443 with this IMO we could remove the hack in "redoParagraphs()".
8445 2002-10-09 Angus Leeming <leeming@lyx.org>
8447 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8448 to turn off an optimisation if a new inset is to be inserted.
8450 2002-10-11 André Pönitz <poenitz@gmx.net>
8452 * lyxtext.h: make some functions public to allow access
8453 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8455 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8457 * text3.C (dispatch): when changing layout, avoid an infinite loop
8460 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8462 * lyxrc.C (read): treat a viewer or converter command of "none" as
8465 * MenuBackend.C (expandFormats): for an update, also allow the
8466 formats that are not viewable
8468 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8469 script if it is newer than the lyxrc.defaults in user directory
8471 2002-10-07 André Pönitz <poenitz@gmx.net>
8473 * text.C: Vitaly Lipatov's small i18n fix
8475 2002-09-25 Angus Leeming <leeming@lyx.org>
8477 * ispell.h: doxygen fix.
8479 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8481 * buffer.h (readFile): Add a new argument to the method, to allow
8482 reading of old-format templates.
8484 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8486 * toc.C (getTocList): Get TOC from InsetWrap.
8488 2002-09-16 John Levon <levon@movementarian.org>
8490 * lyxfunc.C: check tabular for cut/copy too
8492 2002-09-12 John Levon <levon@movementarian.org>
8497 * factory.C: add header
8499 * paragraph_funcs.h:
8500 * paragraph_funcs.C: cleanup
8502 2002-09-11 John Levon <levon@movementarian.org>
8504 * PrinterParams.h: odd/even default to true
8506 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8508 * PrinterParams.h: update printer parameters for new xforms dialog
8510 2002-09-11 Angus Leeming <leeming@lyx.org>
8512 * lyxserver.C (read_ready): re-write to make it more transparent
8513 and to make it work in coherent fashion under Tru64 Unix.
8515 2002-09-11 André Pönitz <poenitz@gmx.net>
8519 * text3.C: implement LFUN_WORDSEL
8521 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8523 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8524 make floatlist_ a boost::shared_ptr<FloatList>
8526 * lyxtextclass.C: include FloatList.h
8527 (LyXTextClass): initialize floatlist_
8528 (TextClassTags): add TC_NOFLOAT
8529 (Read): match "nofloat" to TC_NOFLOAT and use it.
8530 (readFloat): modify call to floatlist_
8534 * FloatList.[Ch] (FloatList): remove commented out float
8536 (erase): new function
8538 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8540 * MenuBackend.C (expandToc): fix crash when there is no document
8543 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8545 * many files: Add insetwrap.
8547 2002-09-09 John Levon <levon@movementarian.org>
8549 * text2.C: remove confusing and awkward depth wraparound
8551 2002-09-09 John Levon <levon@movementarian.org>
8553 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8556 * buffer.C: remove getIncludeonlyList()
8559 * lyxfunc.C: remove headers
8561 2002-09-09 Juergen Vigna <jug@sad.it>
8563 * text.C (getColumnNearX): fix form Michael this is most
8564 probably a cut&paste bug.
8566 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8568 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8570 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8571 references, ws changes.
8573 * text2.C (init): update counters after init
8574 (insertParagraph): no need to set counter on idividual paragraphs.
8575 (setCounter): access the counters object in the textclass object
8576 on in the buffer object.
8577 (updateCounters): ditto
8579 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8580 shared_ptr<Counters> to avoid loading counters.h in all
8582 (LyXTextClass): initialize ctrs_
8583 (TextClassTags): add TC_COUNTER, and ...
8584 (Read): use it here.
8585 (CounterTags): new tags
8586 (readCounter): new function
8587 (counters): new funtion
8588 (defaultLayoutName): return a const reference
8590 * counters.C (Counters): remove contructor
8591 (newCounter): remove a couple of unneeded statements.
8592 (newCounter): simplify a bit.
8593 (numberLabel): some small formatting changes.
8595 * buffer.[Ch]: remove all traces of counters, move the Counters
8596 object to the LyXTextClass.
8598 2002-09-06 Alain Castera <castera@in2p3.fr>
8600 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8601 package to set the horizontal alignment on fixed width columns.
8604 * lyx_sty.h: added tabularnewline macro def.
8606 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8608 2002-09-06 John Levon <levon@movementarian.org>
8610 * LyXAction.C: tooltips for sub/superscript
8612 * MenuBackend.C: a bit more verbose
8614 * lyxfunc.C: tiny clean
8616 * undo_funcs.C: document undo_frozen
8618 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8620 * counters.C (Counters): add missing algorithm counter.
8622 * text2.C (setCounter): lookup the counter with layouts latexname
8623 instead of by section number.
8624 (setCounter): use a hackish way to lookup the correct enum
8626 a float name->type change
8627 reset enum couners with counter name directly instead of depth value.
8629 * counters.C (Counters): remove the push_backs, change to use the
8630 float type not the float name.
8631 (labelItem): remove unused string, float name->type change
8633 * counters.h: don't include vector, loose the enums and sects vectors
8635 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8637 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8638 (Read): add float->TC_FLOAT to textclassTags
8639 (Read): and handle it in the switch
8640 (readFloat): new function
8642 * FloatList.C (FloatList): comment out the hardcoded float
8645 * lyxlayout.h: ws change.
8647 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8649 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8651 2002-09-03 Angus Leeming <leeming@lyx.org>
8653 * BufferView_pimpl.h: qualified name is not allowed in member
8654 declaration: WorkArea & Pimpl::workarea() const;
8656 * factory.C: added using std::endl directive.
8658 * text3.C: added using std::find and std::vector directives.
8660 2002-08-29 André Pönitz <poenitz@gmx.net>
8663 * text2.C: remove unused member number_of_rows
8666 * BufferView2.C: remove file, move contents to...
8667 * BufferView.C: ... here
8669 * BufferView_pimpl.C:
8670 * factory.C: move more inset creation to factory
8672 * vspace.C: avoid direct usage of LyXText, ws changes
8675 don't provide direct access to WorkArea, use two simple
8676 acessors haveSelction() and workHeight() instead
8679 2002-08-29 John Levon <levon@movementarian.org>
8681 * BufferView_pimpl.C (dispatch): do not continue when
8684 2002-08-28 André Pönitz <poenitz@gmx.net>
8686 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8689 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8691 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8693 * buffer.C: increment LYX_FORMAT to 221
8695 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8696 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8698 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8700 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8702 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8704 * factory.C (createInset): use LyXTextClass::floats
8706 * MenuBackend.C (expandFloatListInsert):
8707 (expandFloatInsert):
8710 * text2.C (setCounter):
8712 * LaTeXFeatures.C (useFloat):
8713 (getFloatDefinitions):
8715 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8717 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8718 floatlist_, with accessor floats().
8720 * FloatList.h: remove global FloatList
8722 2002-08-26 André Pönitz <poenitz@gmx.net>
8724 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8728 * BufferView_pimpl.C:
8729 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8731 2002-08-25 John Levon <levon@movementarian.org>
8733 * LyXAction.C: fix margin note description
8735 2002-08-24 John Levon <levon@movementarian.org>
8739 * bufferview_funcs.C:
8741 * undo_funcs.C: cleanups
8743 * lyxfunc.C: disable CUT/COPY when no selection
8745 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8747 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8748 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8750 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8751 Add backward compatibility to "mono", "gray" and "no".
8753 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8755 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8756 (and file_format >= 200).
8758 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8760 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8762 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8764 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8766 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8768 * BufferView_pimpl.C:
8775 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8776 inset and code to make it work with the paragraph code. The inset
8777 can be anywhere in the paragraph, but will only do the expected
8778 thing in LaTeX if the layout file contains the parameter line
8780 (or more generally, a nonzero value) for that layout.
8782 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8784 * paragraph.h: remove the declaration of undefined counters class
8787 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8789 * text2.C (setCounter): fixed enumeration mis-count as reported by
8790 Dr. Richard Hawkins.
8792 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8794 * paragraph_funcs.h: remove some unneeded includes
8796 * text.C (backspace): pasteParagraph now in global scipe
8798 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8799 (pasteSelection): ditto
8801 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8802 * paragraph_funcs.C (pasteParagraph): ... here
8804 2002-08-20 André Pönitz <poenitz@gmx.net>
8806 * commandtags.h: new LFUNs for swapping/copying table row/colums
8809 * lyxfunc.C: support for new lfuns
8811 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8814 * buffer.[Ch]: remove NO_COMPABILITY stuff
8816 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8818 * boost.C (throw_exception): new file, with helper function for
8819 boost compiled without exceptions.
8824 * ParameterStruct.h:
8825 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8827 * bufferlist.C (emergencyWriteAll): use boost bind
8829 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8831 * text.C: include paragraph_funcs.h
8832 (breakParagraph): breakParagraph is now in global scope
8834 * paragraph_funcs.[Ch]: new files
8836 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8839 * buffer.C: include paragraph_funcs.h
8840 (insertStringAsLines): breakParagraph is now in global scope
8842 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8845 * CutAndPaste.C: include paragraph_funcs.h
8846 (cutSelection): breakParagraphConservative is now in global scope
8847 (pasteSelection): ditto
8849 * buffer.h: declare oprator== and operator!= for
8850 Buffer::inset_iterator
8852 * bufferlist.C (emergencyWrite): don't use fmt(...)
8854 * text3.C: add using std::endl
8856 * BufferView.C (moveCursorUpdate): remove default arg
8858 2002-08-20 André Pönitz <poenitz@gmx.net>
8860 * buffer.[Ch]: move inline functions to .C
8863 * BufferView_pimpl.C:
8865 * buffer.[Ch]: use improved inset_iterator
8868 * paragraph.[Ch]: write one paragraph at a time
8870 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8872 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8873 style if style is not specified.
8875 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8877 * text2.C (setCounter): when searching for right label for a
8878 caption, make sure to recurse to parent insets (so that a caption
8879 in a minipage in a figure float works) (bug #568)
8881 2002-08-20 André Pönitz <poenitz@gmx.net>
8883 * text3.C: new file for LyXText::dispatch() and helpers
8885 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8887 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8889 2002-08-19 André Pönitz <poenitz@gmx.net>
8892 * text.C: new LyXText::dispatch()
8894 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8896 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8898 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8900 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8903 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8905 * Makefile.am: use $(variables) instead of @substitutions@
8907 2002-08-15 André Pönitz <poenitz@gmx.net>
8910 * BufferView_pimpl.C: streamlining mathed <-> outer world
8914 * LyXAction.C: remove unused LFUN_MATH
8916 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8918 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8920 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8922 * paragraph.C (Paragraph): reformat a bit
8923 (cutIntoMinibuffer): use builtin InsetList function instad of
8927 * buffer.C: include boost/bind.hpp, add using std::for_each
8928 (writeFileAscii): use ParagraphList iterators
8929 (validate): use for_each for validate traversal of paragraphs
8930 (getBibkeyList): use ParagraphList iterators
8931 (resizeInsets): use for_each to resizeInsetsLyXText for all
8933 (getParFromID): use ParagraphList iterators
8935 * BufferView2.C (lockInset): use paragraph list and iterators
8937 2002-08-14 John Levon <levon@movementarian.org>
8939 * lyxserver.C: remove spurious xforms include
8941 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8943 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8945 2002-08-13 André Pönitz <poenitz@gmx.net>
8948 * lyxfunc.C: further cleaning
8950 2002-08-13 André Pönitz <poenitz@gmx.net>
8952 * funcrequest.h: new constructor
8954 * funcrequest.C: move stuff here from .h
8957 * BufferView_pimpl.C:
8960 * lyxfunc.C: subsequent changes
8962 * lyxfunc.h: new view() member function
8964 * lyxfunc.C: subsequent changes
8966 2002-08-13 Angus Leeming <leeming@lyx.org>
8969 * BufferView_pimpl.C:
8977 changes due to the changed LyXView interface that now returns references
8978 to member variables not pointers.
8980 2002-08-13 Angus Leeming <leeming@lyx.org>
8982 * WordLangTuple (word, lang_code): return references to strings,
8987 * lyxtext.h: forward-declare WordLangTuple.
8992 * text.C: #include "WordLangTuple.h".
8995 * text.C: (selectNextWordToSpellcheck): constify return type.
8997 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9003 * paragraph_pimpl.h:
9006 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9008 Made updateCounter always count from start of buffer, and removed
9009 second argument (par).
9010 Reverted floats number display to '#'. Perhaps I'll try again when the
9011 code base is sanitized a bit.
9013 2002-08-12 Angus Leeming <leeming@lyx.org>
9015 * buffer.[Ch] (getLabelList): constify.
9017 2002-08-07 André Pönitz <poenitz@gmx.net>
9019 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9021 * funcrequest.h: extension to keep mouse (x,y) position
9023 2002-08-12 Juergen Vigna <jug@sad.it>
9025 * BufferView2.C (insertErrors): forbid undo when inserting error
9028 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9030 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9032 * ParagraphList.[Ch]: new files
9034 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9036 * BufferView2.C (lockInset): ParagraphList changes
9039 * bufferlist.C: ditto
9043 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9045 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9046 unused class variable counter_,
9048 * paragraph.[Ch] (getFirstCounter): delete unused function
9050 * counters.C: include LAssert.h
9051 (reset): add a new function with no arg, change other version to
9052 not have def. arg and to not allow empty arg.
9054 * text2.C (setCounter): remove empty arg from call to Counters::reset
9056 2002-08-11 John Levon <levon@movementarian.org>
9058 * Makefile.am: add WordLangTuple.h
9060 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9062 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9063 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9065 * insets/insettext.C: InsetList changes
9067 * graphics/GraphicsSupport.C (operator()): InsetList changes
9069 * toc.C (getTocList): InsetList changes
9071 * paragraph_pimpl.[Ch]: InsetList changes
9073 * paragraph.[Ch]: InsetList changes
9075 * buffer.C (inset_iterator): InsetList changes
9076 (setParagraph): ditto
9077 * buffer.h (inset_iterator): ditto
9078 * iterators.C (operator++): ditto
9079 * iterators.h: ditto
9081 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9083 * InsetList.[Ch]: new files, most InsetList handling moved out of
9086 * BufferView2.C (removeAutoInsets): InsetList changes
9088 (ChangeInsets): ditto
9090 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9092 * paragraph_pimpl.h (empty): new function
9094 * paragraph.[Ch] (empty): new function
9096 * other files: use the new Paragraph::empty function
9098 2002-08-09 John Levon <levon@movementarian.org>
9100 * lyxtext.h: remove unused refresh_height
9102 2002-08-09 John Levon <levon@movementarian.org>
9109 * paragraph.C: move sgml char escaping out of paragraph
9112 * paragraph.C: remove id setter
9116 * paragraph_pimpl.C: remove dead tex_code_break_column
9118 * bufferview_funcs.C: small cleanup
9120 * lyxfunc.C: remove dead proto
9122 * lyxtext.h: make some stuff private. Remove some dead stuff.
9124 * lyxgluelength.C: make as[LyX]String() readable
9126 2002-08-08 John Levon <levon@movementarian.org>
9131 * ToolbarDefaults.C:
9134 * toc.C: lyxaction cleanup
9136 2002-08-08 John Levon <levon@movementarian.org>
9138 * BufferView2.C: small cleanup
9141 * lyxfind.C: move unnecessary header into the .C
9143 2002-08-08 John Levon <levon@movementarian.org>
9145 * funcrequest.h: just tedious nonsense
9148 * lyx_main.C: cleanups
9151 * vspace.C: remove dead header lyx_main.h
9153 2002-08-07 Angus Leeming <leeming@lyx.org>
9156 * paragraph_pimpl.h:
9157 Forward declare class Counters in paragraph.h by moving the ctrs member
9158 variable into Paragraph::Pimpl.
9159 (counters): new method, returning a reference to pimpl_->ctrs.
9161 * text2.C: ensuing changes.
9163 2002-08-07 John Levon <levon@movementarian.org>
9165 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9167 * BufferView_pimpl.C: announce X selection on double/triple
9170 * lyx_main.C: use correct bool in batch dispatch
9172 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9174 2002-08-07 André Pönitz <poenitz@gmx.net>
9176 * funcrequest.h: new class to wrap a kb_action and its argument
9179 * BufferView_pimpl[Ch]:
9183 * lyxrc.C: subsequent changes
9186 2002-08-07 John Levon <levon@movementarian.org>
9188 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9189 document options change.
9191 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9196 * makefile.am: move counters functionality over from
9197 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9199 2002-08-06 John Levon <levon@movementarian.org>
9201 * WordLangTuple.h: new file for word + language code tuple
9212 * BufferView2.C: use WordLangTuple
9215 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9217 2002-08-06 John Levon <levon@movementarian.org>
9219 * lyx_main.C: fix cmdline batch handling
9221 2002-08-06 André Pönitz <poenitz@gmx.net>
9223 * lyxrc.C: set default for show_banner to true
9225 2002-08-06 John Levon <levon@movementarian.org>
9227 * pspell.C: fix a crash, and allow new aspell to work
9229 2002-08-06 John Levon <levon@movementarian.org>
9232 * kbmap.C: small cleanup
9235 * vspace.C: add const
9237 2002-08-05 John Levon <levon@movementarian.org>
9239 * LyXAction.C: back to tabular-insert
9241 2002-08-04 John Levon <levon@movementarian.org>
9244 * BufferView.C: cosmetic change
9246 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9256 * BufferView2.C: purge all "Lyx" not "LyX" strings
9259 * lyxcursor.C: attempt to add some documentation
9264 * ToolbarDefaults.C:
9265 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9266 merge with LFUN_TABULAR_INSERT
9273 * pspell.C: split up i/pspell implementations into separate
9274 files, many cleanups
9276 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9278 * text2.C: some cleanup
9280 * lyxfunc.C: don't check for isp_command == "none" any more, it
9281 didn't make any sense
9283 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9288 * makefile.am: move counters functionality over
9289 from text2.C/paragraph.[Ch] to counters.[Ch], and
9291 2002-08-02 John Levon <levon@movementarian.org>
9293 * buffer.C: s/lyxconvert/lyx2lyx/
9295 2002-08-02 Angus Leeming <leeming@lyx.org>
9297 * lyxlex.C: revert John's change as it breaks reading of the user
9300 2002-08-02 Angus Leeming <leeming@lyx.org>
9302 * importer.C (Import):
9303 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9304 changes due to LyXView::view() now returning a boost::shared_ptr.
9306 2002-08-02 John Levon <levon@movementarian.org>
9308 * lyxlex.C: small cleanup
9310 2002-08-02 John Levon <levon@movementarian.org>
9312 * text2.C (status): small cleanup, no logic change
9314 2002-08-01 John Levon <levon@movementarian.org>
9317 * buffer.C (writeFile): don't output alerts, caller
9321 * lyx_cb.C: from above
9323 * lyxfunc.C: allow to open non-existent files
9325 2002-07-31 John Levon <levon@movementarian.org>
9327 * lyxserver.C: don't let incidental errors get
9330 2002-07-30 John Levon <levon@movementarian.org>
9332 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9334 2002-07-30 John Levon <levon@movementarian.org>
9337 * lyxserver.C: remove I/O callback too
9339 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9341 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9344 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9346 * many files: strip,frontStrip -> trim,ltrim,rtrim
9348 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9350 * PrinterParams.h: remove extern containsOnly, and include
9351 support/lstrings.h instead.
9353 * LaTeX.C (scanAuxFile): modify because of strip changes
9355 * buffer.C (makeLaTeXFile): ditto
9356 * bufferparams.C (writeFile): ditt
9357 * lyxfont.C (stateText): ditto
9358 * lyxserver.C (read_ready): ditto
9359 * vc-backend.C (scanMaster): ditto
9361 * BufferView_pimpl.h: ws changes
9363 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9365 2002-07-26 André Pönitz <poenitz@gmx.net>
9367 * kb_sequence.C: remove unnedred usings
9369 2002-07-26 Juergen Vigna <jug@sad.it>
9371 * lyxfind.C (LyXReplace): we have to check better if the returned
9372 text is not of theLockingInset()->getLockingInset().
9374 2002-07-25 Juergen Vigna <jug@sad.it>
9376 * lyxfind.C (LyXReplace): don't replace if we don't get the
9379 * undo_funcs.C (createUndo): remove debugging code.
9381 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9383 * buffer.C (parseSingleLyXformat2Token): Use default placement
9384 when reading old floats.
9386 * FloatList.C (FloatList): Change the default placement of figure
9387 and tables to "tbp".
9389 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9391 * MenuBackend.C: using std::max
9393 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9395 * MenuBackend.C (expandToc):
9396 (expandToc2): code moved from xforms menu frontend. It is now
9397 generic and TOCs are transparent to menu frontends.
9399 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9401 * toc.C (getTocList): protect against buf=0
9403 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9404 Menu as first parameter. Now, this calls itself recursively to
9405 expand a whole tree (this will be useful for TOC handling)
9406 (expandFloatInsert): remove 'wide' version of floats
9408 * MenuBackend.h (submenuname): returns the name of the submenu.
9409 (submenu): returns the submenu itself, provided it has been
9410 created by MenuBackend::expand
9412 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9414 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9415 insets which have noFontChange == true. (bug #172)
9417 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9419 * BufferView_pimpl.C: add connection objects and use them...
9422 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9424 * MenuBackend.C (expandLastfiles):
9427 (expandFloatListInsert):
9428 (expandFloatInsert):
9429 (expand): split expand in parts
9431 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9433 * lyx_gui.C: use lyx_gui::exit()
9435 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9437 * LyXAction.C: show the failing pseudo action
9439 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9441 * buffer.C (readFile): Run the lyxconvert script in order to read
9444 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9448 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9450 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9454 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9456 2002-07-22 Herbert Voss <voss@lyx.org>
9459 * lyxlength.[Ch]: add support for the vertical lengths
9461 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9463 * toc.[Ch]: std:: fixes
9465 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9467 * lyxrc.C: do not include lyx_main.h
9469 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9475 * BufferView2.C: include "lyxlex.h"
9478 * bufferparams.h: do not #include "lyxlex.h"
9480 * lyxtextclasslist.C (Add): remove method
9481 (classlist): renamed to classlist_
9483 * paragraph_pimpl.C:
9487 * bufferview_funcs.C:
9492 * toc.C (getTocList): use BufferParams::getLyXTextClass
9494 * toc.C (getTocList): use InsetFloat::addToToc
9496 * toc.[Ch]: new files, containing helper functions to handle table
9499 * lyxfunc.C (dispatch): no need to remove spaces around command
9501 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9502 first command of the sequence; it is not very clever, but I do not
9503 have a better idea, actually
9505 * LyXAction.C (LookupFunc): make sure to remove space at the
9506 beginning and end of the command
9508 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9510 * MenuBackend.C (getMenubar): new method: return the menubar of
9512 (read): treat differently reading of menu and menubar (in
9513 particular, the menubar has no name now)
9514 (Menu::menubar): remove
9516 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9519 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9521 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9522 a bibitem inset in a RTL paragraph.
9524 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9526 * paragraph_pimpl.C: constify
9528 * BufferView_pimpl.C:
9530 * lyxfunc.C: fix dispatch in a nicer way
9532 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9534 * lyxfunc.C (dispatch):
9535 * BufferView_pimpl.C:
9536 * BufferView_pimpl.h:
9538 * BufferView.h: rename Dispatch() to dispatch()
9540 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9542 * lyxlayout.C (Read): honor DependsOn tag
9544 * lyxlayout.[Ch] (depends_on): new method
9546 * version.C.in: update lyx_docversion
9548 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9550 * paragraph.C (validate): remove from here...
9551 * paragraph_pimpl.C (validate): ... and move here
9552 (isTextAt): make it const
9554 * buffer.C (getLists): ws cleanup
9556 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9558 * language.C (read): Use iso8859-1 encoding in latex_lang
9559 (this prevents LyX from crashing when using iso10646-1 encoding).
9561 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9563 * text2.C (toggleInset): if cursor is inside an inset, close the
9564 inset and leave cursor _after_ it
9566 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9568 * lyxfunc.C: move minibuffer completion handling out of here
9570 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9572 * BufferView_pimpl.C:
9573 * LaTeX.C: fix dispatch calls
9575 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9577 * text.C (drawChars): Fix Arabic text rendering.
9579 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9583 * lyxfunc.C: remove message-push/pop
9587 * lyxfunc.C: rationalise some code by removing verboseDispatch
9588 in favour of a bool argument to dispatch()
9590 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9592 * lyx_main.C (init): make sure to read symlinks as absolute paths
9594 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9597 * lyxfunc.C: no need for commandshortcut to be a member
9599 2002-07-15 André Pönitz <poenitz@gmx.net>
9601 * converter.C: add support for $$s (scripts from lib/scripts dir)
9602 * lyx_main.C: white space
9604 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9608 * lyxrc.C: remove second exit confirmation
9610 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9615 * BufferView_pimpl.h:
9616 * BufferView_pimpl.C:
9617 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9619 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9621 * MenuBackend.C (expand): add numeric shortcuts to document menu
9623 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9625 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9627 * lyxfont.C (setLyXFamily):
9634 * buffer.C (asciiParagraph): use ascii_lowercase
9636 2002-07-15 Mike Fabian <mfabian@suse.de>
9638 * lyxlex_pimpl.C (search_kw):
9639 * lyxlex.C (getLongString):
9640 * converter.h (operator<):
9641 * converter.C (operator<):
9642 * buffer.C (parseSingleLyXformat2Token):
9644 * ToolbarDefaults.C (read):
9645 * MenuBackend.C (checkShortcuts):
9647 * LColor.C (getFromGUIName):
9648 (getFromLyXName): use the compare_ascii_no_case instead of
9649 compare_no_case, because in turkish, 'i' is not the lowercase
9650 version of 'I', and thus turkish locale breaks parsing of tags.
9652 2002-07-16 Angus Leeming <leeming@lyx.org>
9654 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9655 now takes a Buffer const & argument.
9657 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9659 * BufferView.C (resize): check there's a buffer to resize
9661 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9663 * lyxfunc.C: remove dead code
9666 * lyxserver.C: use lyx_guii::set_read_callback
9668 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9670 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9671 an inset in a RTL paragraph.
9673 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9675 * lyxfunc.C: repaint after a font size update
9677 2002-07-15 André Pönitz <poenitz@gmx.net>
9679 * lyxlength.C: inBP should be able to return negative values
9681 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9683 * lyxfunc.C: use lyx_gui::update_fonts()
9685 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9687 * lyxfunc.C: use lyx_gui::update_color()
9689 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9695 * lyxrc.C: remove file->new asks for name option, and let
9696 buffer-new take an argument
9698 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9700 * BufferView_pimpl.C: remove unneeded extra repaint()
9702 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9704 * LyXAction.C: allow command-sequence with NoBuffer
9706 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9708 2002-07-10 Angus Leeming <leeming@lyx.org>
9710 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9712 2002-07-09 Angus Leeming <leeming@lyx.org>
9714 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9716 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9718 * lengthcommon.h: whitespace
9720 * lyxfunc.C: update scrollbar after goto paragraph
9722 * lyxtext.h: factor out page break drawing, and fix it so
9723 page break/added space paints as selected nicely
9725 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9727 * BufferView_pimpl.C: add FIXMEs, clean up a little
9729 2002-07-09 André Pönitz <poenitz@gmx.net>
9731 * lyxfont.[Ch]: support for wasy symbols
9733 2002-07-08 André Pönitz <poenitz@gmx.net>
9735 * BufferView_pimpl.C: apply John's patch for #93.
9737 2002-07-05 Angus Leeming <leeming@lyx.org>
9739 * BufferView_pimpl.C (buffer): generate previews if desired.
9741 * LColor.h: add "preview" to the color enum.
9743 * LColor.C (LColor): add a corresponding entry to the items array.
9745 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9748 2002-07-05 Angus Leeming <leeming@lyx.org>
9750 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9751 The body of the code is now in the method that is passed an ostream &
9752 rather than a file name.
9753 Pass an additional only_preamble parameter, useful for the forthcoming
9756 2002-07-03 André Pönitz <poenitz@gmx.net>
9758 * lyxfunc.C: simplify getStatus() a bit for math stuff
9760 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9762 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9764 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9766 * text.C (changeRegionCase): do not change case of all the
9767 document when region ends at paragraph end (bug #461)
9769 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9771 * paragraph.C (startTeXParParams):
9772 (endTeXParParams): add \protect when necessary
9774 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9776 * BufferView_pimpl.C (workAreaExpose): remove warning
9778 2002-06-27 Angus Leeming <leeming@lyx.org>
9780 * Makefile.am: add lyxlayout_ptr_fwd.h.
9782 2002-06-26 André Pönitz <poenitz@gmx.net>
9784 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9786 2002-06-25 Angus Leeming <leeming@lyx.org>
9788 * lyxfunc.C (dispatch): Comment out the call to
9789 grfx::GCache::changeDisplay. The method no longer exists now that the
9790 pixmap generation part of the graphics loader has been moved into
9793 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9795 * text2.C: layout as layout
9797 * text.C: layout as layout
9799 * tabular.C (OldFormatRead): layout as layout
9801 * paragraph_pimpl.C (TeXDeeper): layout as layout
9802 (realizeFont): layout as layout
9804 * paragraph.C (writeFile): layout as layout
9805 (validate): layout as layout
9806 (getFont): layout as layout
9807 (getLabelFont): layout as layout
9808 (getLayoutFont): layout as layout
9809 (breakParagraph): layout as layout
9810 (stripLeadingSpaces): layout as layout
9811 (getEndLabel): layout as layout
9812 (getMaxDepthAfter): layout as layout
9813 (applyLayout): layout as layout
9814 (TeXOnePar): layout as layout
9815 (simpleTeXOnePar): layout as layout
9816 (TeXEnvironment): layout as layout
9817 (layout): layout as layout
9818 (layout): layout as layout
9820 * lyxtextclass.C (compare_name): new functor to work with
9821 shared_ptr, layout as layout
9822 (Read): layout as layout
9823 (hasLayout): layout as layout
9824 (operator): layout as layout
9825 (delete_layout): layout as layout
9826 (defaultLayout): layout as layout
9828 * lyxlayout_ptr_fwd.h: new file
9830 * lyxlayout.C (Read): layout as layout
9832 * lyx_cb.C (MenuInsertLabel): layout as layout
9834 * bufferlist.C (newFile): layout as layout
9836 * buffer.C (readLyXformat2): layout as layout
9837 (parseSingleLyXformat2Token): layout as layout
9838 (insertStringAsLines): layout as layout
9839 (asciiParagraph): layout as layout
9840 (latexParagraphs): layout as layout
9841 (makeLinuxDocFile): layout as layout
9842 (simpleLinuxDocOnePar): layout as layout
9843 (makeDocBookFile): layout as layout
9844 (simpleDocBookOnePar): layout as layout
9845 (getLists): layout as layout
9847 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9849 * CutAndPaste.C (cutSelection): layout as layout
9850 (pasteSelection): layout as layout
9851 (SwitchLayoutsBetweenClasses): layout as layout
9853 * BufferView_pimpl.C (Dispatch): layout as layout
9854 (smartQuote): layout as layout
9856 * BufferView2.C (unlockInset): layout as layout
9858 2002-06-24 André Pönitz <poenitz@gmx.net>
9860 * lyxfunc.C: fix #487
9862 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9866 * lyxfunc.C: remove display_shortcuts, show_banner
9868 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9870 * Buffer_pimpl.C: oops, update on resize
9872 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9879 * BufferView.C: use repaint()
9881 * BufferView_pimpl.h:
9882 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9883 as it's a clearer description. Remove superfluous
9886 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9888 * text.C: fix bug 488. Not ideal, but getting
9889 getWord() to work properly for the insets that
9890 matter is more difficult ...
9892 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9894 * BufferView_pimpl.C:
9897 * lyxfunc.C: remove the six million index lyxfuncs to just
9898 one, and DTRT (bug 458)
9900 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9904 * BufferView_pimpl.h:
9905 * BufferView_pimpl.C: clean up resize() stuff,
9906 and unnecessary updateScreen()s
9908 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9912 * BufferView_pimpl.h:
9913 * BufferView_pimpl.C:
9916 * minibuffer.C: remove focus management of workarea,
9917 not needed. Use screen's greyOut()
9919 2002-06-17 Herbert Voss <voss@lyx.org>
9921 * converter.C: (convert) do not post a message, when converting
9922 fails, let the calling function decide what to do in this case
9924 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9926 * lyxfunc.C: tidy up a little
9928 2002-06-16 <alstrup@diku.dk>
9930 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9931 Got rid of FORMS_H_LOCATION include. Now we are
9934 2002-06-15 LyX Development team <lyx@rilke>
9936 * buffer.[Ch] (sgmlOpenTag):
9937 (sgmlCloseTag): Added support for avoiding pernicious mixed
9938 content. Return number of lines written.
9941 (makeDocBookFile): Fixed calls to sgml*Tag.
9942 Simple white space clean.
9944 (simpleDocBookOnePar): Simple white space clean.
9946 * tabular.[Ch] (docBook): Renamed to docbook and got another
9947 argument to related with the pernicious mixed content.
9949 (docbookRow): Fixed calls for docbook inset method.
9951 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9953 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9954 so it's X11 independent.
9958 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9960 2002-06-15 Lyx Development team <lyx@electronia>
9962 * intl.h: Renamed getTrans to getTransManager.
9964 2002-06-14 Angus Leeming <leeming@lyx.org>
9966 * Makefile.am: nuke forgotten stl_string_fwd.h.
9968 2002-06-12 Angus Leeming <leeming@lyx.org>
9970 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9972 2002-06-13 Angus Leeming <leeming@lyx.org>
9975 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9977 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9979 * kbmap.C (getiso): add support for cyrillic and greek
9981 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9985 * BufferView_pimpl.h:
9986 * BufferView_pimpl.C: move bogus scrolling logic
9989 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9992 * BufferView_pimpl.C: view->resize() change
9994 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9996 * BufferView_pimpl.C: topCursorVisible
9999 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10003 * lyx_gui.C: move to frontends/
10007 * lyx_main.C: changes from above
10009 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10016 * lyx_main.C: minor tidy
10018 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10020 * BufferView_pimpl.h:
10021 * BufferView_pimpl.C:
10023 * BufferView.C: make painter() const,
10026 * BufferView2.C: use screen() accessor
10029 * lyx_main.C: some minor cleanup
10031 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10033 * BufferView_pimpl.h:
10034 * BufferView_pimpl.C: remove enter/leaveView,
10037 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10042 * BufferView_pimpl.h:
10043 * BufferView_pimpl.C: only construct screen once,
10046 * lyxrc.C: remove pointless comment
10048 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10051 * BufferView.C: remove active() and belowMouse()
10053 * BufferView_pimpl.h:
10054 * BufferView_pimpl.C: use workarea() not workarea_,
10055 and make it use a scoped_ptr instead
10057 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10059 * lyx_gui.C: add debug message on BadWindow
10061 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10063 * sp_spell.C: fdopen is not part of the C++ standard.
10065 * paragraph.C (InsetIterator): use >= instead of ==
10067 2002-06-07 Angus Leeming <leeming@lyx.org>
10069 Fixes needed to compile with Compaq cxx 6.5.
10070 * BufferView_pimpl.C:
10077 * lyxtextclasslist.C:
10082 all c-library variables have been moved into namespace std. Wrap
10083 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10088 Add a using std::abs declaration.
10090 * kbmap.h (modifier_pair):
10091 * paragraph.h (InsetTable, InsetList):
10092 * lyxfont.h (FontBits):
10093 type definition made public.
10095 * bufferlist.C (emergencyWriteAll): the compiler complains that
10096 there is more than one possible lyx::class_fun template to choose from.
10097 I re-named the void specialisation as lyx::void_class_fun.
10099 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10101 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10102 the compiler is is unable to find tostr in write_attribute.
10104 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10106 * buffer.C (sgmlError): hide #warning
10108 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10110 * xtl/*: get rid of xtl, which is not in use anyway
10112 * LyXAction.C (init):
10113 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10114 were unimplemented xtl experimentation
10116 2002-06-04 André Pönitz <poenitz@gmx.net>
10118 * lyxfunc.C: disable array operation on simple formulae
10120 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10122 * converter.C: constify a bit
10124 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10126 * lyx_gui.C: check xforms version correctly
10128 2002-04-30 Herbert Voss <voss@lyx.org>
10130 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10133 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10135 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10136 attempt to register it with a VCS)
10138 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10140 * lyx_main.C (init): honor variables LYX_DIR_13x and
10143 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10147 * lyx_main.C: fix a crash on bad command line,
10148 and give a useful exit status on error
10150 * lyxfunc.C (doImport): allow -i lyx to work
10152 2002-03-30 André Pönitz <poenitz@gmx.net>
10154 * lyxfunc.C: mathed font changes
10156 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10171 * trans_mgr.h: srcdocs, and some minor cleanups
10173 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10175 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10176 call getFont all the time)
10178 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10180 * switch from SigC signals to boost::signals
10182 2002-05-29 André Pönitz <poenitz@gmx.net>
10184 * paragraph_pimpl.C (getChar): don't call size() too often...
10186 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10188 * paragraph_pimpl.C (insertChar): do not try to update tables when
10189 appending (pos == size())
10191 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10192 in order to reduce drastically the number of comparisons needed to
10193 parse a large document
10195 2002-05-29 André Pönitz <poenitz@gmx.net>
10201 * textclasslist.[Ch]:
10202 * sp_ispell.h: whitespace change
10204 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10206 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10207 lyxaction directly now.
10209 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10213 * lyxvc.C: remove unused headers
10215 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10222 * undo_funcs.C: some cleanups. Use shared_ptr
10223 and a template for the undo stacks.
10225 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10227 * BufferView_pimpl.h:
10228 * BufferView_pimpl.C:
10235 * text2.C: use key_state/mouse_state
10237 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10239 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10242 * chset.C: change include order
10243 (loadFile): use boost regex and get rid of LRegex and LSubstring
10245 * Makefile.am (BOOST_LIBS): new variable
10246 (lyx_LDADD): use it
10248 * LaTeX.C: change include order.
10249 (scanAuxFile): use boost regex and get rid of LRegex and
10253 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10258 * FontInfo.C: moved to frontends/xforms/
10261 * FontLoader.C: moved into frontends for GUIIzation
10266 * lyxfunc.C: changes from above
10268 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10270 * LColor.C: remove spurious X include
10272 * BufferView_pimpl.C:
10277 * text2.C: move font metrics to frontends/
10279 2002-05-24 Juergen Vigna <jug@sad.it>
10281 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10282 setting the undo_cursor.
10284 * ParagraphParameters.h: include local includes first.
10286 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10288 * BufferView_pimpl.C:
10289 * BufferView_pimpl.h:
10293 * screen.C: move WorkArea into frontends/
10299 * BufferView2.C: move LyXScreen into frontends/
10303 * lyx_gui.C: move lyxlookup into frontends/xforms/
10305 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10308 * BufferView_pimpl.C:
10318 * bufferview_funcs.C:
10331 * vc-backend.C: move LyX/XFormsView into frontends/
10333 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10345 * text2.C: move Painter to frontends/
10347 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10349 * buffer.C: comment out some some code that depend upon lyx_format
10352 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10353 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10355 * buffer.h (NO_COMPABILITY): turn off compability
10357 * ColorHandler.C: include scoped_array.hpp
10359 * font.C: Use more specific smart_ptr header.
10362 * ShareContainer.h: ditto
10363 * lyx_main.h: ditto
10365 * FontInfo.h: ditto
10366 * BufferView_pimpl.h: ditto
10367 * ColorHandler.h: ditto
10369 * kbmap.C (defkey): change call to shared_ptr::reset
10371 2002-05-21 Juergen Vigna <jug@sad.it>
10373 * buffer.C (insertErtContents): fix to insert ert asis if it is
10374 non empty. Skip it completely if it contains only whitespaces.
10376 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10378 * BufferView_pimpl.C:
10379 * BufferView2.C: clear selection on paste (bug 393)
10381 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10383 * DepTable.C: include ctime
10385 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10387 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10389 2002-05-14 Juergen Vigna <jug@sad.it>
10391 * text.C (breakParagraph): fixed function to honor the keepempty
10392 layout in the right maner and also to permit the right breaking
10393 algorithm on empty or non empyt keepempty paragraphs.
10395 * paragraph.C (breakParagraph): we have to check also if the par
10396 is really empty (!size()) for isempty otherwise we do the wrong
10399 2002-05-10 Juergen Vigna <jug@sad.it>
10401 * buffer.[Ch] : The following are only changes to the ert
10402 compatibility read reading old LaTeX layout and font stuff and
10403 convert it to ERTInsets.
10405 * buffer.h: added isErtInset().
10407 * buffer.C (struct ErtComp): add a fromlayout bool to check
10408 if we're inside a LaTeX layout.
10409 (isErtInset): new helper function.
10410 (insertErtContents): look for other ert insets before this one
10411 and insert the contents there, so that we don't have subsequent
10412 ERT insets with nothing between them. This way we create only one
10413 inset with multiple paragraphs. Also check if we don't insert only
10414 spaces ' ' as they are ignored anyway afterwards in the .tex file
10415 so if we have only spaces we will ignore this latex part in the
10417 (parseSingleLyXformat2Token \\layout): better compatibility when
10418 reading layout-latex stuff.
10419 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10421 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10422 stuff after reading the inset only get the information back from
10425 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10427 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10429 * LaTeXFeatures.C (getBabelOptions): New method.
10431 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10433 * BufferView_pimpl.C (Dispatch): work around missing argument for
10436 2002-05-08 Juergen Vigna <jug@sad.it>
10438 * text.C (leftMargin): handle paragraph leftindent.
10440 * paragraph.C (writeFile): write the new \\leftindent tag.
10441 (validate): handle leftindent code.
10442 (TeXEnvironment): handle paragraphleftindent code again.
10444 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10446 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10447 for paragrap_extra indent code and new token \\leftindent.
10448 (latexParagraphs): handle the leftindent as environment.
10450 * ParameterStruct.h: added leftindent support.
10452 * ParagraphParameters.C (leftIndent): added support functions for
10453 the paragraph left indent.
10455 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10458 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10460 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10463 * text.C (computeBidiTables): No bidi in insetERT.
10465 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10468 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10470 * version.C.in: pre 5
10472 2002-05-02 José Matos <jamatos@fep.up.pt>
10473 * buffer.C (makeDocBookFile): white space changes, add newline to
10475 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10477 * tabular.C (docBook): fix typo.
10479 2002-05-03 Juergen Vigna <jug@sad.it>
10481 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10482 change in LyXText as we can not be sure it was not freed.
10483 (drawOneRow): remove unused code.
10485 * text.C (drawInset): redo the calculation of the need_break_row as
10486 it could have a row which was already freed.
10487 (draw): look at the return value of drawInset and return false if
10488 it also returned false.
10489 (paintRowText): look at the return value of draw and return false if
10490 it also returned false.
10492 * lyxtext.h: added bool return type to drawInset() and draw() so that
10493 if we have a change in the row so that the rowbreak has to be redone
10494 we abort drawing as it will be called again.
10496 2002-05-02 Juergen Vigna <jug@sad.it>
10498 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10499 a change in the maintext also if we're inside an inset.
10500 (Dispatch): set the cursor again after a break line and after the
10501 screen has been updated as it could be we're in a different row.
10503 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10504 to set the cursor behind the pargraph with > size().
10505 (setCursor): check also for the same paragraph when checking where
10506 to put the cursor if we have a NFR inset.
10508 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10509 parts of layout read further up as it still was in the wrong
10512 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10514 * screen.C (drawFromTo): change sine fullRebreak always return
10517 * buffer.C (parseSingleLyXformat2Token): reindent some
10519 * BufferView_pimpl.C (update): change since fullRebreak always
10521 (Dispatch): git rid of the last hardcoded "Standard"s.
10523 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10525 * text2.[Ch] (fullRebreak): make it return void now that we always
10528 2002-04-30 Juergen Vigna <jug@sad.it>
10530 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10531 ert compatibility check for "latex" layout.
10533 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10535 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10536 minipages: use col% instead of p%, and also use the current font.
10537 (makeLaTeXFile): Fix use babel condition.
10538 (parseSingleLyXformat2Token): Correct font when reading old floats.
10540 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10542 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10543 inserting list of floats.
10545 2002-04-25 Herbert Voss <voss@lyx.org>
10547 * MenuBackend.C (expand): don't add the graphics extensions to the
10550 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10552 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10553 non-existing layout, do not complain if it was the default layout
10554 of the original class (bug #342)
10556 2002-04-24 Juergen Vigna <jug@sad.it>
10558 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10559 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10561 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10563 * buffer.C (getBibkeyList): If using \bibliography, return the
10564 option field with the reference itself. Enables us to provide natbib
10565 support when using \bibliography.
10567 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10569 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10571 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10572 natbib is provided by the LaTeX class.
10574 2002-04-23 Juergen Vigna <jug@sad.it>
10576 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10579 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10581 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10583 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10585 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10586 ensuremath around textordmasculine, textordfeminine and
10589 2002-04-19 Juergen Vigna <jug@sad.it>
10591 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10592 reinitializing the buffer otherwise row-dimensions may be wrong.
10593 (update): reset also the selection cursors if they do exits otherwise
10594 their x/y positions may be wrong.
10596 * text2.C (cursorDown): don't enter the inset if we came from a row
10597 above and are one row over the inset.
10599 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10600 really leaving an inset.
10602 2002-04-18 Juergen Vigna <jug@sad.it>
10604 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10605 of the selected paragraph does not have the selected layout also if
10608 * text2.C (setLayout): fixed bug which did not change last selected
10611 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10612 changed the read and substituted \\end_float with \\end_inset!
10614 * BufferView_pimpl.C (cursorPrevious):
10615 (cursorNext): fixed to make it work with rows heigher than the work
10616 area without moving the cursor only the draw of the row.
10617 (workAreaMotionNotify): fix jumping over high rows.
10619 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10621 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10624 2002-04-16 Juergen Vigna <jug@sad.it>
10626 * text2.C (setCursor): set also the irow().
10627 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10629 (cursorDown): support for locking an inset if the x_fix value goes
10630 inside it. That way I can transverse insets too with cursor up/down.
10632 * lyxrow.h: added irow helper function same as other (i) functions.
10634 * BufferView_pimpl.C (cursorPrevious):
10635 (cursorNext): fixed for insets!
10637 2002-04-15 Juergen Vigna <jug@sad.it>
10639 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10640 position otherwise it is wrong in some cases.
10642 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10643 inside the inset before the call.
10645 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10647 * buffer.[Ch] (getBibkeyList): make it const.
10649 2002-04-12 Juergen Vigna <jug@sad.it>
10651 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10653 * text2.C (getCursorX): new helper function
10654 (setCursor): compute also ix_
10655 (setCursorFromCoordinates): set also ix.
10657 * lyxcursor.h: added ix_ and helper functions.
10659 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10661 * buffer.C (insertStringAsLines): dont break paragraph if the this
10662 paragraph is inside an inset which does not permit it!
10664 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10665 also with no chars on this paragraph.
10666 (paintRowText): only paint stuff if it's inside the workarea!
10668 * paragraph.C (breakParagraph): honor keepempty flag and break the
10669 paragraph always below not above.
10671 * BufferView2.C (unlockInset): update the paragraph layout on inset
10672 unlock as we changed paragraph in such a case.
10674 * lyxfind.C (LyXFind): clear the former selection if not found!
10676 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10677 again called in insertChar().
10679 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10680 an inset which uses the whole row!
10681 (rightMargin): ditto.
10682 (insertChar): force a rebreak if we inserted an inset!
10684 2002-03-28 Herbert Voss <voss@lyx.org>
10686 * lyxlength.[Ch]: add inBP() to get the right PS-point
10687 units (BigPoint). With inPixels we have rounding errors
10689 2002-04-11 Juergen Vigna <jug@sad.it>
10691 * text2.C (setCursorFromCoordinates): set iy to the right value.
10692 (setCursor): add check if row->previous exists!
10694 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10695 an old float_type as this was the case in the old code!
10697 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10699 * BufferView2.C (showLockedInsetCursor): use iy
10700 (fitLockedInsetCursor): ditto
10702 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10703 locked insets as there we have the right value now.
10705 * lyxcursor.C: added iy_ variable and iy functions to set to the
10706 baseline of cursor-y of the locked inset.
10708 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10709 (setCursor): fixed for insets which need a full row.
10711 * text.C (rowLastPrintable): don't ignore the last space when before
10712 an inset which needs a full row.
10713 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10714 as last character of a row when before a inset which needs a full row.
10716 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10718 * version.C.in: update date
10720 * text2.C (fullRebreak): try to always return true and see what
10723 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10725 * MenuBackend.C (expand): use Floating::listName
10727 * FloatList.C (FloatList): add listName argument to the built-in
10730 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10731 text associated with the float.
10733 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10735 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10737 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10739 * ShareContainer.h: add a couple of missing typenames.
10741 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10743 * lyxrc.C (getDescription): use _() correctly rather than N_().
10745 2002-03-28 Herbert Voss <voss@lyx.org>
10747 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10748 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10750 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10752 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10753 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10755 2002-03-29 Juergen Vigna <jug@sad.it>
10757 * lyxfunc.C (dispatch): add a missing fitCursor call.
10759 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10760 it was scrolled by a cursor move, so return the bool status.
10762 * BufferView.C (fitCursor): return the bool flag also to the outside
10763 world as this is needed.
10765 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10767 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10768 call the edit() as it is not needed (and wrong) IMO.
10769 (workAreaButtonPress): set the screen_first variable before evt.
10770 unlock the inset as this may change screen_first and then we have
10771 a wrong y position for the click!
10773 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10775 * MenuBackend.C (expand): another translation that I missed
10777 2002-03-28 Juergen Vigna <jug@sad.it>
10779 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10781 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10783 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10785 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10787 * MenuBackend.C (expand): fix export/view/update when there is no
10790 2002-03-27 Herbert Voss <voss@lyx.org>
10792 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10795 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10797 * bufferview_funcs.C (currentState): only show paragraph number
10798 for is DEVEL_VERSION is set.
10800 * lyxfunc.C (dispatch): put warning in INFO channel
10802 * MenuBackend.C (expand): translate the name of floats
10804 * FloatList.C (FloatList): mark the float names for translation
10806 * converter.C (convert): use LibScriptSearch
10808 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10810 * MenuBackend.C (defaults): fix default menu (we might as well get
10813 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10815 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10818 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10820 * lyxvc.C: reorder includes.
10822 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10824 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10827 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10829 * CutAndPaste.C: change layouts earlier on paste
10830 to avoid crashing when calling getFont()
10832 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10834 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10837 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10839 * WorkArea.C: remove 'Pending' debug message.
10841 * most files: ws cleanup
10843 * buffer.[Ch]: ws changes
10845 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10847 2002-03-21 Juergen Vigna <jug@sad.it>
10849 * tabular.C (SetMultiColumn): collapse also the contents of the
10850 cells and set the last border right. Added a Buffer const * param.
10852 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10854 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10857 2002-03-19 Juergen Vigna <jug@sad.it>
10859 * text2.C (clearSelection): reset also xsel_cache.
10861 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10862 where it needs to be called (John tells us to do so too :)
10863 (selectionLost): reset sel_cache.
10865 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10867 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10869 * text2.C (setCursorIntern): put debuging code in INSETS channel
10871 2002-03-19 André Pönitz <poenitz@gmx.net>
10873 * lyxfunc.C: tiny whitespace change
10875 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10877 * ToolbarDefaults.C (init):
10878 * LyXAction.C (init):
10880 * BufferView_pimpl.C (Dispatch):
10881 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10883 2002-03-19 Allan Rae <rae@lyx.org>
10885 * exporter.C (Export): removeAutoInsets before doing anything else.
10886 While I've just introduced a dependency on BufferView this really is
10887 the best place to clean the buffer otherwise you need to cleanup in
10888 a dozen places before calling export or cleanup in a dozen functions
10891 * converter.C (runLaTeX):
10892 (scanLog): Better handling of removeAutoInsets and screen updates.
10894 * lyxfunc.C (dispatch): small whitespace changes
10896 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10898 * WorkArea.C (C_WorkAreaEvent): return a value.
10899 (event_cb): return 1 if we handled the event, 0 otherwise.
10901 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10903 2002-03-18 Juergen Vigna <jug@sad.it>
10905 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10906 (GetAdditionalWidth): ditto.
10907 (RightLine): ditto.
10910 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10911 inset if we're there actually (probably not used right now but this
10912 is the direction to go for unifying code).
10913 (paste): disable code to clear the selection.
10915 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10916 inside an InsetText and move the check further up as it is in the
10919 * text2.C (pasteSelection): set a selection over the pasted text.
10921 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10923 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10924 and libgraphics to build on Cygwin.
10926 2002-03-15 Juergen Vigna <jug@sad.it>
10928 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10929 inserting an Inset into the paragraph. I know this is not the best
10930 fix but we already use current_view in CutAndPaste so we will remove
10931 all of it's using at the same time.
10933 * buffer.C (sgmlError): deactivated function till it is rewritten in
10934 the right mode, now it can create problems.
10936 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10937 before accessing it.
10939 2002-03-14 Juergen Vigna <jug@sad.it>
10941 * undo_funcs.C (textHandleUndo): do the right thing when updating
10942 the inset after the undo/redo.
10944 * text2.C (setCursor): just some testcode for #44 not ready yet.
10946 * undo_funcs.C (textHandleUndo): set the next() and previous()
10947 pointers of the paragraph to 0 before deleting otherwise we have
10948 problems with the Paragraph::[destructor].
10950 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10951 on a paragraph insertion.
10953 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10955 * buffer.C (asciiParagraph): use += operator for char append to
10958 * paragraph.C (getFontSettings): compare >= not just >
10959 (highestFontInRange): ditto
10962 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10964 * paragraph.C: change several algorithm to be more appripriate for
10965 the problem domain. This is lookip in FontList and in the InsetList.
10967 2002-03-13 André Pönitz <poenitz@gmx.net>
10970 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10972 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10977 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10979 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10981 * Painter.C (display): anon helper function, adjust code for this
10983 (pixmap): remove function.
10985 * Painter.h: remove private display variable.
10987 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10989 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10991 * WorkArea.[Ch]: remove figinset_canvas cruft.
10993 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10995 * lyxtextclass.C (operator): add one item cache optimization.
10997 * bufferlist.h: doxy changes
10999 * bufferlist.C: ws changes
11001 * DepTable.[Ch] (ext_exist): place const in the right spot.
11003 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11005 (workAreaExpose): call resizeInsets when the with BufferView changes.
11006 (Dispatch): adjust for protectedBlank removal
11007 (specialChar): call updateInset if the insert went ok.
11009 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11010 specialChar instead.
11012 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11014 * BufferView.h: doxy change
11016 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11018 * lyxtextclass.C (operator[]): remove non-const version
11019 (defaultLayout): remove non-const version
11021 2002-03-12 Juergen Vigna <jug@sad.it>
11023 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11024 did resize the LyXText too.
11026 * buffer.C (readLyXformat2): set layout information on newly allocated
11029 * tabular.C (OldFormatRead): set layout information on the paragraph.
11031 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11033 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11035 2002-03-11 Juergen Vigna <jug@sad.it>
11037 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11039 (resizeCurrentBuffer): force also the insets to resize themselfes.
11040 (moveCursorUpdate): fixed up for InsetText.
11042 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11045 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11046 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11047 value of Dialogs::tooltipsEnabled().
11048 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11050 2002-03-08 Juergen Vigna <jug@sad.it>
11052 * BufferView_pimpl.C (updateInset): update inset inside inset also
11053 if it isn't inside theLockingInset().
11055 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11057 * buffer.C (asciiParagraph): redo some of the word and line length
11059 (getLists): look for Caption instead of caption.
11061 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11063 * buffer.C (Buffer): initialize niceFile to true
11065 (makeLinuxDocFile):
11066 (makeDocBookFile): make sure niceFile is true on exit
11068 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11070 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11072 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11074 * LyXSendto.C: remove.
11075 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11076 * lyx_gui.C: remove now-redundant comment.
11077 * ColorHandler.h: remove forward declaration of class WorkArea.
11078 * lyxfunc.C: remove #include "WorkArea.h".
11080 2002-03-07 Juergen Vigna <jug@sad.it>
11082 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11083 got moved away with the DEPM and also set the inset_owner always
11084 right which before could have been omitted.
11086 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11088 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11089 wanted layout is not found.
11091 2002-03-07 Juergen Vigna <jug@sad.it>
11093 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11095 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11097 * paragraph.C (breakParagraph): use default layout not layout of
11099 (Paragraph): clear ParagraphParameters.
11101 2002-03-06 Juergen Vigna <jug@sad.it>
11103 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11104 otherwise it would not be a valid lenght. Fixed a special case in
11105 the minipage compatibility read where we end the document with a
11108 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11109 was set as it could be 0 for InsetTexts first entry.
11111 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11113 * paragraph.C (writeFile): if layout is empty write out
11114 defaultLayoutName().
11116 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11117 file without named layout we set layout to defaultLayoutName().
11119 2002-03-06 Juergen Vigna <jug@sad.it>
11121 * CutAndPaste.C (copySelection): set layout for new paragraph.
11123 * text.C (prepareToPrint): leave ERT inset left aligned
11124 (leftMargin): don't indent paragraphs inside ERT insets
11126 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11128 * paragraph.C (breakParagraph): dont call clear do the work manually
11130 * paragraph.[Ch] (clear): remove function
11132 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11134 * paragraph.C (Paragraph): dont call clear, the work has already
11137 * lyxtextclass.C (operator): assert if n is empty
11139 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11140 work manually instead.
11142 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11144 * BufferView_pimpl.C: protect selectionLost against text == 0
11146 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11148 * text.C (breakParagraph): fix a setting layout to '0' problem.
11150 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11152 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11153 final location of file, for the included files, and graphics.
11155 2002-03-05 Juergen Vigna <jug@sad.it>
11157 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11159 2002-03-04 Juergen Vigna <jug@sad.it>
11161 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11163 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11164 last column of multicolumn cells.
11165 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11167 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11169 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11170 file if it doesn't go to a temporary file.
11172 * buffer.C (sgmlOpenTag):
11173 (sgmlCloseTag): remove extra newline insertion.
11175 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11177 * text.C (getRowNearY): comment out debug msg
11179 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11181 * text2.C: first -> first_y
11183 * text.C (getRowNearY): add some attemts at a possible
11184 optimization, not working.
11186 * tabular.[Ch]: add BufferParams to several function so that newly
11187 created paragraph can be initialized to he default layotu for the
11190 * tabular-old.C (ReadOld): add buf->params to call of Init
11192 * screen.C: rename text->first to text->first_y
11194 * paragraph.C (breakParagraph): always set layout in the broken
11197 * lyxtextclass.C (Read): remove lowercase
11200 (delete_layout): ditto
11202 * lyxtext.h: rename first -> first_y
11204 * lyxlayout.C (Read): remove lowercase
11207 (obsoleted_by): ditto
11209 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11211 * buffer.C (insertErtContents): add params are to InsetERT
11212 (parseSingleLyXformat2Token): add code to check if a paragraphs
11213 layout really exist.
11214 (parseSingleLyXformat2Token): add params to several inset
11216 (asciiParagraph): remove lowercase, do the layout comparisons with
11219 * BufferView_pimpl.C (cursorNext): first -> first_y
11220 (resizeCurrentBuffer): first -> first_y
11221 (updateScrollbar): first -> first_y
11222 (scrollCB): first -> first_y
11223 (workAreaMotionNotify): first -> first_y
11224 (workAreaButtonPress): first -> first_y
11225 (checkInsetHit): first -> first_y
11226 (cursorPrevious): first -> first_y
11227 (cursorNext): first -> first_y
11228 (Dispatch): add buffer_->params to severl inset contructors
11230 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11232 * lyxlayout.C (Read): remove some debug info that I forgot.
11234 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11235 clean up the code slightly.
11236 (makeLinuxDocFile): ditto
11237 (makeDocBookFile): ditto
11239 * text2.C: layout as string
11241 * text.C: layout as string
11243 * paragraph_pimpl.C: layout as string
11245 * paragraph.[Ch]: layout as string
11247 * lyxtextclasslist.[Ch]: layout as string
11249 * lyxtextclass.[Ch]: layout as string
11251 * lyxtext.h: layout as string
11253 * lyxlayout.[Ch]: layout as string
11255 * lyx_cb.C: layout as string
11257 * bufferview_funcs.C: layout as string
11259 * bufferparams.C: layout as string
11261 * buffer.C: layout as string
11263 * LyXView.[Ch]: layout as string
11265 * LaTeXFeatures.[Ch]: layout as string
11267 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11269 * BufferView_pimpl.C: change current_layout to string, remove
11274 (workAreaButtonRelease): layout as string
11276 * BufferView2.C (unlockInset): adjust
11278 * vspace.C (asLatexCommand): use an explict temp variable.
11280 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11282 * Makefile.am: use FRONTEND_*
11284 2002-03-01 Juergen Vigna <jug@sad.it>
11286 * tabular.C (SetWidthOfMulticolCell): changed to something better
11287 I hope but still work in progress.
11288 (recalculateMulticolumnsOfColumn): renamed function from
11289 recalculateMulticolCells as it is more appropriate now.
11290 (SetWidthOfCell): calculate multicols better.
11292 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11294 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11296 * lyxfunc.C (processKeySym): print sequence also if it is
11297 `deleted' (complete)
11299 * kbsequence.C (print): print sequence even if it is deleted
11300 (complete would be a better word, actually).
11302 * lyxfunc.C (dispatch): print complete options after a prefix key
11304 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11306 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11308 * text2.C (setCharFont): eliminate setCharFont code duplication.
11310 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11312 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11313 LFUN_TABULAR_FEATURE (bug #177)
11315 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11317 * Makefile.am: remove figure.h
11319 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11321 * Bufferview_pimpl.C:
11333 * text2.C: remove #include "lyx_gui_misc.h".
11335 * LaTeX.C: added #include <cstdio>
11337 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11339 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11340 that the paragraph following this one can have.
11342 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11344 * vspace.C (asLatexCommand): fix bogus gcc warning
11346 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11348 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11350 * text2.C (setLayout): get rid of redundant code
11352 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11354 * text2.C (incDepth): make sure depth cannot be increased beyond
11357 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11359 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11360 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11362 * PainterBase.h (image):
11363 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11364 a LyXImage const *.
11366 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11370 * BufferView_pimpl.C:
11371 * BufferView_pimpl.h:
11391 * sp_spell.C: remove fig inset, and the crap house of
11392 cards that follows it
11394 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11399 * os2_errortable.h:
11400 * nt_defines.h: move .h into support/
11402 * vms_defines.h: remove
11404 * WorkArea.C: add space in debug output
11408 * buffer.C: add WITH_WARNINGS
11412 * bufferlist.C: s/retrive/retrieve/, add docs
11421 * chset.C: add docs
11423 * lyxgui.C: add ID to X error handler
11425 * lyxtestclass.c: fix typo
11427 2002-02-26 Juergen Vigna <jug@sad.it>
11429 * tabular_funcs.C (write_attribute): changed so that some default
11430 attributes are not written at all.
11431 (getTokenValue): set default values before trying to read the
11432 value so we have the return value always set as default if we don't
11433 find the token we search for.
11435 * tabular.C (Write): write bools as bools not as strings!
11437 2002-02-22 Juergen Vigna <jug@sad.it>
11439 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11440 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11442 * text.C (leftMargin): don't add an indent for paragraphs inside
11443 tabular cells (fix #208).
11445 2002-02-21 José Matos <jamatos@fep.up.pt>
11447 * tabular.C (docBook): fixed support for long tables.
11449 2002-02-20 Juergen Vigna <jug@sad.it>
11451 * text2.C (getFont): get the drawing font of the Inset if this
11452 paragraph is inside an inset (only important for InsetERT for now).
11454 * buffer.C (insertErtContents): use new lanugage params in ERT
11457 * CutAndPaste.C: commenting out seemingly uneeded code.
11459 2002-02-19 Allan Rae <rae@lyx.org>
11461 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11462 Iterators might be simple to use but they also get invalidated.
11463 (removeAutoInsets): renamed saved cursor tracking variables and added
11464 some comments to clarify what everything does.
11466 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11473 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11474 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11477 * vc-backend.h: remove #include "support/syscall.h"
11481 * converter.C: rearrange #includes in Lars' approved fashion.
11483 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11484 forward declare class Timeout in the header file.
11486 * XFormsView.C: changes due to the above.
11488 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11489 similar to LyXView.
11491 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11492 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11494 2002-02-18 José Matos <jamatos@fep.up.pt>
11496 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11499 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11501 * a lot of small ws changes
11502 * add a lot of using std::XXX
11503 * use std construcs some places where approp.
11504 * use some exisint stuff from lyxfunctional where approp.
11505 * Make file changes to use partial linking (lets test this now...)
11507 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11511 remove #include "support/syscontr.h" as it's redundant. Always has been.
11519 change Systemcalls::System to Systemcalls::Wait and
11520 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11521 No change of functionality, just reflects the stripped down Systemcalls
11524 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11526 * debug.[Ch]: add a GRAPHICS type to the enum.
11528 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11530 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11532 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11535 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11537 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11538 match the changes below.
11540 * text2.C (toggleInset): if there is not editable inset at cursor
11541 position, try to see if cursor is _inside_ a collapsable inset
11544 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11546 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11547 document menu has a nice checkbox
11549 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11551 * lyxlength.C (asLatexString): change PW to output as percent of
11554 * lengthcommon.C: change '%' to 't%'
11556 * lyxfunc.C (dispatch): a few comments from Martin
11558 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11562 * BufferView_pimpl.h:
11563 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11566 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11568 * vspace.C (inPixels): fix compiler warning
11570 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11572 * lyxfunc.C (getStatus): fix status message for disabled commands.
11574 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11576 * BufferView_pimpl.C: fix crash on close buffer
11577 during selection (#227)
11579 2002-01-27 Herbert Voss <voss@lyx.org>
11581 * buffer.C: link old Figure to new graphic inset
11583 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11585 * FontLoader.C (getFontinfo): Change the latex font names in order
11586 to match the names of type1inst.
11588 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11590 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11592 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11593 (extchanged): ditto
11595 (remove_files_with_extension): ditto
11596 (remove_file): ditto
11599 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11600 document is smaller than the work area height. Do not initialize
11601 static variables to 0.
11603 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11605 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11607 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11608 LFUN_LAYOUT_PARAGRAPHS.
11610 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11611 tabular. It is possible to provide a possible cell, which will
11612 typically be the actcell from the corresponding insettabular
11614 * lyxfunc.C (getStatus): small cleanup; disable
11615 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11618 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11620 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11622 * paragraph.C (startTeXParParams):
11623 (endTeXParParams): new methods. The LaTeX code to
11624 start/end paragraph formatting
11625 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11626 empty (fixes bug #200)
11628 * vspace.C (inPixels): adapt to the change below
11629 (inPixels): [later] more cleanups (remove unused variables)
11631 * lyxlength.C (inPixels): change to use a width and a height as
11634 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11636 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11637 Replaced with \paperwidth
11639 * DepTable.C (insert): add std:: qualifier
11641 2002-01-18 Allan Rae <rae@lyx.org>
11643 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11646 * text.C (drawInset): Turned out I didn't know enough about how
11647 rebreaking worked. This fixes most of the redraw problems. I see
11648 an occasional cursor trail when a line is broken now and the cursor
11649 placement can seem out by a few pixels also after a rebreak.
11651 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11653 * buffer.C (parseSingleLyXformat2Token): update because minipage
11654 width is now a LyXLength
11656 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11658 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11661 2002-01-17 Juergen Vigna <jug@sad.it>
11663 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11665 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11666 is set correctly and the inset is updated correctly.
11668 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11670 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11671 the beginning of the loop.
11673 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11675 * lyxrc.C: improve help for use_scalable_fonts
11677 2002-01-17 Allan Rae <rae@lyx.org>
11679 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11681 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11683 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11684 make sure to set their inset_owner to the right value (bug #171)
11686 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11689 * DepTable.C: Implement mtime checking to reduce time spent doing
11692 2002-01-16 Juergen Vigna <jug@sad.it>
11694 * tabular.C (GetAdditionalHeight): one of error fixed.
11696 * lyxrc.C (output): small fix in writing use_pspell.
11698 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11700 * sp_base.h: #include LString.h
11702 2002-01-16 Allan Rae <rae@lyx.org>
11704 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11705 Can someone check this please?
11707 * text.C (drawInset): It was possible that p.row would be removed by
11708 breakAgainOneRow upsetting a few other settings. There may be another
11709 small tweak possible by setting need_break_row = 0 when p.row has been
11710 removed but I don't know enough about the logic here.
11712 2002-01-15 Allan Rae <rae@lyx.org>
11714 * text.C (insertChar): removed conditional truism.
11716 * BufferView2.C (removeAutoInsets): More tweaks.
11717 cur_par_prev could be a stray pointer. Check for trailing empty line
11718 in case last line was cur_par and only had an error inset on it.
11720 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11722 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11725 * vc-backend.C (most methods):
11726 * exporter.C (Export):
11727 * converter.C (convert):
11729 * LyXSendto.C (SendtoApplyCB):
11730 * lyxfunc.C (dispatch):
11734 * lyx_cb.C (AutoSave):
11736 * BufferView_pimpl.C (MenuInsertLyXFile):
11737 * buffer.C (runChktex): use Buffer::filePath().
11739 * buffer.h: rename filename to filename_; rename filepath to
11740 filepath_ and make it private
11741 (filePath): new method
11743 * buffer.C (writeFile): use fileName()
11746 * lyx_main.C (init): fix starting of LyX when the binary is a
11747 link from so,ewhere else.
11749 * minibuffer.C: include <cctype> for isprint
11751 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11753 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11754 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11755 name clash with InsetCollapsable's width function.
11757 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11759 * lastfiles.C: include <iterator>
11761 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11763 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11766 * buffer.C (makeLaTeXFile): ditto.
11767 Also make loop operation more transparent.
11769 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11771 * ToolbarDefaults.C: remove trailing comma closing namespace.
11773 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11775 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11778 * trans.C (Load): comment out unused variable, allowed.
11780 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11782 * minibuffer.[Ch] (append_char): new method to recieve input from the
11783 drop-down completion browser. If a key was pressed, then recieve this
11784 char and append it to the existing string.
11785 (peek_event): modify the positioning data passed to the completion
11786 browser so that it can be placed above the minibuffer rather than below.
11787 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11789 * LyXAction.C (init): alloe error-next for readonly documents.
11791 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11794 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11796 * bufferlist.C (readFile): create the buffer _after_ checking that
11799 * lyxfunc.C (verboseDispatch): fix handling of arguments
11801 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11803 * lyxrc.C: use string::erase() instead of initializing to "".
11806 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11808 * BufferView_pimpl.h:
11809 * BufferView_pimpl.C:
11812 * text2.C: tell X when we have made a selection for copying
11814 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11816 * BufferView_pimpl.C (MenuInsertLyXFile):
11817 * lyxfunc.C (menuNew):
11819 (doImport): add shortcuts to directory buttons
11821 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11824 * lyxfunc.C (setStatusMessage):
11825 (getStatusMessage): new methods
11826 (getStatus):use setStatusMessage instead of setErrorMessage
11827 (dispatch): when function is disabled, set error message here
11828 [instead of in getStatus previously]
11830 * BufferView_pimpl.C (workAreaButtonRelease): update
11831 toolbar/menubar here too.
11833 2002-01-13 Allan Rae <rae@lyx.org>
11835 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11836 Now seems indestructible. Remaining task is to audit all other
11837 code affected by deleteEmptyParagraphMechanism. One small quirk
11838 left is that an empty document with an error in the preamble can
11839 be made to report an error but no error box appears. I don't know
11841 (removeAutoInsets): Improved comments.
11843 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11846 * Thesaurus.C: update for Aiksaurus 0.14
11848 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11850 * text2.C (firstParagraph): removed member function, all uses
11851 replaces with ownerParagraph
11852 (redoParagraphs): here
11853 (updateInset): here
11854 (toggleAppendix): here
11855 * BufferView2.C (insertErrors): here
11856 (setCursorFromRow): here
11858 2002-01-13 Allan Rae <rae@lyx.org>
11860 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11861 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11862 There is still a way to segfault this although you may have to do this
11863 multiple times: Have an InsetERT with an unknown command in it.
11864 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11865 <down-arrow>, <Enter> again, View->DVI, BANG!
11867 * text2.C (setCursor):
11868 (deleteEmptyParagraphMechanism):
11869 * lyxtext.h (setCursor):
11870 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11871 Making use of the return value may help fix other bugs.
11873 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11875 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11877 * LyXView.C (updateMenubar): call MenuBar::update here
11878 (updateToolbar): but not here
11879 (showState): do not update toolbar/menubar
11881 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11882 should need to care about that.
11884 * lyxfunc.C (verboseDispatch): simplify a bit
11885 (getStatus): have a version which takes a pseudoaction, and
11886 another which requires a (kb_action,string).
11888 * LyXAction.C (retrieveActionArg): make it work also when action
11889 is not a pseudo-action.
11890 (getActionName): simplify a bit
11893 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11895 * lyxfunc.C (verboseDispatch): new families of methods with
11896 several ways to specify a command and a bool to indicate whether
11897 the command name and shortcut should be displayed in minibuffer
11898 (eventually, we could extend that to a finer bitmask like
11899 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11900 (dispatch): the pristine dispatch command which just, well,
11901 dispatchs! Note it still sets its result to minibuffer; I'm not
11904 * lyxfunc.h: remove setHintMessage
11906 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11908 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11910 * BufferView_pimpl.C (specialChar): delete new inset if we have
11911 not been able to insert it.
11913 * kbmap.C: revert to using int instead of kb_action, since all we
11914 are dealing with is pseudo-actions.
11916 * LyXAction.C (searchActionArg): change to return int instead of
11917 kb_action, since the result is a pseudoaction.
11919 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11921 * buffer.C (insertErtContents): Fix (partially) the font bug.
11923 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11925 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11926 as the other one is broken on my machine!
11928 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11931 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11933 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11935 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11936 reflect their actual use. Provide compatibility code for older lyxrc
11939 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11941 change names of popup font variables in line with the changes to lyxrc.C
11943 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11945 * buffer.C (asciiParagraph): avoid outputing a word twice after
11948 * lyxrc.C (getDescription): document that document_path and
11949 template_path can be empty.
11951 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11953 * LaTeXFeatures.C (getMacros):
11954 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11956 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11958 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11960 (getPackages): rename feature "floats" to "float". Use an array to
11961 iterate over 'simple' features (i.e. just a \usepackage). Add
11962 handling of "amsmath" (renamed from "amsstyle").
11964 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11966 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11969 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11971 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11972 FuncStaus::FuncStatus & FuncStaus::some_method().
11974 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11976 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11977 of the func_satus stuff. Edited and massaged in various ways by
11980 * lyxfunc.C (getStatus): use FuncStatus
11982 2002-01-08 Juergen Vigna <jug@sad.it>
11984 * text.C (nextBreakPoint): use function Inset::isChar().
11986 * paragraph.C (TeXOnePar): use function
11987 Inset::forceDefaultParagraphs.
11989 * buffer.C (latexParagraphs): use function
11990 Inset::forceDefaultParagraphs.
11992 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11994 * lyx_gui.C (init): set the style of the menu popups to
11995 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11997 2002-01-07 Juergen Vigna <jug@sad.it>
11999 * text.C (setHeightOfRow): small fix
12000 (prepareToPrint): don't look at alignment if we don't have the place
12003 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12005 * box.C: New file. Move the Box methods and functions out of box.h,
12006 following Lars' suggestion.
12008 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12010 * box.h: #include "support/LOstream.h", needed for inlined function.
12013 * lyxtextclasslist.C: added some using std declarations.
12015 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12017 * box.h: make signed dimensions to allow insets wider than
12018 the screen (bug #162)
12020 * BufferView_pimpl.C: add some insetHit debug
12022 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12024 * vc-backend.C: add FIXME
12026 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12028 * lyxfunc.C (getStatus): enable code for showing math font status
12031 2002-01-07 Juergen Vigna <jug@sad.it>
12033 * text.C (nextBreakPoint): removed debug output not needed anymore.
12035 2002-01-06 Juergen Vigna <jug@sad.it>
12037 * text.C (nextBreakPoint): fixed up this function we had this bug
12038 since ever but now hopefully we break row better.
12039 (insertChar): we have to check if an inset is the next char as it
12040 could now happen that a large inset is causing a break.
12042 2002-01-05 Juergen Vigna <jug@sad.it>
12044 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12045 if it doesn't like to be drawed.
12047 2002-01-04 Juergen Vigna <jug@sad.it>
12049 * BufferView2.C (lockInset): forgot to set a cursor.
12051 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12053 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12055 * FormMathsPanel.C:
12058 * form_maths_panel.C:
12059 * form_maths_panel.h:
12060 * form_maths_panel.fd: implemented sub- and super- buttons in math
12063 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12064 (or ^ space) to be used as in TeX (req'd by André).
12066 * lyxfunc.C: Allow ^ and _ again to be used both as
12067 super/subscript (mathed) and as themselves (in text).
12069 2002-01-03 Allan Rae <rae@lyx.org>
12071 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12072 "LyX" or the filename of the current buffer if it has one. This is a
12073 modified form of John Levon's patch.
12075 * XFormsView.C (setWindowTitle): also set icon title.
12077 * LyXView.h (setWindowTitle): signature changed.
12078 * XFormsView.h (setWindowTitle): ditto.
12080 2002-01-02 Juergen Vigna <jug@sad.it>
12082 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12084 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12086 * screen.C (topCursorVisible): introduce a temp var for
12087 text->cursor.row(), handle the case where this row is null. (kindo
12090 * text2.C (setCursor): add a couple of asserts.
12092 * paragraph.h (inset_iterator): add -> operator
12094 * paragraph.[Ch] (autoDeleteInsets): remove member function
12096 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12097 cursor pos correctly and handle inset deletion by itself.
12098 (insertErrors): move iterator declaration out of for expression
12100 * lyxtextclass.C: add <algorithm>
12102 * Makefile.am: added the new files to sources, removed layout.C
12104 * layout.C: removed file
12106 * layout.h: remove LYX_DUMMY_LAYOUT
12108 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12112 * lyxtextclass.[Ch]:
12113 * lyxtextclasslist.[Ch]: new files
12115 * include order changes to a lot of files, also changes because of
12118 2001-12-27 Juergen Vigna <jug@sad.it>
12120 * buffer.C (asciiParagraph): more fixes.
12122 * tabular.C (ascii): make ascii export support export of only the
12123 data separated by a column-delimiter.
12124 (ascii): better support for ascii export.
12126 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12128 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12130 * tabular_funcs.C: use a "using std::getline" instead of the
12131 previous fix from Angus (necessary for cxx + lyxstring)
12133 2001-12-24 Juergen Vigna <jug@sad.it>
12135 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12137 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12138 problems. First check a minipage also if we have some ert-contents
12139 (not only on par->size(), second set the right depth of the paragraph
12140 on the relink to the root-paragraph-list!
12142 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12143 which then did not anymore update the main paragraphs on undo/redo!
12145 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12147 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12148 code. Support all font-changing funcs (even those which are not in
12149 menu currently). Support for reporting font settings in
12150 mathed (disabled until Andre provides a function on mathed's side).
12152 * func_status.h (toggle): small helper function to set toggle
12155 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12157 * tabular_funcs.C: getline -> std::getline
12159 2001-12-21 Juergen Vigna <jug@sad.it>
12161 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12162 accessed and could be 0 (I couldn't generate this but it seems
12165 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12167 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12168 * tabular_funcs.h: here and include iosfwd
12170 2001-12-20 Juergen Vigna <jug@sad.it>
12172 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12173 inside inset but undo_par was.
12175 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12177 * Thesaurus.C: always include <config.h> in sources.
12181 * box.h: do not include <config.h> in header files
12183 * text.C (paintLastRow): remove unused variable
12185 * text.C (transformChar):
12187 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12189 * Painter.C (text):
12190 * font.C (width): rewrite to use uppercase() instead of
12193 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12195 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12197 * lyxfind.C: clean up of find failure position change
12199 2001-12-20 Juergen Vigna <jug@sad.it>
12201 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12203 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12204 (TeXRow): added to LaTeX a single tabular row.
12205 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12206 (Latex): simplified and finally good LT-h/f support.
12207 (various_functions): just small adaptions for LT-h/f support.
12209 * tabular_funcs.[hC]: added and moved here all not classfunctions
12212 2001-12-19 Juergen Vigna <jug@sad.it>
12214 * tabular.[Ch]: better support for longtabular options (not finished
12217 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12219 * text.C (paintLastRow): use the label font instead of the font of
12220 the last character to compute the size of *_BOX. This makes more
12221 sense and avoids a crash with empty paragraphs.
12222 Use Painter::rectangle to draw EMPTY_BOX.
12224 2001-12-19 Juergen Vigna <jug@sad.it>
12226 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12227 the paragraphs if the replaced paragraph is not the first one!
12228 Tried to delete not used paragraphs but does not work yet so for
12229 now it's inside #ifdef's and by default off!
12231 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12233 * MenuBackend.C: include "lyx_main.h" instead of declaring
12234 lastfiles (actually was declared as LastFiles* instead of a
12237 2001-12-17 Juergen Vigna <jug@sad.it>
12239 * tabular.C (AppendColumn): applied John's fix
12241 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12245 * BufferView_pimpl.h:
12246 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12249 * box.h: new start of class for above
12251 * lyxfunc.C: ignore space-only minibuffer dispatches.
12252 Show the command name when it doesn't exist
12254 * minibuffer.C: don't add empty lines to the history
12256 * minibuffer.C: add a space on dropdown completion
12258 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12260 * text.C: fix line above/below drawing in insets
12262 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12264 * lyxlength.C (LyXLength): Initialize private variables.
12266 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12268 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12269 when inserting error insets.
12271 2001-12-13 Juergen Vigna <jug@sad.it>
12273 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12274 actually sometimes the before-paragraph.
12275 (setUndo): don't clear the redostack if we're not actually undoing!
12277 2001-12-06 Juergen Vigna <jug@sad.it>
12279 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12280 and fixed redoing of main paragraph, so we can use it now ;)
12282 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12284 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12286 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12289 2001-12-13 André Pönitz <poenitz@gmx.net>
12292 * undo_func.C: minor cleanup
12294 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12296 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12297 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12298 font in urw-fonts package which is marked as -urw-fontspecific and
12299 does not work (incidentally, changing the encoding in the
12300 fonts.dir of this package to -adobe-fontspecific fixes the
12303 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12304 is a crash when undoing first paragraph (Juergen, please take a
12305 look). THis does not mean the undo fix is wrong, just that it
12308 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12309 the (Paragraph*) version when needed instead of duplicating the
12312 * text.C (workWidth): use Inset::parOwner to find out where the
12313 inset has been inserted. This is a huge performance gain for large
12314 documents with lots of insets. If Inset::parOwner is not set, fall
12315 back on the brute force method
12317 * paragraph_pimpl.C (insertInset):
12318 * paragraph.C (Paragraph):
12319 (cutIntoMinibuffer): set parOwner of insets when
12320 inserting/removing them
12322 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12324 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12330 * mathed/formulabase.C:
12331 * mathed/math_cursor.[Ch]:
12332 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12335 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12337 * lyxlength.[Ch] (operator!=): new function
12339 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12341 * text.C (workWidth): use Inset::parOwner to find out where the
12342 inset has been inserted. This is a huge performance gain for large
12343 documents with lots of insets. If Inset::parOwner is not set, fall
12344 back on the brute force method
12346 * paragraph_pimpl.C (insertInset):
12347 * paragraph.C (Paragraph):
12348 (cutIntoMinibuffer): set parOwner of insets when
12349 inserting/removing them
12351 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12353 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12355 * tabular-old.C (getTokenValue):
12356 * tabular.C (getTokenValue):
12357 (write_attribute): new versions for LyXLength
12358 (everywhere): adjust the use of widths
12360 * tabular.h: change the type of widths from string to LyXLength
12362 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12364 * paragraph.C: fixed missing line number count when exporting
12365 Environments to LaTeX file
12367 * buffer.C: added informational message for checking line numbers.
12369 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12371 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12372 paragraph, do the 'double space' part, but not the 'empty
12375 * text.C (workWidth): small optimization
12376 (getLengthMarkerHeight): use minimal size for negative lengths.
12378 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12380 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12382 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12384 2001-12-11 André Pönitz <poenitz@gmx.net>
12387 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12389 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12391 * text2.C: keep selection on a setFont()
12393 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12395 * lyx_cb.C: another bv->text misuse, from insert label
12397 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12400 * kbsequence.C: re-instate nmodifier mask
12402 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12404 * lyx_main.h: make lyxGUI private.
12406 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12408 * lyxfind.C: place the cursor correctly on failed search
12410 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12412 * text.C (getLengthMarkerHeight): for small heights, the arrows
12413 are not always on top/bottom of the text
12414 (drawLengthMarker): smaller arrows; take the left margin in
12415 account; draw also vfills.
12417 (paintLastRow): remove special code for vfill and standard spaces,
12418 since everything is handled in drawLengthMarker now.
12420 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12422 * buffer.C (insertErtContents): try to handle font and language
12423 interaction a bit better.g
12425 * ColorHandler.C (updateColor): change the hash to cover the whole
12426 LColor enum, ws cleanup
12427 (getGCLinepars): ditto
12428 (getGCLinepars): only lookup in the linecache once.
12430 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12432 * iterators.C (operator++): Make the iterator more robust
12434 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12436 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12438 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12441 * text.C: better added space drawing
12443 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12446 * BufferView2.C: fix layout combo update on inset unlock
12448 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12450 * Makefile.am: don't compile unused files
12452 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12456 * LyXAction.C: remove old LFUN_LAYOUTNO
12458 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12460 * paragraph_pimpl.h:
12461 * paragraph_pimpl.C: isTextAt() doesn't need font param
12463 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12466 * lyxlex.C: little cleanup
12468 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12470 * BufferView_pimpl.C: fix insertAscii for insets
12472 2001-12-05 Juergen Vigna <jug@sad.it>
12474 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12475 set the right font on the "multi" paragraph paste!
12477 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12483 * lyxlength.C: remove out-commented code.
12485 * BufferView_pimpl:
12499 * vc-backend.C: change "while(" to "while ("
12501 * lyxlength.[Ch]: add zero function to check if length is zero or
12503 * lyxgluelength.C: use it
12505 2001-12-05 Allan Rae <rae@lyx.org>
12507 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12508 Works for 2.95.3, from what I understand of Garst's reports this should
12509 work for other g++ versions. We're screwed if the abs(int) definition
12510 changed between bugfix releases of gcc.
12512 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12514 * text.C: fix chapter label offset !
12516 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12519 * text.C: fix hfill at end of line, clean up
12521 2001-12-04 Juergen Vigna <jug@sad.it>
12523 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12524 that we force an update of the inset and it's owners if neccessary.
12526 2001-12-03 Juergen Vigna <jug@sad.it>
12528 * text.C (rowLast): simplified code
12530 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12532 * lyxfunc.C: fix show options on timeout
12534 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12536 * screen.C (topCursorVisible): scroll half a page when the cursor
12537 reached top of bottom of screen
12539 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12541 * minibuffer.C: deactivate on loss of focus
12543 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12545 * vspace.[Ch] (operator!=): add operator.
12547 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12549 * BufferView_pimpl.C: refuse to open an inset when
12550 there's a selection.
12552 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12554 * BufferView_pimpl.C: allow to click on RHS of full row insets
12556 2001-11-30 Juergen Vigna <jug@sad.it>
12558 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12559 insets for undo reasons.
12561 2001-11-28 André Pönitz <poenitz@gmx.net>
12563 * vspace.[Ch]: cosmetical changes
12565 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12575 * kbsequence.C: part re-write of old kb code
12578 * WorkArea.C: remove Lgb_bug_find_hack
12580 2001-11-30 José Matos <jamatos@fep.up.pt>
12582 * buffer.C (makeDocBookFile): add a comment to point a hack.
12583 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12584 Fixed a double write of labels.
12586 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12589 * LaTeX.h Fixed bug in LaTeX class where it would not
12590 re-run latex if no depfiles were changed, but the .dvi was removed.
12592 2001-11-28 André Pönitz <poenitz@gmx.net>
12594 * all the files from the change on 2001/11/26:
12595 use lyx::layout_type instead of LyXTextClass::size_type
12596 use lyx::textclass_type instead of LyXTextClassList::size_type
12598 2001-11-29 Juergen Vigna <jug@sad.it>
12600 * text.C: added support for paragraph::isFreeSpacing()
12602 * buffer.C: same as above
12604 * paragraph.h: inserted isFreeSpacing() function to enable
12605 FreeSpacing inside InsetERT.
12607 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12608 of the paragraph's in the cut/copy buffer to 0!
12610 * text2.C (removeRow): remove the assert as it can!
12612 * lyxtext.h: added helper function firstRow returning firstrow and
12613 made firstrow private again.
12615 * BufferView2.C (lockInset): don't relock if we're already locked!
12617 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12618 the only paragraph.
12619 (removeRow): added Assert::(firstrow)
12621 * debug.C: forgot to add INSETTEXT here.
12623 2001-11-28 Juergen Vigna <jug@sad.it>
12625 * sp_spell.C (initialize): changed error text to more general
12626 spellchecker command use (not only ispell!)
12628 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12630 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12632 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12634 * vspace.C: initialise lyxgluelength on failure
12636 2001-11-28 Allan Rae <rae@lyx.org>
12638 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12639 declaration & definition that looks like a function declaration.
12641 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12643 * BufferView2.C (copy):
12644 (copyEnvironment): do not clear the selection when doing a copy.
12646 * text.C (paintFirstRow): compilation fix
12648 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12650 * tabular.C (Latex): correct line count when writing latex.
12652 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12654 * paragraph_pimpl.h:
12655 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12658 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12662 * LColor.C: change vfillline->added_space
12664 * text.C: add markers and text for added space
12666 * vspace.C: fix comment
12668 2001-11-28 André Pönitz <poenitz@gmx.net>
12670 * paragraph.C: whitespace changes
12671 * all the other files from the change on 2001/11/26:
12672 change *::pos_type into lyx::pos_type
12674 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12676 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12677 language of the document when inserting error insets.
12679 2001-11-26 André Pönitz <poenitz@gmx.net>
12681 * BufferView_pimpl.[Ch]:
12689 * paragraph_pimpl.[Ch]:
12692 * text2.C: reduce header dependencies, introduce type for positions
12694 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12696 * <various>: change to use Alert.h
12698 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12700 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12701 when encountering an unknown token.
12702 (readLyXformat2): Show an error message if there were unknown tokens.
12704 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12707 * BufferView_pimpl.C:
12711 * text2.C: use par->isInset()
12713 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12715 * paragraph_pimpl.h:
12716 * paragraph_pimpl.C: cleanup
12718 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12720 * text2.C (removeRow):
12721 * text.C (setHeightOfRow): remove useless (and costly) call to
12724 2001-11-20 Allan Rae <rae@lyx.org>
12726 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12727 Now need Inset*::checkInsertChar() to return true for appropriate
12728 cases so that the characters in the minibuffer will actually be
12731 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12733 * text.C: change the order of the includes.
12734 (workWidth): initialize it at once.
12735 (workWidth): make maxw unsigned
12736 (setHeightOfRow): remove unused variable (inset)
12737 (selectSelectedWord): remove unused variable (inset)
12738 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12740 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12742 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12743 server is not running.
12745 (closeConnection): add debug info when server is disabled.
12747 * ColorHandler.C (getGCForeground): send debug message to GUI
12750 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12752 * kbmap.C (bind): modify because return conventions of
12753 kb_sequence::parse have changed.
12755 * kbsequence.C (parse): only ignore spaces and not any stupid
12756 control character. This avoids tests like s[i] <= ' ', which are
12757 guaranteed to fail with 8bit characters and signed chars.
12758 Change return code to string::npos when there have been no error
12759 (0 was a bad idea when error is at first character)
12761 2001-11-14 José Matos <jamatos@fep.up.pt>
12764 * buffer.C (simpleDocBookOnePar): removed unused argument.
12766 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12768 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12769 insets which are part of a word. Paragraph::isLetter takes care of
12770 that now. Use Paragraph::isInset to identify insets.
12771 (selectSelectedWord): do not test for hyphenation break.
12773 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12774 that protected spaces are considered as spaces.
12776 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12779 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12782 * lyxserver.C: fix it. and small cleanup.
12784 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12786 * BufferView_pimpl.C: use inline helpers
12789 * LaTeXFeatures.C: fix typos
12792 * Spacing.C: move spacing_string into class
12794 * ToolbarDefaults.C: move stuff into namespace anon
12796 * layout.h: update enum
12798 * lyxfunc.C: use better debug
12800 * minibuffer.h: fix typo
12804 * WorkArea.C: add and use Debug::WORKAREA
12808 * text2.C: code re-organisation, inline helpers
12810 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12812 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12813 std::vector.empty().
12815 2001-11-09 Allan Rae <rae@lyx.org>
12817 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12818 '\n's after tables. Tabular and ERT inset work now makes this no
12821 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12824 * minibuffer.C: fix crash, improve drop-down completion
12826 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12829 * lyxserver.C: invalidate fd's when doing endPipe()
12831 2001-11-08 José Matos <jamatos@fep.up.pt>
12833 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12834 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12837 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12839 2001-11-07 José Matos <jamatos@fep.up.pt>
12842 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12845 * buffer.C (sgmlOpenTag):
12846 * buffer.C (sgmlCloseTag): removed debug info.
12848 * buffer.h (sgmlOpenTag):
12849 * buffer.h (sgmlCloseTag): made public.
12851 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12853 * buffer.C (saveParamsAsDefaults):
12854 * lyx_cb.C (MenuLayoutSave): remove
12856 * LyXAction.C (init):
12858 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12860 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12862 * buffer.C (setPaperStuff): removed from here...
12864 * bufferparams.C (setPaperStuff): ... and moved there.
12866 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12870 * XFormsView.C: add support for drop-down completion
12872 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12874 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12877 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12879 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12882 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12884 * lyx_main.C: change ref to known bugs
12886 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12888 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12889 to work around older babel problems.
12891 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12893 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12895 2001-10-24 Juergen Vigna <jug@sad.it>
12897 * tabular-old.C (ReadOld): below variable changes reflected.
12899 * tabular.[Ch]: added ltType struct for longtable header/footer
12900 defines and changed all instances where they are used. Added
12901 future support for double top/bottom rows.
12903 2001-10-24 José Matos <jamatos@fep.up.pt>
12905 * buffer.h (docbookHandleCaption):
12906 * buffer.C (docbookHandleCaption): removed unused function.
12907 (makeDocBookFile): moved docbook supported version to v4.1.
12909 2001-10-24 José Matos <jamatos@fep.up.pt>
12912 * tabular.C (docbookRow): new function to export docbook code of a row.
12913 (DocBook): now honors the longtable flags.
12915 2001-10-23 José Matos <jamatos@fep.up.pt>
12918 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12919 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12921 * buffer.C (makeLinuxDocFile):
12922 (makeDocBookFile): reworked the preamble, more clean, and with
12923 support for lyx defined entities. Changed the document declaration
12924 to be more XML friendly.
12926 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12927 if we need to output XML that should be done with a filter.
12929 2001-10-22 Juergen Vigna <jug@sad.it>
12931 * sp_pspell.h (class PSpell): add alive function needed in the
12932 controller to see if the spellchecker could be started.
12934 2001-10-22 Juergen Vigna <jug@sad.it>
12936 * buffer.C (insertStringAsLines): modify the font for inserting
12937 chars in certain conditions by calling checkInsertChar(font).
12939 2001-10-19 Juergen Vigna <jug@sad.it>
12941 * text.C (workWidth): use getRow instead of wrong algorithm.
12942 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12944 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12949 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12951 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12953 * text.C (workWidth): do not search for the exact row when
12954 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12955 optimization for big documents.
12957 2001-10-18 Juergen Vigna <jug@sad.it>
12959 * text.C (workWidth): new function with added Inset * parameter.
12961 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12963 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12965 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12966 change return type of getColumnNearX.
12969 * text.C (changeRegionCase): use uppercase/lowercase instead of
12972 (rightMargin): simplify code by factoring out the uses of
12977 (appendParagraph): use Paragraph::size_type
12979 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12981 * vspace.C (asLatexString): add a missing break
12983 2001-10-15 Herbert Voss <voss@perce.de>
12985 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12987 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12989 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12992 2001-10-10 André Pönitz <poenitz@gmx.net>
12994 * lyxfunc.C: removed greek_kb_flag.
12996 2001-10-10 Herbert Voss <voss@perce.de>
12998 * lyx_main.C: delete global string help_lyxdir.
13000 2001-10-09 Herbert Voss <voss@perce.de>
13002 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13004 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13006 * lyx_main.C: added global string help_lyxdir.
13008 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13010 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13012 * lyxrc.C (set_font_norm_type): support iso8859-4
13014 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13016 * LaTeX.C (deplog): add another regex for MikTeX
13018 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13020 * lyxrc.C (set_font_norm_type): support iso8859-3
13022 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13024 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13026 * LaTeXFeatures.C: remove special case of french and index
13028 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13029 before \begin{document}). This solves several incompatibilities.
13031 2001-10-03 Garst Reese <reese@isn.net>
13033 * lyx_cb.C: change CheckTex error msg.
13035 2001-10-03 José Matos <jamatos@fep.up.pt>
13037 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13039 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13041 * .cvsignore: update
13043 * lyx_main.C (commandLineVersionInfo): use new style version info.
13045 * buffer.C (writeFile):
13047 (makeLinuxDocFile):
13048 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13050 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13052 * version.h: update to use stuff in version.C
13054 * version.C.in: new file. Contains version information determined
13055 at compile time. This is a merging of version.h and
13058 2001-10-03 Juergen Vigna <jug@sad.it>
13060 * BufferView_pimpl.C (update): don't change "dirty" status in
13063 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13065 * WorkArea.C (c-tor): re-position version string slightly.
13067 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13069 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13070 revert to previous code.
13072 WorkArea.[Ch]: (show, destroySplash): methods removed.
13074 WorkArea.C: rework code so that it's an amalgam of the codes before and
13075 after the splash screen was moved to WorkArea.
13077 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13080 * vspace.C (inPixels):
13083 * buffer.C (insertStringAsLines):
13084 (asciiParagraph): fix types to be large enough
13086 * lyxlex_pimpl.h: change member status from short to int
13088 * layout.h: fix type of endlabeltype
13091 * kbsequence.C (parse): change return type to string::size_type
13093 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13096 * Bullet.C (bulletSize):
13097 (bulletEntry): do not use short ints as parameters
13099 * BufferView2.C (insertLyXFile): change a char to an int.
13101 * WorkArea.C (WorkArea): remove unneeded floats in computation
13103 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13105 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13107 * paragraph.C (asString): Do not ignore newline/hfill chars when
13108 copying to the clipboard.
13110 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13112 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13113 after a multi-line inset.
13115 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13117 * paragraph.C (validate): Set NeedLyXFootnoteCode
13119 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13121 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13122 and decrease-error to decrease.
13124 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13126 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13127 it more readable (should be equivalent)
13129 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13131 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13133 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13135 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13136 of a cursor (row, etc.) after a character has been deleted
13137 (deleteEmptyParagraphMechanism): call the method above on _all_
13138 cursors held by the LyXText when a double space has been
13141 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13143 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13145 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13147 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13148 background. Use greyOut() and the new show() methods to toggle between
13149 the foreground and background. Add code to remove the splash after
13150 its initial showing.
13152 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13153 (create_forms): no longer call Dialogs::showSplash.
13155 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13157 * .cvsignore: add version_info.h
13159 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13161 * version_info.h.in: new file
13163 * Makefile.am: add version_info.h.in
13165 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13166 version_info.h instead of VERSION_INFO
13168 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13170 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13171 The ERT inset now returns string().
13173 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13175 * lyxtext.h, text.C (selectNextWord): renamed as
13176 selectNextWordToSpellcheck.
13178 * text.C (selectNextWordToSpellcheck): Modified to not select
13179 words inside an ERT inset.
13181 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13183 * lyx_cb.C (MenuLayoutSave): change a bit the question
13185 * sp_base.h: include <sys/types.h>
13187 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13189 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13191 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13193 * several files: fix typos in user-visible strings
13195 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13197 * text2.C (pasteSelection): do not set the selection, since it
13198 will be cleared later. Actually, the intent was to fix the way the
13199 selection was set, but I figured rmoving the code was just as good.
13201 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13203 * FontLoader.C (available): Check if font is available without
13206 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13208 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13210 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13212 * lyxrc.[Ch]: added display_graphics variable and associated code.
13214 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13216 * bufferparams.C (hasClassDefaults): new method. Returns true if
13217 the buffer parameters correspond to known class defaults
13219 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13221 * XFormsView.C (show): set minimum size to the main window.
13223 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13225 * text2.C (copySelection):
13227 * lyxfind.C (LyXReplace):
13228 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13229 LyXText::selectionAsString.
13231 * paragraph.C (asString): add "label" argument to the second form
13233 * text2.C (selectionAsString): add "label" argument and pass it to
13234 Paragraph::asString.
13236 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13238 * lyx_main.C (commandLineHelp): remove version information
13240 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13242 * lyx_main.C: add -version commandline option
13244 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13246 * paragraph.h: make the optional constructor arg required instead.
13247 some modifications to other files because of this.
13249 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13251 * lyxserver.C (C_LyXComm_callback): make it static
13253 * lyx_main.C (error_handler): make it static
13255 * lyx_gui.C (LyX_XErrHandler): make it static
13257 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13259 * WorkArea.C: make the extern "C" methods static.
13261 * Makefile.am (lyx_LDADD): simplify
13263 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13265 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13266 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13268 * LyXAction.C (init):
13269 * lyxfunc.C (dispatch): associated code removal.
13271 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13273 * lyxfont.h (isSymbolFont): shut off warning
13275 * text.C (setHeightOfRow):
13276 (getVisibleRow): fix crash with empty paragraphs which have a
13279 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13281 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13284 2001-09-04 José Matos <jamatos@fep.up.pt>
13287 * tabular.C (docbook): rename docBook method to docbook.
13289 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13291 * Makefile.am: add dependencies to main.o.
13293 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13295 * FontLoader.C (available): Return false if !lyxrc.use_gui
13297 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13299 * FontInfo.C (query):
13300 * converter.C (view):
13301 * importer.C (Import):
13302 * exporter.C (Export): Can not -> cannot.
13304 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13306 * BufferView_pimpl.C: allow to create index inset even if
13309 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13311 * buffer.C (getLists): replace boost::tie code with an explicit pair
13312 as boost::tie can break some compilers.
13314 * iterators.h: Added a std:: declaration to the return type of
13317 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13319 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13322 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13324 * iterators.[Ch]: New files. Provide paragraph iterators.
13326 * buffer.C (changeLanguage): Use paragraph iterators.
13327 (isMultiLingual): ditto
13329 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13331 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13333 * FontLoader.C: Support for cmr font.
13335 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13337 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13338 (available): New method.
13340 * FontInfo.C (getFontname): Use scalable fonts even when
13341 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13344 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13346 * converter.C (Formats::view): reverted! Incorrect fix.
13348 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13350 * converter.C (Formats::view): only output the -paper option
13351 if the dvi viewer is xdvi, thereby fixing bug #233429.
13353 2001-08-23 Herbert Voss <voss@perce>
13355 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13357 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13359 * Spacing.h (Spacing): Set space to Default on in the default
13362 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13364 * vc-backend.h (RCS::versionString): add RCS to version
13365 (CVS::versionString): add CVS to version
13367 * vc-backend.C (scanMaster): do not add CVS to version.
13368 (scanMaster): do not add RCS to version
13370 * lyxvc.C (versionString): new method
13372 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13374 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13376 * Spacing.C (set): initialize fval
13378 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13380 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13383 2001-08-16 Juergen Vigna <jug@sad.it>
13385 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13387 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13389 * BufferView_pimpl.C:
13392 * text2.C: setParagraph takes linespacing now
13394 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13396 * LyxAction.C: add internal LFUN_CITATION_INSERT
13398 * LyXView.C: actually apply fix
13400 * bufferlist.C: fix open non-existent file
13402 * lyxfind.C: fix indentation
13404 * lyxfunc.C: remove unneeded assert, fix typo
13406 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13408 * MenuBackend.C: use "Floatname List"
13410 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13412 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13413 when converting LaTeX layout to insetERT.
13414 Generate a non-collapsed float when reading old float
13416 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13418 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13421 2001-08-13 Juergen Vigna <jug@sad.it>
13423 * text.C (fill): return 0 instead of 20 as this seems to be the more
13426 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13428 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13431 2001-08-13 Juergen Vigna <jug@sad.it>
13433 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13435 (SearchBackward): comment out the unlocking of the inset_owner this
13436 should not be needed!
13438 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13440 * Many files: Remove inherit_language, and add latex_language
13442 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13443 collapsible insets.
13445 2001-08-10 Juergen Vigna <jug@sad.it>
13447 * text.C (prepareToPrint): fixed hfill-width in draw!
13449 * BufferView2.C (selectLastWord): save the selection cursor as this
13450 now is cleared in the function LyXText::clearSelection!
13452 2001-08-08 Juergen Vigna <jug@sad.it>
13454 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13455 BACKSPACE type functions.
13457 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13458 is only cutted from the document but not put in the cut-buffer, where
13459 still the old stuff should be.
13461 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13463 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13465 * tabular.C (SetWidthOfCell): fixed special case where the width
13467 (LeftLine): handle '|' in align_special.
13469 (LeftAlreadyDrawed): ditto
13470 (SetWidthOfCell): ditto
13472 2001-08-07 Juergen Vigna <jug@sad.it>
13474 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13476 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13478 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13479 * lyxlex.[hC]: ditto
13481 2001-08-06 Juergen Vigna <jug@sad.it>
13483 * text.C (getVisibleRow): fix up row clearing a bit.
13485 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13487 * minibuffer.C: make sure the X server sees the changes in the input.
13489 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13491 * paragraph.C (getFont): split into...
13492 (getLabelFont): this
13493 (getLayoutFont): and this
13494 * paragraph_pimpl.C (realizeFont): calling this
13496 * text2.C (getFont): split into...
13497 (getLayoutFont): this
13498 (getLabelFont): and this
13499 (realizeFont): all three calling this
13501 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13504 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13506 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13508 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13510 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13511 layouts from the Quote inset insertion.
13513 2001-08-03 Juergen Vigna <jug@sad.it>
13515 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13517 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13518 only if status not is already CHANGED_IN_DRAW (second level).
13520 * text.C (draw): don't set the need_break_row when inside an
13523 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13525 * buffer.C (parseSingleLyXformat2Token): handle more latex
13528 * bufferview_funcs.[hC]: change function names to
13529 begin with small char, adjust other files.
13531 2001-08-02 André Pönitz <poenitz@gmx.net>
13534 BufferView_pimpl.C: remove broken special code for math-greek
13536 2001-08-02 Juergen Vigna <jug@sad.it>
13538 * BufferView_pimpl.C (update): redone this function so that we
13539 update the text again if there was a CHANGE_IN_DRAW.
13541 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13542 (drawFromTo): added a new internal bool which is used by draw() and
13544 (general): some cursor drawing problems fixed.
13546 2001-08-01 Juergen Vigna <jug@sad.it>
13548 * lyxfind.C (LyXFind): fixed
13549 (SearchForward): ditto
13550 (SearchBackward): ditto
13552 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13553 spurius drawing of the cursor in the main area.
13555 * text2.C (status): small fix which could lead to a segfault!
13556 (clearSelection): remove unneeded BufferView param.
13558 2001-08-01 André Pönitz <poenitz@gmx.net>
13560 * lyxfunc.C: small change due to changed mathed interface
13562 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13564 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13566 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13568 * lyxfunc.c: fail gracefully if file doesn't exist
13573 * BufferView_pimpl.C: IsDirWriteable() proto changed
13575 * LyXView.C: fix updateWindowTitle() to store the last title
13577 2001-07-31 Juergen Vigna <jug@sad.it>
13579 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13580 the font (wrong since using of Paragraph::highestFontInRange).
13582 * paragraph.C (highestFontInRange): added a default_size parameter.
13584 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13585 (setHeightOfRow): reformat
13587 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13589 * converter.[hC] + affected files: move to (inital-char)lowercase
13592 * ParagraphParameters.C (ParagraphParameters): remove commented code
13594 * PainterBase.[Ch]: remove commented code
13596 * LaTeXFeatures.h: add "bool floats" for float.sty
13598 * LaTeXFeatures.C (LaTeXFeatures): init floats
13599 (require): handle float
13600 (getPackages): do it with floats
13602 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13604 * BufferView_pimpl.C (Dispatch): improve handling of
13605 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13607 * commandtags.h: #include lyxfont.h here temporarily to avoid
13610 * bufferlist.h: include LString.h here.
13612 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13614 * text2.C (getStringToIndex): new method.
13616 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13618 * *: Reduced header file dependencies all over.
13620 2001-07-30 Baruch Even <baruch@lyx.org>
13622 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13624 2001-07-29 Baruch Even <baruch@lyx.org>
13626 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13628 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13630 * ParameterStruct.h (endif): add a default constructor to make
13631 sure that all variables is initialized.
13633 * ParagraphParameters.C (ParagraphParameters): adjust
13635 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13637 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13638 index; also, check that there is something to index, and that it
13639 does not span over several paragraphs.
13640 (doubleClick): use WHOLE_WORD_STRICT for double click.
13642 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13644 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13647 2001-07-26 Baruch Even <baruch@lyx.org>
13649 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13650 an InsetFig figure, backwards compatible reading of old figure code.
13652 2001-07-27 Juergen Vigna <jug@sad.it>
13654 * text2.C: font.realize function adaption.
13656 * text.C (draw): add a warnings lyxerr text if needed.
13658 * layout.C: font.realize function adaption.
13660 * language.C: add inherit_language and implement it's handlings
13662 * bufferview_funcs.C (StyleReset): remove language parameter from
13663 font creation (should be language_inherit now).
13665 * bufferparams.C (writeFile): handle ignore_language.
13667 * paragraph.C (getFontSettings): the language has to be resolved
13668 otherwise we have problems in LyXFont!
13670 * lyxfont.C (lyxWriteChanges): added document_language parameter
13671 (update): removed unneeded language parameter
13673 * paragraph.C (validate): fixed wrong output of color-package when
13674 using interface colors for certain fonts in certain environments,
13675 which should not seen as that on the final output.
13677 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13679 * BufferView_pimpl.C:
13684 * LyXAction.C: add thesaurus support
13687 * lyxfind.C: add "once" parameter, for thesaurus, to not
13688 move to the next match
13690 2001-07-26 Juergen Vigna <jug@sad.it>
13692 * lyxfont.C (realize): honor ignore_language too!
13695 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13697 * text.C (draw): one place more for ignore_language to not draw
13700 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13702 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13704 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13706 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13707 the minipage conversion problem.
13709 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13711 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13714 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13716 * BufferView.h: don't forward declare WorkArea
13718 * BufferView.C: don't include WorkArea.h
13720 2001-07-25 André Pönitz <poenitz@gmx.net>
13724 * lyxfunc.C: new LFUN 'math-space'
13726 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13728 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13730 * text2.C (toggleInset): call open/close
13732 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13734 * lyxfunc.C (dispatch): add debug for the disabled case
13736 * font.C (buttonText): make similar to rectText
13738 * buffer.C (readInset): comment out parsing of insetlist and
13741 * PainterBase.C (rectText): small correction
13743 * BufferView_pimpl.C: comment out insettheorem and insetlist
13744 * LyXAction.C: ditto
13745 * commandtags.h: ditto
13747 2001-07-24 Juergen Vigna <jug@sad.it>
13749 * text.C (draw): honor the ignore_language.
13751 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13753 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13755 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13758 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13760 * lyxtext.h: remove unused (and unimplemented) methods
13762 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13764 * text.C (getVisibleRow): honor background color
13767 * Painter.h: remove default color argument for fillRectangle
13769 * text.C (backgroundColor): new method
13771 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13773 * text.C (getVisibleRow): adjust
13775 * font.[Ch] (rectText): new method, metrics
13776 (buttonText): new method, metrics
13778 * PainterBase.[hC]: make rectText and buttonText always draw and take
13781 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13783 * ToolbarDefaults.C (read):
13784 * MenuBackend.C (read): allow escaping in all strings
13786 * BufferView_pimpl.C (insertAndEditInset): new method.
13787 (Dispatch): use insertAndEditInset whenever appropriate.
13789 * BufferView_pimpl.C (insertNote): removed
13791 * BufferView_pimpl.C (smartQuote): new method, moved from
13792 BufferView; if an insetquote cannot be inserted, insert a '"'
13795 * BufferView2.C: remove insertCorrectQuote();
13797 * lyxfunc.C (getStatus): Add support for all remaingin
13798 inset-insert lfuns.
13800 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13802 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13803 command (necessary to pass " as parameter of self-insert.
13805 * text.C (selectWordWhenUnderCursor):
13806 (selectWord): add word_location parameter
13807 (selectWordWhenUnderCursor): same + remove special code for word
13809 (selectNextWord): use kind() to guess type of insetspecialchar,
13812 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13813 (insertErtContents): create ert insets as collapsed.
13814 (readInset): better compatibility code for Info inset.
13816 2001-07-20 Juergen Vigna <jug@sad.it>
13818 * lyxfunc.C (dispatch): use always LyXFind now!
13820 * text2.C (init): add a reinit flag so that the LyXText can be
13821 reinited instead of deleted and reallocated (used in InsetText).
13823 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13829 2001-07-18 Juergen Vigna <jug@sad.it>
13831 * text.C (selectNextWord): handle insets inside inset by calling
13832 always the bv->text functions so that we can go up the_locking_inset!
13834 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13835 in strange locations when inside an inset!
13837 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13838 handling to include insets.
13840 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13842 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13844 * LyXAction.C (init):
13846 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13847 LIGATURE_BREAK, since the name is so stupid.
13849 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13851 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13854 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13856 * sp_form.[Ch]: remove.
13858 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13860 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13863 * src/buffer.C (readInset): ditto.
13865 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13867 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13868 menuSeparator(), endOfSentenceDot(), ldots() and
13869 hyphenationPoint(), which are therefore removed.
13870 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13872 * LyXAction.C (init):
13873 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13875 * paragraph.C (getWord): removed.
13877 * BufferView_pimpl.C (Dispatch): use last word or selection for
13878 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13880 * lyx_main.C (queryUserLyXDir): do not ask before creating
13881 user_dir, except if it has been named explicitely.
13883 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13885 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13886 a document of zero size.
13888 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13890 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13891 approriately in the c-tor and in require().
13892 (getPackages): output the appropriate LaTeX for natbib support.
13894 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13895 variables "use_natbib" and "use_numerical_citations" when reading the
13897 (readInset): read the various natbib cite commands.
13898 (validate): white-space change.
13900 * bufferparams.[Ch]: new variables "bool use_natbib" and
13901 "bool use_numerical_citations".
13902 (writeFile): output them in the LyX file.
13904 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13906 * lyxfunc.C (getStatus): add support for all the inset insertion
13909 * text2.C (insertInset):
13910 * paragraph.C (insetAllowed):
13911 * BufferView_pimpl.C (insertInset): update to take in account the
13912 renaming of insertInsetAllowed
13914 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13916 * text2.C (getInset): new method. returns inset at cursor position.
13918 * BufferView_pimpl.C (Dispatch): changes because of this.
13920 * LyXAction.C (init): rename open-stuff to inset-toggle.
13922 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13924 * text2.C (toggleInset): renamed from openStuff; use
13927 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13929 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13931 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13933 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13935 * buffer.C (readLyXformat2): Add filename to the error dialog
13937 2001-07-18 Juergen Vigna <jug@sad.it>
13939 * tabular.C (GetCellNumber): put an assert here instead of the check!
13941 2001-07-17 Juergen Vigna <jug@sad.it>
13943 * BufferView_pimpl.C (toggleSelection): adapted too.
13945 * text.C (selectNextWord): adapted for use with insets.
13946 (selectSelectedWord): ditto
13948 2001-07-17 Juergen Vigna <jug@sad.it>
13950 * sp_spell.C (PSpell): fix initialitation order.
13952 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13954 * paragraph.C: spacing
13956 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13958 * sp_spell.C: repair language selection for pspell
13960 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13962 * lyxfunc.h: change more methods to begin with lower char.
13964 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13966 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13967 for unknown layouts.
13969 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13971 * buffer.C (readLyXformat2): Generate an error dialog if there are
13974 2001-07-16 Juergen Vigna <jug@sad.it>
13976 * sp_spell.C: always compile ISpell part.
13978 * lyxrc.C: added use_pspell entry and it's handling.
13980 2001-07-13 Juergen Vigna <jug@sad.it>
13982 * sp_spell.C: removed double includes.
13984 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13986 Consistent use of Lsstream.h:
13987 * Lsstream.h: added using std::stringstream for consistencies sake.
13989 * buffer.C: removed using std::stringstream
13991 * lyxfont.C (stateText):
13992 * paragraph.C (asString):
13993 * text.C (selectNextWord, selectSelectedWord):
13994 * text2.C (setCounter):
13995 * vspace.C (asString, asLatexString):
13996 std::ostringstream -> ostringstream.
13998 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14000 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14001 * commandtags.h: add LFUN_HELP_ABOUTLYX
14002 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14004 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14006 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14008 * lyx_gui_misc.C: remove spellchecker
14009 * lyxfunc.C: showSpellchecker
14011 * sp_ispell.h: added
14012 * sp_pspell.h: added
14013 * sp_spell.C: added
14014 * sp_form.[Ch]: removed
14015 * spellchecker.[Ch]: removed
14017 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14019 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14021 (simpleTeXSpecialChars): Simply print the input character without
14022 any special translation if pass_thru is set.
14024 * layout.h: Added bool pass_thru to layout class for being able to
14025 implement pass through of a paragraph for Literate Programming.
14027 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14028 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14029 * layout.C (Read): add "passthru" to list of layout tags and add
14030 code to set the pass_thru boolean when it is read.
14032 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14034 * trans_decl.h: remove allowed from KmodInfo
14036 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14037 remove allowed code
14040 * paragraph_pimpl.C (erase): use boost::prior
14042 * Painter.C (text): use data() instead of c_str() when length is
14044 * WorkArea.C (putClipboard): ditto
14045 * font.h (width): ditto
14047 * BufferView2.C: use it-> instead of (*it). for iterators
14049 * paragraph_pimpl.C: ditto
14050 * paragraph.C: ditto
14051 * minibuffer.C: ditto
14052 * language.C: ditto
14054 * encoding.C: ditto
14055 * counters.C: ditto
14056 * converter.C: ditto
14058 * Variables.C: ditto
14059 * TextCache.C: ditto
14060 * MenuBackend.C: ditto
14061 * LyXAction.C: ditto
14063 * FloatList.C: ditto
14064 * DepTable.C: ditto
14065 * ColorHandler.C (LyXColorHandler): ditto
14067 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14069 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14071 * text2.C (openStuff): reintroduce this method (which had been
14072 nuked in NEW_INSETS frenzy).
14074 * lyxfunc.C (Dispatch): when an action has not been handled, use
14075 its name in the error message, not its number.
14077 * paragraph.C (inInset): change method name to begin with lowercase.
14080 * text2.C: updates because of this.
14082 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14084 * ToolbarDefaults.C (add): add spaces in error message
14086 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14088 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14089 (readLyXformat2): rename return_par to first_par, use lyxlex's
14090 pushToken and remove the manual push handling.
14091 (parseSingleLyXformat2Token): add another ert comp. variable:
14092 in_tabular, rename return_par to first_par. handle newlines better
14094 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14096 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14098 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14100 * text2.C (getParFromID): removed
14102 * buffer.C (getParFromID): new method moved form lyxtext.
14103 * BufferView2.C (insertErrors): adjust
14104 (setCursorFromRow): adjust
14105 * BufferView_pimpl.C (restorePosition): adjust
14106 * lyxfunc.C (Dispatch): adjust
14107 * undo_funcs.C (textUndo): adjust
14109 (textHandleUndo): adjust
14110 (textHandleUndo): adjust
14112 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14114 * buffer.C: up' the LYX_FORMAT
14116 * lyxfont.h: turn NO_LATEX on as default
14118 * buffer.C (insertErtContents): new methods of tex style compability.
14119 (parseSingleLyXformat2Token): use it several places.
14120 * tabular.C (OldFormatRead): and here
14122 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14124 * text2.C: remove some commented code.
14127 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14128 * trans.C: changes because of the above.
14130 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14132 * text2.C (setCounter): Fix counters bug with bibliography layout.
14134 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14136 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14137 own member functions
14138 (simpleTeXSpecialChars): ditto
14140 2001-07-06 Juergen Vigna <jug@sad.it>
14142 * a lot of files: changed the access to LyXText::status and the
14143 call of undo-functions.
14145 * undo.[Ch]: added a inset_id to the undo informations.
14147 * undo_funcs.[Ch]: added and moved here all undo functions.
14149 * lyxtext.h: give the status enum a weight, made status_ a private
14150 variable and made accessor functions for it, removed the whole bunch
14151 of undo-functions as they are now in their own file, make some
14152 functions publically available. Added function ownerParagraph with
14155 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14156 made InInset() a const function, added getParFromID() function.
14158 * buffer.[Ch]: added const version for inset_iterator functions,
14159 added getInsetFromID() function.
14161 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14162 changed undo functions for new version.
14164 2001-07-05 Juergen Vigna <jug@sad.it>
14166 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14167 unknow mechanism does not call the proper constructor but only this
14168 one also if I request the other!?
14170 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14172 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14174 * text2.C (LyXText): use initialization lists.
14176 * lyxtext.h (Selection): initialize set_ and mark_
14177 (init): remove method
14179 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14181 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14183 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14185 * screen.[Ch]: change method names to begin with lowercase
14187 * BufferView_pimpl.C (updateScrollbar): simplify further and
14188 hopefully make it a bit faster.
14190 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14192 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14193 calling directly xforms functions.
14195 * Painter.C (Painter):
14196 * lyx_cb.C (MenuWrite):
14197 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14200 * lyx_gui.C: remove bogus guiruntime extern declaration.
14202 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14204 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14206 (redoDrawingOfParagraph): ditto
14207 (redoParagraphs): ditto
14208 (cutSelection): don't create a object for CutAndPaste use the
14209 static method directly
14210 (pasteSelection): ditto
14212 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14215 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14217 * modifications to some other files because of this.
14219 * Makefile.am (lyx_SOURCES): add XFormsView
14221 * XFormsView.[Ch]: new files
14223 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14224 the main window. Move the gui dependent stuff to XFormsView
14226 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14228 * tabular.C (GetCellInset): update cur_cell also in the row/col
14229 version of this function.
14231 * lyxfunc.C: no need to include figure_form.h here.
14237 * lyxvc.C: no need to include forms.h here.
14239 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14241 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14243 * lyxfunc.C (Dispatch):
14245 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14246 constructor argument.
14248 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14250 * paragraph.C (Paragraph): dont't clear, and just set layout.
14251 (makeSameLayout): use params's copy contructor.
14253 * ParagraphParameters.[Ch] (makeSame): delete method
14255 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14257 * Variables.[Ch]: fix indentation, rename set to isSet
14259 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14261 * lyxfunc.C (Dispatch): fix typo
14263 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14265 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14268 * bufferlist.C: include assert.h for emergencyWrite().
14270 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14272 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14273 give up at last (bug #425202) !
14275 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14281 * spellchecker.C: strip spellchecker options and bring up
14282 preferences tab instead
14284 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14286 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14287 the istringstream constructor
14289 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14291 * paragraph.C (getLayout): fix return value
14293 * paragraph.h: do not declare getLayout as inline.
14295 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14297 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14299 * lyxcursor.h (operator<): new func
14300 (operator>): new func
14301 (operator>=): new func
14302 (operator<=): new func
14304 * text.C (changeCase): use selection.start and selection.end
14305 (changeRegionCase): require from to be <= to. Require par to be a
14308 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14310 2001-06-27 Juergen Vigna <jug@sad.it>
14312 * text.C (cursorLeftOneWord): changed to return the cursor and added
14313 overlay with BufferView * parameter which calls this one.
14315 (selectWord): use new getWord function.
14316 (changeCase): renamed from changeWordCase as and extended to work
14317 also on selections.
14319 * lyxtext.h: added enum word_location
14321 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14322 changeCase as this operates now also on selections.
14324 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14326 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14328 * many files: send debug output to Debug::INFO instead of
14331 * converter.C (View):
14333 (Move): send debug output to Debug::FILES instead of console.
14335 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14337 * lyxfunc.C (getStatus): use func_status
14339 * func_status.h: new header, describing the results of
14340 LyXFunc::getStatus;
14342 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14345 2001-06-25 The LyX Project <jug@sad.it>
14347 * buffer.C (sgmlOpenTag):
14349 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14351 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14353 * text2.C: remove some dead code
14355 * tabular.C (GetCellInset): store the last cell checked (gotten)
14357 * tabular.h: add the helper for the speedup
14359 * lyxtext.h: remove some dead code
14361 2001-06-26 The LyX Project <Asger>
14363 * paragraph.C: Change export to LaTeX of alignment to
14364 \begin{center} and family for better roundtrip work with reLyX.
14366 * Tune the math drawing a bit.
14368 2001-06-25 The LyX Project <Asger>
14370 * LColor.C (LColor): New color for math background. New color
14373 2001-06-25 The LyX Project <jug@sad.it>
14375 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14377 * lyxfunc.C (Open):
14378 * bufferlist.C (newFile): do not restrict to files ending with
14381 * BufferView_pimpl.C (MenuInsertLyXFile):
14383 2001-06-24 The LyX Project <jug@sad.it>
14385 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14388 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14390 * lyxtext.h: rename most methods to begin with a small char.
14391 Lots of changes because of this.
14393 * paragraph.C (Paragraph): do not call fitToSize
14394 (erase): call Pimpl::erase
14395 (insertChar): call Pimpl::insertChar
14396 (insertInset): call Pipl::insertInset
14397 (breakParagraph): do not call fitToSize
14398 (breakParagraphConservative): do not call fitToSize
14399 (fitToSize): remove method
14401 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14403 2001-06-24 The LyX Project <Asger>
14405 * Fix Qt compilation^2
14407 2001-06-24 The LyX Project <jug@sad.it>
14409 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14410 depthHook(getDepth()-1).
14413 * ParagraphParameters.h:
14414 * ParameterStruct.h: change type of depth to unsigned int ==
14415 depth_type. Many adaptations to other files before of that.
14417 2001-06-24 The LyX Project <Asger>
14419 * Fix Qt compilation.
14421 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14423 * paragraph.h: renamed several methods to begin with small letter.
14424 several changes to many parts of the code because of this.
14426 2001-06-23 The LyX Project <jug@sad.it>
14428 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14429 rewritten to discard all double spaces when KeepEmpty is off
14430 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14431 to only handle newlines but not fiddle with spaces and friends.
14433 * lyxfunc.C (MenuNew): when doing 'new from template', use
14434 template_path as default directory
14436 2001-06-23 The LyX Project <Asger>
14438 * Clean-up of header file includes all over
14439 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14441 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14443 * paragraph.h: renamed from lyxparagraph.h
14445 2001-06-23 Asger <lyx@violet.home.sad.it>
14447 * Buffer.h: Removed Buffer::resize
14448 * BufferList.h: Removed BufferList::resize
14449 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14450 the document lazily when we change the width, or the font settings.
14452 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14454 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14456 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14458 * buffer.h: remove out of date comment
14460 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14463 * screen.C: fix "theoretical" GC leak
14465 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14467 * LaTeX.C (scanAuxFile):
14468 (deplog): remove trailing \r when reading stream (useful under
14471 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14473 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14474 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14475 and BufferView::theLockingInset(Inset*), so should use them and not
14476 access bv_->text->the_locking_inset directly.
14478 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14480 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14483 * tex-defs.h: remove old unused file
14485 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14487 * BufferView_pimpl.C: fix typo, remove minibuffer message
14488 when buffer has loaded
14490 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14492 * lyxfunc.C (Dispatch): use stringstream
14493 (MenuNew): use stringstream
14494 (Open): use stringstream
14496 * importer.C (Import): use stringstream
14498 * bufferview_funcs.C (CurrentState): use stringstream
14500 * LaTeX.C (run): use stringstream
14502 * BufferView_pimpl.C (savePosition): use stringstream
14503 (restorePosition): use stringstream
14504 (MenuInsertLyXFile): use stringstream
14506 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14519 * vspace.C: removed // -*- C++ -*- as first line.
14522 * version.h: added // -*- C++ -*- as first line.
14524 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14526 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14528 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14531 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14533 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14536 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14538 * gettext.C: include LString.h even when --disable-nls is on.
14540 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14542 * converter.h (Get): changed argument type from int to
14543 FormatList::size_type to avoid unnecessary conversion.
14545 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14548 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14550 * gettext.h: include LString.h even when --disable-nls is on.
14552 2001-06-07 Juergen Vigna <jug@sad.it>
14554 * text.C (BreakAgain): subst spaces with tabs.
14556 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14557 (resizeInsetsLyXText): set force on resizeLyXText.
14559 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14561 * gettext.h (gettext_init):
14562 (locale_init): use a real definition instead of a macro
14564 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14566 * Bufferview_pimpl.C:
14568 * LColor.C: further lcolor tidies
14570 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14572 * BufferView_pimpl.C (updateScrollbar): simplify.
14574 * BufferView2.C: don't include insets/insetinfo.h, change
14575 prototype for insertInset and call the Pimpl version. let
14576 updateInset call Pimpl version.
14578 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14579 gotoInset to BufferView::Pimpl
14581 2001-06-01 Juergen Vigna <jug@sad.it>
14583 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14584 inside a LockingInset (is the update needed at all?).
14586 2001-05-31 Juergen Vigna <jug@sad.it>
14588 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14589 here not the old one otherwise how should we compare it afterwards
14592 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14597 * FontInfo.C: bring C functions into global namespace when
14600 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14602 * LString.h: make sure config.h has been loaded before LString.h.
14604 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14605 (one for each char read by EatLine!).
14607 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14610 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14612 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14613 to the same as the par we break from
14615 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14617 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14619 * MenuBackend.C (expand): also create menu entries for wide
14620 versions of the floats.
14622 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14624 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14626 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14627 frontends/Makefile.am
14633 * tabular.C (getTokenValue): add std::
14635 * tabular-old.C (getTokenValue): add std::
14636 (getTokenValue): ditto
14637 (getTokenValue): ditto
14639 * screen.C (ToggleSelection): adjust
14641 * lyxtext.h: put selection cursors inside a Selection struct.
14643 * lyxfunc.C (moveCursorUpdate): adjust
14645 * lyxfont.C (latexWriteStartChanges): add std::
14647 * lyxfind.C: adjust
14649 * font.h: delete with(char const *, LyXFont const &)
14651 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14653 * FontInfo.C (getFontname): add std::
14655 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14656 (workAreaButtonPress): adjust
14657 (tripleClick): adjust
14659 (moveCursorUpdate): adjust
14662 * BufferView2.C (gotoInset): adjust
14664 2001-05-30 Juergen Vigna <jug@sad.it>
14666 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14667 to check pspell I add this as default as I now have new pspell
14668 libraries and they seem to use this.
14670 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14672 * text2.C (CutSelection): make the cursor valid before the call to
14675 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14677 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14678 relied on 0 terminated strings and other horrors. Bug found due to
14679 the new assert in lyxstring!
14681 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14684 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14686 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14689 * lyxfunc.C (processKeySym): change method of getting to the
14692 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14693 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14694 * BufferView_pimpl.[Ch]: here as private methods.
14696 2001-05-28 Juergen Vigna <jug@sad.it>
14698 * text.C (SetHeightOfRow): added the update() call again as it is
14699 needed to initialize inset dimensions!
14701 2001-05-16 Juergen Vigna <jug@sad.it>
14703 * text2.C (SetCharFont): Add new function with BufferView * and
14704 bool toggleall parameters for setting insets internal fonts.
14705 (SetFont): Freeze the undo as we may change fonts in Insets and
14706 all this change should be inside only one Undo!
14708 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14709 setting font's in insets as for them we have the SetFont function!
14711 2001-05-15 Juergen Vigna <jug@sad.it>
14713 * text2.C (ClearSelection): to be sure we REALLY don't have any
14716 * tabular.C (TeXCellPreamble): fixed the left border problem for
14719 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14721 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14724 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14726 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14727 LFUN_BREAKPARAGRAPH.
14729 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14730 help test to "internal only", similar for LFUN_INSERT_URL
14732 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14733 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14734 auto_region_delete and deadkeys.
14736 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14739 * LColor.C: remove some dead entries, tidy a little
14741 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14743 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14745 (Dispatch): implement LFUN_ESCAPE
14747 * commandtags.h: add LFUN_ESCAPE
14749 * LyXAction.C (init): add entry for LFUN_ESCAPE
14751 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14752 Remove commented code.
14753 (insertNote): moved here
14754 (open_new_inset): moved here
14756 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14759 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14761 * kbmap.C (findbinding): clean it up and make it work correctly.
14763 * lyx_main.C (init): do not pass argc and argv as parameters
14765 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14767 * buffer.C: fix path for OS/2 & Win32
14771 * lyx_main.C: Added os:: class.
14773 * os2_defines.h: update
14775 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14777 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14778 better by trying again with reduced state.
14780 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14782 * lyxrc.C (read): print error about invalid key sequence only when
14783 debugging (because not all latinX keysyms are known to some X
14786 * kbsequence.C (getiso): add a few std:: qualifiers
14787 (getiso): comment out extra return statement.
14789 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14791 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14793 (Dispatch): enhance the accent inset a bit. (not perfect)
14795 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14797 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14799 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14801 * bufferlist.C (emergencyWrite): fix assert() call
14803 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14805 * text.C (InsertChar): Added trivial patch to only send the "you
14806 can not do multiple spaces this way" message once during a
14809 2001-05-08 Baruch Even <baruch@lyx.org>
14811 * Makefile.am: Changed order of libraries to get LyX to link properly
14812 with the gnome frontend.
14814 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14816 * LaTeXFeatures.h: add a std:: qualifier
14818 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14820 * paragraph.C (String): use stringstream
14822 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14824 * paragraph.C (writeFile): remove footflag arg
14826 * buffer.C (makeLaTeXFile): use stringstream
14827 (latexParagraphs): remove footnot gurba
14829 * LaTeXFeatures.C (getPackages): use stringstream
14830 (getMacros): likewise
14831 (getTClassPreamble): likewise
14832 (getFloatDefinitions): new method
14834 * paragraph.C (writeFile): reindent
14837 * WorkArea.h: revert the xpos + etc changes.
14839 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14841 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14843 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14844 (pasteSelection): likewise
14845 * text2.C (CreateUndo): likewise
14847 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14849 * minibuffer.C (peek_event): temporarily reduce the functionality
14850 of the minibuffer (to allow args on lfuns)
14852 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14853 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14855 * buffer.C (readInset): add compability reading of old float
14856 lists, add reading of new style float list.
14857 (readInset): avoid reevaluation of inscmd.getCmdName()
14858 (getLists): reindent
14860 * MenuBackend.C (MenuItem): implement parsing of
14861 md_floatlistinsert and md_floatinsert.
14862 (expand::LastFiles): move initalizaton of iterators out of loop,
14863 avoid reevaluation.
14864 (expand::Documents): introduce typdedef vector<string> Strings,
14866 (expand::ExportFormats): introduce typedef vector<Format const *>
14867 Formats, and use it.
14868 (expand): implement FloatListInsert and FloatInsert.
14870 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14871 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14872 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14874 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14876 (Dispatch::LFUN_FLOAT_LIST): implement
14878 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14880 * LaTeX.C (run): Fix problem with --export code.
14882 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14884 * BufferView.[Ch] (workarea): removed.
14885 (getClipboard) new method; wrapper for workarea()->getClipboard()
14887 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14890 * WorkArea.h (width, height, xpos, ypos): These methods all
14891 returned the dimensions of the work_area sub-area of WorkArea,
14892 resulting in a position error if the WorkArea were resized. Now
14893 return the dimensions of the entire WorkArea.
14895 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14897 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14899 * LaTeX.C (deplog): correct the syntax of regex reg1
14901 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14903 * undo.C: remove !NEW_INSETS cruft
14905 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14907 * text2.C: remove !NEW_INSETS cruft
14909 * text.C: remove !NEW_INSETS cruft
14911 * tabular.C: remove !NEW_INSETS cruft
14913 * spellchecker.C: remove !NEW_INSETS cruft
14915 * lyxtext.h: remove !NEW_INSETS cruft
14917 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14919 * lyxfunc.C: remove !NEW_INSETS cruft
14921 * lyxfind.C: remove !NEW_INSETS cruft
14923 * lyx_cb.C: remove !NEW_INSETS cruft
14925 * figureForm.C: remove !NEW_INSETS cruft
14927 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14929 * buffer.[Ch]: remove !NEW_INSETS cruft
14931 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14933 * CutAndPaste.C: remove !NEW_INSETS cruft
14935 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14937 * BufferView2.C: remove !NEW_INSETS cruft
14939 * BufferView.h: remove !NEW_INSETS cruft
14941 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14943 * Lsstream.h: include LString.h before the sstream headers to
14944 fix problem with gcc 2.95.3 and lyxstring
14946 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14948 * lyx_main.C: add using directives when needed for C functions
14949 declared in std:: namespace.
14951 2001-04-27 Juergen Vigna <jug@sad.it>
14953 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14954 (SetHeightOfRow): comment out the update call should not be needed!
14956 2001-04-13 Juergen Vigna <jug@sad.it>
14958 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14959 (LyXTabular): tried to minimize operator= operations (and realized
14960 hopfully Lars wish).
14962 2001-04-27 Juergen Vigna <jug@sad.it>
14964 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14966 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14968 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14970 * buffer.C (readInset): hack to make listof algorithm work
14972 * BufferView_pimpl.C: hack to make listof algorithm work
14974 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14976 * LyXAction.C: removed all !NEW_INSETS cruft
14977 (init): moved lfun_item in method
14979 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14981 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14983 * BufferView2.C (theLockingInset): white space.
14985 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14987 * minibuffer.C: include <iostream>
14989 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14991 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14993 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14995 * text.[Ch] (TransposeChars): new method
14997 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14999 * call message directly through LyXView instead of through LyXFunc
15000 * BufferView2.C: adjust
15001 * BufferView_pimpl.C: adjust
15002 * FontLoader.C: adjust
15004 * bufferview_funcs.C: adjust
15005 * converter.C: adjust
15006 * figureForm.C: adjust
15007 * importer.C: adjust
15009 * lyx_gui_misc.C: adjust
15010 * lyxfunc.C: adjust
15013 + more files in subdirs
15015 * lyxparagraph.h (size): move up int file
15018 * adjust all uses of Assert to lyx::Assert.
15020 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15021 lyxfunctional in namespace lyx
15022 * layout.C (hasLayout): ditto
15025 (delete_layout): ditto
15026 (NumberOfClass): ditto
15027 * converter.C (GetFormat): ditto
15032 * bufferlist.C (getFileNames): ditto
15033 (emergencyWriteAll): ditto
15036 * MenuBackend.C (hasSubmenu): ditto
15039 * BufferView_pimpl.C (getInsetByCode): ditto
15041 2001-04-18 Juergen Vigna <jug@sad.it>
15043 * vspace.C (asLatexString): fixed the 100% problem.
15045 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15047 * lyxfunc.C (Dispatch):
15049 * minibuffer.h: add a few std:: qualifiers
15051 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15053 * minibuffer.[Ch]: reimplement so that commands is initiated and
15054 run from lyxfunc, simplified som handling, and made the completion
15055 and history code for complete. wip.
15057 * lyxfunc.C (processKeySym): call message
15058 (miniDispatch): new temporary method
15059 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15060 (LFUN_MESSAGE): implement
15061 (LFUN_MESSAGE_PUSH): implement
15062 (LFUN_MESSAGE_POP): implement
15063 (initMiniBuffer): the initial/defualt minibuffer message.
15065 * lyxfont.[Ch]: inline some more getters
15067 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15069 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15071 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15072 (AutoSave): use LFUN_MESSAGE
15073 (Reconfigure): ditto
15075 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15077 * figureForm.C: use LFUN_MESSAGE
15079 * converter.C (runLaTeX): use LFUN_MESSAGE
15081 * bufferview_funcs.C: use LFUN_MESSAGE
15083 (changeDepth): ditto
15085 * bufferparams.h: use boost::
15087 * bufferlist.h: inherit privately from noncopyable
15089 * bufferlist.C (loadLyXFile): remove some commented code.
15091 * buffer.C (runChktex): use LFUN_MESSAGE
15093 * ShareContainer.h: inherit privately from noncopyable
15095 * ParagraphParameters.[hC] (depth): inline it.
15097 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15099 (message): new method
15100 (messagePush): ditto
15101 (messagePop): ditto
15102 (show): init minibuffer
15103 (showState): direct call
15105 * LaTeX.[Ch]: inherit privately from noncopyable
15106 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15107 instead of WriteStatus.
15109 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15111 * BufferView_pimpl.C (buffer): don't init minibuffer
15112 (workAreaButtonPress): use LFUN_MESSAGE
15113 (workAreaButtonRelease): ditto
15114 (savePosition): ditto
15115 (restorePosition): ditto
15116 (MenuInsertLyXFile): ditto
15117 (workAreaExpose): don't init minibuffer
15118 (update): remove commented code, simplify
15120 * BufferView2.C (openStuff): use LFUN_MESSAGE
15121 (toggleFloat): ditto
15124 (copyEnvironment): ditto
15125 (pasteEnvironment): ditto
15130 (updateInset): remove some commented code
15132 * lastfiles.h: inherit privately from noncopyable
15135 * lyx_main.h: ditto
15137 * lyxlex_pimpl.h: ditto
15139 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15140 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15141 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15143 * LyXAction.h: inherit privately from noncopyable, add methods
15144 func_begin, func_end, returning iterators to the func map.
15146 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15147 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15148 (func_begin): new method
15149 (func_end): new method
15151 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15153 (copySelection): ditto
15154 (pasteSelection): ditto
15156 * BufferView.C: whitespace change
15157 * BufferView.h: inherit privately from noncopyable
15159 2001-04-16 Allan Rae <rae@lyx.org>
15161 * tabular-old.C (l_getline):
15162 * spellchecker.C (sc_check_word):
15163 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15164 an unrecognised preprocessor directive. So ensure they're wrapped.
15166 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15168 * src/exporter.C (Export): Give an error message when path to file
15171 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15173 * LaTeX.C (deplog): Always check that foundfile exists.
15175 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15178 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15180 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15182 * tabular.[Ch] (getLabelList): implement new method
15184 * minibuffer.h: comment ouf setTiimer
15186 * minibuffer.C (ExecutingCB): constify res
15187 (peek_event): constify s
15188 (Set): constify ntext
15189 (Init): constify nicename
15191 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15193 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15194 (savePosition): use two params to Minibuffer::Set
15195 (restorePosition): ditto
15197 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15199 * lyx_main.C: include language.h
15201 * Makefile.am (lyx_main.o): add language.h
15203 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15209 * CutAndPaste.C: include gettext.h
15211 * lyxfont.h: remove old hack with ON and OFF.
15214 * lyxfont.h: do not include language.h...
15219 * bufferview_funcs.C:
15225 * paragraph.C: ... but do it here instead
15227 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15229 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15231 * tabular.C: small reformat
15233 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15236 (BreakParagraph): ditto
15237 (SetOnlyLayout): ditto
15240 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15243 * lastfiles.C: removed most using decl, add std:: where needed
15245 * buffer.C: ws changes
15247 * MenuBackend.C (class compare_format): put into anon namespace
15248 (expand): constify label, names, action, action2
15251 * text.C (SingleWidth): constify font
15252 (IsBoundary): constify rtl2
15253 (GetVisibleRow): constify ww
15255 * LaTeX.C (deplog): constify logfile
15257 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15259 (workAreaExpose): constify widthChange, heightChange
15261 * lyxrow.C (par): moved
15264 * lyxrow.h: as inlines here
15266 * lyxfont.h (shape): moved from lyxfont.C
15267 (emph): moved from lyxfont.C
15269 * lyxfont.C (LyXFont): use initialization list for all
15271 (shape): move to lyxfont.h as inline
15272 (emph): move to lyxfont.h as inline
15275 2001-04-04 Juergen Vigna <jug@sad.it>
15277 * vspace.C: had to include stdio.h for use of sscanf
15279 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15282 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15283 independent of xforms.
15285 2001-04-02 Juergen Vigna <jug@sad.it>
15287 * spellchecker.C: fixed namespace placing!
15289 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15291 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15292 the LyXParagraph * is 0.
15294 2001-03-29 Juergen Vigna <jug@sad.it>
15296 * vspace.C: added support for %, c%, p%, l%.
15297 (stringFromUnit): added helper function.
15298 (asLatexString): changed to give right results for the %-values.
15300 * buffer.C: convert the widthp in a width%.
15302 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15304 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15307 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15308 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15310 * lyx_cb.[Ch]: see above.
15312 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15316 * lyx.[Ch]: replaced by figure_form.[Ch].
15320 * lyxfunc.C: changed headers associated with above changes.
15322 2001-03-27 Juergen Vigna <jug@sad.it>
15324 * BufferView_pimpl.C: set the temporary cursor right!
15326 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15328 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15330 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15332 * LString.h: removed "using std::getline"!
15334 * BufferView_pimpl.C (Dispatch): changes due to changes in
15335 InsetInclude::Params.
15337 * buffer.C (tag_name): removed redundant break statements as they were
15338 producing lots of warnings with my compiler.
15340 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15342 * LString.h: add "using std::getline" when using the real <string>.
15344 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15346 * buffer.C: removed bitset usage.
15347 PAR_TAG moved to an anonymous name space.
15348 (tag_name): new funtion, also in the anonymous namespace.
15349 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15350 (makeDocBookFile): clean code. Completed transition from string arrays
15352 (SimpleDocBookOnePar): code clean.
15354 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15356 * tabular.C: add some comments.
15358 2001-03-22 Juergen Vigna <jug@sad.it>
15360 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15361 compatibility read a bit and fixed bug with minipage in different
15364 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15366 * buffer.C (pop_tag): removed.
15367 (push_tag): removed.
15368 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15369 array replaced with vector. Added support for CDATA sections.
15370 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15372 (makeDocBookFile): XML conformant declaration of CDATA section,
15373 fixed bug related to <emphasis> in the first paragraph char.
15374 (sgmlOpenTag): exclude empty tags.
15375 (sgmlCloseTag): ditto.
15377 * buffer.h (pop_tag): removed.
15378 (push_tag): removed.
15380 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15382 * language.h (Languages): added size_type and size().
15384 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15386 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15387 response on compability reading of minipages. One probliem is that
15388 the old usage of minipages was «flertydig»
15390 * several files here and in subdirs: don't use static at file
15391 scope use anon namespaces instead.
15393 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15395 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15396 LaTeX output. This is necessary for Literate document
15399 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15401 * buffer.C: insert hfill when needed.
15403 * tabular.C (l_getline): use string::erase, small whitespace change.
15405 * BufferView_pimpl.C: try the anon namespace.
15406 * WorkArea.C: ditto
15408 2001-03-16 Juergen Vigna <jug@sad.it>
15410 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15411 otherwise it won't open options-dialogs.
15413 * buffer.C: honor pextraWidth(p) on converting minipages.
15415 * tabular.C (l_getline): changed the functions to strip trailing \r.
15417 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15419 * BufferView_pimpl.C:
15420 * minibuffer..C: added "using SigC::slot" declaration.
15422 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15424 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15430 * paragraph.C: ditto
15432 * lyxtext.h: NO_PEXTRA
15434 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15436 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15437 * ParameterStruct.h: ditto
15438 * ParagraphParameters.h: ditto
15439 * lyxparagraph.h: ditto
15441 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15443 * buffer.C: add compability for minipage alignment.
15444 (latexParagraphs): remove unwanted pextra check.
15446 * several files: remove CXX_WORKING_NAMESPACES
15448 * buffer.C (pop_tag): tie is in namespace boost
15450 * BufferView.h: noncopyable is in namespace boost
15452 * lyx_main.h: ditto
15455 * lastfiles.h: ditto
15456 * bufferlist.h: ditto
15457 * ShareContainer.h: ditto
15459 * LyXAction.h: ditto
15462 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15464 * Merging changes from BRANCH_MVC back into HEAD.
15466 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15468 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15470 * BufferView_pimpl.C: change from intl.C
15474 * Makefile.am: move combox.*
15480 * intl.C: remove dialog (covered by prefs)
15482 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15484 * lyxfunc.C (Dispatch): removed redundant break statement.
15486 2001-03-14 Juergen Vigna <jug@sad.it>
15488 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15490 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15492 * buffer.C: add hack to fix compability reading of minipages.
15494 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15496 * buffer.C (getLists): Cleanup.
15498 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15500 * lyxfont.C (update): don't honor toggleall on font size.
15502 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15506 * Makefile.am: moved to frontends/xforms/
15510 * BufferView_pimpl.C: changes for moved mathpanel
15512 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15514 * gettext.h: fix gettext_init() in --disable-nls
15516 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15518 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15520 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15523 * lyx.h: strip external form
15525 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15527 * BufferView_pimpl.C: add comment, destroySplash()
15529 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15531 * BufferView_pimpl.C:
15535 * lyxfunc.C: use re-worked insetinclude
15537 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15539 * buffer.C: add using std::stringstream.
15541 * lyx_cb.C: readd using std::ios.
15543 * buffer.C: add using std::map.
15545 * BufferView_pimpl.C: add using std::vector.
15547 * ShareContainer.h: add std:: to swap.
15549 * buffer.h: add some typedefs
15550 * buffer.C (getLists): use them
15551 (getLists): renamed from getTocList.
15552 add a counter for the different float types and use it in the
15554 (getLists): use the same counter for the NEW_INSETS and the "non"
15557 * lyx_cb.h: remove unused items, includes, using etc.
15559 * ShareContainer.h: remove some commented code, add more comments
15560 and "documentation".
15562 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15564 * buffer.C (getTocList): make the list also when NEW_INSETS is
15567 * buffer.h: remove TocType
15569 * buffer.C (getTocList): change to return a map<string,
15570 vector<TocItem> >, implement for dynamic number of list.
15572 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15573 * text2.C (PasteSelection): adjust
15574 * CutAndPaste.C (pasteSelection): adjust
15576 * FloatList.C (FloatList): update from the new_insets branch.
15577 * Floating.[Ch]: ditto
15578 * LaTeXFeatures.C: ditto
15580 * lyxlex_pimpl.C: ditto
15582 * paragraph.C (Last): remove when NEW_INSETS is defined.
15584 * other file: changes because of the above.
15586 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15588 * lyxparagraph.h: rename next to next_, previous to previous_,
15589 make them private for NEW_INSETS. Rename Next() to next(),
15590 Previous() to previous().
15592 * other files: changes because of the above.
15594 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15597 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15600 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15602 * main.C (main): pass lyx_localedir to gettext_init().
15604 * gettext.h: remove locale_init and gettext_init macros
15606 * gettext.C (locale_init): new function
15607 (gettext_init): new function
15609 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15612 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15614 * Moved credits to frontends:
15615 * credits.[Ch]: removed
15616 * credits_form.[Ch]: removed
15617 * lyx_gui_misc.C: remove credits stuff
15620 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15622 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15624 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15625 unneeded destructor.
15627 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15628 a standalone pointer again.
15630 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15632 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15638 * ToolbarDefaults.C:
15647 * BufferView_pimpl.C: use new file dialog in GUII
15650 * lyx_cb.C: remove LayoutsCB to Toolbar
15652 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15654 * ShareContainer.h (get): add std:: qualifier
15656 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15658 * ShareContainer.h: define a proper ShareContainer::value_type
15659 type (and use typename to please compaq cxx)
15661 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15663 * lyxparagraph.h: move serveral local vars to
15664 ParameterStruct/ParagraphParameters., use ShareContainer in
15665 FontTable., make vars in FontTable private and add getter and
15668 * paragraph.C: changes because of the above.
15670 * lyxfont.h: remove copy constructor and copy assignment. (the
15671 default ones is ok), move number inside FontBits. move inlines to
15674 * lyxfont.C: add number to initializaton of statics, move several
15675 inlines here. constify several local vars. some whitespace
15676 cleanup. Dont hide outerscope variables.
15678 * Spacing.h: add two new constructors to match the set methods.
15680 * ShareContainer.h: new file, will perhaps be moved to support
15682 * ParameterStruct.h: new file
15684 * ParagraphParameters.h: new file
15686 * ParagraphParameters.C: new file
15688 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15689 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15691 * BufferView_pimpl.C: ParagraphParameter changes.
15692 * buffer.C: Likewise.
15693 * bufferview_funcs.C: Likewise.
15694 * text.C: Likewise.
15695 * text2.C: Likewise.
15697 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15699 * lyxfind.C (LyXReplace): do not redefine default argument in
15701 (IsStringInText): ditto
15702 (SearchForward): ditto
15703 (SearchBackward): ditto
15705 2001-03-06 Juergen Vigna <jug@sad.it>
15707 * lyxfind.C (IsStringInText): put parentes around expressions.
15709 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15711 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15713 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15715 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15717 * stl_string_fwd.h: add comment
15719 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15722 * tabular.C: remove unused DocBook methods
15728 killed DO_USE_DEFAULT_LANGUAGE
15730 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15732 * lyx_gui.C: do not include language.h.
15734 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15735 arguments in function implementation.
15737 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15739 * BufferView_pimpl.C: add <ctime>
15741 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15743 * BufferView_pimpl.C: add using std::find_if
15745 2001-02-27 José Matos <jamatos@fep.up.pt>
15747 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15750 2001-02-11 José Matos <jamatos@fep.up.pt>
15752 * buffer.C (makeDocBookFile): command styles now have a parameter as
15753 "title" by default.
15755 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15757 * layout_forms.[Ch]: removed
15758 * lyx_cb.[Ch]: out character
15759 * lyx_gui.C: out character
15760 * lyx_gui_misc.C: out character
15761 * bufferview_funcs.C: : out character,
15762 added toggleall as parameter in ToggleAndShow
15764 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15766 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15768 * text2.C (SetCurrentFont): Disable number property at boundary.
15770 2001-02-26 Juergen Vigna <jug@sad.it>
15772 * lyxfunc.C (getStatus): added a string argument override function so
15773 that this is correctly called from LyXFunc::Dispatch if it contains a
15774 do_not_use_argument which is used!
15775 (Dispatch): added check for "custom" export and call appropriate func.
15777 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15779 * lyxrc.C: Add language_command_local, language_use_babel and
15780 language_global_options.
15782 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15784 * buffer.C (makeLaTeXFile): Use language_use_babel and
15785 language_global_options.
15787 2001-02-23 Juergen Vigna <jug@sad.it>
15789 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15790 which works with LyXText and putted it inside BufferView. Here now we
15791 only call for that part the BufferView::Dispatch() function.
15793 * BufferView.C (Dispatch): added.
15795 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15796 functions which needs to use a LyXText over from LyXFunc.
15797 (MenuInsertLyXFile): added
15798 (getInsetByCode): added
15799 (moveCursorUpdate): added
15800 (static TEXT): added
15802 2001-02-22 Juergen Vigna <jug@sad.it>
15804 * BufferView_pimpl.C (update): call a status update to see if LyXText
15807 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15809 * vc-backend.C (revert): implement for CVS
15810 (getLog): implement for CVS
15812 2001-02-20 Juergen Vigna <jug@sad.it>
15814 * text2.C (ClearSelection): added BufferView param for inset_owner call
15816 * lyxfunc.C (TEXT): added this function and use it instead of
15817 directly owner->view()-text of getLyXText().
15819 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15821 * src/layout_forms.C: out preamble
15822 * src/layout_forms.h: out preamble
15823 * src/lyx_cb.C: out preamble
15824 * src/lyx_cb.h: out preamble
15825 * src/lyx_gui.C: out preamble
15826 * src/lyx_gui_misc.C: out preamble
15827 * src/lyxfunc.C: connect with guii preamble
15829 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15831 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15833 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15835 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15836 whether to run bibtex.
15838 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15840 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15842 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15844 * Makefile.am (lyx_SOURCES): removed bibforms.h
15846 * vspace.h: doxygen
15848 * text.C (GetVisibleRow): make several local vars const
15850 * tabular.C: small cleanup.
15852 * lyxserver.C (callback): use compare instead of strncmp
15854 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15855 inlines to after class or to paragraph.C
15857 * lyxfont.h: remove friend operator!=
15859 * converter.h: move friend bool operator< to non friend and after
15862 * combox.h: small cleanup
15864 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15865 to inlines after class def.
15867 * buffer.C (pop_tag): use string operations instead of strcmp
15869 * bmtable.c: doxygen, small cleanup
15871 * LaTeX.h: remove friend operator==
15873 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15885 * BufferView_pimpl.C:
15886 * BufferView.[Ch]: remove cruft
15888 2001-02-14 Juergen Vigna <jug@sad.it>
15890 * lyxfunc.C: removed #if 0 unused code
15892 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15894 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15896 * text2.C (SetSelection): added a BufferView * parameter
15898 2001-02-13 Juergen Vigna <jug@sad.it>
15900 * lyxfunc.C (Dispatch): fixed protected blank problem.
15901 * BufferView2.C (protectedBlank): added LyxText * parameter.
15903 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15904 (AppendColumn): same as above for column_info.
15906 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15907 (moveCursorUpdate): use a LyXText param for support of InsetText.
15909 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15910 (tripleClick): ditto
15912 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15914 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15916 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15918 * text2.C (SetSelection): set correct update status if inset_owner
15919 (ToggleFree): ditto
15921 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15923 * tabular.C: remove some commented code.
15925 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15927 * BufferView_pimpl.C: call hideSplash()
15929 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15932 * bibforms.h: remove
15935 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15936 add LFUN_CHILD_CREATE
15938 * counters.h: fix tiny typo
15943 * lyx.C: move splash to frontends/xforms/
15945 * lyx_gui_misc.C: move Include and Bibform to frontends
15947 * lyxvc.h: clarify comment
15949 * vspace.C: tiny housekeeping
15951 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15953 * text.C (PrepareToPrint): RTL Fix.
15955 * paragraph.C (GetUChar): New method.
15956 (String): Use GetUChar.
15958 * buffer.C (asciiParagraph): Use GetUChar.
15960 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15962 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15964 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15967 * buffer.C: rename to getLogName(), handle
15968 build log / latex log nicely
15970 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15973 * MenuBackend.h: remove support for reference menuitem type.
15975 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15977 * BufferView_pimpl.C: housekeeping
15978 * BufferView_pimpl.h:
15983 * minibuffer.h: move Timeout GUI-I
15985 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15987 * lyxrc.C (read): Update converters data-structures.
15989 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15991 * LaTeX.h (operator!=): add operator != for Aux_Info
15993 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15995 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15997 * LaTeXLog.C: deleted, useful code moved to Buffer
16000 * buffer.C: new function getLatexLogName()
16006 * lyxfunc.C: use frontends for LaTeX and VC logs
16008 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16010 * LaTeX.h: yet another std:: that Allan forgot.
16012 * Variables.C (set): renamed from isset(), because this clashes
16013 with some HP-UX macros (grr).
16015 2001-02-06 Allan Rae <rae@lyx.org>
16017 * LaTeX.h: Another bug fix. Missing std:: this time.
16019 2001-02-04 Allan Rae <rae@lyx.org>
16021 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16022 floats problem. I've left it commented out because it's not quite
16023 correct. It should also test that the current object is a table or
16024 figure inset. But I haven't gotten around to figuring out how to do
16025 that. I *think* it'll be something like: "table" == inset.type()
16027 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16030 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16032 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16033 all the citation/databases/styles in the auxilary file.
16034 (run): Rerun latex if there was a babel language error.
16036 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16038 * text.C (Backspace): Preserve the font when changing newline char
16040 (BreakParagraph): If the cursor is before a space, delete the space.
16042 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16044 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16046 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16047 new argument (code).
16048 (ChangeCitationsIfUnique): New method.
16050 * paragraph.C (GetPositionOfInset): Handle bibkey.
16052 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16054 * BufferView_pimpl.h: change type of Position::par_pos to
16055 LyXParagraph::size_type.
16057 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16059 * BufferView_pimpl.C (savePosition, restorePosition): Write
16060 messages to minibuffer.
16062 2001-01-28 José Matos <jamatos@fep.up.pt>
16064 * buffer.C (makeDocBookFile): adds support for document language.
16065 A silly restriction on the name of LatexCommand types where removed.
16066 Added support for CDATA sections, allows to chars unescaped, used
16067 among others in code, to avoid escape < and >.
16069 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16071 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16072 saved positions instrad of a stack. Furthermore, a position is
16073 stored using paragraph id/paragraph position.
16075 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16076 Remove LFUN_REF_BACK.
16078 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16080 * converter.C (dvipdfm_options): New method.
16082 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16084 * vspace.C (isValidLength): Fix for empty input string.
16086 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16088 * LyXAction.C (init): change description of LFUN_FIGURE to
16091 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16093 * LaTeX.C: add using directive
16095 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16097 * MenuBackend.C (expand): Fix the sorting of the formats.
16099 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16101 * lyx_main.C: tiny error message fix
16103 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16105 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16106 calling fl_initialize(). This fixes the problem with ',' as
16107 decimal separator in text files.
16109 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16111 * trans.C (process): Fix the keymap bug.
16113 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16115 * LaTeX.C (scanAuxFiles): New method. Provides support for
16116 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16117 (scanLogFile) Scan for "run BibTeX" messages.
16119 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16120 OT1 font encoding. Also, load the aecompl package if the ae
16123 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16125 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16127 * texrow.C (increasePos): turn two error messages into debug
16130 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16132 * LaTeX.C (scanAux): Handle the \@input macro.
16133 (runBibTeX): Use scanAux().
16135 * language.C (latex_options_): New field.
16137 * LaTeXFeatures.C (getMacros): Add language macros.
16139 * buffer.C (makeLaTeXFile): Small fix.
16141 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16143 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16145 * text2.C: add a using directive.
16147 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16152 * lyxfunc.C: kill LyXBell.
16154 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16156 * text.C (IsBoundary): Remove the error message
16158 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16160 * lyxrc.C (setDefaults): Correct initialization value for
16163 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16165 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16168 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16169 and GotoNextNote().
16171 * src/LyXAction.C: Added reference-next.
16173 * text.C (InsertChar): Use contains instead of strchr.
16175 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16177 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16179 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16180 alignment commands (when needed).
16182 * text.C (InsertChar): Add ':' to number separator chars.