1 2004-10-26 Angus Leeming <leeming@lyx.org>
3 * Makefile.am: add mover.[Ch].
5 * converter.C (convert, move): use the new Movers to move external
6 files to the temp directory.
8 * lyx_main.C (init): ensure that the global system_movers data
11 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
14 * mover.[Ch]: new files, defining a Mover as a utility to move an
15 external file between directories and, if necessary, manipulate this
16 file using a helper script.
18 2004-10-25 José Matos <jamatos@lyx.org>
20 * output_docbook.C (makeCommand): merge two if's that tested the same condition.
22 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * sgml.C (escapeString): fix warning in a better way
26 2004-10-25 José Matos <jamatos@lyx.org>
28 * sgml.C (escapeString): import the require boosts header file for
29 tie, and avoid a signed unsigned comparison.
31 2004-10-25 José Matos <jamatos@lyx.org>
33 * sgml.h: add #include <string>
35 2004-10-25 José Matos <jamatos@lyx.org>
37 * sgml.[Ch] (escapeString): new function to escape all the string.
39 2004-10-24 José Matos <jamatos@lyx.org>
41 * paragraph.[Ch] (getFirstWord): new function to get the first
42 word. Useful for description.
43 (simpleDocBookOnePar): remove depth argument, add another that
44 says where to start the paragraph.
46 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
47 use the new functions to fix cleanly the support for descriptions.
49 2004-10-24 José Matos <jamatos@lyx.org>
51 * buffer.C (makeLinuxDocFile, makeDocBookFile):
52 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
53 * output_linuxdoc.C (linuxdocParagraphs):
54 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
55 add buffer as argument.
57 2004-10-24 José Matos <jamatos@lyx.org>
59 * output_docbook.C (makeEnvironment, searchEnvironment): place
60 CDATA inside paragraphs and fix scope for listitems.
62 2004-10-24 José Matos <jamatos@lyx.org>
64 * output_docbook.C: remove using statement for stack.
66 2004-10-23 José Matos <jamatos@lyx.org>
68 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
69 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
70 docbook. The new scheme is recursive and makes use of iterators, the
71 same as latex export works.
72 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
73 directly with the paragraph contents. This code was moved up to
74 output_docbook.C (docbookParagraphs).
75 * sgml.C (openTag, closeTag): removed unneeded newlines.
76 (closeEnvTags) removed.
78 2003-10-23 André Pönitz <poenitz@gmx.net>
80 * undo.C (textUndoOrRedo):
81 * dociterator.C (asDocIterator): work around crash
83 * cursor.C (getStatus): replace ASSERT by more verbose error message
84 and manual correction of the problem. Should increase stability
85 while providing more sensible information.
87 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
89 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
91 * bufferlist.C (previous, next): new methods
94 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
96 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
98 * buffer.C (makeDocBookFile): add dsssl stylesheet control
101 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
103 * messages.C (Pimpl): strip off translation context information
105 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
108 the cursor is correct (bug 1694)
110 2004-10-13 José Matos <jamatos@lyx.org>
112 * output_docbook.C (docbookParagraphs): fix closing tags in the
115 2004-10-09 José Matos <jamatos@lyx.org>
117 * buffer.C: format up to 237.
118 * bufferparams.C (write): use tostr to convert booleans to strings.
120 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
122 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
124 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
126 * LaTeX.C: implement use of babel language in xindy.
128 2004-10-05 José Matos <jamatos@lyx.org>
130 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
131 Add new translators to help reading and writing the lyx file.
133 2004-10-05 José Matos <jamatos@lyx.org>
135 * ParagraphParameters.C (read):
136 * text.C (readParToken): replace nexToken by more appropriate lex
139 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
141 * LaTeX.C (runMakeIndex):
142 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
143 (usually 'makeindex') configurable.
145 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
146 with a variable rather than with a number.
148 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
150 * output_latex.C (TeXOnePar): make sure font setting is the first
151 thing that gets output (and the last at the end). Should fix bug
154 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
156 * pch.h: use proper signal include
158 * LaTeX.h: Use preferred calling of Boost.Signal
161 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
163 * pch.h: dont include <boost/function/function0.hpp>
165 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
167 * paragraph_pimpl.h: remove usage of ShareContainer
169 * paragraph_pimpl.C: remove initialization of ShareContainer.
171 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
175 * BufferView.C (putSelectionAt): change the semantics when
176 backwards == true: now, this just swaps cursor and anchor wrt the
179 * BufferView.h (putSelectionAt): add some documentation
181 * lyxfind.C (findBackwards): rewrite using while(). In particular,
182 make sure backwardChar is done at least once (to avoid getting
184 (findNextChange): use putSelectionAt in the forward direction
185 (operator()): use Paragraph::isWord
187 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
189 * Spacing.C (set): c_str fix
191 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 * lyx_cb.C (Reconfigure): quote the name of configure script in
194 case it contains spaces
196 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
200 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
201 (BOOST_LIBS): use top_buildir when looking for the file
203 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
205 * pch.h: do not use include boost/format.hpp, multiple symbols
206 will result (gcc bug)
209 2004-08-23 José Matos <jamatos@lyx.org>
211 * bufferparams.C (readToken): fix reading of the author field.
213 2004-08-20 José Matos <jamatos@lyx.org>
215 * lyxrc.C: remove support/translator.h inclusion since it is not used.
217 2004-08-20 José Matos <jamatos@lyx.org>
219 * lyxlex.[Ch] (findToken): remove function.
221 * ParagraphParameters.C (findToken):
222 * bufferparams.C (findToken): replace call for previous function
223 with local copy. This local function has one more argument, the
224 read string argument.
226 2004-08-16 José Matos <jamatos@lyx.org>
228 * ParagraphParameters.C (write):
229 * Spacing.C (writeFile):
230 * bufferparams.C (writeLaTeX):
231 * lyx_cb.C (Reconfigure):
232 * paragraph.C (write):
233 * tabular.C (write): remove unnecessary space at end of line.
236 2004-08-16 José Matos <jamatos@lyx.org>
238 * text.C (readParagraph): remove debug message.
240 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
242 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
245 * output_plaintext.C (asciiParagraph): set depth correctly
247 * outputparams.h: add member depth
249 * paragraph_funcs.C (ownerPar): remove.
251 * text2.C (setCounter): remove first_pit; comment out some
252 non-working code that uses ownerPar
254 * BufferView.C (getParentLanguage): remove. Not used anymore, and
257 2004-08-16 José Matos <jamatos@lyx.org>
259 * text.C (readParToken, readParagraph, read): report all unknown tokens.
260 For the same level of importance use the same chanel to report problems.
261 (read): add code to deal with \begin_body and \end_body.
264 2004-08-15 José Matos <jamatos@lyx.org>
266 * lyxlex.C (getString): fix comment, buffer::readBody is now
269 * tex-strings.C (string_papersize): Default -> default,
270 Custom -> custom, for consistency with other options.
272 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
276 * Makefile.am: support pch
278 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * text.C (readParToken): remove the static LyXFont variable and
281 pass it as a parameter instead. This fixes a nasty bug where an
282 inset will be inserted with a bad font in some situations
283 (readParagraph): adapt
285 * text2.C (setCounter): reduce number of calls to pars_[pit]
287 * text.C (singleWidth): add an assert, fix a test
289 * rowpainter.C (paintText): reduce number of calls to singleWidth
291 * paragraph.C (isHfill):
294 2004-08-14 André Pönitz <poenitz@gmx.net>
299 * lyxtext.h (several functions): use a Paragraph & argument
302 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
304 * metricsinfo.h: add a new field ltr_pos to PainterInfo
306 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
308 * text.C (singleWidth): remove useless test
310 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
312 * tabular.h: remove bogus comments
314 * tabular.C (getDescentOfRow):
315 (isPartOfMultiColumn): add assertions
317 * lyxlength.C (inPixels): remove #warning
319 2004-08-14 André Pönitz <poenitz@gmx.net>
321 * paragraph.h: inline getChar()
323 * BufferView.h: remove unused declarations
325 2004-08-14 José Matos <jamatos@lyx.org>
327 * Buffer.[Ch] (readDocument): new name for old readBody.
328 * Buffer.C: new file format, new keywords: \begin_document,
329 \begin_header, \begin_body, \end_body.
331 * bufferparams.C (readToken): replace all calls to lex.nextToken
332 by lex.next(). Do the same to eatLine except where really needed.
334 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
335 line when writing to the lyx file.
337 * output_plaintext.C (asciiParagraph): fix Bibliography style
340 * text.C (read): fix end of file handling.
342 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * MenuBackend.C (Menu::operator[]): new method to access
345 individual menu items
346 (Menu::hasFunc): new method. search for an item that corresponds
348 (MenuBackend::specialMenu): new method
349 (MenuBackend::expand): if a special menu has been set, skip
350 entries whose func() appears in this menu
352 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
354 * text3.C: use Debug::DEBUG a bit more
356 * text.C (leftMargin): try to simplify a tiny bit change var x to
357 l_margin. Dont output the wide margins always.
358 (rightMargin): no margin in inner texts
360 * rowpainter.h (nestMargin): new func
361 (changebarMargin): new func
362 (rightMargin): new func
364 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
368 * factory.C (createInset): modify setDrawFrame
370 * cursor.C: use Debug::DEBUG a bit more
372 2004-08-14 André Pönitz <poenitz@gmx.net>
375 * Makefile.am: new files to accomodate an 'external' (x,y)-position
376 cache for all insets in (at least partially) visible (top-level)
379 * BufferView_pimpl.C: reset external coord cache before every update.
380 This means the coord cache only contains valid entries.
382 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
385 * BufferView_pimpl.C (getInsetByCode): move function out of class
386 and change in to a template in anon namespace. Also fix to do what
389 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
392 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
394 (breakParagraph): rename par to par_offset and use a local
395 reference. Add code to keep the language over a rebreak.
396 (breakParagraphConservative): rename par to par_offset, use a
398 (mergeParagraph): ditto
400 (isFirstInSequence): ditto
401 (outerFont): rename pit to par_offset
403 * paragraph.C: ws change
408 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
410 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
413 * paragraph.C (simpleTeXOnePar): when we have a \item with
414 optional argument, enclose the argument with curly brackets (in
415 case it contains a closing square bracket)
419 * text3.C (checkInsetHit): constify
421 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
423 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
426 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
428 Fix toggling of collapsable insets with the mouse (bug 1558)
430 * lyxfunc.C (dispatch): adapt to LCursor changes
432 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
433 make sure that dispatch is not invoked twice
435 * cursor.C (needsUpdate): new method
436 (dispatch): return void
437 (result): new method, to access the DispatchResult of the cursor.
439 2004-08-13 José Matos <jamatos@lyx.org>
441 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
443 2004-08-13 André Pönitz <poenitz@gmx.net>
445 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
447 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
450 2004-08-12 André Pönitz <poenitz@gmx.net>
452 * text3.C: take out the 'cursor right' form insertInset and only
453 do it in those places when it is really needed. Fixes crash on
456 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
458 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
460 * BufferView_pimpl.C (setBuffer): initialize the current font of
461 the underlying LyXText
463 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
465 * kbsequence.C (print): use UI native formatting for menu
468 * text.C (insertChar): call Paragraph::insertChar with a font
471 * paragraph.C (insertInset, insertChar): the version that takes a
472 LyXFont argument is now a wrapper around the other one (the
473 opposite used to be true).
475 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
476 argument. Font setting is done in Paragraph now.
478 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * outputparams.h: add new members intitle and lang.
482 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
483 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
485 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
487 * text3.C (dispatch): remove special handling of button 4 and 5,
488 it is now taken care of in the frontend code.
490 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
492 * Spacing.h: add <string> (STLPort compile fix)
494 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
496 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
498 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
500 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
503 * converter.C (showMessage): inherit from unary_function, make
506 * buffer.C (writeFile): initialize retval
508 * InsetList.h: rename private variable list to list_
509 * InsetList.[Ch]: adjust accordingly.
511 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
513 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
514 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
515 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
516 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
517 * ParagraphParameters.C, LaTeXFeatures.C: replace
518 "support/std_sstream.h" with <sstream>
520 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
522 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
523 * lyxsocket.C (LyXServerSocket): ditto
524 (serverCallback): ditto
526 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
528 * LaTeXFeatures.C: check release date when loading jurabib.
530 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
532 * lyxserver.C (startPipe): call register_socket_callback
533 (endPipe): call unregister_socket_callback
535 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
537 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
538 (LyXServerSocket): register the callback
539 (LyXServerSocket): unregister the callback
540 (fd): delete function
541 (serverCallback): improve error checking and setup the callbacks.
542 (dataCallback): change arg to fd.
543 (writeln): new func (copied fro the client socket) used for server
545 (LyXDataSocket): simplify
546 (~LyXDataSocket): close ann unregiser callback
547 (server): delete function
548 (fd): delete function
549 (readln): small changes, improve some std::string usage
550 (writeln): constify a bit
552 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
554 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
557 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
559 * BufferView_pimpl.C (setBuffer): set the layout combox value only
560 after it has been populated
562 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
564 * text2.C (insertInset): move cursor when inserting inset.
566 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
568 * kbmap.C (findbindings): a couple of new methods. returns a
569 container of kb_sequence objects. The real work is done by the
570 private recursive version
571 (printbindings): uses findbindings to print out a bracketed list
572 of bindings (renamed from findbinding).
574 * MenuBackend.C (binding): use kb_keymap::findbindings
576 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
578 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
580 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
582 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
584 * paragraph.C (isWord): return true on insets that report
587 * text.C (getWord): use Paragraph::isWord to decide what is in a
588 word and what is not; fix bug 1609.
590 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
592 * tex-strings.C: add "none" to string_paperpackages[], fixes
593 off-by-one-error in the paperpackage selection.
596 * tex-strings.[Ch]: char const * string[n]
597 -> char const * const string[]
599 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
601 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
602 command, return early.
604 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
606 * debug.h: add DEBUG to enum and fix size of ANY.
608 * debug.C: add support for Debug::DEBUG
609 (showTags): cast errorTags.level to unsigned int
611 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
612 (redoCurrentBuffer): ditto
613 (updateScrollbar): ditto
614 * cursor.C (dispatch): ditto
615 * text2.C (setLayout): ditto
617 (updateCounters): ditto
619 (deleteEmptyParagraphMechanism): ditto
621 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
623 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
624 annotations to cleanup the Makefile slightly.
626 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
628 * lyxrc.C: do not set user_email to a default value but use empty
629 instead. The entry used to be translated, which does not work
630 since at the point where lyxrc is constructed there is no
631 translation service available
633 * messages.C (getLocaleDir): remove and use directly
634 lyx_localedir() instead
636 2004-06-02 Angus Leeming <leeming@lyx.org>
638 Fix crash caused by dereferencing null pointer 'exportdata' in
639 OutputParams by creating a new ExportData variable on the heap,
640 storing it in a boost::shared_ptr.
641 The crash was triggered when generating an Instant Preview
642 of an external inset.
644 * Makefile.am: add outputparams.C
646 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
647 (c-tor): allocate memory to it.
649 * exporter.C (c-tor): associated changes.
651 2004-06-01 Angus Leeming <leeming@lyx.org>
653 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
654 contains data before calling isInset(0). (Bug 1513.)
656 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
658 * exporter.C (checkOverwrite): new method
659 * exporter.C (copyFile): new method
660 * exporter.C (Export): copy referenced files to the document dir
661 * exporter.[Ch]: new class ExportedFile
662 * exporter.[Ch]: new class ExportData. Contains currently the
663 names of referenced external files
664 * outputparams.h: add exportdata member.
666 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
668 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
671 2004-05-19 Angus Leeming <leeming@lyx.org>
676 * lyxfunc.C: small changes due to the introduction of namespace
677 lyx::frontend and the moving of namespace biblio to lyx::biblio.
679 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
681 * text3.C (dispatch): supress update when only moving the cursor
682 * cursor.C (selHandle): remove commented code
684 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
686 * paragraph.C (startTeXParParams): correct column count
687 * CutAndPaste.C (pasteSelection): remove const_cast
688 * output_docbook.C (docbookParagraphs): remove const_cast
689 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
690 const_cast and return ParagraphList::const_iterator
691 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
692 * output_plaintext.C (writeFileAscii): remove const_cast
693 * paragraph.[Ch] (simpleTeXOnePar): make const
694 * paragraph_funcs.C (outerPar): use const iterators
695 * paragraph_pimpl.C (validate): use const iterators
696 * text.C (setHeightOfRow): use const iterators
698 2004-05-17 Angus Leeming <leeming@lyx.org>
701 * LyXAction.C (init): new LFUN_INSET_REFRESH.
703 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
704 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
705 if the citation engine has changed.
707 2004-05-14 José Matos <jamatos@lyx.org>
709 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
710 if the textclass does not provide it. Have it different for sgml and
712 support the language of document.
713 * output_docbook.C (docbookParagraphs):
714 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
715 first anchor as the id of the paragraph, remove special case code.
716 * sgml.C (escapeChar): escape only < & >.
718 2004-05-14 Angus Leeming <leeming@lyx.org>
720 * bufferparams.h: move biblio::CiteEngine enum here to minimize
721 dependencies on src/frontends/controllers/biblio.h. Define a
722 CiteEngine_enum wrapper class to enable the enum to be forward
725 2004-05-12 Angus Leeming <leeming@lyx.org>
727 * buffer.C: up LYX_FORMAT to 234.
728 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
729 use_numerical_citations with a single biblio::CiteEngine cite_engine
731 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
733 2004-05-13 José Matos <jamatos@lyx.org>
736 * converter.C (Converter, readFlags): add xml member.
737 * outputparams.h: add XML flavor.
738 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
740 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
742 * lyxfunc.C (dispatch):
743 (getStatus): fix handling of LFUN_SEQUENCE
745 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
747 * debug.C (showLevel): do not forget the end-of-line marker
749 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
751 * kbmap.C (read): do not stop parsing a bind file when an error
754 2004-04-29 Angus Leeming <leeming@lyx.org>
759 * text2.C: wrap a bunch of #warning statements
760 inside #ifdef WITH_WARNINGS blocks.
762 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
764 * buffer.C: increment format to 233.
766 2004-04-28 Angus Leeming <leeming@lyx.org>
768 * BufferView_pimpl.C:
771 s/updateToolbar()/updateToolbars()/
772 s/Toolbar.h/Toolbars.h/
774 2004-04-28 Angus Leeming <leeming@lyx.org>
776 * BufferView.[Ch] (c-tor):
777 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
778 No longer passes these data to the WorkArea generator.
780 2004-04-28 Angus Leeming <leeming@lyx.org>
782 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
784 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
786 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
788 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
790 * output_latex.C (TeXEnvironment): make sure that there is a line
791 break before \end{foo} for the last paragraph of a document
792 (TeXOnePar): if the paragraph is at the end of the document (or
793 inset) and the language has to be reset, then make sure that the
794 line break is _before_ the language command, not after (fixes bug
795 1225); also make sure that the language reset command is the first
796 thing after the paragraph (to ensure proper nesting of
797 environments and thus fix bug 1404)
799 2004-04-21 John Levon <levon@movementarian.org>
802 * ToolbarBackend.C: make "name" be a programmatic name
803 and a gui_name field.
805 * lyxfunc.C: display the minibuffer on M-x
807 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
809 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
812 2004-04-19 Angus Leeming <leeming@lyx.org>
814 * BufferView_pimpl.C (setBuffer): changed preview interface.
816 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
819 2004-04-19 John Levon <levon@movementarian.org>
821 * BufferView_pimpl.C:
822 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
824 2004-04-05 Angus Leeming <leeming@lyx.org>
826 * text.C (redoParagraphs): add call to updateCounters(), thereby
827 fixing the missing "Figure #:" label from the caption of a
830 2004-04-13 Angus Leeming <leeming@lyx.org>
832 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
833 cursor is clicked out of an inset.
835 2004-04-13 Angus Leeming <leeming@lyx.org>
837 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
838 than an InsetOld one.
840 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
842 * format.[Ch]: add editor to Format
843 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
844 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
846 2004-04-08 André Pönitz <poenitz@gmx.net>
848 * metricsinfo.h: remove PainterInfo::width member
850 2004-04-08 Angus Leeming <leeming@lyx.org>
852 * lyx_sty.C (boldsymbol_def): modify so that it outputs
853 "\providecommand" rather than "\newcommand", thereby preventing
854 clashes with packages that define "\boldsymbol" themselves.
857 2004-04-08 Angus Leeming <leeming@lyx.org>
859 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
860 thereby squashing an unnecessary warning.
862 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
864 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
867 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
869 * BufferView.C (setCursor): call redoParagraph (some insets could
871 (putSelectionAt): remove the 'double update' trick
873 * BufferView_pimpl.C (fitCursor): call refreshPar
874 (workAreaDispatch): remove an uneeded update call
875 (dispatch): remove some manual update calls
877 * cursor.[Ch]: remove cached_y_, updatePos
878 (selHandle): set noUpdate when appropriate
880 * lyxfunc.C (dispatch): track if we need an update
882 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
884 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
885 (paintSelection): cheap optimization, do not call cursorX when not
887 (paintPars): change signature
890 (paintTextInset): adjust
894 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
896 * lengthcommon.C: compilation fix: remove explicit array size from
897 unit_name[] and friends
899 2004-04-05 Angus Leeming <leeming@lyx.org>
901 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
903 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
904 present only for the preferences dialog.
905 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
907 2004-04-05 Angus Leeming <leeming@lyx.org>
909 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
910 to enable the frontends to export changes to lyxrc correctly.
912 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
914 2004-04-07 André Pönitz <poenitz@gmx.net>
916 * cursor.[Ch] (selClear, adjust): remove math
918 * cursor_slice.C: more agressive assert
921 * BufferView_pimpl.C: rework mouse event dispatch
928 2004-04-05 André Pönitz <poenitz@gmx.net>
930 * cursor.[Ch] (valign, halign...): remove unneeded functions
932 2004-04-05 Angus Leeming <leeming@lyx.org>
934 * lyxlength.[Ch] (unit_name et al.): const-correct.
936 2004-04-05 Angus Leeming <leeming@lyx.org>
938 * BufferView_pimpl.C:
947 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
949 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
951 * text3.C (getStatus): add LFUN_BEGINNINGBUF
953 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
955 * lyxfind.C: add a couple of inTexted() tests + other small fixes
956 * BufferView_pimpl.[Ch] (getStatus)
957 * BufferView.[Ch] (getStatus): add
958 * lyxfunc.C (getStatus): move lfuns handled in
959 BufferView::dispatch to te function above
960 * Cursor.C (setSelection): set selection() = true
962 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
964 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
966 2004-03-31 Angus Leeming <leeming@lyx.org>
968 * lyxfunc.C (dispatch): Fall through to the generic
969 Dialogs::show("preamble").
971 2004-03-31 Angus Leeming <leeming@lyx.org>
973 * lyxfunc.C (dispatch): Fall through to the generic
974 Dialogs::show("spellchecker").
976 2004-03-31 Angus Leeming <leeming@lyx.org>
978 * lyxfunc.C (getStatus, dispatch): changed invocation of the
981 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
986 * insetiterator.[Ch]:
991 * undo.[Ch]: s/DocumentIterator/DocIterator/g
993 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
995 * BufferView.C (setCursor, putSelectionAt): call edit to open the
996 insets where we are putting the cursor.
998 2004-03-31 Angus Leeming <leeming@lyx.org>
1001 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1003 * lyxrc.[Ch] (read, write): overloaded member functions taking
1004 a std::[io]stream arguments.
1006 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1008 2004-03-31 Angus Leeming <leeming@lyx.org>
1010 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1011 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1013 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1014 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1016 2004-03-31 Angus Leeming <leeming@lyx.org>
1018 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1019 the LFUN_ALL_INSETS_TOGGLE code.
1021 2004-03-30 Angus Leeming <leeming@lyx.org>
1023 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1024 has died. Fall through to the generic Dialogs::show("document").
1026 2004-03-30 Angus Leeming <leeming@lyx.org>
1029 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1030 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1032 * lyxfunc.C (getStatus, dispatch): define the actions for these
1033 lfuns. Little more than a cut and pste job from ControlDocument.C
1035 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1037 2004-03-30 Angus Leeming <leeming@lyx.org>
1040 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1041 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1043 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1044 open/closed state of ollapsable insets. Usage:
1046 all-inset-toggle <state> <name>, where
1047 <state> == "open" || "closed" || "toggle" and
1048 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1050 * lyxtext.h, text2.C (toggleInset): removed.
1052 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1053 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1054 now passes LFUN_INSET_TOGGLE to the found inset.
1056 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1057 is now invoked as "all-insets-toggle toggle branch".
1059 2004-03-30 Angus Leeming <leeming@lyx.org>
1063 * pariterator.[Ch]: added/corrected header blurb.
1065 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1067 * dociterator.[Ch]: add an inset_ member
1068 (backwardPos): implemented
1069 (backwardPos, forwardPos): use inset_ when the stack is empty.
1070 (doc_iterator_begin, doc_iterator_end): implemented
1071 * pariterator.[Ch]: adjust, add begin, end
1072 * insetiterator.[Ch]: adjust, add begin, end
1076 * BufferView_pimpl.C:
1077 * CutAndPaste.C: adjust
1079 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1081 * buffer.C: increment file format to 232.
1082 * LaTeXFeatures.C: add bibtopic package.
1083 * bufferparams.[Ch]: param \use_bibtopic.
1085 * lyxrc.[Ch]: add lyxrc bibtex_command
1086 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1088 * buffer.C: increment file format to 231.
1090 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1092 * dociterator.C: implement forwardPar
1093 * iterators.[Ch]: remove, replaced by
1094 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1096 * BufferView_pimpl.C:
1099 * bufferview_funcs.C:
1105 * Makefile.am: adjust
1107 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1109 * CutAndPaste.C (pasteSelection): fix 2 crashes
1110 (eraseSelection): fix a crash
1111 * paragraph_funcs.C: remove a warning
1113 2004-03-28 Angus Leeming <leeming@lyx.org>
1116 * LyXAction.C (init): new LFUN_PRINT.
1118 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1120 2004-03-27 Angus Leeming <leeming@lyx.org>
1123 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1125 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1127 2004-03-27 Angus Leeming <leeming@lyx.org>
1129 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1130 insetlist always contains non-null pointers to insets.
1132 2004-03-26 Angus Leeming <leeming@lyx.org>
1134 * src/BufferView_pimpl.C:
1135 * src/CutAndPaste.C:
1138 * src/output_plaintext.C:
1139 * src/outputparams.h:
1140 * src/paragraph_funcs.C:
1144 * src/frontends/controllers/ControlErrorList.C:
1145 * src/frontends/gtk/FileDialogPrivate.C:
1146 * src/frontends/gtk/GPainter.C:
1147 * src/frontends/gtk/GToolbar.C:
1148 * src/frontends/qt2/QRef.C:
1149 * src/mathed/math_scriptinset.C: squash compiler warnings.
1151 2004-03-26 Angus Leeming <leeming@lyx.org>
1153 * ispell.C (LaunchIspell::start):
1154 * lyx_cb.C (AutoSaveBuffer::start):
1155 invoke run(DontWait) rather than runNonBlocking().
1157 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1159 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1161 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1163 * kbsequence.C (print): adjust
1165 * kbmap.C (printKeySym): rename and change signature
1166 (printKey): use LyXKeySym::print()
1168 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1170 * undo.C: add using std::advance to compile for stlport
1172 2004-03-24 Angus Leeming <leeming@lyx.org>
1174 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1175 it leads to a crash when no buffer is present.
1177 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1178 Martin Vermeer <martin.vermeer@hut.fi>
1180 * lyxfunc.C (dispatch):
1181 * bufferparams.C (readToken): use the new LColor::setColor
1183 * LColor.[Ch] (setColor): new version that takes two strings as
1184 argument and creates a new color entry if necessary
1186 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1188 * buffer.C (makeLaTeXFile): if the main latex file that is
1189 processed is usually a subdocument of some master, then pretend
1190 for a while that it is actually the master
1192 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1194 * buffer.C (getLabelList):
1195 (getBibkeyList): use getMasterBuffer()
1196 (getMasterBuffer): new method. Returns the main document in the
1197 case where one is using included documents.
1199 2004-03-25 André Pönitz <poenitz@gmx.net>
1203 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1205 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1207 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1208 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1210 * ParameterStruct.h: merge with ParagraphParameters
1212 * lyxtext.h: remove LyXText::parOffset() and getPar()
1214 * text3.C: Remove all 'manual' update calls. We do now one per user
1215 interaction which is completely sufficient.
1219 * BufferView_pimpl.C:
1220 * FontIterator.[Ch]:
1222 * ParagraphParameters.[Ch]:
1227 * cursor_slice.[Ch]:
1234 * output_docbook.[Ch]:
1235 * output_latex.[Ch]:
1236 * output_linuxdoc.[Ch]:
1237 * output_plaintext.[Ch]:
1239 * paragraph_funcs.[Ch]:
1240 * paragraph_pimpl.[Ch]:
1248 * frontends/controllers/ControlDocument.C:
1249 * frontends/controllers/ControlErrorList.C:
1250 * frontends/controllers/ControlSpellchecker.C:
1253 * insets/insetbase.h:
1254 * insets/insetbibitem.C:
1255 * insets/insetbox.C:
1256 * insets/insetbranch.C:
1257 * insets/insetcaption.C:
1258 * insets/insetcharstyle.C:
1259 * insets/insetcharstyle.h:
1260 * insets/insetcollapsable.C:
1261 * insets/insetcollapsable.h:
1262 * insets/insetert.C:
1263 * insets/insetfloat.C:
1264 * insets/insetfoot.C:
1265 * insets/insetmarginal.C:
1266 * insets/insetnote.C:
1267 * insets/insetoptarg.C:
1268 * insets/insettabular.C:
1269 * insets/insettext.C:
1270 * insets/insettext.h:
1271 * insets/insetwrap.C:
1272 * mathed/math_mboxinset.C:
1273 * mathed/math_nestinset.C:
1274 * mathed/math_scriptinset.C:
1275 * mathed/math_scriptinset.h:
1278 2004-03-24 Angus Leeming <leeming@lyx.org>
1280 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1281 deal with any child processes that have finished but are waiting to
1282 communicate this fact to the rest of LyX.
1284 2004-03-24 Angus Leeming <leeming@lyx.org>
1286 64-bit compile fixes.
1288 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1289 (c-tor): pass lyx::pos_types rather than ints.
1291 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1294 * text.C (Delete): compile fix.
1295 (getPar): ensure that function declaration is the same as that in
1298 2004-03-23 Angus Leeming <leeming@lyx.org>
1300 * ispell.C (LaunchIspell):
1301 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1302 a boost::shred_ptr rather than a std::auto_ptr.
1304 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1306 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1307 handle LFUN_FILE_INSERT_*
1309 * lyxrc.C (setDefaults, getDescription, output, read):
1310 * lyxrc.h: remove ps_command
1312 2004-03-22 Angus Leeming <leeming@lyx.org>
1314 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1315 Ensure that error_handler is processed once only and that all data
1316 is saved before attempting to output any warning messages.
1318 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1320 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1322 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1324 2004-03-19 André Pönitz <poenitz@gmx.net>
1326 * cursor.[Ch] (reset): take main text inset as argument
1328 * BufferView: adjust
1329 * BufferView_pimpl.C: adjust
1331 * paragraph.[Ch]: fix completely broken operator=()
1333 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1335 * LColor.C (getFromLyXName): make sure that the color name is used
1338 2004-03-17 Angus Leeming <leeming@lyx.org>
1341 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1343 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1344 dialog and to kill a forked process.
1346 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1348 * text2.C (setCursorFromCoordinates): fix font problem
1350 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1352 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1353 bogus "rebuild cursor" code
1355 2004-03-11 André Pönitz <poenitz@gmx.net>
1357 * buffer.[Ch]: use InsetText instead of LyXText as container for
1360 * dociterator.[Ch]: drop the BufferView * member which is not needed
1361 anymore after the change to buffer.C
1363 * paragraph_funcs.C:
1367 * BufferView_pimpl.[Ch]:
1369 * cursor_slice.[Ch]: adjust
1371 * text3.C: fix bug in mathDispatch
1373 2004-03-08 André Pönitz <poenitz@gmx.net>
1375 * undo.[Ch]: use 'StableDocumentIterator' as base for
1378 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1381 * bufferparams.[Ch]: add jurabib support and param.
1383 * LaTeX.C: add FIXME/comment.
1385 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1387 * buffer.C: increment file format to 230.
1389 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1391 * cursor.C (dispatch): avoid infinite loops
1393 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1395 * rowpainter.C (paintSelection): fix x coordinates
1397 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1399 * text.C (rowBreakPoint): fix breaking before displayed insets
1401 2004-03-01 André Pönitz <poenitz@gmx.net>
1403 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1405 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1409 * BufferView_pimpl.C:
1417 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1423 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1424 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1426 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1428 * Bidi.[Ch] (computeTables): const correctness
1429 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1430 fill_hfill, fill_label_hfill and x from Row
1431 * lyxtext.h: prepareToPrint returns a RowMetrics
1432 * rowPainter.C: adjust
1433 * text.C (prepareToPrint): use width, not textWidth. adjust
1434 (redoParagraphInternal, cursorX): adjust
1435 * text2.C (getColumnNearX): adjust
1436 (init): put a default value to the top LyXText::width
1438 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1440 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1442 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1444 * lyxtext.h: add FontIterator class
1446 * text.C (FontIterator, operator*, operator->, operator++): add
1447 (rowBreakPoint, setRowWidth): adjust (fixing a
1450 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1452 * BufferView_pimpl.C (workAreaDispatch): allow also
1453 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1455 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1457 * text.C (rowBreakPoint): fix a bug showing with very large insets
1459 2004-02-25 André Pönitz <poenitz@gmx.net>
1462 * cursor.[Ch]: move some mathed specific code to mathed
1464 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1466 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1467 use_tempdir in preferences
1468 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1470 * lyx_main.C: ensure that tempdir is valid
1471 * lyxlex.h: correct typo
1472 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1473 * paragraph.[Ch] (isMultiLingual): make const
1474 * cursor.[Ch] (openable): make const
1476 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1478 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1480 2004-02-20 André Pönitz <poenitz@gmx.net>
1482 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1484 * cursor.[Ch]: prepare for localized getStatus()
1490 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1492 2004-02-20 André Pönitz <poenitz@gmx.net>
1494 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1496 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1498 * text2.C (setCursorFromCoordinates): switch to absolute coords
1500 (cursorDown): adjust
1501 * text3.C (dispatch): adjust
1503 2004-02-16 André Pönitz <poenitz@gmx.net>
1505 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1508 * cursor_slice.[Ch]: remove unneeded acessor function
1510 * lyxtext.h: rename rtl() to isRTL()
1518 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1520 * rowpainter.C (paintSelection): coord fix
1522 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1524 * Spacing.C: compile fix
1526 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1528 * cursor.C (dispatch): restore current_ before returning
1530 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1532 * text2.C (cursorUp, cursorDown): fix coords
1535 2004-02-12 André Pönitz <poenitz@gmx.net>
1540 * text3.C: add LCursor & parameter to most cursor movement functions
1541 remove usage of LyXText::cursorRow() and cursorPar()
1543 * cursor.[Ch]: add textRow() needed members
1546 * BufferView_pimpl.C:
1549 * BufferView_pimpl.C: adjust
1551 2004-02-11 André Pönitz <poenitz@gmx.net>
1555 * BufferView_pimpl.C: shift undo/redo handling
1557 * cursor.[Ch]: fix mathed crash
1560 * lyxtext.h: move selectionAsText to LCursor
1568 * rowpainter.C: fix excessive drawing
1570 2004-02-06 André Pönitz <poenitz@gmx.net>
1573 * BufferView_pimpl.[Ch]:
1574 * text3.C: move some text specific LFUN handling
1576 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1578 * text3.C (checkInsetHit): adjust coords
1579 * text2.C (getColumnNearX): adjust coords
1580 (edit): adjust coords
1581 * text.C (getRowNearY): add two asserts
1583 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1586 * format.C: add using std::distance to compile on gcc 2.95/stlport
1588 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1590 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1592 2004-02-04 André Pönitz <poenitz@gmx.net>
1594 * BufferView.[Ch] (insertInset):
1595 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1600 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1602 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1603 on the default clause of the switch
1604 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1605 wasn't catched by LCursor::dispatch
1607 2004-02-03 André Pönitz <poenitz@gmx.net>
1610 * cursor.[Ch]: some additional asserts
1612 * undo.[Ch]: remove LyXText dependency in interface
1616 * lyxtext.h (firstPar, lastPar): remove dead functions
1621 * paragraph.[Ch]: adjust
1623 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1625 * lyxfind.C (find): fix argument order in call to ::find
1627 2004-02-02 André Pönitz <poenitz@gmx.net>
1629 * cursor.[Ch]: remove direct access to anchor
1631 * text.C: remove findText() hack
1633 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1635 * iterators.[Ch] (lockPath): remove in favour of...
1636 * BufferView.[Ch] (setCursor): this addition
1637 * BufferView.C (putSelectionAt): adjust
1638 * undo.C (performUndoOrRedo): adjust
1639 * lyxfunc.C (dispatch): adjust
1641 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1643 * iterators.C (lockPath): add a missing slice
1644 * undo.C (performUndoOrRedo): remove redundant positioning code
1646 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1648 * vc-backend.C (scanMaster): ";" -> ';'
1650 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1652 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1653 std::binary_function
1655 * lyxtextclass.C (compare_name): rename to...
1656 (LayoutNamesEqual): ...this
1658 * lyxlex_pimpl.C (compare_tags): inherit from
1659 std::binary_function, put back into anon namespace
1661 * lyxfind.C (MatchString): inherig from std::binary_function
1662 (findChange): use empty() istead of !size()
1664 * format.C (FormatNamesEqual): new functor
1671 * converter.C (compare_Converter): rename to...
1672 (ConverterEqual): ...this, and fixup a bit.
1673 (getConverter): use it, and make function const
1674 (getNumber): use it, and make function const
1678 * bufferlist.C: add using boost::bind
1680 * MenuBackend.C (MenuNamesEqual): new functor
1681 (hasMenu): use it, and make function const
1682 (hasSubmenu): use nested bind to get rid of compare_memfun.
1684 2004-01-30 André Pönitz <poenitz@gmx.net>
1686 * BufferView_pimpl.C:
1689 * cursor_slice.[Ch]:
1692 * paragraph_funcs.C:
1693 * paragraph_funcs.h:
1697 * text3.C: move some of the edit(x,y) handling to the insets
1698 some coordinate changes.
1700 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1702 * text.C: add using statements for std::advance and std::distance
1704 * paragraph.C: add using statement for std::distance
1706 * lyxfind.C: add using statement for std::advance
1708 * cursor.C (region): remove std:: from swap
1709 (openable): use nucleus in stead of operator->
1711 * BufferView.C: add using statements for std::distance and std::swap
1713 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1715 * iterators.C: Remove the pimple, move the needed structures to
1716 the header file. Create accessor for the positions stack.
1717 (asPosIterator): remove function
1719 * PosIterator.C (PosIterator): move constructors to top of file
1720 (PosIterator): reimplement the constructor taking a ParIterator in
1722 (setFrom): new function
1723 (operator!=): inline it
1725 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1727 * lyxfind.C (replaceAll): use std::advance
1729 * iterators.h: inherit from std::iterator.
1731 * PosIterator.C (advance, distance): remove
1732 * PosIterator.h: interit from std::iterator.
1734 2004-01-26 André Pönitz <poenitz@gmx.net>
1737 * BufferView_pimpl.[Ch]:
1741 * bufferview_funcs.C:
1751 * output_linuxdoc.C:
1752 * output_plaintext.C:
1754 * paragraph_funcs.[Ch]:
1755 * paragraph_pimpl.[Ch]:
1761 * text3.C: more IU: dumps most of the rest of the mathcursor
1762 implementation into cursor.[Ch]; "globalize" a bit of it.
1764 2004-01-25 Angus Leeming <leeming@lyx.org>
1766 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1768 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1770 * LaTeXFeatures.h: add nice_ and nice() const
1771 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1773 2004-01-20 André Pönitz <poenitz@gmx.net>
1776 * BufferView_pimpl.C:
1778 * bufferview_funcs.C:
1780 * cursor_slice.[Ch]:
1791 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1792 LCursor and mathcursor parts to LCursor and InsetBase.
1794 2004-01-15 André Pönitz <poenitz@gmx.net>
1796 * cursor_slice.[Ch]: add a few covienience functions
1798 * funcrequest.[Ch]: remove BufferView * member
1800 * BufferView_pimpl.C:
1807 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1809 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1811 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1812 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1814 2004-01-13 André Pönitz <poenitz@gmx.net>
1817 * lyxtext.h: hide cursor and selection anchor behind accessor function
1820 * BufferView_pimpl.[Ch]:
1822 * bufferview_funcs.C:
1832 * cursor_slice.[Ch]: some integer type changes for inset unification
1834 * lyxcursor.[hC]: remove, it's CursorSlice now.
1837 * BufferView_pimpl.[Ch]:
1838 * bufferview_funcs.C:
1844 * textcursor.[Ch]: adjust
1846 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1848 * text2.C (undoSpan): add and use
1849 * text.C (breakParagraph): use undoSpan (fix bug 578)
1852 2004-01-08 Angus Leeming <leeming@lyx.org>
1854 * BufferView_pimpl.C (MenuInsertLyXFile):
1855 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1856 * lyxfunc.C (menuNew, open, doImport):
1857 FileFilterList change to the FileDialog open and save functions.
1859 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1861 * ShareContainer.h: make isEqual and isUnique adaptable
1863 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1865 2004-01-07 Angus Leeming <leeming@lyx.org>
1868 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1870 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1872 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1873 functions replacing find, replace and replaceAll.
1875 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1876 LFUN_WORDFIND(FORWARD|BACKWARD).
1878 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1880 * text.C (breakParagraph): remove an outdated #warning
1882 2004-01-07 André Pönitz <poenitz@gmx.net>
1884 * lyxfind.C: somewhat clearer logic
1886 * text.C: prevent crash in cursorX on unitialized row cache
1888 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1890 * lyxcursor.[Ch] (operator>): add
1891 * textcursor.C (selStart, selEnd): use std::min and std::max
1893 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1895 * Chktex.C: include boost/format.hpp
1897 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1899 * InsetList.C: replace functor MathcIt with adaptable functor
1901 (insetIterator): modify accordingly
1903 * BranchList.h: move the BranchNamesEqual functor here from...
1904 * BranchList.C: ... to here
1906 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1908 (add): replace a finding loop with std::find_if.
1910 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1912 * output_docbook.C: moving LatexParam functionality into
1915 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1917 * buffer.C: increment format to 229.
1919 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1922 * lyx_sty.[Ch]: remove minipageindent_def
1928 * text3.C: remove LFUN_INSET_MINIPAGE
1930 2003-12-28 Angus Leeming <leeming@lyx.org>
1932 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1934 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1936 * text2.C (setParagraph): fix off-by-one crash
1938 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1940 * output_docbook.C: header stuff for AGU
1942 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1944 * text2.C (redoCursor): remove
1947 * BufferView_pimpl.C: remove calls to redoCursor and
1948 setCursor(cursor.par(), cursor.pos()) all around
1950 2003-12-15 Angus Leeming <leeming@lyx.org>
1952 * buffer.C: up the format to 228.
1954 2003-12-15 André Pönitz <poenitz@gmx.net>
1956 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1961 * BufferView_pimpl.C:
1970 2003-12-15 Angus Leeming <leeming@lyx.org>
1972 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1973 than getFromGUIName to manipulate the color.
1975 2003-12-14 Angus Leeming <leeming@lyx.org>
1977 * BranchList.[Ch]: minimize the API.
1978 (Branch::getBranch, getColor): now return a 'const &'.
1979 (Branch::setSelected) now returns a bool set to true if the
1980 selection status changes.
1981 (BranchList::clear, size, getColor, setColor, setSelected,
1982 allBranches, allSelected, separator): removed.
1983 (BranchList::find): new functions, returning the Branch with
1985 (BranchList::add, remove): return a bool indicating that
1986 the operation was successful.
1988 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1989 new InsetBranch::isBranchSlected member function.
1991 * LColor.[Ch]: mimimize the API.
1992 (fill): renamed as addColor and made private.
1993 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1994 versions of these functions taking a string arg have been removed.
1996 * bufferparams.C (readToken):
1997 * lyxfunc.C (dispatch):
1998 * lyxrc.C (read): changes due to the altered BranchList and
2001 * factory.C (createInset, readInset): changes due to altered
2004 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2007 * lyxfunc.C: remove insetminipage. "minipage-insert"
2008 now produces a frameless minipage box inset.
2010 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2012 * textcursor.[Ch] (selStart,selEnd): add new methods
2013 remove selection::start, end, use LyXCursor::operator<
2014 * lyxcursor.[Ch] (operator<): add
2015 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2016 * BufferView.[Ch] (unsetXSel): add
2017 * text2.C (clearSelection): use unsetXSel,adjust
2020 * rowpainter.C: adjust
2021 * bufferview_funcs.C (put_selection_at): adjust
2023 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2025 * BufferView_pimpl.C: small coord. correction
2027 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2029 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2030 dragging over the splash screen.
2032 2003-12-11 Angus Leeming <leeming@lyx.org>
2034 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2035 as it is now handled in LyXText::dispatch.
2037 * text3.C (doInsertInset): remove a level of nesting.
2039 2003-12-11 Angus Leeming <leeming@lyx.org>
2041 * factory.C (createInset): changes due to the changed interface to
2042 InsetCommandMailer::string2params.
2044 2003-12-10 Angus Leeming <leeming@lyx.org>
2046 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2047 'dialog-show-new-inset <inset name>'
2049 2003-12-10 Angus Leeming <leeming@lyx.org>
2051 * buffer.C: up the format to 227.
2053 * factory.C: the box inset is now identified simply by 'Box'.
2055 2003-12-10 Angus Leeming <leeming@lyx.org>
2057 * buffer.C: up the format to 226.
2059 * factory.C: the note inset is now identified simply by 'Note'.
2061 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2063 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2064 when a pit is enough. Standarize a couple of loops.
2066 2003-12-05 Angus Leeming <leeming@lyx.org>
2068 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2069 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2070 data to the re-worked "log" dialog.
2072 2003-12-03 André Pönitz <poenitz@gmx.net>
2078 * paragraph_funcs.C:
2080 * text2.C: use Inset::getText instead of Inset::getParagraph
2082 2003-12-03 André Pönitz <poenitz@gmx.net>
2086 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2087 InsetText::read() as LyXText::read()
2089 2003-12-02 Angus Leeming <leeming@lyx.org>
2091 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2092 type. Add a comment in the implementation that the function uses
2093 the stream's bad() function rather than fail() as the std::streams
2096 2003-12-02 André Pönitz <poenitz@gmx.net>
2098 * lyxlex.[Ch]: make interface more similar to std::stream
2100 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2102 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2104 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2106 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2108 * vspace.[Ch]: remove VSpace::NONE
2110 2003-12-01 André Pönitz <poenitz@gmx.net>
2113 * lyxtext.h: move ParagraphList member to LyXText
2114 rename LyXText::ownerParagraphs to LyXText::paragraph
2117 * bufferview_funcs.C:
2127 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2129 * undo.C: fix cursor positioning
2131 2003-12-01 John Levon <levon@movementarian.org>
2133 * BufferView_pimpl.C: fix a crash on exit with
2136 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2138 * BranchList.C: fix setSelected() method.
2140 2003-11-28 André Pönitz <poenitz@gmx.net>
2142 * ParagraphParameters.[Ch]:
2143 * ParameterStruct.h: remove space above/below from Paragraph to
2146 * BufferView_pimpl.C:
2152 * paragraph_funcs.C:
2158 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2160 * factory.C: Syntax change for CharStyles
2162 2003-11-28 André Pönitz <poenitz@gmx.net>
2167 * buffer.[Ch]: move LyXText member
2169 2003-11-28 André Pönitz <poenitz@gmx.net>
2171 * BufferView.[Ch]: make LyXText * text a private member
2173 * BufferView_pimpl.C:
2184 * output_plaintext.C: cleanup
2186 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2189 * lyxtextclass.[Ch]: parametrize SGML document header
2191 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2194 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2197 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2199 * text2.C (setFont): rework using PosIterator (no more recursive)
2200 (setCharFont): no more needed
2201 (setLayout): no more selection cursors fiddling (done by redoCursor)
2202 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2203 destroy remaining ones)
2205 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2207 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2209 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2212 * text3.C: adjust + re-allow multi par depth changes
2213 * textcursor.C: simplify a bit
2215 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2221 * src/output_docbook.C:
2222 * src/output_latex.C:
2227 * src/text2.C: Introducing a number of tags parametrizing various
2228 XML formats that we may want to support
2230 2003-11-25 André Pönitz <poenitz@gmx.net>
2232 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2234 * lyxtext.h (leftMargin/rightMargin): simplify interface
2241 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2243 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2244 master file to any child files. Fixes bug 546.
2246 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2248 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2250 2003-11-24 André Pönitz <poenitz@gmx.net>
2252 * rowpainter.C: simplification
2254 * text2.C (updateCounters): remove call to redoParagraph on
2255 changed labels as this is far too expensive.
2257 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2259 * converter.C (convert): fix a crash: this function gets
2260 called with buffer == 0 from importer code.
2262 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2264 * text3.C (cursorPrevious): make sure that we do not compare
2265 iterators form different containers.
2268 * rowpainter.C (paintSelection): make sure that we do not compare
2269 iterators from different containers.
2271 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2272 iterators from different ParagraphList containers.
2275 * text2.C (LyXText): change order of initialization slightly
2276 (operator=): new function. copy all variables except cache_par_
2277 (moveUp): make sure that we do not compare iterators from
2278 different ParagraphList constainers.
2281 * text.C (firstPar): new function
2282 (lastPar): new function
2283 (endPar): new function
2285 * lyxtext.h: move things around and group public functions, public
2286 variables, private functions, private variables
2288 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2290 * factory.C: change call to InsetERT constructor to avoid
2291 additional invocation of method status
2292 * text2.C (toggleInset): remove redundant update() call
2293 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2294 instead of a Bufferview pointer
2296 2003-11-21 André Pönitz <poenitz@gmx.net>
2298 * rowpainter.C: simplification
2300 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2302 * text3.C (dispatch): make possible to extend a word/row selection
2305 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2307 * lyxtext.h: x0_,y0_ -> xo_,yo_
2308 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2309 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2310 * rowpainter.C (paintRows): paint full paragraphs
2312 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2314 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2317 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2319 * lyxtext.h: add x0_, y0_
2320 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2321 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2323 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2325 * text2.C (setCursorIntern): move the x_target update here *
2326 * text3.C: change some bv() to true/false in calls to
2327 cursorUp/Down/Right/Left
2328 * cursor.C: use helper function.
2330 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2332 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2333 * paragraph_funcs.[Ch]: correct comment
2334 * rowpainter.C: do not paint selections away from bv->cursor()
2335 Fix a long standing selection painting bug.
2336 * text3.C: generalize mouse-selection code to LyXTexts other that
2338 * textcursor.C: do not use y coords if we can use par offsets
2340 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2342 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2343 cursor position after e.g. inset insert)
2345 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2347 * lyxfind.C (replace): adjust to locking removal + some
2350 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2352 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2355 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2358 * output_docbook.C: XML sanitation: new layout
2359 parameters InnerTag and CommandDepth
2361 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2363 * BufferView_pimpl.C:
2365 * text3.C: Fix the insertion and modification of button-style
2368 2003-11-13 André Pönitz <poenitz@gmx.net>
2370 * InsetList.[Ch]: remove deleteLyXText
2372 * paragraph.[Ch]: cache beginOfBody position
2377 * text3.C: remove superfluous update() calls
2381 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2383 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2384 * BufferView.C (fitLockedInsetCursor): remove
2385 * cursor.[Ch] (getDim): add
2386 * text.C (getRowNearY): add faster version
2387 * text3.C: remove some update calls
2389 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2401 * text3.C: The Character Style /XML short element patch.
2403 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2406 * factory.C: Small step to solving 'unable to insert some insets'
2409 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2411 * cursor.[Ch] (updatePos): new function for updating the y
2412 position of the tip inset
2413 * bufferview_funcs.C (put_selection_at):
2414 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2416 2003-11-11 André Pönitz <poenitz@gmx.net>
2418 * text.C: remove big comment on invalid Paragraph pointers as it is
2421 2003-11-11 André Pönitz <poenitz@gmx.net>
2423 * text_funcs.[Ch]: merge with ...
2431 * Makefile.am: remove text_funcs.[Ch]
2433 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2435 * cursor.C (getPos): return absolute cached y coord
2437 * BufferView_pimpl.C (fitCursor): new simplistic code
2438 (workAreaDispatch): add a fitCursor call
2440 2003-11-10 André Pönitz <poenitz@gmx.net>
2443 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2445 2003-11-10 André Pönitz <poenitz@gmx.net>
2447 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2448 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2449 indicate that the cursor needs to leave an inset
2451 * lyxtext.h: remove inset locking
2453 * cursor.[Ch]: re-implement functionality provided by inset locking
2456 * BufferView_pimpl.[Ch]:
2458 * bufferview_funcs.[Ch]:
2470 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2472 * PosIterator.[Ch]: replace the stack with a vector, add inset
2474 * iterators.[C]: adjust
2476 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2478 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2480 * paragraph_funcs.C (readParToken): put the correct id in the
2481 error item, not the id of the top paragraph
2483 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2485 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2486 * bufferview_funcs.C (put_selection_at): use the above
2488 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2490 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2492 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2494 * output_linuxdoc.h:
2495 * output_plaintext.h:
2497 * output_docbook.h: add #include statements
2499 2003-11-05 José Matos <jamatos@lyx.org>
2501 * output_docbook.[Ch]:
2502 * output_latex.[Ch]:
2503 * output_linuxdoc.[Ch]:
2504 * output_plaintext.[Ch]: New files for output formats.
2505 * output.[Ch]: New file for helper functions.
2508 * paragraph_funcs.[Ch]: output functions moved to new files.
2510 * outputparams.h: rename of latexrunparams.h
2518 * paragraph_funcs.[Ch]:
2519 * paragraph_pimpl.[Ch]:
2520 * tabular.[Ch]: rename ascii to plaintext
2521 and LatexRunParams to OutputParams.
2523 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2525 * iterators.[Ch] (text): require bv argument
2526 * undo.C (recordUndo):
2527 * lyxfunc.C (dispatch):
2528 * bufferview_funcs.C (put_selection_at): adjust
2530 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2532 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2534 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2536 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2539 2003-11-04 André Pönitz <poenitz@gmx.net>
2541 * cursor.[Ch]: restructure
2544 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2546 * iterators.[Ch] (asCursor): remove
2548 * lfuns.h: remove LFUN_INSET_EDIT
2554 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2556 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2558 * lyxfind.[Ch]: complete overhaul
2559 * BufferView_pimpl.C:
2561 * paragraph.[Ch] (insert): add
2563 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2567 * text.C: remove dead spellcheck code
2569 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2571 * dispatchresult.h: add a val setter
2573 * cursor.C (dispatch): use a tempvar for data_[i]
2575 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2577 * PosIterator.[Ch]: compile fix
2579 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2581 * text.C (cursorPar): deactivate the cursor cache
2583 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2585 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2587 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2589 * text3.C (dispatch): adjust for new DisptchResult semantics.
2591 * lyxfunc.C (dispatch): handle update when return from
2592 Cursor::dispatch, adjust for new DispatchResult semantics.
2594 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2595 DispatchResult(true) mean to not update. Add class functions for
2596 setting dispatched and update, as well as reading.
2598 * cursor.C (dispatch): don't handle update here
2600 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2602 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2603 * trans_mgr.C: adjust
2605 * paragraph_funcs.C (readParToken): exception safety
2607 * lyxvc.h: store the vcs pointer in a scoped_ptr
2610 * lyxsocket.C (serverCallback): exception safety
2612 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2614 * ispell.C (clone): make it return a auto_ptr
2616 * factory.C (createInset): exception safety
2617 (readInset): exception safety
2619 * bufferlist.C (newBuffer): exception safety
2621 * Thesaurus.C (Thesaurus): use initialization for aik_
2623 * MenuBackend.C (expandToc): exception safety.
2625 2003-11-03 André Pönitz <poenitz@gmx.net>
2629 * bufferview_funcs.C: remove getInsetFromId()
2632 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2638 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2640 * PosIterator.C (distance, advance): new
2641 * bufferview_funcs.[Ch] (put_selection_at): new
2642 * iterators.[Ch] (lockPath): new
2644 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2646 * iterators.[Ch] (asPosIterator): added
2647 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2648 * PosIterator.[Ch]: added
2650 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2654 * cursor.C (dispatch):
2655 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2657 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2658 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2659 contructor, add a class function dispatched. Remove operator>=
2661 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2663 * debug.C: only use the default constructor for debugstream
2666 * main.C (main): include debug.h and setup the lyxerr streambuf
2669 2003-10-31 José Matos <jamatos@lyx.org>
2671 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2673 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2674 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2675 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2676 * paragraph_pimpl.C (simpleTeXSpecialC):
2677 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2678 add LatexRunParams argument.
2680 * exporter.C (Export): change call accordingly.
2682 * latexrunparams.h: add new member to take care of the other backends.
2683 2003-10-30 José Matos <jamatos@lyx.org>
2685 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2686 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2687 factorise code for paragraph output.
2689 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2692 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2694 * text3.C (dispatch):
2695 * lyxfunc.C (dispatch):
2696 * cursor.C (dispatch):
2697 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2699 * dispatchresult.h: make the dispatch_result_t ctor explicit
2701 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2704 * buffer.C: small refactoring of docbook stuff
2706 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2708 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2711 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2713 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2714 operator dispatch_result_t, and operators for == != and >=
2716 * cursor.C (dispatch): adjust for operator dispatch_result_t
2717 removal. comment out call to update
2719 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2721 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2729 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2732 * dispatchresult.h: new file, DispatchResult broken out of
2735 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2737 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2739 * text.C (rowBreakPoint): put a hack inside #if 0
2741 2003-10-28 André Pönitz <poenitz@gmx.net>
2745 * paragraph_funcs.C:
2748 * text2.C: general cleanup (lots of small stuff)
2750 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2752 * text2.C (cursorEnd): simple fix to the "end key goes to one
2753 before the end on last row" bug
2755 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2757 * text.C (backspace): fix the "zombie characters"
2759 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2761 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2763 2003-10-27 André Pönitz <poenitz@gmx.net>
2765 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2767 * factory.C: handle new InsetPagebreak, InsetLine
2769 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2770 and move handling into new InsetPagebreak, InsetLine
2772 * BufferView_pimpl.C:
2774 * ParagraphParameters.C:
2775 * ParameterStruct.h:
2780 * paragraph_funcs.C:
2781 * paragraph_pimpl.C:
2787 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2790 * lyxrow_funcs.[Ch]:
2796 * text3.C: remove lastPos uses in favour of Row::endpos
2798 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2800 * undo.C (performUndoOrRedo): fix two crashes by setting a
2801 cursor by hand and reordering some calls. Use bv->lockInset instead
2802 of inset->edit because the latter loses cursor information
2804 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2806 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2808 (rowBreakPoint): fix width. change point to point + 1.
2809 Add a missing check.
2811 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2814 * lyxfunc.C: fix (at least partly) the problems
2815 with the Nav menu and headers inside branch insets
2818 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2820 * paragraph.C (getChar): add strong asserts
2822 * lyxrow_funcs.C (lastPos): remove hideous hack
2824 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2825 (fill): adjust to that (avoid an infinite loop)
2827 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2829 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2831 2003-10-23 André Pönitz <poenitz@gmx.net>
2833 * RowList_fwd.h: change list<> to vector<> to gain speed
2834 after suggestion from Alfredo
2836 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2838 * lyxtext.h: move the bidi stuff from here...
2841 * Bidi.[Ch]: ... to here
2843 2003-10-23 André Pönitz <poenitz@gmx.net>
2846 * text.C (isLastRow, isFirstRow): new functions
2848 * paragraph.h: new width cache member
2850 * rowpainter.C: replace RowList::iterator with Row & where possible
2852 * lyxfunc.C: replace several view()->text with a single call
2854 * toc.C: fix 'unused' warning
2856 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2858 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2859 when woring with stream::pos_type
2860 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2862 2003-10-22 André Pönitz <poenitz@gmx.net>
2865 * text.C: use Row & instead of RowList::iterator
2867 * lyxrow.h: rename end() to endpos()
2873 2003-10-22 Angus Leeming <leeming@lyx.org>
2875 * buffer.[Ch] (fully_loaded): new member function, returning true
2876 only when the file has been loaded fully.
2877 Used to prevent the premature generation of previews and by the
2878 citation inset to prevent computation of the natbib-style label.
2880 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2881 templates are all set up.
2883 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2885 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2887 * text.C: fixed an "oops" in the "is a bit silly"
2890 2003-10-21 André Pönitz <poenitz@gmx.net>
2892 * FuncStatus.[Ch]: small stuff, whitespace
2894 * lyxfont.[Ch]: operator<<() for debug reasons
2898 * lyxtext.h: whitespace, spelling
2900 * paragraph.C: naming of variables
2903 * text2.C: small stuff
2906 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2908 * text.C: (1) finish off the inset display() work;
2909 (2) fix the "is a bit silly" bug (accessing char
2912 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2914 * text.C: re-introduce display() for insets, fixing the
2915 various bugs (stretch of line above, math inset
2918 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2920 * text.C (rightMargin): remove spurious semicolon
2922 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2925 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2927 * text3.C: fix one crash due to wrong cursor def
2929 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2931 * vc-backend.C (scanMaster): make the regex static
2933 * LaTeX.C (scanAuxFile): make the regexs static
2935 * text3.C (doInsertInset, dispatch, dispatch):
2936 * text2.C (cursorUp, cursorDown):
2937 * text.C (selectNextWordToSpellcheck):
2938 * BufferView_pimpl.C (dispatch):
2939 * lyxfunc.C (dispatch): localDispatch -> dispatch
2941 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2943 * lyxsocket.C: include <cerrno>
2945 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2947 * lyxfunc.C (dispatch): remove textcache stuff
2949 * bufferlist.C (release): remove textcache stuff
2952 * TextCache.C: delete file
2953 * TextCache.h: delete file
2955 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2957 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2958 delete of the bv_->text.
2959 (resizeCurrentBuffer): remove texcache stuff
2960 (workAreaResize): ditto
2962 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2964 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2967 2003-10-16 André Pönitz <poenitz@gmx.net>
2974 * text3.C: speed up by storing y positions per paragraph plus per-row
2975 offset instead of having a 'full' y position in the row.
2977 2003-10-15 André Pönitz <poenitz@gmx.net>
2981 * undo.[Ch]: make undo aware of inner insets
2983 2003-10-14 Angus Leeming <leeming@lyx.org>
2985 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2986 static member functions LyX::ref() and LyX::cref.
2987 (lastfiles): new accessor functions for the new lastfiles_ member var.
2988 (addLyXView, views_): add a new LyXView to the list of views_.
2989 (updateInset): loop over all LyXViews to call their own updateInset
2990 member function, returning a pointer to the Buffer owning the inset.
2992 * BufferView_pimpl.C (loadLyXFile):
2993 * MenuBackend.C (expandLastfiles):
2994 * bufferlist.C (MenuWrite, QuitLyX):
2995 lastfiles is no longer a global variable.
2996 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2998 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2999 static function. Access through LyX::cref().emergencyCleanup().
3001 2003-10-14 André Pönitz <poenitz@gmx.net>
3003 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3005 * undo.[Ch]: restoring part of 'undo in insets'
3008 * undo_funcs.[Ch]: merge with undo.[Ch]
3010 * tabular.C: small cleansing stuff
3012 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3014 * paragraph_funcs.C (readParToken): report unknown insets as error
3015 boxes. Use the outer paragraph as location (also for unknown
3018 * factory.C (readInset): do not abort on reading an unknown inset.
3019 Eat it and return 0.
3021 2003-10-13 Angus Leeming <leeming@lyx.org>
3023 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3025 * lyxrc.C: displayTranslator is now a function,
3026 declared in GraphicsTypes.h.
3028 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3030 * format.C: new placeholder $$a to pass the socket address.
3032 * bufferlist.[Ch]: new function getBufferFromTmp.
3034 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3035 files in the temporary dir.
3037 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3039 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3041 * Makefile.am: add lyxsocket.[Ch].
3043 * lyx_main.C (error_handler): handle SIGPIPE.
3045 2003-10-13 André Pönitz <poenitz@gmx.net>
3047 * BufferView_pimpl.C:
3052 * undo_funcs.[Ch]: use paroffset_type instead of
3053 ParagraphList::iterators to prevent multiple conversion
3054 (and get a more robust interface)
3056 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3058 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3060 * text3.C (dispatch): ditto
3062 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3064 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3065 move the onlyfile, use onlyfile instead of foundfile in a couple
3068 * DepTable.C (update): flush the error stream a bit more
3070 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3072 * lyxserver.C (callback): adjust
3074 * lyxfunc.C (getStatus): add a missing brace in commented code
3075 (ensureBufferClean): reindent
3076 (dispatch): delete version taking a string
3078 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3080 * LaTeX.C (deplog): move found file handlig from here...
3081 (handleFoundFile): .. to new function here.
3082 (deplog): make sure to discover several files mentioned on the
3085 2003-10-10 André Pönitz <poenitz@gmx.net>
3092 * text3.C: fix some of the tabular crashes
3094 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3096 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3098 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3100 2003-10-09 André Pönitz <poenitz@gmx.net>
3102 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3105 * BufferView_pimpl.C:
3106 * bufferview_funcs.C:
3117 * undo_funcs.C: adjust
3119 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3121 * text2.C (incrementItemDepth): new function, use a backtracking
3122 algorithm to discover the correct item depth.
3123 (resetEnumCounterIfNeeded): new function, use a backtracking
3124 algorithm to discover if counter reset is needed.
3125 (setCounter): use them. Simplify a bit. Add different labels for
3126 different item depths for itemize.
3128 * paragraph.C (Paragraph): remove initialization of enumdepth
3131 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3132 enumerate and itemize. Change the type of itemdepth to signed char.
3134 2003-10-08 André Pönitz <poenitz@gmx.net>
3136 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3141 * tabular.[Ch]: fix crash after 'row-insert'
3143 2003-10-08 Angus Leeming <leeming@lyx.org>
3145 Fix doxygen warnings.
3147 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3148 Remove CutAndPaste:: prefix from header file declaration.
3150 * LColor.h (fill): remove LColor:: prefix from declaration.
3152 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3153 use lyx::depth_type rather than Paragraph::depth_type so that
3154 header file and .C file match.
3156 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3158 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3159 * aspell.C: \file aspell_local.C -> \file aspell.C
3160 * gettext.C: \file gettext.C -> \file src/gettext.C
3161 * gettext.h: \file gettext.h -> \file src/gettext.h
3162 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3163 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3164 * text.C: \file text.C -> \file src/text.C
3166 * toc.C: move comment so that doxygen is not confused.
3168 2003-10-07 Angus Leeming <leeming@lyx.org>
3170 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3172 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3175 * aspell_local.h: add forgotten std::string's.
3177 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3184 * text3.C: The Box patch. Fancybox support, minipage, parbox
3186 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3192 * ParagraphParameters.h:
3202 * lyxtextclasslist.h:
3205 * paragraph_pimpl.C:
3206 * textcursor.h: add <string> and other small fixes to make Lars'
3207 std::string patch compile with STLport.
3209 2003-10-06 Angus Leeming <leeming@lyx.org>
3211 * LColor.h: Add missing #include <string>.
3213 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3215 * All most all file in all subdirs: Make <string> be the prefered
3216 way of getting to std::string, add using declarations.
3218 2003-10-06 André Pönitz <poenitz@gmx.net>
3220 * metricsinfo.C: initialize LyXFont before changing attribute.
3221 (fixes the 'math in \emph is upright' bug)
3223 2003-10-06 André Pönitz <poenitz@gmx.net>
3225 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3227 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3230 * paragraph_pimpl.C: Small fixes to build using STLport
3232 2003-10-02 André Pönitz <poenitz@gmx.net>
3235 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3237 2003-10-01 André Pönitz <poenitz@gmx.net>
3239 * factory.C: assert early
3241 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3243 * lyx_main.C: remove the global debug object
3245 * debug.h: adjust for new debugstream
3247 * debug.C: adjust for new debugstream and keep the global debug
3250 2003-09-22 Angus Leeming <leeming@lyx.org>
3252 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3253 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3254 an incomplete class LyXFont.
3256 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3258 * factory.C: bug fix in branches
3260 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3262 * lyxfunc.C (processKeySym): adjust
3264 (dispatch): change arg name from ev to func, adjust
3265 (sendDispatchMessage): ditto
3267 * lyx_main.C (defaultKeyBindings): adjust keybindings
3268 (deadKeyBindings): ditto
3270 * kbsequence.C (addkey): return a FuncRequest
3272 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3274 * kbmap.C (bind): take a FuncRequest as arg, adjust
3277 (defkey): change to take a FuncRequest as arg, adjust
3278 (findbinding): take a FuncRequest as arg, adjust.
3280 * funcrequest.h (operator=): added
3282 * funcrequest.C (FuncRequest): default kb_action changed from
3283 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3285 * buffer.C (dispatch): simplify
3286 (dispatch): adjust to take a FuncRequest as arg, adjust
3288 * boost.C (assertion_failed): change assertion message slightly
3290 * ToolbarBackend.C (read): simplify
3292 * MenuBackend.C (binding): adjust call to findbinding, add a
3293 message if no binding is found.
3295 (expandToc): correct by adding a empty FuncRequest
3297 * LyXAction.C: include <boost/assert.hpp>
3298 (isPseudoAction): delete function
3299 (LookupFunc): change name to...
3300 (lookupFunc): this. change return type to FuncRequest.
3301 (getActionName): take kb_action as arg, simplify
3302 (funcHasFlag): add an assert, simplify.
3304 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3306 * toc.C (action): return a FuncRequest, simplify
3308 * lyxfunc.C (processKeySym): adjust
3309 (getStatus): delete version that takes an int.
3311 (dispatch): delete version that takes action as int
3313 (sendDispatchMessage): simplify and adjust
3315 * funcrequest.C (getArg): take unsigned int as arg
3317 * ToolbarBackend.C (read): adjust
3318 (add): delete version that takes func as a string.
3319 (getIton): take a FuncRequest as arg
3321 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3324 * MenuBackend.C (MenuItem): add a new construct that only takes a
3325 Kind, simplify the constructor use for submenus.
3327 (expandLastfiles): adjust
3328 (expandDocuments): adjust
3329 (expandFormats): adjust
3330 (expandFloatListInsert): adjust
3331 (expandFloatInsert): adjust
3332 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3334 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3335 Remove class variables lyx_pseudo_map and lyx_arg_map
3337 * LyXAction.C (searchActionArg): delete function
3338 (getPseudoAction): delete function
3339 (retrieveActionArg): delete function
3340 (LookupFunc): make it return kb_action, simplify.
3341 (getActionName): simplify
3343 * factory.C (createInset): fix new bug
3345 2003-09-19 Angus Leeming <leeming@lyx.org>
3347 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3348 masterFilename_ parameter in the include inset.
3350 * factory.C (createInset): changes due to the changes to InsetInclude.
3352 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3354 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3356 2003-09-18 Angus Leeming <leeming@lyx.org>
3359 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3360 Inset::fillWithBibKeys.
3361 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3363 2003-09-18 Angus Leeming <leeming@lyx.org>
3365 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3367 (ctor): pass and store a 'Buffer const &'
3368 (buffer): new member function.
3370 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3371 '*this' to the LaTeXFeatures ctor.
3373 2003-09-18 Angus Leeming <leeming@lyx.org>
3379 * text.C: rename EnumLColor as LColor_color.
3381 2003-09-18 Angus Leeming <leeming@lyx.org>
3383 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3384 remove #include "insets/insetbase.h" from cursor.h.
3386 2003-09-18 Angus Leeming <leeming@lyx.org>
3388 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3389 InsetOld_code to remove #include "inset.h".
3391 * iterators.C: add #include "insets/inset.h"
3393 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3395 * BufferView.C: remove more locking stuff that apparently doesn't
3396 do anything sensible.
3398 2003-09-16 André Pönitz <poenitz@gmx.net>
3401 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3404 2003-09-16 Angus Leeming <leeming@lyx.org>
3406 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3408 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3411 * paragraph.h: remove #include "lyxfont.h". Forward declare
3414 2003-09-16 Angus Leeming <leeming@lyx.org>
3416 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3417 of support/textutils.h.
3418 (isWord): move the contents of support/textutils.h's IsWordChar here.
3424 * text2.C: add #include "paragraph.h".
3427 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3429 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * LaTeX.C: use namespace alias for lyx::support::os
3437 2003-09-16 Angus Leeming <leeming@lyx.org>
3440 * bufferview_funcs.C:
3443 * paragraph_pimpl.C:
3445 * text.C: add #include "LColor.h".
3447 2003-09-16 Angus Leeming <leeming@lyx.org>
3449 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3450 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3452 Store the FontBits::color variable as an int rather than as an
3453 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3456 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3457 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3458 string calls together.
3460 * lyxrc.C: add #include "LColor.h".
3462 2003-09-15 Angus Leeming <leeming@lyx.org>
3464 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3467 2003-09-15 Angus Leeming <leeming@lyx.org>
3469 * LColor.h: add an EnumLColor wrapper for LColor::color.
3471 * lyxfont.[Ch] (color, setColor, realColor):
3472 * lyxtext.h, text.C (backgroundColor):
3473 pass EnumLColor args to/from the functions, rather than LColor::color
3477 * lyxtext.h: forward declare EnumLColor.
3479 * lyx_main.C: add #include "LColor.h".
3481 2003-09-15 Angus Leeming <leeming@lyx.org>
3483 * .cvsignore: add lyx-gtk.
3485 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3490 * ParagraphParameters.C
3494 * bufferview_funcs.C
3504 * vc-backend.C: remove usage of STRCONV
3506 2003-09-15 Angus Leeming <leeming@lyx.org>
3508 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3509 explicitly define the color passed to the painter.
3511 2003-09-15 Angus Leeming <leeming@lyx.org>
3513 * bufferparams.C (BufferParams): reorder member initializers to avoid
3516 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3518 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3519 * text.C (updateRowPositions): remove an unusual nop
3521 2003-09-12 André Pönitz <poenitz@gmx.net>
3523 * BufferView_pimpl.C:
3532 * Counters.[Ch]: finish the 'automatic counters' job
3534 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3536 * aspell.C: include <boost/assert.cpp> (compile fix)
3538 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3540 * boost.C (assertion_failed): use lyx::support::abort instead of
3543 2003-09-10 Angus Leeming <leeming@lyx.org>
3545 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3546 with their _fwd progeny.
3548 2003-09-09 Angus Leeming <leeming@lyx.org>
3550 134 files throughtout the source tree: replace 'using namespace abc;'
3551 directives with the appropriate 'using abc::xyz;' declarations.
3553 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3555 * boost.C (emergencyCleanup): moved here from LAssert.c
3556 (assertion_failed): new function, called by BOOST_ASSERT
3558 * several files: change Assert to BOOST_ASSERT
3560 2003-09-09 Angus Leeming <leeming@lyx.org>
3562 * buffer.[Ch]: Add an Impl class and move Buffer's member
3563 variables into it. As a result move several header files out of
3566 Add header files to lots of .C files all over the tree as a result.
3568 2003-09-09 Angus Leeming <leeming@lyx.org>
3570 * buffer.[Ch]: make Buffer's member variables private. Add
3573 Lots of changes all over the tree as a result.
3575 2003-09-08 Angus Leeming <leeming@lyx.org>
3577 * graph.C: #include <config.h>.
3579 2003-09-08 Angus Leeming <leeming@lyx.org>
3583 * BufferView_pimpl.C:
3612 * toc.C: remove redundant using directives.
3614 2003-09-07 Angus Leeming <leeming@lyx.org>
3616 * LaTeXFeatures.h: remove #include "support/types.h".
3617 * ToolbarBackend.h: remove #include <algorithm>.
3618 * changes.h: remove #include <ctime>.
3619 * debug.h: remove #include <iosfwd>.
3620 * graph.h: remove #include "support/std_string.h".
3621 * lyx_main.h: remove #include <csignal>.
3622 * lyxlex_pimpl.h: remove #include <fstream>.
3623 * sgml.h: remove #include <algorithm>, <utility>.
3624 * toc.h: remove #include "support/std_ostream.h".
3625 Add #include <iosfwd>.
3627 2003-09-07 Angus Leeming <leeming@lyx.org>
3629 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3631 * converter.h: forward declare LatexRunParams.
3632 * encoding.h: remove #include "lyxrc.h".
3633 * lyxtext.h: remove #include "LColor.h".
3634 * lyxtextclass.h: remove #include "support/types.h".
3635 * trans.h: remove #include "tex-accent.h".
3636 * trans_mgr.h: remove #include "tex-accent.h".
3637 * insets/inset.h: remove #include "support/types.h", <vector>.
3638 * insets/insetcollapsable.h: remove #include "LColor.h".
3639 * insets/insetinclude.h: remove #include "dimension.h".
3640 * insets/insetlatexaccent.h: remove #include "dimension.h".
3641 * insets/insetoptarg.h:: remove #include "insettext.h".
3642 * insets/insettext.h: remove #include "dimension.h",
3643 <boost/shared_ptr.hpp>
3645 * insets/renderers.h: add #include "dimension.h".
3646 * insets/updatableinset.h: add #include "support/types.h".
3648 * many .C files: Associated changes.
3650 2003-09-06 Angus Leeming <leeming@lyx.org>
3652 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3653 one, inside testInvariant.
3655 * PrinterParams.C: new file.
3656 * PrinterParams.[Ch]: move the function bodies out of line.
3658 2003-09-06 Angus Leeming <leeming@lyx.org>
3660 * ParagraphParameters.h: forward declare ParameterStruct rather than
3661 including its header file.
3662 (depth): moved out-of-line.
3664 2003-09-06 Angus Leeming <leeming@lyx.org>
3666 * BufferView_pimpl.h:
3669 * lyxfunc.h: forward declare LyXKeySym rather than
3670 #include "frontends/LyXKeySym.h".
3672 * BufferView_pimpl.C:
3675 * lyxfunc.C: associated changes.
3677 2003-09-06 Angus Leeming <leeming@lyx.org>
3679 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3680 As a result, can remove the #include "insets/inset.h" from BufferView.h
3682 2003-09-06 Angus Leeming <leeming@lyx.org>
3684 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3685 As a result, can remove the #include "insets/inset.h" from BufferView.h
3687 2003-09-06 Angus Leeming <leeming@lyx.org>
3693 * bufferview_funcs.C:
3694 * BufferView_pimpl.C:
3699 * ParagraphParameters.C:
3704 * frontends/controllers/ControlDocument.C:
3705 * insets/insetcaption.C: rearrange the #includes into some sort of
3708 * buffer.h: remove #includes ErrorList.h, undo.h
3710 2003-09-06 Angus Leeming <leeming@lyx.org>
3712 * support/types.h: add a 'depth_type' typedef, used to store the
3713 nesting depth of a paragraph.
3716 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3717 defining explicitly.
3720 * paragraph_funcs.h:
3721 * ParagraphParameters.h:
3722 * sgml.h: use lyx::depth_type rather than Paragraph or
3723 ParameterStruct's depth_type.
3726 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3729 * BufferView_pimpl.C:
3731 * ParagraphParameters.C:
3734 * bufferview_funcs.C:
3741 * frontends/LyXView.C:
3742 * frontends/controllers/ControlDocument.C:
3743 * frontends/controllers/ControlErrorList.C:
3744 * insets/insetbibitem.C:
3745 * insets/insetbranch.C:
3746 * insets/insetcaption.C:
3747 * insets/insetcollapsable.C:
3748 * insets/insetenv.C:
3749 * insets/insetert.C:
3750 * insets/insetfloat.C:
3751 * insets/insetfoot.C:
3752 * insets/insetfootlike.C:
3753 * insets/insetnewline.C:
3754 * insets/insetquotes.C:
3755 * insets/insettabular.C:
3756 * insets/insettext.C:
3757 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3759 * frontends/controllers/ControlChanges.C: #include "changes.h".
3761 2003-09-06 Angus Leeming <leeming@lyx.org>
3763 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3764 than #including paragraph.h.
3767 * RowList.h: deleted. Superfluous.
3777 * insets/insettext.h: use ParagraphList_fwd.h rather than
3780 * paragraph.h: don't forward declare ParagraphList.
3783 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3784 rather than ParagraphList.h. paragraph.h is still needed for the
3785 Paragraph::depth_type parameters.
3787 * textcursor.h: enable it to compile stand-alone in light of the
3790 * bufferview_funcs.C:
3802 * frontends/controllers/ControlParagraph.C:
3803 * frontends/controllers/ControlTabular.C:
3804 * insets/insetmarginal.C:
3805 * insets/insetminipage.C:
3806 * insets/insetnote.C:
3807 * insets/insetoptarg.C: add header files needed to compile again.
3809 2003-09-06 Angus Leeming <leeming@lyx.org>
3811 * RowList_fwd.h: new file, forward-declaring Row rather than
3812 #including lyxrow.h.
3817 * insets/insettext.h: use it instead of RowList.h
3819 * bufferview_funcs.C:
3826 * text3.C: #include "RowList.h".
3828 2003-09-05 Angus Leeming <leeming@lyx.org>
3830 * factory.C (createInset):
3831 * vspace.C (c-tor): replace sscanf call with an istringstream.
3832 * ispell.C: re-add missing HP/UX headers.
3833 * lyxserver.C: re-add missing os2 headers.
3835 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3844 * text3.C: re-add missing system headers, needed for 2.95.2.
3846 2003-09-05 Angus Leeming <leeming@lyx.org>
3848 Changes most place everywhere due to the removal of using directives
3849 from support/std_sstream.h.
3851 2003-09-05 Angus Leeming <leeming@lyx.org>
3853 Replace LString.h with support/std_string.h,
3854 Lsstream.h with support/std_sstream.h,
3855 support/LIstream.h with support/std_istream.h,
3856 support/LOstream.h with support/std_ostream.h.
3858 Changes resulting throughout the tree.
3860 2003-09-05 Angus Leeming <leeming@lyx.org>
3862 * sgml.h: ensure that the header file can be compiled stand-alone.
3863 * *.C: strip out redundant #includes. (320 in total.)
3865 2003-09-04 Angus Leeming <leeming@lyx.org>
3867 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3868 here (from getPackages).
3870 * debug.[Ch]: add a new EXTERNAL tag.
3872 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3874 * text2.C (cursorEnd): simplify
3876 (getColumnNearX): adjust
3878 * text.C (computeBidiTables): adjust
3881 * rowpainter.C (paintChars): adjust
3882 (paintSelection): adjust
3883 (paintChangeBar): adjust
3886 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3888 (numberOfSeparators): adjust
3890 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3896 * text3.C: Restricts the mouse click functionality
3897 of insets like bibtex, include, toc and floatlist to the visible
3898 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3899 up the dialogs. Cursor has to be in front of the inset (i.e.
3900 start of row) for this to function.
3902 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3904 * bufferview_funcs.C (currentState): output row information
3906 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3908 * bufferview_funcs.C (currentState): output paragraph position
3910 2003-09-04 Angus Leeming <leeming@lyx.org>
3912 * FloatList.h: move out #include "Floating.h".
3913 * LaTeX.h: move out #include "DepTable.h".
3914 * LyXAction.h: move out #include "funcrequest.h".
3915 * buffer.h: move out #include "author.h", "iterators.h".
3916 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3917 * lyx_main.h: move out #include "errorlist.h".
3918 * lyxfunc.h: move out #include "FuncStatus.h".
3919 * lyxtext: move out #include "lyxcursor.h".
3920 * paragraph_pimpl.h: move out #include "counters.h".
3922 2003-09-03 Angus Leeming <leeming@lyx.org>
3924 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3925 preamble_snippets list, enabling us to add snippets to the preamble
3926 only if the snippet was not there already.
3928 2003-09-04 Angus Leeming <leeming@lyx.org>
3930 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3932 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3937 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3939 * BranchList.C: point fix, earlier forgotten
3941 2003-09-02 Angus Leeming <leeming@lyx.org>
3943 * box.C (contains): renamed from 'contained' after a fantastic
3946 2003-09-02 John Levon <levon@movementarian.org>
3952 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3954 2003-09-02 John Levon <levon@movementarian.org>
3956 * text2.C: simplification of cursorEnd(), including partial
3959 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3961 * buffer.C (readFile): add a space
3963 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3965 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3967 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3969 * buffer.C (readFile): new function, take a filename and a
3970 ParagraphList::iterator
3972 (readFile): adjust, make it private. don't use setStream, make
3973 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3974 always contain the filename.
3976 * BufferView.C (insertLyXFile): simplify and make it work for
3979 2003-08-30 John Levon <levon@movementarian.org>
3981 * Makefile.am: fix dist (from Kayvan)
3983 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3985 * most files: change to use const Buffer refs
3987 2003-08-27 André Pönitz <poenitz@gmx.net>
3989 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3990 on top of ownerPar().
3992 2003-08-27 John Levon <levon@movementarian.org>
3994 * funcrequest.C: properly initialise POD members
3996 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3998 * lyxtext.h (top_y): move top_y from here
4003 * BufferView_pimpl.[Ch]: to here
4004 * frontends/screen.C:
4005 * insets/insettabular.C:
4006 * insets/insettext.C: adjust
4007 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4009 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4012 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4014 2003-08-26 André Pönitz <poenitz@gmx.net>
4016 * paragraph_func.[Ch] (outerPar): new function
4019 * paragraph_funcs.C:
4020 * paragraph_funcs.h:
4021 * paragraph_pimpl.C:
4022 * text2.C: remove Inset::par_owner
4024 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4029 * text2.C: eliminates the needFullRow/display() stuff
4030 altogether, putting the logic in metrics/draw in the insets.
4032 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4034 * text2.C (redoParagraphInternal, redoParagraphs):
4035 * text.C (redoParagraph): add a call to updateRowPositions at the
4036 end of each 'metrics-like' call. Remove all others.
4037 (getRow): remove the 'y-computing' version.
4038 (getRowNearY): do not compute nor return the real y. Solve the
4039 'y < 0' problem and simplify.
4041 2003-08-22 Angus Leeming <leeming@lyx.org>
4043 * *.[Ch]: clean-up of licence and author blurbs.
4044 Also move config.h out of a few .h files and into a few .C files.
4046 2003-08-22 André Pönitz <poenitz@gmx.net>
4048 * lyxrow.[Ch]: add x_ and *fill_ members
4053 * text2.C: adjust/remove prepareToPrint() calls
4055 2003-08-22 André Pönitz <poenitz@gmx.net>
4057 * lyxrow.[Ch]: add end_ member
4059 * lyxrow_funcs.C: use LyXRow::end_
4061 * lyxtext.h (singleWidth): add LyXFont parameter
4064 * text2.C: adjust LyXText::singleWidth() calls
4066 * text.C (redoParagraph): simplify row breaking logic
4069 2003-08-19 André Pönitz <poenitz@gmx.net>
4071 * funcrequest.C: initialize button_ member
4074 * rowpainter.[Ch]: interface consolidation
4076 2003-08-18 André Pönitz <poenitz@gmx.net>
4079 * BufferView_pimpl.C:
4081 * paragraph_funcs.C:
4083 * text3.C: remove LyXScreen::draw() and fitCursor calls
4085 * BranchList.h: remove spurious semicolons
4087 * MenuBackend.C: fix branchlist related crash
4089 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4097 * bufferparams.[Ch]:
4101 * text3.C: implements the 'branch inset'
4102 idea. This allows the output of various versions of a document
4103 from a single source version, selectively outputing or suppressing
4104 output of parts of the text.
4105 This implementation contains a 'branch list editor' in a separate
4106 tab of the document settings dialog. Branches are user definable
4107 and have a "display colour" to distinguish them on-screen.
4109 ColorHandler was somewhat cleaned up.
4110 (1) make possible a dynamically growing LColor list by allowing
4111 the graphic context cache to grow along (vector);
4112 (2) eliminate an IMHO unnecessary step in colour allocation.
4114 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4116 * BufferView_pimpl.C: compile fix
4118 2003-08-15 André Pönitz <poenitz@gmx.net>
4120 * rowpainter.C: remove extra metrics calls
4122 * lyxtext.h: merge the two constructors into a single one,
4123 pass reference to owner's par list
4125 * BufferView_pimpl.C:
4129 2003-08-15 André Pönitz <poenitz@gmx.net>
4131 * lyxrow_funcs.[Ch]:
4134 * paragraph_funcs.C:
4139 * text_funcs.C: split LyXText::rowlist_ into individual
4140 Paragraph::rows_ chunks
4143 * BufferView_pimpl.[Ch]:
4146 * text3.C: remove toggleSelection()
4148 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4150 * bufferlist.C: beautify two alerts (shorter text of buttons)
4151 * buffer.C: Remove redundant ' ' from message
4153 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4154 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4155 rename VALIGN_CENTER to VALIGN_MIDDLE
4157 2003-08-11 André Pönitz <poenitz@gmx.net>
4159 * lyxtext.h (getPar):
4160 * text.C: new function
4162 2003-08-11 André Pönitz <poenitz@gmx.net>
4165 * tracer.[Ch]: remove unneeded files
4167 * InsetList.[Ch]: remove resizeInsetsLyXText()
4172 * text3.C: merge insertParagraphs() and appendParagraph()
4173 remove breakAgain(), update()
4175 * BufferView_pimpl.[Ch]:
4176 * bufferview_funcs.[Ch]:
4180 * tabular.C: adjust after text & InsetList changes.
4182 2003-08-08 André Pönitz <poenitz@gmx.net>
4184 * text.C (insertChar, backspace): replace rowlist fiddling
4185 with rebreak of full par
4188 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4189 checkParagraph, updateInset): removed
4191 2003-08-07 André Pönitz <poenitz@gmx.net>
4194 * text3.C: merge some LFUN handlers, remove dead code
4196 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4198 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4200 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4202 * text2.C (DEPM): fix part of bug 1255 and 1256
4204 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4206 * BufferView_pimpl.C (workAreaDispatch): change to use
4207 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4208 that are no mouse related.
4210 2003-08-05 André Pönitz <poenitz@gmx.net>
4213 * BufferView_pimpl.[Ch]:
4214 * bufferview_funcs.C:
4216 * text3.C: rip out "deep update"
4218 * textcursor.[Ch] (last_sel_cursor): remove unused member
4220 2003-08-04 André Pönitz <poenitz@gmx.net>
4223 * BufferView_pimpl.[Ch]:
4224 * ParagraphParameters.C:
4225 * bufferview_funcs.C:
4231 * text3.C: replace "complicated" BufferView::update(...) calls with
4234 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4236 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4238 * Makefile.am (lyx_SOURCES): add paper.h
4240 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4242 * Makefile.am: move things around so that both lyx-qt and
4243 lyx-xforms can be built (according to --with-frontend). Then lyx
4244 is a symbolic link to lyx-[firstfrontend]
4246 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4248 * Always use std::endl with lyxerr
4250 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4252 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4254 2003-08-01 André Pönitz <poenitz@gmx.net>
4257 * BufferView_pimpl.[Ch]:
4259 * text3.C: merge BufferView::repaint() and BufferView::update()
4261 2003-08-01 José Matos <jamatos@lyx.org>
4263 * buffer.[Ch]: file_format is no longer a buffer data element.
4265 2003-08-01 André Pönitz <poenitz@gmx.net>
4270 * text2.C: make redoParagraph more independent of current cursor
4272 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4274 * text2.C: remove unneeded members
4276 2003-07-30 André Pönitz <poenitz@gmx.net>
4278 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4280 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4281 create a single function...
4283 * paragraph_funcs.C (moveItem): ... here.
4286 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4288 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4290 * LColor.[Ch]: Add comment and greyedout logical colors.
4292 2003-07-30 André Pönitz <poenitz@gmx.net>
4294 * tabular.C: don't use Assert too heavily. This crashes where it
4297 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4299 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4300 is disabled (bug 1232)
4302 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4304 * factory.C: limited 'arg' scope
4306 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4308 * factory.C: fixed Note submenu issues
4310 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4312 * factory.C: submenu for Note/Comment/Greyedout
4314 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4317 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4319 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4322 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4323 greyedout. Patch provided by Jürgen Spitzmüller.
4325 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4327 * kbmap.C (read): fix error message when reading bind files
4329 2003-07-29 Angus Leeming <leeming@lyx.org>
4331 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4332 certainly does not do what it purports to do. I am doing it, and
4333 us, a favour by killing it.
4335 2003-07-28 José Matos <jamatos@lyx.org>
4337 * buffer.C (readBody, do_writeFile):
4338 * paragraph.C(readParagraph): \end_document replaces \the_end.
4340 2003-07-29 André Pönitz <poenitz@gmx.net>
4343 * BufferView_pimpl.[Ch]:
4347 * textcursor.[Ch]: remove toggleToggle & Co
4349 2003-07-28 José Matos <jamatos@fep.up.pt>
4351 * buffer.C (readParagraph):
4352 * params_func (readParToken, readParagraph):
4353 * paragraph.C (write): \layout -> \begin_layout.
4355 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * lyxlex_pimpl.C (setFile): clean up slightly.
4359 * bufferparams.h: add compressed var
4361 * buffer_funcs.C (readFile): adjust for LyXLex change
4362 (newFile): ditto + simplify
4364 * buffer.C (writeFile): handle writing of compressed files
4366 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4367 Check if the file is compressed and set a bufferparm if so.
4369 * Makefile.am (lyx_LDADD): remove explicit -lz
4371 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4373 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4374 makeDocBookFile): put the real LyX version in the first line of
4378 * version.C.in: remove lyx_docversion
4380 * tabular.C (write_attribute): add a template-based version to
4381 write enums properly
4383 2003-07-28 André Pönitz <poenitz@gmx.net>
4388 * text3.C: use doubles again for x-coordinates. They are needed.
4390 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4392 * messages.C (getLocaleDir): use lyx_localedir()
4394 * lyxlex_pimpl.C (setFile): compress stuff
4396 * buffer.C (writeFile): add some compression stuff
4397 (do_writeFile): new func, dont call expliti close... will this
4400 * Makefile.am (lyx_LDADD): add -lz
4402 2003-07-28 José Matos <jamatos@fep.up.pt>
4404 * buffer.C: increment file format.
4405 * paragraph_funcs (readParagraph, readParToken):
4406 * paragraph.C (readParagraph): add \end_layout.
4408 2003-07-27 Angus Leeming <leeming@lyx.org>
4410 * Makefile.am: remove special casing for configure-time setting of
4411 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4413 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4414 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4416 2003-07-26 André Pönitz <poenitz@gmx.net>
4418 * paragraph_func.[Ch]:
4419 * paragraph.C (realizeFont): inline it whereever it is used
4424 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4427 2003-07-26 André Pönitz <poenitz@gmx.net>
4431 * text2.C: get rid of LyXText::need_break_row
4433 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4435 * toc.[Ch]: put namespace toc inside namespace lyx
4437 * MenuBackend.C (expandToc2): adjust for lyx::toc
4440 * lyxfunc.C (dispatch): adjust for lyx::find
4442 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4443 lyx::find instead. Reorganize a bit.
4444 (LyXReplace): rename to replace
4445 (LyXFind): rename to find
4447 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4450 2003-07-26 André Pönitz <poenitz@gmx.net>
4452 * text.C (setHeightOfRow): restrict scope of temporary variable
4454 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4455 code (never has been used?)
4457 2003-07-27 Asger Alstrup <alstrup@local>
4459 * text.C (fill): Optimise algorithm to exploit that we can reuse
4460 the LyXFont for many characters.
4461 (setHeightOfRow): Same thing.
4462 (rowBreakPoint): Same thing.
4464 2003-07-26 Asger Alstrup <alstrup@local>
4466 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4468 * text.C (singleWidth): Spurious font copying in hot-spot
4469 singleWidth avoided. Reorder tests for arabic for efficiency.
4471 * text.C (fill): handle empty paragraphs better.
4473 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4476 * encoding.h: add includes
4478 * lyxrc.C: remove reading of bind files
4480 * lyx_main.C (init): setup bindings and menus only if we have a
4483 * kbmap.C (read): new method. Do the actual reading of bind
4486 * converter.C (dvipdfm_options):
4489 (output): adapt PAPER_* enums.
4491 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4493 * bufferparams.h: remove paper-related enums from there
4495 * paper.h: New file. A trivial header file to hold paper-related
4496 enums. It should later expand to contain many paper-related
4499 * lyxrc.C: declare extern displayTranslator
4501 2003-07-27 José Matos <jamatos@fep.up.pt>
4503 * tabular.[Ch] (linuxdoc): add support for tables and figures
4506 2003-07-27 José Matos <jamatos@fep.up.pt>
4508 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4509 consistency in both functions.
4510 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4512 2003-07-26 Asger Alstrup <alstrup@local>
4514 * rowpainter.C (paintRows): Change algorithm to work directly on
4515 the insets rather than asking every character in the document
4516 whether its an inset.
4518 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4520 * buffer.C (openFileWrite): factorize some code
4522 2003-07-26 Angus Leeming <leeming@lyx.org>
4525 * lyx_main.[Ch]: replace occurances of system_tempdir with
4528 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4530 * rename Inset to InsetOld
4532 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4534 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4535 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4536 which I think is a bit clearer. EDIT is gone, since it was
4537 premature optimisation, and broken for mathed anyway.
4538 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4539 with cursor positioning in insets as well (math insets still do not
4540 work, but that's a different story anyway.) It mysteriously
4541 crashes sometimes with undo in the first paragraph, but I'm fairly
4542 confident that this is a compiler bug.
4544 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4546 * paragraph.C (Paragraph): adjust for new clone return type
4548 (copyIntoMinibuffer): ditto
4550 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4552 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4553 by not having a special case, and always doing a full rebreak of
4554 the document after undo.
4556 2003-07-23 Angus Leeming <leeming@lyx.org>
4558 * factory.C (createInset): InsetExternal::setParams now takes a
4561 2003-07-23 Angus Leeming <leeming@lyx.org>
4563 * factory.C (createInset): changed interface to the external and
4564 graphics mailers' string2params functions.
4566 2003-07-23 Angus Leeming <leeming@lyx.org>
4568 * factory.C (createInset): pass a
4569 Buffer const * parameter to InsetExternalMailer's string2params.
4571 2003-07-22 John Levon <levon@movementarian.org>
4573 * Thesaurus.h: include the right aiksaurus header
4575 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4577 * MenuBackend.C (expand): check menu shortcuts unconditionally
4579 2003-07-21 Angus Leeming <leeming@lyx.org>
4581 * factory.C (createInset): pass a
4582 buffer_path parameter to InsetGraphicsMailer's string2params.
4584 2003-07-21 Angus Leeming <leeming@lyx.org>
4586 * BufferView_pimpl.C (buffer):
4589 * lyxfunc.C (dispatch):
4590 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4591 rather than the grfx shortcut.
4593 2003-07-21 André Pönitz <poenitz@gmx.net>
4595 * rowpainter.C: remove unused variables
4598 * tabular_funcs.h: move to tabular.C
4599 * Makefile.am: adjust
4601 * tabular.[Ch]: basic optical cleaning
4603 * author.h: pass references, not values
4605 2003-07-18 André Pönitz <poenitz@gmx.net>
4613 * text3.C: two-phase drawing for InsetText and InsetTabular
4614 some float -> int changes.
4616 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4618 * lyx_main.C: fix the fix
4620 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4622 * lyx_main.C: fix a crash in batch mode if no files specified
4625 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4627 * format.[Ch] (papersize): moved to BufferParams
4628 * converter.[Ch] (dvips_options): moved to BufferParams
4629 (dvipdfm_options): moved to anon namespace
4630 * bufferparams.[Ch]: added above functions.
4632 2003-07-17 André Pönitz <poenitz@gmx.net>
4636 * text2.C: don't call inset->update() anymore
4638 * metricsinfo.[Ch]: add convenience constructor
4640 2003-07-16 André Pönitz <poenitz@gmx.net>
4645 * text2.C: replace the LyXCursor::irow_ member with
4646 on-demand computation of the value
4648 2003-07-16 John Levon <levon@movementarian.org>
4650 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4652 2003-07-15 André Pönitz <poenitz@gmx.net>
4655 * text2.C: remove no more needed refresh_row
4657 2003-07-15 André Pönitz <poenitz@gmx.net>
4662 * text3.C: refresh_status tristate -> need_update bool
4664 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4666 * lyxtext.h (init): remove reinit argument (act as if always true)
4667 * text2.C: adjust to that
4669 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4671 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4672 * text3.C: use it to delete selections in some cases
4673 (bugs 441, 673, 702, 954).
4675 2003-07-14 André Pönitz <poenitz@gmx.net>
4677 * rowpainter.[Ch]: reduce interface
4679 2003-07-14 André Pönitz <poenitz@gmx.net>
4681 * BufferView_pimpl.C:
4682 * text2.C: adjust after removing unused BufferView * argument
4684 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4686 * text2.C (init): fix a crash fired on resize
4688 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4690 * buffer.[Ch]: added new closing signal
4691 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4692 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4693 BufferView::Pimpl via the closing the signal
4695 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4697 * buffer.[Ch]: take out all bv-related from buffer
4699 * BufferView_pimpl.[Ch]: connect to new signals
4700 * CutAndPaste.C: removed useless asserts
4701 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4704 * lyxfunc.C: moved view-related funciontality from vc here
4705 * paragraph.C: removed outdated comments
4708 2003-07-10 André Pönitz <poenitz@gmx.net>
4710 * BufferView_pimpl.C:
4714 * text2.C: remove InsetText::InnerCache, clean up consequences
4716 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4718 * ispell.C: fix two typos in error messages
4720 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4722 * Extend Note inset to other forms of annotation like Comment
4723 and Greyedout. Right button click gives dialog.
4725 Files modified or added (+):
4729 * ControlNote.[Ch] +
4731 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4732 frontends/controllers
4736 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4738 * aspell.C: add missing namespace lyx::support
4740 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4742 * BufferView.[Ch] (newFile): Add
4743 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4744 * LaTeX.[Ch] (message): added this signal and use it
4745 * buffer.[Ch] (busy, message): added these signals and use them
4746 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4750 * importer.C: use buffer signals instead of direct bv calling
4751 * lyx_cb.[Ch] (ShowMessage): removed
4754 * paragraph_funcs.C:
4755 * text2.C: use buffer signals
4757 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4759 * introduce namespace lyx::graphics
4761 2003-07-02 André Pönitz <poenitz@gmx.net>
4763 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4765 2003-07-01 André Pönitz <poenitz@gmx.net>
4772 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4773 text*.C to text_func.C
4775 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4777 * introduce namespace lyx::support
4779 2003-06-30 André Pönitz <poenitz@gmx.net>
4784 * text.C: re-enable --with-included-string
4786 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4788 * textcursor.C: add <config.h>
4790 * text.C (getWord): remove const from word_location arg
4792 * lyxvc.C (getLogFile): fix const type order
4794 * lyxtext.h: remove const from word_location arg, add arg name
4796 * lyxlayout.h: currect type on labeltype.
4798 * importer.C: correct \file
4800 * converter.C (intToFormat): use std:: on ret val, ws changes
4802 * bufferlist.h: correct \file
4804 * buffer.C (makeLinuxDocFile): fix const type order
4805 (makeDocBookFile): ditto
4806 (fillWithBibKeys): use std:: on stdlib args.
4808 * CutAndPaste.C: fix authors.
4809 (availableSelections): use std:: on return vector
4811 2003-06-27 André Pönitz <poenitz@gmx.net>
4813 * BufferView_pimpl.C:
4814 * bufferview_funcs.C:
4822 * text3.C: remove LyXCursor::row_ member
4825 * text.C: rename fullRebreak() to partialRebreak() and implement
4826 a fullRebreak() that really bereks fully
4828 * textcursor.h: new struct for cursor-related data
4830 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4832 * lyx_main.C (LyX): get full path of document loaded on the
4835 2003-06-26 André Pönitz <poenitz@gmx.net>
4837 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4838 remove unused/broken operator>,<,>=.
4840 * text.C: remove only use of broken operator<= in an Assert().
4842 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4844 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4845 moved errorlist_.clear to showErrorList
4847 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4849 * converter.C (scanLog, runLaTeX):
4850 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4851 move the bv->showErrorList call to the callers
4852 * lyxfunc.C: i.e. here...
4854 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4855 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4856 namespace, the second to...
4857 * buffer_funcs (BufferFormat, parseErrors): added
4858 * errorlist.C (ErrorList(TeXErrors const &)): removed
4860 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4862 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4864 2003-06-24 "Garst R. Reese" <reese@isn.net>
4868 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4870 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4872 * version.C.in: change docversion to 1.4
4874 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4876 * buffer.C: fix a bug just introduced
4878 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4880 * buffer.[Ch]: added the parseError signal and use it, removed
4882 * BufferView.[Ch] (addError): moved to ...
4883 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4884 to the Buffer::parseError signal to catch (guess what) parse errors
4885 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4887 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4889 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4890 ability to create a buffer and to return an existing one from
4891 the list. Moved these functions to...
4892 * buffer_funcs.[Ch]: added
4893 * BufferView.[Ch] (loadLyXFile): added
4894 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4895 job removed from bufferlist::loadLyXFile.
4896 * buffer.C (setReadOnly): make it work without view
4897 (i.e added an if (users))
4899 2003-06-19 Angus Leeming <leeming@lyx.org>
4902 * LyXAction.C (init):
4903 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4904 with LFUN_DIALOG_SHOW <name> <data>.
4906 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4908 * CutAndPaste.C (availableSelections): small compilation fix for
4909 ancient (gcc 2.9x) compilers
4911 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * text3.C (cursorNext): add tmp var
4915 * text2.C (updateCounters): for function calling out of for clause
4916 (replaceSelectionWithString): ditto
4917 (insertStringAsParagraphs): ditto
4918 (getColumnNearX): add tmp var
4919 (setCursorFromCoordinates): add tmp var
4920 (cursorDownParagraph): add tmp var
4921 (deleteEmptyParagraphMechanism): add tmp var
4923 * text.C (insertChar): add tmp var
4925 * rowpainter.C (paintDepthBar): add tmp var
4927 * CutAndPaste.C (availableSelections): potentially check all
4928 paragraphs in a cut to fill the shown strings.
4930 2003-06-18 André Pönitz <poenitz@gmx.net>
4932 * kbmap.[Ch]: use vector<> instead of list<>
4934 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4936 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4937 pasteSelection with index
4939 * text2.C (pasteSelection): modify, call pasteSelection with index
4941 * paragraph.C (asString): reimplement version with no interval to
4942 call the one with interval.
4944 * lyxtext.h: add index arg to pasteSelection
4946 * MenuBackend.C (MenuItem): handle PasteRecent
4947 (Menu::read::Menutags): add md_pasterecent
4949 (expandPasteRecent): new function
4952 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4954 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4956 (availableSelections): new function
4958 2003-06-17 Angus Leeming <leeming@lyx.org>
4960 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4962 2003-06-17 Angus Leeming <leeming@lyx.org>
4965 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4967 * lyxfunc.C (dispatch): invoke it.
4969 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4971 * iterators.C (operator++, ParPosition): reintroduce some
4972 const_cast for the benefit of older compilers.
4974 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4976 * text3.C (dispatch): do not modify clipboard when doing
4977 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4978 LFUN_DELETE_SKIP on a selection selection
4980 2003-06-16 André Pönitz <poenitz@gmx.net>
4986 * tabular.[Ch]: IU of clone() and getLabelList();
4988 2003-06-13 André Pönitz <poenitz@gmx.net>
4990 * tabular.h: compactification
4992 2003-06-12 André Pönitz <poenitz@gmx.net>
4996 * tabular_funcs.h: some renaming plus whitespace
4998 2003-06-12 André Pönitz <poenitz@gmx.net>
5001 * BufferView_pimpl.C:
5007 * toc.C: Return a Paragraph & for ParIterator::operator*()
5009 2003-06-11 John Levon <levon@movementarian.org>
5013 * ToolbarBackend.C: add "Toolbars" section and
5016 2003-06-10 Angus Leeming <leeming@lyx.org>
5019 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5021 * lyxfunc.C (dispatch): invoke it.
5023 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5025 * main.C: protect <ios> with HAVE_IOS
5026 (main): protect sync_with_stdio with HAVE_IOS
5028 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5030 * text2.C (cutSelection): adjust
5031 (pasteSelection): adjust
5033 * messages.C: handle get of empty string
5035 * main.C (main): use sync_with_stdio(false)
5037 * lyxfunc.C (dispatch): adjust
5039 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5040 (WriteAs): remove unneeded BufferView arg.
5042 * bufferparams.h: use correct types on papersize, papersize2 and
5045 * bufferparams.C (readToken): adjust for type
5046 (writeLaTeX): add missing cases to switch.
5048 * bufferlist.C (quitWriteBuffer): adjust
5051 * buffer.C (asciiParagraph): remove some commented code.
5053 * CutAndPaste.C: remove current_view extern variable.
5054 (cutSelection): add BufferParams arg.
5055 (eraseSelection): add BufferParams arg.
5056 (pasteSelection): add Buffer const & arg
5058 2003-06-07 John Levon <levon@movementarian.org>
5061 * paragraph_funcs.C:
5062 * paragraph_pimpl.C:
5066 * paragraph.C: allow InsetERT to freely space lines,
5067 and some consolidation of code
5069 2003-06-06 José Matos <jamatos@fep.up.pt>
5071 * buffer.C (makeDocBookFile): fix bug #821
5073 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5075 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5077 2003-06-04 Angus Leeming <leeming@lyx.org>
5079 * buffer.C: bump format to 224.
5081 2003-06-05 André Pönitz <poenitz@gmx.net>
5083 * text2.C (redoParagraphs): remove two const_cast<>
5085 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5087 * ParagraphList.h: remove last remnants of NO_STD_LIST
5089 2003-06-03 Angus Leeming <leeming@lyx.org>
5091 * factory.C (createInset): small change to the way InsetExternal's params
5094 2003-06-04 André Pönitz <poenitz@gmx.net>
5096 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5098 * paragraph_pimpl.h:
5099 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5101 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5103 * undo_funcs.C: make some simple cases of undo work again
5105 2003-06-03 John Levon <levon@movementarian.org>
5107 * ispell.C: HPUX doesn't have sys/select.h
5110 2003-06-03 John Levon <levon@movementarian.org>
5112 * CutAndPaste.C: update tabular and include inset
5117 * paragraph.C: remove owningBuffer(), don't pass Buffer
5120 * factory.C: insetGraphicsParams changed
5122 2003-06-02 John Levon <levon@movementarian.org>
5128 * text3.C: remove insetparent
5130 2003-06-02 John Levon <levon@movementarian.org>
5133 * buffer.C: fix inset_iterator.end(), move out of line
5136 2003-06-01 John Levon <levon@movementarian.org>
5138 * text3.C: use a proper cut/paste when doing inset
5139 insert (from Jürgen Spitzmüller)
5141 2003-06-01 John Levon <levon@movementarian.org>
5143 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5145 2003-05-30 André Pönitz <poenitz@gmx.net>
5147 * rowpainter.C: unify second drawing phase
5149 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5151 * trans_mgr.C: remove one case of current_view
5153 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5155 * paragraph_funcs.h: remove paragraph.h include
5157 * paragraph.h: delete NO_STD_LIST stuff
5159 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5161 * buffer.h: remove paragraph.h include
5163 * ParagraphList.C: delete file
5165 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5167 * toc.C (getTocList): adjust
5169 * paragraph_pimpl.C (validate): adjust
5171 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5173 * paragraph.C (Paragraph): adjust
5174 (getPositionOfInset): use const_iterator, adjust
5175 (bibitem): use const_iterator, adjust
5176 (setInsetOwner): adjust
5178 * iterators.C (operator++): adjust
5180 * InsetList.[Ch]: Replace selfmade iterator with standard
5181 vector::iterator also introduce const_iterator. Remove getPos,
5182 getInset and setInset from InsetTable. Adjust accordingly.
5184 * BufferView.C (lockInset): adjust
5185 (ChangeInsets): adjust
5187 * tabular.[Ch]: delete commented same_id functions
5189 2003-05-28 John Levon <levon@movementarian.org>
5191 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5193 2003-05-28 André Pönitz <poenitz@gmx.net>
5195 * metricsinfo.[Ch]: remove 'fullredraw' member
5197 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5199 * lyxtextclass.C (operator): remove caching.
5201 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5205 * text2.C (cursorBottom): adjust
5206 (setCounter): use ParagraphList::find, adjust
5208 * text.C (workWidth): use ParagraphList::find, adjust
5210 * lyxcursor.C (LyXCursor): adjust
5212 * buffer.C (inset_iterator): adjust
5214 * ParagraphList.h: make iterator(value_type) private, make
5215 ParagraphList a friend of iterator.
5217 * ParagraphList.C (find): new function
5219 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5221 2003-05-27 André Pönitz <poenitz@gmx.net>
5223 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5225 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5227 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5229 2003-05-26 John Levon <levon@movementarian.org>
5231 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5233 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5235 * remove same_id from function signatures, adjust.
5237 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5239 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5241 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5243 * paragraph.C (Paragraph): get rid of same_ids parameter
5245 * ParagraphList.C (insert): adjust
5248 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * paragraph_funcs.C (breakParagraph): adjust
5251 (breakParagraphConservative): adjust
5253 * buffer.C (readParagraph): adjust
5255 * ParagraphList.C (insert): take a reference instead of a pointer
5258 * paragraph.[Ch] (id): new function
5260 * bufferlist.C (newFile): adjust
5262 * ParagraphList.C (ParagraphList): adjust
5264 (push_back): take a reference instead of a pointer.
5266 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5268 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5271 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5272 set else use old code.
5274 * ParagraphList.C: remove all NO_NEXT code and only compile this
5275 code of NO_STD_LIST is set.
5277 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5279 * BufferView_pimpl.C:
5289 * graphics/GraphicsConverter.C:
5290 * graphics/PreviewLoader.C: header adjustment
5292 2003-05-23 Angus Leeming <leeming@lyx.org>
5294 * LaTeXFeatures.[Ch] (useBabel): new method.
5295 * bufferparams.C (writeLaTeX): use it.
5297 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5299 * ParagraphList.h (set): remove unused function.
5301 2003-05-23 André Pönitz <poenitz@gmx.net>
5304 * BufferView_pimpl.C:
5308 * undo_funcs.C: setUndo reworked
5310 * iterators.[Ch]: add access to topmost ParagraphList
5312 * lyxtext.[Ch] (workWidth): add a const
5314 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5316 * texrow.[Ch] (increasePos): remove function
5317 * exporter.C (export): removed unused var and outdated comment
5319 2003-05-23 Angus Leeming <leeming@lyx.org>
5321 * latexrunparams.h: rename fragile as moving_arg.
5322 * paragraph.C (simpleTeXOnePar): ditto.
5323 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5325 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5327 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5329 (textUndoOrRedo): comment out a currently unused var.
5331 * paragraph.h (NO_NEXT): enable NO_NEXT
5333 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5335 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5337 * exporter.C (Export): adjust for removeAutoInsets removal.
5339 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5341 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5343 * BufferView.[Ch] (removeAutoInsets): delete function
5345 2003-05-22 Angus Leeming <leeming@lyx.org>
5347 * latexrunparams.h: add a free_spacing variable.
5349 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5350 to pass moving_arg, as the data is stored in runparams.fragile.
5352 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5353 to Inset::latexOptional or to simpleTeXOnePar.
5355 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5356 free_spacing arg to Inset::latexOptional.
5358 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5361 2003-05-22 Angus Leeming <leeming@lyx.org>
5363 * latexrunparams.h: add fragile and use_babel variables.
5365 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5366 * buffer.C (makeLaTeXFile): store this returned value in
5367 runparams.use_babel, thus passing it to the inset::latex methods.
5369 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5370 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5372 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5373 longer has a fragile arg, as it is stored in runparams.fragile.
5375 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5376 moving_arg parameter as the data is stored in runparams.fragile.
5378 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5379 a fragile parameter as the data is stored in runparams.fragile.
5381 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5383 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5385 2003-05-22 Angus Leeming <leeming@lyx.org>
5387 * latexrunparams.h: add a 'bool nice' which defaults to false.
5389 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5390 now encapsulated within runparams.
5392 * bufferlist.C (updateIncludedTeXfiles):
5393 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5395 2003-05-22 Angus Leeming <leeming@lyx.org>
5397 * latexrunparams.h: new file containing struct LatexRunParams.
5398 * Makefile.am: add new file.
5400 * LaTeX.[Ch] (c-tor, run):
5401 * buffer.[Ch] (makeLaTeXFile):
5402 * bufferlist.[Ch] (updateIncludedTeXfiles):
5403 * converter.C (convert, scanLog):
5404 * converter.[Ch] (runLaTeX):
5405 * exporter.C (Export):
5406 * paragraph.[Ch] (simpleTeXOnePar):
5407 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5408 * paragraph_funcs.[Ch] (latexParagraphs):
5409 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5410 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5411 pass around a LatexRunParams parameter.
5413 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5415 * paragraph.[Ch]: remove unused constructor
5417 * ParagraphList.C (erase): new function, taking two iterators
5419 2003-05-22 André Pönitz <poenitz@gmx.net>
5421 * undo_funcs.C: remove duplicated code
5423 * iterator.[Ch]: operator=
5425 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5427 * tabular.C (SetMultiColumn): ws changes
5429 * rowpainter.C (paintFirst): get rid of a ->previous
5431 * lyx_cb.C (getPossibleLabel): parlist simplification
5433 * BufferView.C (ChangeInsets): simplify slightly.
5435 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5437 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5438 * lfuns.h: new LFUN_SPACE
5439 * lyxfunc.C: protected space has a new lfun
5440 * paragraph_funcs.C: read new space insets
5442 * factory.C: handle new space insets
5444 2003-05-22 André Pönitz <poenitz@gmx.net>
5447 * BufferView_pimpl.C:
5450 * undo_funcs.C: return a ParIterator from getParFromID.
5452 * iterators.[Ch]: add two const's
5454 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5456 * toc.C (getTocList): adjust
5458 * iterators.[Ch]: rework for parlist
5460 * buffer.C (par_iterator_begin): adjust
5461 (par_iterator_end): adjust
5463 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5465 * BufferView.C (removeAutoInsets): adjust
5466 (ChangeInsets): adjust
5468 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5470 * text.C (top_y): fix bug 1110
5472 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5474 * errorlist.[Ch]: added
5477 * BufferView_pimpl.C:
5478 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5481 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5483 * Makefile.am: ensure that lyx is relinked upon changes to the
5484 various "convenience" libs.
5486 2003-05-20 Angus Leeming <leeming@lyx.org>
5488 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5489 files are compiled in alphabetical order again.
5491 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5493 2003-05-19 Angus Leeming <leeming@lyx.org>
5495 * gettext.[Ch]: remove "char const * _(char const *)".
5497 2003-05-19 André Pönitz <poenitz@gmx.net>
5499 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5508 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5510 2003-05-19 André Pönitz <poenitz@gmx.net>
5514 * lyxtextclass.[Ch]:
5516 * paragraph_funcs.[Ch]:
5518 * text3.C: more insetenv work
5520 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5522 * ParagraphParameters.C (params2string): small bug fixed
5524 2003-05-16 André Pönitz <poenitz@gmx.net>
5527 * bufferview_funcs.C: patch from Kornel Benko to prevent
5528 crash when _(...) is called twice in a statement
5530 2003-05-16 André Pönitz <poenitz@gmx.net>
5537 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5539 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5541 * lyx_main.C (init): remove spurious static_cast
5543 2003-05-14 André Pönitz <poenitz@gmx.net>
5545 * BufferView.C: fix format string
5547 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5549 * BufferView.[Ch] (insertErrors): removed
5550 * BufferView.[Ch] (showErrorList): added
5551 * buffer.C (runChkTeX):
5552 * converter.C (scanLog): call showErrorList instead of inserterrors
5554 2003-05-13 André Pönitz <poenitz@gmx.net>
5556 * BufferView_pimpl.C:
5558 * bufferview_func.C:
5565 * tabular_funcs.h: tostr() from its own header
5567 * ParagraphParameters.C:
5572 * text3.C: STRCONV()
5574 2003-05-12 André Pönitz <poenitz@gmx.net>
5577 * BufferView_pimpl.C:
5581 * ParagraphParameters.C:
5585 * bufferview_funcs.C:
5598 * paragraph_funcs.C:
5602 * text3.C: boost::format -> bformat all over the place
5605 2003-05-09 André Pönitz <poenitz@gmx.net>
5607 * LColor.[Ch]: Pimpl the #include <map> away
5609 2003-05-09 John Levon <levon@movementarian.org>
5611 * bufferlist.C: never remove emergency saves
5613 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5615 * Makefile.am: better lib building
5617 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5619 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5621 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5622 (simpleTeXSpecialChars): adjust
5623 (simpleTeXSpecialChars): adjust
5624 * paragraph.C (simpleTeXOnePar): adjust
5625 * buffer.C (makeLaTeXFile): adjust
5627 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5629 * text2.C (changeDepth): parlist cleanup
5630 (getColumnNearX): ditto
5632 * rowpainter.C (getLabelFont): parlist cleanup
5634 * bufferlist.C (newFile): parlist cleanup
5636 * CutAndPaste.C (eraseSelection): parlist cleanup
5638 * BufferView_pimpl.C (trackChanges): parlist cleanup
5641 * BufferView.C (lockInset): parlist cleanup.
5642 (ChangeInsets): ditto
5644 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5646 * CutAndPaste.h: Update file header.
5648 * CutAndPaste.C: Update file header.
5649 Store the parts cut out of the Document in a limited_stack.
5650 (copySelection): adjust
5651 (pasteSelection): new function, takes the index in the limited stack.
5652 (nrOfParagraphs): adjust
5653 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5654 simplify error inset insertion.
5655 (checkPastePossible): adjust
5657 2003-05-06 John Levon <levon@movementarian.org>
5659 * text2.C: don't cast wrap inset to float
5661 2003-05-05 André Pönitz <poenitz@gmx.net>
5664 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5666 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5667 few naked Paragraph *.
5669 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5671 * bufferparams.C: Output warning if a document with missing
5672 TeX document class is loaded
5673 * exporter.C: Disable TeX exports if the document class is missing
5676 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5677 isTeXClassAvailable()
5679 2003-05-03 John Levon <levon@movementarian.org>
5682 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5683 explicit cursor show/hide
5685 * BufferView_pimpl.h:
5686 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5687 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5689 * lyxfunc.C: hide cursor before dispatching.
5694 * text3.C: remove explicit cursor hides
5696 2003-05-02 André Pönitz <poenitz@gmx.net>
5698 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5701 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5704 * text2.C: tiny whitespace
5706 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5708 * undo_funcs.C: almost only ws changes.
5710 * ParagraphList.C (splice): just return if pl is empty.
5712 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * ParagraphList.C (splice): new function.
5716 * CutAndPaste.C (pasteSelection): use it
5718 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5720 * CutAndPaste.C (pasteSelection): remove the last next and
5721 previous from this file.
5723 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5725 * CutAndPaste.C (pasteSelection): more clean up, user proper
5726 ParagraphList functions for pasteing.
5728 * ParagraphList.C (insert): new function, three arg insert
5730 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5732 * ParagraphList.C (insert): new function, three arg insert
5734 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5737 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5739 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5741 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5743 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5745 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5747 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5748 (copySelection): clean up a bit.
5749 (pasteSelection): use make_pair
5751 * ParagraphList.C (ParagraphList): implement copy constructor
5752 (operator=): implement, base on copy constructor.
5755 * paragraph.C (erase): return a bool
5757 * paragraph_pimpl.C (erasePos): remove function, move contents...
5758 (erase): ... here. Return a bool.
5759 (erase): call erase instead of erasePos.
5761 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5763 * ParagraphList.h: define PitPosPair
5764 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5765 ParagraphList, fix a bug on pasting multiple pars
5766 * text2.C: change interface to C&P
5768 2003-04-30 André Pönitz <poenitz@gmx.net>
5770 * undo_func.C: revert part of yesterday's patch 2
5772 2003-04-30 John Levon <levon@movementarian.org>
5774 * LColor.C: s/tabular/table/
5776 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5778 * text3.C (dispatch): do not convert iterator -> pointer
5779 * undo_funcs.C (setCursorParUndo): ditto
5780 * text_funcs.C (transposeChars): ditto
5782 * text2.C (setLayout): ws changes only
5784 * text.C (breakParagraph): do not convert iterator -> pointer
5786 (acceptChange): ditto
5787 (rejectChange): ditto
5792 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5795 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5797 * text3.C (gotoInset): YABG (yet another bad getChar)
5799 2003-04-29 André Pönitz <poenitz@gmx.net>
5801 * paragraph.h: make operator= private unimplemented as long as
5804 * ParagraphList.C: whitespace
5807 * paragraph_pimpl.[Ch]:
5808 * paragraph_funcs.C:
5810 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5813 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5815 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5817 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5818 * paragraph.[Ch] (erase):
5819 * paragraph_pimpl.[Ch] (erase): change return type and value
5820 * text2.C (cutSelection): some rework
5822 2003-04-28 John Levon <levon@movementarian.org>
5824 * bufferlist.C: changes for unsaved changes dialog
5826 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5828 * bufferlist.C (newFile): set language (messages_) for new
5831 * buffer.C (readFile): ws changes only.
5833 2003-04-28 André Pönitz <poenitz@gmx.net>
5838 * BufferView_pimpl.C:
5839 * BufferView.C: getParFromID related ParagraphList::iterator changes
5841 2003-04-28 André Pönitz <poenitz@gmx.net>
5843 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5846 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5848 * messages.C: remove one more localedir class variable.
5850 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5852 * messages.C (getLocaleDir): singleton generation function
5854 (Messages): add a default constructor.
5856 * main.C (main): do not setup localedir here, do not call
5859 * gettext.C (_): use it.
5860 (gettext_init): delete funciton
5862 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5864 * gettext.C (getLyXMessages): new singleton generating function.
5866 * buffer.C (updateDocLang): adjust
5868 * Makefile.am (messages.o): add target
5869 (main.o): remove target
5871 2003-04-27 John Levon <levon@movementarian.org>
5876 * lyxvc.C: specify cancel button in Alert::prompt
5878 2003-04-26 John Levon <levon@movementarian.org>
5883 * LyXAction.C: add LFUN_INSET_SETTINGS
5885 * lyxfunc.C: don't enable tabular-feature when there's
5886 just any locking inset
5888 2003-04-26 John Levon <levon@movementarian.org>
5890 * bufferlist.C: re-add Cancel to buffer close question
5892 * lyxfunc.C: fix import UI a bit
5894 2003-04-25 John Levon <levon@movementarian.org>
5896 * gettext.C: remove the broken asserts for now
5898 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5900 * messages.C: make case where setlocale cannot comply work better.
5902 * buffer.C (updateDocLang): new function
5903 (changeLanguage): use it
5906 * text2.C (setCounter): use B_ a bit.
5908 * lyxlayout.C (Read): be sure to trim the label strings.
5910 * messages.C (Messages): fix typo in comment
5912 * buffer.C (readFile): set message_ after file is loaded.
5913 (makeDocBookFile): remove double return
5914 (changeLanguage): reset message_ upon language change.
5915 (B_): new func, use this to get translated buffer strings.
5917 * main.C: add myself and Jean Marc as authors.
5919 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5921 * messages.[hC]: pimplify Messages, and three different pimpls to be
5922 used in different circumstances.
5924 * gettext.[Ch]: change for use with new message code.
5926 2003-04-24 André Pönitz <poenitz@gmx.net>
5928 * factory.C: support for eqref
5930 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5932 * messages.[Ch]: add missing char
5934 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5936 * messages.[Ch]: New files
5938 2003-04-18 John Levon <levon@movementarian.org>
5942 * BufferView_pimpl.C:
5946 * text2.C: remove layout-copy/paste (bug 778)
5948 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5950 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5952 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5954 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5955 if they succeed. Act accordingly.
5957 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5959 * text2.C (setCharFont): adjust
5960 (setCounter): adjust
5961 (insertStringAsLines): adjust
5963 * text.C (leftMargin): adjust
5964 (setHeightOfRow): adjust
5966 * rowpainter.C (paintFirst): adjust
5969 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5971 (isFirstInSequence): ditto
5972 (getEndLabel): ditto
5975 * paragraph.C (getParLanguage): comment out some hard stuff.
5977 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5979 (simpleDocBookOnePar): ditto
5980 (makeDocBookFile): use ParagraphList::iterator
5982 * CutAndPaste.C (pasteSelection): adjust
5984 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5986 * text2.C (getFont): adjust
5987 (getLayoutFont): adjust
5988 (getLabelFont): adjust
5990 * paragraph_funcs.C (TeXOnePar): adjust
5992 * buffer.C (simpleLinuxDocOnePar): adjust
5993 (simpleDocBookOnePar): adjust
5995 * CutAndPaste.C (pasteSelection): adjust
5997 * BufferView.C (getEncoding): adjust
5999 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6001 2003-04-16 John Levon <levon@movementarian.org>
6003 * lyxfind.C: use parlist stuff for search/changes
6005 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6007 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6009 * text2.C (deleteEmptyParagraphMechanism): adjust
6011 * text2.[Ch] (ownerParagraph): delete func (both of them
6013 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6015 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6017 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6019 * ParagraphList.C: prepare for NO_NEXT
6021 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6023 * text2.C (getFont): adjust
6024 (getLayoutFont): adjust
6025 (getLabelFont): adjust
6027 * paragraph.C (getFont): adjust
6028 (getLabelFont): adjust
6029 (getLayoutFont): adjust
6031 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6033 2003-04-15 John Levon <levon@movementarian.org>
6037 * lyx_main.C: handle Include in .ui files
6039 2003-04-15 John Levon <levon@movementarian.org>
6041 * MenuBackend.C: make the doc files length shorter
6044 * ToolbarBackend.C: handle toolbar placement flags,
6047 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6049 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6052 * paragraph_funcs.C (TeXOnePar): adjust
6054 * paragraph.C (getLabelFont): add outerfont arg, adjust
6055 (getLayoutFont): ditto
6056 (simpleTeXOnePar): adjust
6058 * paragraph_pimpl.C (realizeFont): delete func
6060 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6062 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6063 row argument, constify cur argument.
6065 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6067 * text2.C (getFont): adjust
6068 (getLayoutFont): adjust
6069 (getLabelFont): adjust
6071 * paragraph_funcs.C (TeXOnePar): adjust
6072 (outerFont): new func...
6073 (realizeFont): ...moved out from here, changed this to facilitate
6076 * paragraph.C (getFont): take outerfont as arg, adjust
6077 (simpleTeXOnePar): add outerfont arg, adjust
6079 * buffer.C (simpleLinuxDocOnePar): adjust
6080 (simpleDocBookOnePar): adjust
6082 * CutAndPaste.C (pasteSelection): adjust
6084 * BufferView.C (getEncoding): adjust
6086 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6088 * text2.C (setCharFont): adjust
6089 (setCounter): adjust
6091 * text.C (leftMargin): adjust
6092 (setHeightOfRow): adjust
6094 * rowpainter.C (paintFirst): adjust
6097 * paragraph_pimpl.C (realizeFont): adjust
6099 * paragraph.C (isFirstInSequence): move from here...
6100 * paragraph_funcs.C (isFirstInSequence): ...to here
6102 * paragraph.C (outerHook): move from here...
6103 * paragraph_funcs.C (outerHook): ...to here
6105 * paragraph.C (depthHook): move from here...
6106 * paragraph_funcs.C (depthHook): ...to here
6108 * paragraph.C (getEndLabel): move from here...
6109 * paragraph_funcs.C (getEndLabel): ...to here
6111 * text2.C (realizeFont): move from here...
6112 * paragraph_funcs.C (realizeFont): ...to here
6114 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6116 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6118 2003-04-14 Angus Leeming <leeming@lyx.org>
6120 * LColor.[Ch]: scrap LColor mathcursor.
6122 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6124 * lyxlex.[Ch] (text): delete function
6125 * trans.C (Load): adjust
6126 * paragraph_funcs.C (readParToken): adjust
6128 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6130 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6131 vector<char> instead of a char[].
6133 * lyxlex_pimpl.C (getString): adjust
6135 (lex): use getString
6139 * lyxlex.C (text): use pimpl_->getString()
6143 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6145 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6146 (makeFontEntriesLayoutSpecific): temp var for par.size()
6147 (setLayout): temp var for ownerParagraphs().end()
6148 (fullRebreak): temp var for rows().end()
6149 (selectionAsString): temp var for boost::next(startpit), realize
6150 that the while really is a regular for loop.
6151 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6152 setCursor in one place.
6153 (setParagraph): temp vr for ownerParagraphs().end()
6154 (updateCounters): make the while loop a for loop
6155 (cutSelection): temp var for ownerParagraphs().end()
6156 (updateInset): make the do {} while() a regular for loop
6157 (getCursorX): use temp vars
6158 (setCurrentFont): use temp vars
6159 (getColumnNearX): use temp vars
6161 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6163 * text.C (transformChar): use temp var for getChar
6164 (computeBidiTables): use temp var for row->par()
6165 (fill): move temp vars for row->par() and pit->layout() earlier in
6167 (labelFill): use temp var for row->par()
6168 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6169 asc and desc, realize that pit never changes and that firstpit is
6170 just a duplicate and not needed. Exchange rit->par() with pit in a
6172 (breakAgain): use a temp var for boost::next(rit)
6173 (breakAgainOneRow): ditto
6174 (breakParagraph): use a temp var for rows().begin()
6175 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6176 (cursorRightOneWord): use temp var for cursor.par() and
6177 cursor.pos(), remove usage of tmpcursor.
6178 (cursorLeftOneWord): use temp var for cursor.par() and
6179 cursor.pos() only set cur at end of function.
6181 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6183 * text.C, text2.C: exchange all usage of Paragraph::next with
6184 boost::next(ParagraphList::iterator)
6186 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6188 * text2.C (cursorTop): simplify implementation
6189 (cursorBottom): ditto
6190 (setParagraph): use ParagraphList::iterator
6191 (setCurrentFont): adjust
6192 (getColumnNearX): adjust
6193 (cursorRight): adjust
6194 (cursorLeft): remove usage of Paragraph::previous
6195 (cursorUpParagraph): ditto
6196 (deleteEmptyParagraphMechanism): slight cleanup
6198 * text.C (isBoundary): take a Paragraph const & instead of a
6200 (addressBreakPoint): ditto
6201 (leftMargin): remove usage of Paragraph::previous.
6202 (setHeightOfRow): ditto
6203 (cursorLeftOneWord): ditto
6204 (selectNextWordToSpellcheck): ditto
6207 (breakParagraph): remove one usage of Paragraph::next
6208 (redoParagraph): ditto
6209 (acceptChange): ditto
6210 (insertChar): adjust
6211 (rowBreakPoint): adjust
6213 * bufferview_funcs.C (toggleAndShow): adjust
6215 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6217 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6218 methods to access it.
6220 * text.C: Added updateRowPositions to compute all row positions.
6221 Make top_y and getRowNearY() to use the cached y position
6223 2003-04-11 John Levon <levon@movementarian.org>
6225 * text.C (rowBreakPoint): reintroduce the labelEnd
6226 checks, code copied from the row fill stuff. Deep voodoo.
6228 * text.C (fill): add a comment and debugging for the
6231 2003-04-11 John Levon <levon@movementarian.org>
6233 * text.C: make sure fullrow insets get wrapped to the next line,
6234 even when they're in a manual label
6236 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6238 * text2.C (insertParagraph): make it take ParagraphList::iterator
6240 (setLayout): make it return ParagraphList::iterator
6241 (redoParagraphs): ditto
6243 (checkParagraph): ditto
6245 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6247 * text2.C: adjust several funcs.
6248 (realizeFont): take a ParagraphList::iterator as arg.
6249 (getLayoutFont): ditto
6250 (getLabelFont): ditto
6251 (setCharFont): ditto
6253 * text.C: adjust several funcs.
6255 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6257 * text.C (selectNextWordToSpellcheck): don't accidentally
6260 2003-04-10 John Levon <levon@movementarian.org>
6262 * ToolbarBackend.C (getIcon): special handling for
6265 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6267 * text2.C (cursorRight): a getChar assert fixed
6269 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6271 * text2.C (getFont): change to take a ParagraphList::iterator
6272 instead of Paragraph*
6273 Adjust several functions.
6275 * text.C (transformChar): change to take a ParagraphList::iterator
6276 instead of Paragraph*
6277 (singleWidth): ditto
6278 Adjust several functions.
6280 * rowpainter.C: adjust several functions
6281 * rowpainter.h:store a ParagraphList::iterator and not a
6285 2003-04-09 John Levon <levon@movementarian.org>
6290 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6291 and the "help" bits as well
6293 2003-04-09 John Levon <levon@movementarian.org>
6296 * ToolbarBackend.C: allow multiple toolbars
6298 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * undo_funcs.C (setCursorParUndo): adjust
6302 * text_funcs.C (transposeChars): adjust
6304 * text3.C (gotoNextInset): adjust
6307 * text2.C (setLayout): adjust
6308 (changeDepth): adjust
6310 (redoParagraphs): adjust
6311 (selectionAsString): adjust
6312 (setParagraph): adjust
6313 (insertInset): adjust
6314 (cutSelection): adjust
6315 (copySelection): adjust
6316 (pasteSelection): adjust
6317 (insertStringAsLines): adjust
6318 (updateInset): adjust
6319 (setCursor): change to take a ParagraphList::iterator parameter
6320 (setCursorIntern): change to take a ParagraphList::iterator parameter
6321 (setCurrentFont): adjust
6322 (cursorLeft): adjust
6323 (cursorRight): adjust
6324 (deleteEmptyParagraphMechanism): adjust
6326 * text.C (breakParagraph): adjust
6327 (insertChar): adjust
6328 (acceptChange): adjust
6329 (rejectChange): adjust
6330 (selectNextWordToSpellcheck): adjust
6331 (changeCase): adjust
6335 * lyxfind.C (SearchForward): adjust
6336 (SearchBackward): adjust
6337 (nextChange): adjust
6339 * lyxcursor.C (par): adjust
6341 * lyxcursor.h: store a ParagraphList::iterator instead of a
6344 * lyx_cb.C (getPossibleLabel): adjust
6346 * bufferview_funcs.C (toggleAndShow): adjust
6348 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6351 * BufferView.C (removeAutoInsets): adjust
6352 (lockedInsetStoreUndo): adjust
6354 2003-04-09 John Levon <levon@movementarian.org>
6356 * ToolbarBackend.C: try icon without argument
6357 if with argument fails
6359 2003-04-08 John Levon <levon@movementarian.org>
6362 * ToolbarBackend.C: add getIcon(), handle tooltip,
6363 and change from "Icon" to "Item".
6365 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6367 * BufferView.C (lockInset): another bad getchar crunched
6369 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6371 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6374 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6376 * lyxfind.C (searchForward, searchBackwards): bug 782
6378 2003-04-07 John Levon <levon@movementarian.org>
6380 * paragraph.C: remove dead comment
6382 * text.C: remove troublesome depth-fiddling code
6383 in leftMargin() and rightMargin() (bug 1017)
6385 * text.C: fix breaking of rows in nested lists
6388 * text2.C (updateCounters): fix up depth values
6391 2003-04-07 John Levon <levon@movementarian.org>
6393 * BufferView_pimpl.C: clear message when doc finishes resizing,
6394 and after a mouse event
6396 * lyxfunc.C: clear message after exiting inset
6398 2003-04-07 John Levon <levon@movementarian.org>
6400 * bufferview_funcs.C: show math status not outside
6401 status in the statusbar
6403 2003-04-07 John Levon <levon@movementarian.org>
6405 * lyxfunc.C: note status changed after a depth change
6407 2003-04-04 Angus Leeming <leeming@lyx.org>
6409 * LaTeX.h: move AuxInfo operator==, != out of line.
6410 Remove LaTeX virtual destructor; nothing derives from it.
6411 Move operator()() out of public area and rename it startscript().
6412 Change protected for private.
6414 2003-04-04 Angus Leeming <leeming@lyx.org>
6417 * text2.C: remove unneeded #includes.
6419 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6421 * text2.C (dEPM): fix the heigth of the next row
6423 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6425 * text.C: squashed an invalid getChar requester + some ws changes
6427 2003-04-03 John Levon <levon@movementarian.org>
6429 * bufferview_funcs.h:
6430 * bufferview_funcs.C:
6433 * text2.C: make getStatus work for the env depth lfuns
6435 2003-04-03 John Levon <levon@movementarian.org>
6437 * bufferview_funcs.h:
6438 * bufferview_funcs.C:
6441 * text2.C: parlistize decDepth(), by merging it with incDepth()
6443 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6445 * lyxrow.h: store a ParagraphList::iterator instead of a
6446 Paragraph* and adjust other class functions to suit.
6448 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6451 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6453 * text2.C (setCursor): do not anchor to cursor row for the time being
6455 2003-04-02 John Levon <levon@movementarian.org>
6462 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6464 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6466 * paragraph.h: make ParagraphList and ParagraphList::iterator
6467 friends of Paragraph.
6469 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6471 * ParagraphList.C: Use the private next_ and previous_ from
6474 2003-04-01 John Levon <levon@movementarian.org>
6478 * Makefile.am: rename, remove defaults gunk
6481 * MenuBackend.C: remove defaults gunk
6484 * Languages.C: remove defaults gunk
6487 * lyx_main.C: error out if files couldn't be found.
6489 2003-04-02 John Levon <levon@movementarian.org>
6491 * text2.C: make incDepth() use parlist
6493 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6495 * undo_funcs.C (firstUndoParagraph): adjust
6497 * text3.C (gotoInset): adjust
6498 (dispatch): adjust, and rewrite loop.
6500 * text2.C (init): adjust, and rewrite loop.
6501 (redoParagraphs): adjust
6502 (updateInset): adjust, and rewrite loop.
6503 (deleteEmptyParagraphMechanism): adjust
6505 * tabular.C (LyXTabular): adjust
6506 (SetMultiColumn): adjust
6509 * lyxtext.[Ch] (ownerParagraph): delete function
6510 (ownerParagraphs): new function returns a ParagraphList.
6512 * BufferView.C (removeAutoInsets): adjust
6513 (insertErrors): adjust
6514 (setCursorFromRow): adjust
6516 2003-04-01 Angus Leeming <leeming@lyx.org>
6518 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6521 2003-04-02 John Levon <levon@movementarian.org>
6527 * text_funcs.C: make transposeChars a free function
6529 * lyxrow_funcs.C: remove wrong comment
6531 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6534 * rowpainter.C: adjust
6539 * lyxrow_funcs. [Ch]: new files
6541 * lyxrow.[Ch]: remove next and previous pointers
6542 (next,previous): remove accessor functions
6543 (isParEnd): move to lyxrow_funcs
6544 (lastPos): move to lyxrow_funcs
6545 (nextRowIsAllInset): move to lyxrow_funcs
6546 (lastPrintablePos): move to lyxrow_funcs
6547 (numberOfSeparators): move to lyxrow_funcs
6548 (numberOfHfills): move to lyxrow_funcs
6549 (numberOfLabelHfills): move to lyxrow_funcs
6550 (hfillExpansion): move to lyxrow_funcs
6554 * bufferview_funcs.C (toggleAndShow): adjust
6556 * RowList.h: Remove class RowList from file leave just a
6559 * RowList.C: delete file
6561 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6564 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6566 * text3.C (cursorPrevious): adjust
6567 (cursorNext): adjust
6570 * text2.C (redoHeightOfParagraph): adjust
6571 (redoDrawingOfParagraph): adjust
6574 * text.C (breakParagraph): adjust
6575 (insertChar): adjust
6578 * rowpainter.C (RowPainter): adjust
6579 (leftMargin): simplify and adjust
6580 (most rowpainter functions): adjust.
6582 * rowpainter.h: store the row as RowList::iterator not as Row*
6584 * lyxcursor.C (row): taka RowList::iterator as arg
6587 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6590 2003-04-01 Angus Leeming <leeming@lyx.org>
6592 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6593 stuff like bool Bool.
6595 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6597 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6600 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6602 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6605 * lyxtext.h (rows): drop one version and leve a const variant that
6606 returns a RowList::iterator.
6608 2003-03-31 Angus Leeming <leeming@lyx.org>
6610 * text.C (fill): ensure that the signature is the same as that in the
6613 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6615 * text2.C (redoParagraphs): adjust
6616 (updateCounters): adjust
6617 (checkParagraph): adjust
6618 (getColumnNearX): adjust and reformat a bit.
6620 * text.C (top_y): adjust
6622 (leftMargin): adjust
6623 (prepareToPrint): adjust
6625 (getRowNearY): adjust
6627 * lyxtext.h: make rowlist_ mutable.
6629 * RowList.h: add const_iterator
6630 * RowList.C: adjust for RowList::const_iterator.
6632 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6635 2003-03-31 John Levon <levon@movementarian.org>
6638 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6640 * lyx_main.C: set default fonts from using lyx_gui funcs
6642 * exporter.C: pdf_mode moved from lyxrc
6645 * lyxfunc.C: changes from above
6647 2003-03-31 John Levon <levon@movementarian.org>
6649 * lyx_main.C: fix to the last fix
6651 2003-03-31 John Levon <levon@movementarian.org>
6653 * bufferlist.C: "Load original" -> "Load Original"
6659 * format.C: more Alert cleanups
6661 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6663 * text2.C (removeParagraph): make it take a RowList::iterator as
6665 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6666 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6668 * text.C (anchor_row): make it take a RowList::iterator as arg,
6670 (computeBidiTables): make it take a const reference to Row instead
6671 of Row pointer, adjust.
6672 (leftMargin): make it take a RowList::iterator as arg, adjust.
6673 (rowBreakPoint): adjust
6674 (breakAgainOneRow): make it take a RowList::iterator as arg,
6676 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6678 * bufferview_funcs.C (toggleAndShow): adjust
6680 2003-03-30 John Levon <levon@movementarian.org>
6684 * boost-inst.C: moved to support
6686 * several files: changes as a result
6688 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6690 * text2.C (LyXText): adjust.
6692 (removeRow): make it take a RowList::iterator as arg, adjust.
6693 (fullRebreak): adjust
6694 (deleteEmptyParagraphMechanism): adjust
6695 (clearPaint): adjust
6698 * text.C (top_y): adjust
6699 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6700 (breakAgain): make it take a RowList::iterator as arg, adjust.
6701 (breakParagraph): adjust
6702 (insertChar): adjust
6705 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6706 need_break_row, and refresh_row.
6708 * text3.C (dispatch): adjust
6710 * text2.C (checkParagraph): adjust
6712 (setCursorFromCoordinates): adjust
6714 * text.C (top_y): adjust
6716 (getRow): make it return a RowList::iterator, adjust
6717 (getRowNearY): make it return a RowList::iterator, adjust
6719 * text2.C (init): adjust
6720 (insertRow): remove function
6721 (insertParagraph): adjust
6722 (redoParagraphs): adjust
6723 (fullRebreak): adjust
6724 (updateCounters): adjust
6726 * text.C (top_y): rewrite to use RowList iterators.
6728 (setHeightOfRow): rewrite to sue RowList iterators.
6729 (appendParagraph): adjust
6730 (breakAgain): adjust
6731 (breakAgainOneRow): adjust
6732 (breakParagraph): adjust
6734 (getRowNearY): adjust, and remove commented code.
6736 * lyxtext.h (firstRow): delete function
6737 (lastRow): delete function
6738 (rows): new function (const and non-const versions.)
6739 (insertRow): delete function
6741 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6743 2003-03-29 John Levon <levon@movementarian.org>
6745 * BufferView_pimpl.C: always update scrollbar top
6746 because pasting text when we're anchored could mean we
6747 miss an update altogether
6749 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6751 * text2.C (init): use rowlist_.end() and not 0.
6752 (insertRow): change to take a RowList::iterator as arg, adjust
6754 (insertParagraph): change to take a RowList::iterator as arg,
6756 (redoParagraphs): remove some debug msgs.
6758 * text.C (appendParagraph): change to take a RowList::iterator
6759 arg, adjust for this.
6760 (breakAgain): add an assert
6761 (breakAgainOneRow): ditto
6763 2003-03-29 John Levon <levon@movementarian.org>
6765 * text2.C: do not clear selection after inc/decDepth
6768 2003-03-29 John Levon <levon@movementarian.org>
6771 * buffer.C: fix broken strerrors according to Lars
6773 2003-03-29 John Levon <levon@movementarian.org>
6775 * converters.C: more Alert cleanups
6777 2003-03-29 John Levon <levon@movementarian.org>
6779 * bufferview_funcs.C: remove pointless Alert
6781 * buffer.C: fix confusing error message when
6782 a template is chmoded 000
6784 2003-03-29 John Levon <levon@movementarian.org>
6788 * BufferView_pimpl.C: Alert fixes
6792 * tabular-old.C: remove unused table compat reading
6794 2003-03-29 John Levon <levon@movementarian.org>
6799 * lyx_cb.C: more Alert cleanups
6801 * lyxfunc.C: don't allow chktex if not latex document
6803 2003-03-29 John Levon <levon@movementarian.org>
6807 * buffer.C: warnings pushed down from support/,
6810 2003-03-29 John Levon <levon@movementarian.org>
6812 * lyxfunc.C: safety check for C-r (revert)
6814 2003-03-29 John Levon <levon@movementarian.org>
6817 * bufferlist.C: several UI fixes using Alert::prompt.
6818 Fix the pointless looping quit code. Fix stupid revert
6823 * lyx_cb.C: use Alert::prompt
6825 * lyx_main.C: remove a silly question
6827 * lyxfunc.C: remove a couple of silly questions,
6830 2003-03-28 John Levon <levon@movementarian.org>
6832 * text2.C: fix bug 974 (End on empty par)
6834 2003-03-28 John Levon <levon@movementarian.org>
6836 * BufferView_pimpl.C:
6838 * lfuns.h: remove do-nothing math greek lfuns
6840 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6842 * lyxgluelength.h (isValidGlueLength): add default arg on
6843 parameter 2. Remove default arg from friend in class.
6845 * lyxlength.h (isValidLength): add default arg on parameter 2.
6846 Remove default arg from friend in class.
6848 * text2.C (LyXText): adjust, initialize refresh_row.
6852 (insertParagraph): adjst
6853 (redoParagraphs): adjust
6854 (fullRebreak): adjust
6855 (updateCounters): adjust
6856 (deleteEmptyParagraphMechanism): first attempt at fixing a
6859 * text.C (top_y): adjust
6860 (setHeightOfRow): adjust
6862 (getRowNearY): adjust
6864 * lyxtext.h: include RowList.h
6865 (~LyXText): not needed anymore, deleted.
6866 (firstRow): modify for RowList
6867 (lastRow): new function
6868 Delete firstrow and lastrow class variables, add a Rowlist
6869 rowlist_ class variable.
6871 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6874 * RowList.C (insert): fix case where it == begin().
6876 2003-03-26 Angus Leeming <leeming@lyx.org>
6878 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6879 the thesaurus dialog.
6881 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6883 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6885 * RowList.[Ch]: new files
6887 * ParagraphList.C (erase): handle the case where it == begin
6890 2003-03-25 John Levon <levon@movementarian.org>
6894 * aspell.C: add new aspell support
6897 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6900 2003-03-25 Angus Leeming <leeming@lyx.org>
6903 * LyXAction.C (init): new LFUN_INSET_INSERT.
6905 * BufferView_pimpl.C (dispatch): split out part of the
6906 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6908 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6911 2003-03-25 Angus Leeming <leeming@lyx.org>
6913 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6915 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6918 * text3.C: remove useless row->height(0)
6920 2003-03-25 John Levon <levon@movementarian.org>
6924 * text3.C: rename the refreshing stuff to better names
6926 2003-03-24 John Levon <levon@movementarian.org>
6928 * BufferView_pimpl.h:
6929 * BufferView_pimpl.C: update layout choice on a mouse
6932 2003-03-23 John Levon <levon@movementarian.org>
6934 * Makefile.am: fix commandtags.h reference
6936 2003-03-22 John Levon <levon@movementarian.org>
6938 * BufferView_pimpl.C:
6943 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6945 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6948 * text.C: take the rtl methods out of line
6950 2003-03-21 André Pönitz <poenitz@gmx.net>
6952 * metricsinfo.[Ch]: new files containing structures to be passed around
6953 during the two-phase-drawing...
6955 2003-03-21 André Pönitz <poenitz@gmx.net>
6957 * lyxtextclass.C: read 'environment' tag.
6959 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6961 * text2.C (removeRow): fix bug 964
6963 2003-03-20 John Levon <levon@movementarian.org>
6967 * text2.C: paint cleanups. Inset::update() dropped font
6970 2003-03-19 John Levon <levon@movementarian.org>
6972 * lyxfunc.C: only fitcursor/markDirty if available()
6974 2003-03-19 John Levon <levon@movementarian.org>
6976 * commandtags.h: rename to ...
6978 * lfuns.h: ... this, and renumber / cleanup
6980 2003-03-19 John Levon <levon@movementarian.org>
6982 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6983 fit the cursor after an lfun
6987 * BufferView_pimpl.h:
6988 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6990 * LyXAction.C: layout-character should have ReadOnly
6992 * ParagraphParameters.C:
6994 * bufferview_funcs.C:
7001 * undo_funcs.C: changes from above
7003 2003-03-18 John Levon <levon@movementarian.org>
7005 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7006 remove it from update()
7008 * lyxfunc.C: update layout choice after an lfun
7010 * text3.C: remove extra updateLayoutChoice()s
7012 2003-03-18 John Levon <levon@movementarian.org>
7014 * text.C: top_y change means full repaint, fix
7015 a drawing bug with cursor movement
7017 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7021 * text2.C: anchor row on setCursor
7023 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7025 * lyxtext.h: remove almost all mutable keywords
7028 * text3.C: remove const keywords accordingly
7030 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7032 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7034 (TeXEnvironment): ditto
7037 2003-03-17 John Levon <levon@movementarian.org>
7039 * text.C (rowBreakPoint): remove attempt to fix displayed
7040 math insets inside a manual label
7042 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7044 * lyxtext.h: remove BufferView* as first arg from almost all class
7046 * other files: adjust.
7048 2003-03-17 John Levon <levon@movementarian.org>
7052 * text2.C: more paint cleanups
7054 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7057 * rowpainter.C: remove "smart" background painting code
7059 2003-03-16 John Levon <levon@movementarian.org>
7064 * text3.C: add helper functions for setting refresh_row/y
7066 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7068 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7069 newline inset which *can* get inserted in the pass_thru layouts.
7070 This is primarily for literate documents.
7072 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7074 * buffer.C: increment LYX_FORMAT to 223
7076 2003-03-14 André Pönitz <poenitz@gmx.net>
7078 * textclass.h: prepare for environment handling, ws changes
7079 * lyxlayout.C: read latexheader and latexfooter tags
7081 2003-03-14 John Levon <levon@movementarian.org>
7083 * text2.C: rewrite ::status() a bit
7085 2003-03-13 John Levon <levon@movementarian.org>
7087 * lyxtext.h: add some docs
7089 2003-03-13 John Levon <levon@movementarian.org>
7094 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7096 2003-03-13 John Levon <levon@movementarian.org>
7098 * text3.C: fix appendix redrawing
7100 2003-03-13 John Levon <levon@movementarian.org>
7102 * text.C (setHeightOfRow):
7104 * rowpainter.C: make appendix mark have the text
7105 "Appendix" so the user knows what it is
7108 * LColor.C: s/appendixline/appendix/ from above
7110 2003-03-13 John Levon <levon@movementarian.org>
7112 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7114 * text.C: fix a getChar(pos) bug properly
7116 2003-03-13 Angus Leeming <leeming@lyx.org>
7119 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7120 Probably only temporary. Let's see how things pan out.
7122 * BufferView.C (unlockInset):
7123 * BufferView_pimpl.C (fitCursor):
7124 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7126 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7127 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7129 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7130 new functions that convert ParagraphParameters to and from a string.
7132 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7133 BufferView::Pimpl's dispatch.
7134 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7136 2003-03-13 André Pönitz <poenitz@gmx.net>
7140 * factory.C: make it aware of InsetEnv
7142 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7144 * text2.C (setCursor): never ask for one past last
7145 (setCursor): add some debugging messages.
7147 * text.C (singleWidth): never ask for one past last
7148 (singleWidth): ditto
7150 (rightMargin): ditto
7151 (rowBreakPoint): ditto
7152 (setHeightOfRow): ditto
7153 (prepareToPrint): ditto
7155 * rowpainter.C (paintBackground): never ask for one past last
7156 (paintText): never ask for one past last
7158 * paragraph_pimpl.C (getChar): make the assert stricter, never
7159 allow the one past last pos to be taken
7161 * paragraph.C (getChar): ws changes only
7163 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7164 (numberOfSeparators): ditto
7165 (numberOfHfills): ditto
7167 2003-03-12 John Levon <levon@movementarian.org>
7173 * paragraph_funcs.C: fix per-buffer authorlists
7175 2003-03-12 John Levon <levon@movementarian.org>
7177 * text.C: fix newline in right address
7179 2003-03-12 Angus Leeming <leeming@lyx.org>
7181 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7182 duplicate those in LyXFunc::dispatch.
7186 * ToolbarDefaults.C:
7187 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7188 Add LFUN_FONTFREE_UPDATE.
7190 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7191 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7193 * bufferview_func.[Ch]: several new functions to facilliate
7194 transfer of data to and from the character dialog.
7196 2003-03-12 John Levon <levon@movementarian.org>
7201 * paragraph_funcs.C:
7202 * paragraph_pimpl.C:
7206 * text3.C: remove META_NEWLINE in favour of an inset
7209 * rowpainter.C: remove paintNewline (done by inset)
7211 2003-03-12 John Levon <levon@movementarian.org>
7213 * paragraph_pimpl.C: complain about bad getChar()s
7214 for a while at least
7216 2003-03-12 John Levon <levon@movementarian.org>
7219 * buffer.C: move paragraph read into a separate function,
7220 a little renaming to reflect that.
7223 * bufferparams.C: remove the author_ids map, not necessary now
7226 * factory.C: moved Buffer::readInset to here
7228 * paragraph_funcs.h:
7229 * paragraph_funcs.C: readParagraph free function moved from
7232 * tabular.C: name change
7234 2003-03-12 John Levon <levon@movementarian.org>
7237 * ParagraphParameters.C: move par params input to
7240 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7241 behave like a normal read from the stream wrt reading
7242 a line vs. a \\token
7244 2003-03-12 John Levon <levon@movementarian.org>
7247 * ParagraphParameters.h:
7248 * ParagraphParameters.C: move output code to a
7251 2003-03-12 John Levon <levon@movementarian.org>
7253 * BufferView.C (insertLyXFile):
7256 * tabular.C: use a parlist iterator for creating the
7259 2003-03-12 John Levon <levon@movementarian.org>
7261 * buffer.C: make current_change static local not
7264 2003-03-12 John Levon <levon@movementarian.org>
7266 * buffer.C: fix insertStringAsLines for change tracking
7268 2003-03-12 John Levon <levon@movementarian.org>
7275 * bufferparams.C: move author list into params. Rename some
7276 functions. Move the header reading into a separate token
7277 loop. Move the header token reading into BufferParams.
7279 2003-03-12 John Levon <levon@movementarian.org>
7281 * changes.C: put debug inside lyxerr.debugging() checks
7283 2003-03-11 André Pönitz <poenitz@gmx.net>
7285 * factory.C: make it aware of InsetHFill
7287 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7289 * buffer.C (latexParagraphs): move function from here...
7290 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7293 2003-03-10 Angus Leeming <leeming@lyx.org>
7295 * LyXAction.C (init): fix bug in poplating array with multiple entries
7296 with the same LFUN (spotted by JMarc).
7298 2003-03-10 John Levon <levon@movementarian.org>
7301 * text2.C: move getColumnNearX() near its
7304 2003-03-10 John Levon <levon@movementarian.org>
7306 * text.C: fix break before a minipage
7308 2003-03-10 John Levon <levon@movementarian.org>
7310 * text.C: fix the last commit
7312 2003-03-09 John Levon <levon@movementarian.org>
7316 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7317 bug 365 (don't break before insets unless needed). Don't
7318 return a value > last under any circumstances.
7320 2003-03-09 Angus Leeming <leeming@lyx.org>
7322 * BufferView_pimpl.C (trackChanges, dispatch): call
7323 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7325 2003-03-09 Angus Leeming <leeming@lyx.org>
7327 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7328 than Dialogs::showAboutlyx().
7330 2003-03-09 Angus Leeming <leeming@lyx.org>
7332 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7333 than Dialogs::showTabularCreate().
7335 2003-03-09 John Levon <levon@movementarian.org>
7339 * text2.C: 3rd arg to nextBreakPoint was always the same.
7342 2003-03-08 John Levon <levon@movementarian.org>
7349 * text2.C: Remove the "main" bit from the "main body"
7352 2003-03-08 John Levon <levon@movementarian.org>
7354 * text.C (leftMargin): The left margin of an empty
7355 manual label paragraph should not include the label width
7358 * text.C (prepareToPrint): don't attempt to measure hfills
7359 for empty manual label paragraphs - the answer should be 0
7361 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7363 * CutAndPaste.C: remove commented code and reindent.
7365 2003-03-08 John Levon <levon@movementarian.org>
7368 * lyxfunc.C: move reloadBuffer()
7371 * BufferView.C: to here
7373 * lyxvc.C: add comment
7376 * vc-backend.C: call bv->reload() to avoid
7377 getStatus() check on MENURELOAD
7379 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7381 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7382 to an old format .dep file.
7384 2003-03-07 Angus Leeming <leeming@lyx.org>
7386 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7387 when the LFUN_MOUSE_RELEASE should have been handled by
7388 inset->localDispatch.
7390 2003-03-07 Angus Leeming <leeming@lyx.org>
7392 * BufferView_pimpl.C (dispatch):
7393 * LyXAction.C (init):
7394 * ToolbarDefaults.C (init):
7396 * lyxfunc.C (getStatus):
7397 remove LFUN_INSET_GRAPHICS.
7399 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7401 2003-03-07 Angus Leeming <leeming@lyx.org>
7404 * LyXAction.C (init):
7405 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7407 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7410 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7412 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7413 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7415 2003-03-07 Angus Leeming <leeming@lyx.org>
7417 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7420 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7422 * ParagraphList.C (front): new function
7425 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7427 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7428 and top_row_offset_. removed var first_y.
7430 * text2.C (LyXText, removeRow):
7432 * BufferView_pimpl.C:
7433 use these methods instead of using first_y
7435 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7437 * text2.C (pasteSelection): adjust for checkPastePossible
7439 * CutAndPaste.C: remove Paragraph * buf and replace with
7440 ParagraphList paragraphs.
7441 (DeleteBuffer): delete
7442 (cutSelection): change the tc type to textclass_type
7443 (copySelection): change the tc type to textclass_type
7444 (copySelection): adjust for ParagraphList
7445 (pasteSelection): change the tc type to textclass_type
7446 (pasteSelection): adjust for Paragraphlist
7447 (nrOfParagraphs): simplify for ParagraphList
7448 (checkPastePossible): simplify for ParagraphList
7449 (checkPastePossible): remove unused arg
7451 * ParagraphList.C (insert): handle the case where there are no
7454 * CutAndPaste.h: make CutAndPaste a namespace.
7456 * text3.C (dispatch): adjust
7458 * text.C (breakParagraph): add a ParagraphList as arg
7460 * paragraph_funcs.C (breakParagraph): change to take a
7461 BufferParams and a ParagraphList as args.
7462 (breakParagraphConservative): ditto
7463 (mergeParagraph): ditto
7464 (TeXDeeper): add a ParagraphList arg
7465 (TeXEnvironment): ditto
7468 * buffer.C (readLyXformat2): adjust
7469 (insertStringAsLines): adjust
7470 (latexParagraphs): adjust
7472 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7473 (cutSelection): adjust
7474 (pasteSelection): adjust
7476 * BufferView_pimpl.C (insertInset): adjust
7478 2003-03-05 Angus Leeming <leeming@lyx.org>
7481 * LyXAction.C (init):
7482 * BufferView_pimpl.C (dispatch):
7483 * lyxfunc.C (getStatus):
7484 remove LFUN_CHILD_INSERT.
7486 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7488 2003-03-05 Angus Leeming <leeming@lyx.org>
7491 * LyXAction.C (init):
7492 * src/factory.C (createInset):
7493 * lyxfunc.C (getStatus):
7494 * text3.C (dispatch):
7495 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7497 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7499 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7501 * ParagraphList.C (insert): handle insert right before end()
7502 (erase): fix cases where it can be first or last paragraph.
7504 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7506 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7507 Paragraph::next and Paragraph::previous
7510 * text.C (breakParagraph): adjust
7512 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7513 BufferParams& as arg.
7514 (breakParagraph): use ParagraphList::insert
7515 (breakParagraphConservative): take a Buffer* instead of a
7516 BufferParams& as arg.
7517 (breakParagraphConservative): use ParagraphList::insert.
7519 * buffer.C (insertStringAsLines): un-const it
7520 (insertStringAsLines): adjust
7522 * ParagraphList.C (insert): new function
7524 * CutAndPaste.C (pasteSelection): adjust
7526 * text.C (backspace): adjust
7528 * tabular.C (SetMultiColumn): adjust
7530 * CutAndPaste.C (cutSelection): adjust
7531 (pasteSelection): adjust
7533 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7534 Buffer const * as arg
7536 * ParagraphList.C (erase): new function
7537 * paragraph_funcs.C (mergeParagraph): use it
7538 (mergeParagraph): make it take a Buffer* instead of a
7539 BufferParams* as arg
7541 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7543 (breakParagraphConservative): ditto
7545 * paragraph.h: remove the breakParagraph friend
7547 * paragraph.C (eraseIntern): new function
7548 (setChange): new function
7550 * paragraph_funcs.C (mergeParagraph): make it take a
7551 ParagraphList::iterator instead of a Paragraph *, adjust
7554 * paragraph.h: move an #endif so that the change tracking stuff
7555 also works in the NO_NEXT case.
7557 2003-03-04 Angus Leeming <leeming@lyx.org>
7560 * LyXAction.C: new LFUN_INSET_MODIFY.
7562 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7563 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7565 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7567 * several files: ws changes only
7569 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7570 (TeXEnvironment): ditto
7573 * buffer.C (makeLaTeXFile): adjust
7574 (latexParagraphs): make it take ParagraphList::iterator as args
7576 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7578 * buffer.C (latexParagraphs): adjust
7580 * paragraph.C (TeXOnePar): move function...
7581 (optArgInset): move function...
7582 (TeXEnvironment): move function...
7583 * paragraph_pimpl.C (TeXDeeper): move function...
7584 * paragraph_funcs.C: ...here
7586 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7588 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7590 * buffer.C (readInset): remove compability code for old Figure and
7593 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7595 * buffer.C: ws changes
7598 * BufferView_pimpl.C: ditto
7601 * bufferlist.h: ditto
7605 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7607 * converter.[Ch]: split into itself +
7610 * Makefile.am: += graph.[Ch] + format.[Ch]
7617 * lyxrc.C: added #include "format.h"
7619 2003-02-27 Angus Leeming <leeming@lyx.org>
7621 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7624 * factory.C (createInset): add "label" to the factory.
7626 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7627 string and do no more.
7629 2003-02-27 Angus Leeming <leeming@lyx.org>
7632 * LyXAction.C (init):
7633 * factory.C (createInset):
7634 * BufferView_pimpl.C (dispatch):
7635 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7637 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7639 * lyxfunc.C (dispatch):
7640 * text3.C (dispatch): pass name to params2string.
7642 2003-02-26 Angus Leeming <leeming@lyx.org>
7644 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7646 Rearrange the ~includes. Strip out the unnecessary ones.
7648 * factory.C (createInset): reformat.
7649 create new insets for the various LFUN_XYZ_APPLY lfuns.
7651 2003-02-26 John Levon <levon@movementarian.org>
7654 * lyxrow.C: add isParStart,isParEnd helpers
7656 * paragraph.h: make isInserted/DeletedText take refs
7658 * paragraph_funcs.h:
7659 * paragraph_funcs.C: remove #if 0'd code
7664 * text.C: use lyxrow helpers above.
7665 Move draw and paint routines to RowPainter.
7666 Make several methods use refs not pointers.
7667 Make backgroundColor() const.
7668 Add markChangeInDraw(), isInInset().
7669 Merge changeRegionCase into changeCase.
7670 Make workWidth() shouldn't-happen code into an Assert.
7673 * rowpainter.C: new class for painting a row.
7676 * vspace.C: make inPixels take a ref
7678 2003-02-26 Angus Leeming <leeming@lyx.org>
7680 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7683 2003-02-25 John Levon <levon@movementarian.org>
7685 * ispell.C: give the forked command a more accurate name
7687 2003-02-22 John Levon <levon@movementarian.org>
7690 * toc.C: make TocItem store an id not a Paragraph *
7693 2003-02-21 Angus Leeming <leeming@lyx.org>
7695 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7696 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7697 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7698 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7699 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7700 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7702 * BufferView_pimpl.C (dispatch):
7703 * LyXAction.C (init):
7704 * factory.C (createInset):
7705 * lyxfunc.C (getStatus, dispatch):
7706 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7708 2003-02-21 Angus Leeming <leeming@lyx.org>
7710 * BufferView_pimpl.C (MenuInsertLyXFile):
7711 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7712 * lyxfunc.C (menuNew, open, doImport):
7713 no longer pass a LyXView & to fileDlg.
7715 2003-02-21 Angus Leeming <leeming@lyx.org>
7717 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7718 * LyXAction.C: change, BIBKEY to BIBITEM.
7719 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7720 Change InsetBibKey to InsetBibitem.
7721 Change BIBKEY_CODE to BIBITEM_CODE.
7722 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7723 * factory.C: replace insetbib.h with insetbibitem.h.
7724 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7725 * paragraph.C: replace insetbib.h with insetbibitem.h.
7726 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7727 Change bibkey() to bibitem().
7728 * text.C: remove insetbib.h.
7729 * text2.C: replace insetbib.h with insetbibitem.h.
7730 change bibkey() to bibitem().
7731 * text3.C: remove insetbib.h.
7732 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7734 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7736 * lyxrc.C (output): enclose user email in quotes (in case there are
7739 2003-02-18 John Levon <levon@movementarian.org>
7741 * buffer.h: add std::
7743 2003-02-17 John Levon <levon@movementarian.org>
7749 * pspell.C: reworking. Especially in ispell, a large
7750 number of clean ups and bug fixes.
7752 * lyxfunc.C: fix revert to behave sensibly
7754 2003-02-17 André Pönitz <poenitz@gmx.net>
7757 * commandtags.h: new LFUN_INSERT_BIBKEY
7767 * paragraph_func.C: remove special bibkey handling
7769 2003-02-17 John Levon <levon@movementarian.org>
7771 * text.C (Delete): fix case where delete at the end of
7772 the very first paragraph would not merge the pars
7774 2003-02-17 John Levon <levon@movementarian.org>
7776 * lyxrow.C: fix lastPrintablePos()
7778 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7780 * bufferparams.C (writeLaTeX): add a std:here
7782 * buffer.C: and remove a using directive there
7784 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7786 * buffer.C (makeLaTeXFile): move the code that generates the
7789 * bufferparams.C (writeLaTeX): ... in this new method
7791 * LaTeXFeatures.C (getEncodingSet): make const
7792 (getLanguages): make const
7794 * MenuBackend.C (binding): returns the binding associated to this
7796 (add): sets the status of each item by calling getStatus. Adds
7798 (read): add support for OptSubMenu
7799 (expand): remove extra separator at the end of expanded menu
7801 2003-02-15 John Levon <levon@movementarian.org>
7804 * BufferView_pimpl.C:
7806 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7807 inset code that had no actual effect. Remove unneeded status
7810 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7812 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7815 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7817 * text.C (drawLengthMarker): also draw an arrow marker for
7818 symbolic lengths (medskip...)
7820 2003-02-14 John Levon <levon@movementarian.org>
7823 * tabular.C: better method names
7825 2003-02-14 John Levon <levon@movementarian.org>
7827 * BufferView_pimpl.C:
7832 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7833 it's a more accurate name. Remove some pointless uses.
7835 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7837 * text2.C (LyXText): change order of initilizers to shut off
7840 2003-02-14 John Levon <levon@movementarian.org>
7842 * buffer.C: use ParIterator for getParFromID()
7846 * paragraph_pimpl.h:
7847 * paragraph_pimpl.C: remove unused getParFromID()
7849 2003-02-14 John Levon <levon@movementarian.org>
7851 * buffer.C: remove some very old #if 0'd parse code
7853 2003-02-13 John Levon <levon@movementarian.org>
7857 * text2.C: move hfillExpansion(), numberOfSeparators(),
7858 rowLast(), rowLastPrintable(), numberofHfills(),
7859 numberOfLabelHfills() ...
7862 * lyxrow.C: ... to member functions here.
7867 * text.C: remove LyXText::beginningOfMainBody(), and call
7868 p->beginningOfMainBody() directly. Move the check for
7869 LABEL_MANUAL into the latter.
7876 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7882 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7883 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7885 2003-02-13 John Levon <levon@movementarian.org>
7887 * CutAndPaste.C: remove debug
7889 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7891 * paragraph.C (asString): remove two unused variables
7893 * lyxtextclass.C (readTitleType):
7895 (LyXTextClass): handle new members titletype_ and titlename_
7897 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7899 2003-02-09 John Levon <levon@movementarian.org>
7902 * buffer.C: replace hand-coded list with a map for the dep clean
7904 2003-02-08 John Levon <levon@movementarian.org>
7906 * LaTeX.C: consolidate code into showRunMessage() helper
7908 2003-02-08 John Levon <levon@movementarian.org>
7913 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7914 and pass the size in explicitly
7916 * BufferView_pimpl.h:
7917 * BufferView_pimpl.C:
7919 * BufferView.C: add getCurrentChange()
7921 * BufferView_pimpl.h:
7922 * BufferView_pimpl.C: handle change lfuns
7924 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7925 for changes. Mark pasted paragraphs as new.
7927 * support/lyxtime.h:
7928 * support/lyxtime.C:
7929 * DepTable.C: abstract time_t as lyx::time_type
7932 * LColor.C: add colours for new text, deleted text, changebars
7934 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7935 package use "usenames" option.
7939 * LyXAction.C: add change lfuns
7943 * author.C: author handling
7946 * buffer.C: add a per-buffer author list, with first entry as
7947 current author. Handle new .lyx tokens for change tracking. Output
7948 author list to .lyx file. Output dvipost stuff to .tex preamble.
7949 Bump lyx format to 222.
7952 * bufferlist.C: add setCurrentAuthor() to reset current author details
7956 * bufferparams.C: add param for tracking
7958 * bufferview_funcs.C: output change info in minibuffer
7962 * changes.C: add change-tracking structure
7965 * debug.C: add CHANGES debug flag
7968 * lyxfind.C: add code for finding the next change piece
7971 * lyxrc.C: add user_name and user_email
7974 * lyxrow.C: add a metric for the top of the text line
7977 * text.C: implement accept/rejectChange()
7980 * text.C: paint changebars. Paint new/deleted text in the chosen
7981 colours. Strike through deleted text.
7985 * paragraph_pimpl.h:
7986 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7987 in the current change to the insert functions. Rework erase to
7988 mark text as deleted, adding an eraseIntern() and a range-based
7989 erase(). Implement per-paragraph change lookup and
7992 * paragraph_funcs.C: Fixup paste for change tracking.
7994 * tabular.C: mark added row/columns as new.
7996 * text.C: fix rowLast() to never return -1. Don't allow
7997 spellchecking of deleted text. Track transpose changes. Don't
7998 allow paragraph break or merge where appropriate.
8000 * text2.C: leave cursor at end of selection after a cut.
8002 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8004 * text.C (getLengthMarkerHeight):
8005 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8006 visible on screen too.
8008 2003-02-07 John Levon <levon@movementarian.org>
8010 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8012 2003-02-05 Angus Leeming <leeming@lyx.org>
8014 * lyxserver.C (read_ready): revert my patch of 11 September last year
8015 as it sends PC cpu through the roof. Presumably this means that
8016 the lyxserver will no longer run on an Alpha...
8018 2003-01-30 Angus Leeming <leeming@lyx.org>
8020 * factory.C (createInset): create an InsetCommandParam of type "index"
8021 and use it to 'do the right thing'.
8023 * text2.C (getStringToIndex): ensure that cursor position is always
8024 reset to the reset_cursor position.
8026 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8028 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8031 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8035 * lyxfunc.C: Output messages with identical spelling, punctuation,
8038 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8040 * MenuBackend.C (expandFormats): List only viewable export formats
8043 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8046 * lyxfunc.C (getStatus): Make sure that formats other than
8047 "fax" can also be disabled
8049 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8051 * text3.C (dispatch): put the lfuns that insert insets in 3
8052 groups, and call doInsertInset with appropriate arguments.
8053 (doInsertInset): new function, that creates an inset and inserts
8054 it according to some boolean parameters.
8056 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8058 * buffer.C (readFile): remember to pass on 'par' when calling
8059 readFile recursively.
8061 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8063 * MenuBackend.C (expandFormats): add "..." to import formats.
8065 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8067 * paragraph.C (asString): Remove XForms RTL hacks.
8069 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8070 * buffer.C: fix typo
8072 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8074 * Makefile.am (LIBS): delete var
8075 (lyx_LDADD): add @LIBS@ here instead.
8077 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8079 * Clarify the meaning of "wheel mouse jump"
8081 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8083 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8086 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8088 * importer.C (Loaders): do not preallocate 3 elements in the
8089 vector, since one ends up with 6 elements otherwise
8091 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8093 * DepTable.C (write): write the file name as last element of the
8094 .dep file (because it may contain spaces)
8095 (read): read info in the right order
8097 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8099 * paragraph_pimpl.C (simpleTeXBlanks):
8100 (simpleTeXSpecialChars):
8101 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8103 * tabular.C (latex): add some missing case statements. Reindent.
8105 * MenuBackend.C (expandToc): remove unused variable.
8107 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8116 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8119 2003-01-05 John Levon <levon@movementarian.org>
8122 * BufferView.C: add getEncoding()
8125 * kbsequence.C: do not store last keypress
8128 * lyxfunc.C: store last keypress here instead. Pass encoding
8131 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8133 * lyx_main.C (init): remove annoying error message when following
8134 symbolic links (bug #780)
8136 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8138 * text.C (insertChar):
8139 * lyxrc.C (getDescription): remove extra spaces
8141 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8143 * lyxrc.C (getDescription): remove extra spaces
8145 2002-12-20 John Levon <levon@movementarian.org>
8147 * text3.C: hack fix for page up/down across tall rows
8149 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8151 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8154 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8156 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8157 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8158 thesaurus is not compiled in
8160 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8162 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8164 2002-12-16 Angus Leeming <leeming@lyx.org>
8167 * lyx_main.C (init): remove override_x_deadkeys stuff.
8169 2002-12-12 John Levon <levon@movementarian.org>
8171 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8172 insert. Only remove shift modifier under strict
8175 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8177 * MenuBackend.C (expandToc): fix crash.
8179 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8181 * MenuBackend.C (expandToc): gettext on float names.
8183 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8185 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8186 implement bool empty() [bug 490]
8188 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8190 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8192 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8194 * several files: ws changes
8196 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8198 * text2.C (setCounter): clean up a bit, use boost.format.
8199 (updateCounters): initialize par upon declaration.
8201 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8202 if the layout exists. We do not just store the layout any more.
8203 (SwitchLayoutsBetweenClasses): use boost.format
8205 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8207 * converter.C (convert): if from and to files are the same, use a
8208 temporary files as intermediary
8210 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8213 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8215 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8217 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8219 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8221 * tabular.C (asciiPrintCell): use string(size, char) instead of
8224 * sgml.C (openTag): fix order of arguments to string constructor
8227 * lyxfunc.C (dispatch): use boost.format
8229 * lots of files: change "c" -> 'c'
8231 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8233 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8235 2002-11-25 Angus Leeming <leeming@lyx.org>
8237 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8239 * lyx_main.C (init): compile fix.
8241 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8243 * lyx_cb.C (start): boost.formatify
8244 do not include <iostream>
8246 * lengthcommon.C: ws only
8248 * boost-inst.C,BoostFormat.h: add more explict instantations
8250 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8252 * lots of files: handle USE_BOOST_FORMAT
8254 2002-11-21 John Levon <levon@movementarian.org>
8256 * pspell.C: fix compile
8258 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8260 * lyxfunc.C (dispatch): use boost::format
8264 * lyxfont.C (stateText): use boost::format
8266 * lyx_main.C (LyX): use boost::format
8268 (queryUserLyXDir): ditto
8271 (typedef boost::function): use the recommened syntax.
8273 * importer.C (Import): use boost::format
8275 * debug.C (showLevel): use boost::format
8277 * converter.C (view): use boost::format
8282 * bufferview_funcs.C (currentState): use boost::format
8284 * bufferlist.C (emergencyWrite): use boost::format
8286 * buffer.C (readLyXformat2): use boost::format
8287 (parseSingleLyXformat2Token): ditto
8289 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8291 * LaTeX.C (run): use boost::format
8293 * Chktex.C (scanLogFile): use boost::format
8295 * BufferView_pimpl.C (savePosition): use boost::format
8296 (restorePosition): ditto
8297 (MenuInsertLyXFile): ditto
8299 * BoostFormat.h: help file for explicit instation.
8301 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8303 * tabular.C (latex): Support for block alignment in fixed width
8306 2002-11-17 John Levon <levon@movementarian.org>
8308 * BufferView_pimpl.C:
8310 * lyxfunc.C: split filedialog into open/save
8312 2002-11-08 Juergen Vigna <jug@sad.it>
8314 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8315 by my last patch (hopefully).
8317 2002-11-08 John Levon <levon@movementarian.org>
8326 * toc.C: ParConstIterator, and use it (from Lars)
8328 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8330 * lyxtextclass.[Ch]: revise and add doxygen comments
8332 2002-11-07 John Levon <levon@movementarian.org>
8334 * text.C: fix progress value for spellchecker
8336 * toc.C: fix navigate menu for insetwrap inside minipage
8338 * paragraph_funcs.C: added FIXME for suspect code
8340 2002-11-07 John Levon <levon@movementarian.org>
8342 * BufferView_pimpl.C: fix redrawing of insets
8345 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8347 * text2.C (updateCounters): fix bug 668
8349 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8351 * text3.C (dispatch): Do not make the buffer dirty when moving the
8354 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8356 * vc-backend.C: STRCONV
8359 * text2.C (setCounter): STRCONV
8361 * paragraph.C (asString): STRCONV
8363 * lyxlength.C (asString): STRCONV
8364 (asLatexString): ditto
8366 * lyxgluelength.C (asString): STRCONV
8367 (asLatexString): ditto
8369 * lyxfunc.C (dispatch): STRCONV
8372 * lyxfont.C (stateText): STRCONV
8374 * importer.C (Import): STRCONV
8376 * counters.C (labelItem): STRCONV
8377 (numberLabel): ditto
8378 (numberLabel): remove unused ostringstream o
8383 * bufferview_funcs.C (currentState): STRCONV
8385 * buffer.C (readFile): STRCONV
8386 (asciiParagraph): ditto
8387 (makeLaTeXFile): ditto
8389 * Spacing.C (writeEnvirBegin): STRCONV
8391 * LaTeXFeatures.C (getLanguages): STRCONV
8392 (getPackages): ditto
8394 (getBabelOptions): ditto
8395 (getTClassPreamble): ditto
8396 (getLyXSGMLEntities): ditto
8397 (getIncludedFiles): ditto
8401 (scanAuxFile): ditto
8404 * LString.h: add the STRCONV macros
8406 * BufferView_pimpl.C (savePosition): STRCONV
8407 (restorePosition): ditto
8408 (MenuInsertLyXFile): ditto
8410 * vc-backend.C (scanMaster): change from submatch[...] to
8413 * funcrequest.C: include config.h
8415 * factory.C: include config.h
8417 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8419 * box.C: include config.h
8421 * LaTeX.C (scanAuxFile): change from submatch[...] to
8425 2002-10-25 Angus Leeming <leeming@lyx.org>
8427 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8429 * ispell.[Ch] (setError): new method.
8430 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8431 Use setError() insetead of goto END.
8433 * lyx_cb.C (AutoSave): move out child process into new class
8436 2002-10-30 John Levon <levon@movementarian.org>
8438 * text3.C: make start appendix undoable
8440 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8442 * lyxlength.C (inPixels): Fix returned value.
8444 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8447 2002-10-24 Angus Leeming <leeming@lyx.org>
8449 * lyxgluelength.h: no need to forward declare BufferParams
8450 or BufferView, so don't.
8452 2002-10-21 John Levon <levon@movementarian.org>
8454 * BufferView.C: menuUndo ->undo, redo
8456 * BufferView.h: document, remove dead, make some methods private
8458 * paragraph_funcs.h:
8459 * paragraph_funcs.C:
8460 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8465 * sgml.C: move sgml open/close tag into sgml.C
8467 * bufferview_funcs.h: unused prototype
8470 * lyxfunc.C: remove unused
8473 * text.C: remove unused
8475 2002-10-21 John Levon <levon@movementarian.org>
8479 * BufferView_pimpl.h:
8480 * BufferView_pimpl.C: fix mouse wheel handling based on
8481 patch from Darren Freeman
8483 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8485 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8487 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8489 * lyxlength.C (inPixels): Fix hanfling of negative length.
8490 Fix LyXLength::MU case.
8492 2002-10-16 John Levon <levon@movementarian.org>
8494 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8496 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8498 * converter.C (view): add support for $$i (file name) and $$p
8499 (file path) for the viewer command. If $$i is not specified, then
8500 it is appended to the command (for compatibility with old syntax)
8502 2002-10-14 Juergen Vigna <jug@sad.it>
8504 * undo_funcs.C (textHandleUndo): alter the order in which the
8505 new undopar is added to the LyXText, as we have to set first
8506 the right prev/next and then add it as otherwise the rebuild of
8507 LyXText is not correct. Also reset the cursor to the right paragraph,
8508 with this IMO we could remove the hack in "redoParagraphs()".
8510 2002-10-09 Angus Leeming <leeming@lyx.org>
8512 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8513 to turn off an optimisation if a new inset is to be inserted.
8515 2002-10-11 André Pönitz <poenitz@gmx.net>
8517 * lyxtext.h: make some functions public to allow access
8518 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8520 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8522 * text3.C (dispatch): when changing layout, avoid an infinite loop
8525 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8527 * lyxrc.C (read): treat a viewer or converter command of "none" as
8530 * MenuBackend.C (expandFormats): for an update, also allow the
8531 formats that are not viewable
8533 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8534 script if it is newer than the lyxrc.defaults in user directory
8536 2002-10-07 André Pönitz <poenitz@gmx.net>
8538 * text.C: Vitaly Lipatov's small i18n fix
8540 2002-09-25 Angus Leeming <leeming@lyx.org>
8542 * ispell.h: doxygen fix.
8544 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8546 * buffer.h (readFile): Add a new argument to the method, to allow
8547 reading of old-format templates.
8549 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8551 * toc.C (getTocList): Get TOC from InsetWrap.
8553 2002-09-16 John Levon <levon@movementarian.org>
8555 * lyxfunc.C: check tabular for cut/copy too
8557 2002-09-12 John Levon <levon@movementarian.org>
8562 * factory.C: add header
8564 * paragraph_funcs.h:
8565 * paragraph_funcs.C: cleanup
8567 2002-09-11 John Levon <levon@movementarian.org>
8569 * PrinterParams.h: odd/even default to true
8571 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8573 * PrinterParams.h: update printer parameters for new xforms dialog
8575 2002-09-11 Angus Leeming <leeming@lyx.org>
8577 * lyxserver.C (read_ready): re-write to make it more transparent
8578 and to make it work in coherent fashion under Tru64 Unix.
8580 2002-09-11 André Pönitz <poenitz@gmx.net>
8584 * text3.C: implement LFUN_WORDSEL
8586 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8588 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8589 make floatlist_ a boost::shared_ptr<FloatList>
8591 * lyxtextclass.C: include FloatList.h
8592 (LyXTextClass): initialize floatlist_
8593 (TextClassTags): add TC_NOFLOAT
8594 (Read): match "nofloat" to TC_NOFLOAT and use it.
8595 (readFloat): modify call to floatlist_
8599 * FloatList.[Ch] (FloatList): remove commented out float
8601 (erase): new function
8603 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8605 * MenuBackend.C (expandToc): fix crash when there is no document
8608 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8610 * many files: Add insetwrap.
8612 2002-09-09 John Levon <levon@movementarian.org>
8614 * text2.C: remove confusing and awkward depth wraparound
8616 2002-09-09 John Levon <levon@movementarian.org>
8618 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8621 * buffer.C: remove getIncludeonlyList()
8624 * lyxfunc.C: remove headers
8626 2002-09-09 Juergen Vigna <jug@sad.it>
8628 * text.C (getColumnNearX): fix form Michael this is most
8629 probably a cut&paste bug.
8631 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8633 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8635 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8636 references, ws changes.
8638 * text2.C (init): update counters after init
8639 (insertParagraph): no need to set counter on idividual paragraphs.
8640 (setCounter): access the counters object in the textclass object
8641 on in the buffer object.
8642 (updateCounters): ditto
8644 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8645 shared_ptr<Counters> to avoid loading counters.h in all
8647 (LyXTextClass): initialize ctrs_
8648 (TextClassTags): add TC_COUNTER, and ...
8649 (Read): use it here.
8650 (CounterTags): new tags
8651 (readCounter): new function
8652 (counters): new funtion
8653 (defaultLayoutName): return a const reference
8655 * counters.C (Counters): remove contructor
8656 (newCounter): remove a couple of unneeded statements.
8657 (newCounter): simplify a bit.
8658 (numberLabel): some small formatting changes.
8660 * buffer.[Ch]: remove all traces of counters, move the Counters
8661 object to the LyXTextClass.
8663 2002-09-06 Alain Castera <castera@in2p3.fr>
8665 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8666 package to set the horizontal alignment on fixed width columns.
8669 * lyx_sty.h: added tabularnewline macro def.
8671 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8673 2002-09-06 John Levon <levon@movementarian.org>
8675 * LyXAction.C: tooltips for sub/superscript
8677 * MenuBackend.C: a bit more verbose
8679 * lyxfunc.C: tiny clean
8681 * undo_funcs.C: document undo_frozen
8683 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8685 * counters.C (Counters): add missing algorithm counter.
8687 * text2.C (setCounter): lookup the counter with layouts latexname
8688 instead of by section number.
8689 (setCounter): use a hackish way to lookup the correct enum
8691 a float name->type change
8692 reset enum couners with counter name directly instead of depth value.
8694 * counters.C (Counters): remove the push_backs, change to use the
8695 float type not the float name.
8696 (labelItem): remove unused string, float name->type change
8698 * counters.h: don't include vector, loose the enums and sects vectors
8700 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8702 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8703 (Read): add float->TC_FLOAT to textclassTags
8704 (Read): and handle it in the switch
8705 (readFloat): new function
8707 * FloatList.C (FloatList): comment out the hardcoded float
8710 * lyxlayout.h: ws change.
8712 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8714 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8716 2002-09-03 Angus Leeming <leeming@lyx.org>
8718 * BufferView_pimpl.h: qualified name is not allowed in member
8719 declaration: WorkArea & Pimpl::workarea() const;
8721 * factory.C: added using std::endl directive.
8723 * text3.C: added using std::find and std::vector directives.
8725 2002-08-29 André Pönitz <poenitz@gmx.net>
8728 * text2.C: remove unused member number_of_rows
8731 * BufferView2.C: remove file, move contents to...
8732 * BufferView.C: ... here
8734 * BufferView_pimpl.C:
8735 * factory.C: move more inset creation to factory
8737 * vspace.C: avoid direct usage of LyXText, ws changes
8740 don't provide direct access to WorkArea, use two simple
8741 acessors haveSelction() and workHeight() instead
8744 2002-08-29 John Levon <levon@movementarian.org>
8746 * BufferView_pimpl.C (dispatch): do not continue when
8749 2002-08-28 André Pönitz <poenitz@gmx.net>
8751 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8754 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8756 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8758 * buffer.C: increment LYX_FORMAT to 221
8760 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8761 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8763 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8765 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8767 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8769 * factory.C (createInset): use LyXTextClass::floats
8771 * MenuBackend.C (expandFloatListInsert):
8772 (expandFloatInsert):
8775 * text2.C (setCounter):
8777 * LaTeXFeatures.C (useFloat):
8778 (getFloatDefinitions):
8780 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8782 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8783 floatlist_, with accessor floats().
8785 * FloatList.h: remove global FloatList
8787 2002-08-26 André Pönitz <poenitz@gmx.net>
8789 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8793 * BufferView_pimpl.C:
8794 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8796 2002-08-25 John Levon <levon@movementarian.org>
8798 * LyXAction.C: fix margin note description
8800 2002-08-24 John Levon <levon@movementarian.org>
8804 * bufferview_funcs.C:
8806 * undo_funcs.C: cleanups
8808 * lyxfunc.C: disable CUT/COPY when no selection
8810 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8812 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8813 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8815 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8816 Add backward compatibility to "mono", "gray" and "no".
8818 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8820 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8821 (and file_format >= 200).
8823 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8825 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8827 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8829 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8831 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8833 * BufferView_pimpl.C:
8840 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8841 inset and code to make it work with the paragraph code. The inset
8842 can be anywhere in the paragraph, but will only do the expected
8843 thing in LaTeX if the layout file contains the parameter line
8845 (or more generally, a nonzero value) for that layout.
8847 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8849 * paragraph.h: remove the declaration of undefined counters class
8852 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8854 * text2.C (setCounter): fixed enumeration mis-count as reported by
8855 Dr. Richard Hawkins.
8857 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8859 * paragraph_funcs.h: remove some unneeded includes
8861 * text.C (backspace): pasteParagraph now in global scipe
8863 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8864 (pasteSelection): ditto
8866 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8867 * paragraph_funcs.C (pasteParagraph): ... here
8869 2002-08-20 André Pönitz <poenitz@gmx.net>
8871 * commandtags.h: new LFUNs for swapping/copying table row/colums
8874 * lyxfunc.C: support for new lfuns
8876 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8879 * buffer.[Ch]: remove NO_COMPABILITY stuff
8881 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8883 * boost.C (throw_exception): new file, with helper function for
8884 boost compiled without exceptions.
8889 * ParameterStruct.h:
8890 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8892 * bufferlist.C (emergencyWriteAll): use boost bind
8894 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8896 * text.C: include paragraph_funcs.h
8897 (breakParagraph): breakParagraph is now in global scope
8899 * paragraph_funcs.[Ch]: new files
8901 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8904 * buffer.C: include paragraph_funcs.h
8905 (insertStringAsLines): breakParagraph is now in global scope
8907 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8910 * CutAndPaste.C: include paragraph_funcs.h
8911 (cutSelection): breakParagraphConservative is now in global scope
8912 (pasteSelection): ditto
8914 * buffer.h: declare oprator== and operator!= for
8915 Buffer::inset_iterator
8917 * bufferlist.C (emergencyWrite): don't use fmt(...)
8919 * text3.C: add using std::endl
8921 * BufferView.C (moveCursorUpdate): remove default arg
8923 2002-08-20 André Pönitz <poenitz@gmx.net>
8925 * buffer.[Ch]: move inline functions to .C
8928 * BufferView_pimpl.C:
8930 * buffer.[Ch]: use improved inset_iterator
8933 * paragraph.[Ch]: write one paragraph at a time
8935 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8937 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8938 style if style is not specified.
8940 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8942 * text2.C (setCounter): when searching for right label for a
8943 caption, make sure to recurse to parent insets (so that a caption
8944 in a minipage in a figure float works) (bug #568)
8946 2002-08-20 André Pönitz <poenitz@gmx.net>
8948 * text3.C: new file for LyXText::dispatch() and helpers
8950 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8952 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8954 2002-08-19 André Pönitz <poenitz@gmx.net>
8957 * text.C: new LyXText::dispatch()
8959 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8961 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8963 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8965 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8968 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8970 * Makefile.am: use $(variables) instead of @substitutions@
8972 2002-08-15 André Pönitz <poenitz@gmx.net>
8975 * BufferView_pimpl.C: streamlining mathed <-> outer world
8979 * LyXAction.C: remove unused LFUN_MATH
8981 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8983 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8985 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8987 * paragraph.C (Paragraph): reformat a bit
8988 (cutIntoMinibuffer): use builtin InsetList function instad of
8992 * buffer.C: include boost/bind.hpp, add using std::for_each
8993 (writeFileAscii): use ParagraphList iterators
8994 (validate): use for_each for validate traversal of paragraphs
8995 (getBibkeyList): use ParagraphList iterators
8996 (resizeInsets): use for_each to resizeInsetsLyXText for all
8998 (getParFromID): use ParagraphList iterators
9000 * BufferView2.C (lockInset): use paragraph list and iterators
9002 2002-08-14 John Levon <levon@movementarian.org>
9004 * lyxserver.C: remove spurious xforms include
9006 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9008 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9010 2002-08-13 André Pönitz <poenitz@gmx.net>
9013 * lyxfunc.C: further cleaning
9015 2002-08-13 André Pönitz <poenitz@gmx.net>
9017 * funcrequest.h: new constructor
9019 * funcrequest.C: move stuff here from .h
9022 * BufferView_pimpl.C:
9025 * lyxfunc.C: subsequent changes
9027 * lyxfunc.h: new view() member function
9029 * lyxfunc.C: subsequent changes
9031 2002-08-13 Angus Leeming <leeming@lyx.org>
9034 * BufferView_pimpl.C:
9042 changes due to the changed LyXView interface that now returns references
9043 to member variables not pointers.
9045 2002-08-13 Angus Leeming <leeming@lyx.org>
9047 * WordLangTuple (word, lang_code): return references to strings,
9052 * lyxtext.h: forward-declare WordLangTuple.
9057 * text.C: #include "WordLangTuple.h".
9060 * text.C: (selectNextWordToSpellcheck): constify return type.
9062 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9068 * paragraph_pimpl.h:
9071 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9073 Made updateCounter always count from start of buffer, and removed
9074 second argument (par).
9075 Reverted floats number display to '#'. Perhaps I'll try again when the
9076 code base is sanitized a bit.
9078 2002-08-12 Angus Leeming <leeming@lyx.org>
9080 * buffer.[Ch] (getLabelList): constify.
9082 2002-08-07 André Pönitz <poenitz@gmx.net>
9084 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9086 * funcrequest.h: extension to keep mouse (x,y) position
9088 2002-08-12 Juergen Vigna <jug@sad.it>
9090 * BufferView2.C (insertErrors): forbid undo when inserting error
9093 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9095 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9097 * ParagraphList.[Ch]: new files
9099 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9101 * BufferView2.C (lockInset): ParagraphList changes
9104 * bufferlist.C: ditto
9108 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9110 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9111 unused class variable counter_,
9113 * paragraph.[Ch] (getFirstCounter): delete unused function
9115 * counters.C: include LAssert.h
9116 (reset): add a new function with no arg, change other version to
9117 not have def. arg and to not allow empty arg.
9119 * text2.C (setCounter): remove empty arg from call to Counters::reset
9121 2002-08-11 John Levon <levon@movementarian.org>
9123 * Makefile.am: add WordLangTuple.h
9125 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9127 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9128 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9130 * insets/insettext.C: InsetList changes
9132 * graphics/GraphicsSupport.C (operator()): InsetList changes
9134 * toc.C (getTocList): InsetList changes
9136 * paragraph_pimpl.[Ch]: InsetList changes
9138 * paragraph.[Ch]: InsetList changes
9140 * buffer.C (inset_iterator): InsetList changes
9141 (setParagraph): ditto
9142 * buffer.h (inset_iterator): ditto
9143 * iterators.C (operator++): ditto
9144 * iterators.h: ditto
9146 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9148 * InsetList.[Ch]: new files, most InsetList handling moved out of
9151 * BufferView2.C (removeAutoInsets): InsetList changes
9153 (ChangeInsets): ditto
9155 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9157 * paragraph_pimpl.h (empty): new function
9159 * paragraph.[Ch] (empty): new function
9161 * other files: use the new Paragraph::empty function
9163 2002-08-09 John Levon <levon@movementarian.org>
9165 * lyxtext.h: remove unused refresh_height
9167 2002-08-09 John Levon <levon@movementarian.org>
9174 * paragraph.C: move sgml char escaping out of paragraph
9177 * paragraph.C: remove id setter
9181 * paragraph_pimpl.C: remove dead tex_code_break_column
9183 * bufferview_funcs.C: small cleanup
9185 * lyxfunc.C: remove dead proto
9187 * lyxtext.h: make some stuff private. Remove some dead stuff.
9189 * lyxgluelength.C: make as[LyX]String() readable
9191 2002-08-08 John Levon <levon@movementarian.org>
9196 * ToolbarDefaults.C:
9199 * toc.C: lyxaction cleanup
9201 2002-08-08 John Levon <levon@movementarian.org>
9203 * BufferView2.C: small cleanup
9206 * lyxfind.C: move unnecessary header into the .C
9208 2002-08-08 John Levon <levon@movementarian.org>
9210 * funcrequest.h: just tedious nonsense
9213 * lyx_main.C: cleanups
9216 * vspace.C: remove dead header lyx_main.h
9218 2002-08-07 Angus Leeming <leeming@lyx.org>
9221 * paragraph_pimpl.h:
9222 Forward declare class Counters in paragraph.h by moving the ctrs member
9223 variable into Paragraph::Pimpl.
9224 (counters): new method, returning a reference to pimpl_->ctrs.
9226 * text2.C: ensuing changes.
9228 2002-08-07 John Levon <levon@movementarian.org>
9230 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9232 * BufferView_pimpl.C: announce X selection on double/triple
9235 * lyx_main.C: use correct bool in batch dispatch
9237 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9239 2002-08-07 André Pönitz <poenitz@gmx.net>
9241 * funcrequest.h: new class to wrap a kb_action and its argument
9244 * BufferView_pimpl[Ch]:
9248 * lyxrc.C: subsequent changes
9251 2002-08-07 John Levon <levon@movementarian.org>
9253 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9254 document options change.
9256 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9261 * makefile.am: move counters functionality over from
9262 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9264 2002-08-06 John Levon <levon@movementarian.org>
9266 * WordLangTuple.h: new file for word + language code tuple
9277 * BufferView2.C: use WordLangTuple
9280 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9282 2002-08-06 John Levon <levon@movementarian.org>
9284 * lyx_main.C: fix cmdline batch handling
9286 2002-08-06 André Pönitz <poenitz@gmx.net>
9288 * lyxrc.C: set default for show_banner to true
9290 2002-08-06 John Levon <levon@movementarian.org>
9292 * pspell.C: fix a crash, and allow new aspell to work
9294 2002-08-06 John Levon <levon@movementarian.org>
9297 * kbmap.C: small cleanup
9300 * vspace.C: add const
9302 2002-08-05 John Levon <levon@movementarian.org>
9304 * LyXAction.C: back to tabular-insert
9306 2002-08-04 John Levon <levon@movementarian.org>
9309 * BufferView.C: cosmetic change
9311 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9321 * BufferView2.C: purge all "Lyx" not "LyX" strings
9324 * lyxcursor.C: attempt to add some documentation
9329 * ToolbarDefaults.C:
9330 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9331 merge with LFUN_TABULAR_INSERT
9338 * pspell.C: split up i/pspell implementations into separate
9339 files, many cleanups
9341 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9343 * text2.C: some cleanup
9345 * lyxfunc.C: don't check for isp_command == "none" any more, it
9346 didn't make any sense
9348 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9353 * makefile.am: move counters functionality over
9354 from text2.C/paragraph.[Ch] to counters.[Ch], and
9356 2002-08-02 John Levon <levon@movementarian.org>
9358 * buffer.C: s/lyxconvert/lyx2lyx/
9360 2002-08-02 Angus Leeming <leeming@lyx.org>
9362 * lyxlex.C: revert John's change as it breaks reading of the user
9365 2002-08-02 Angus Leeming <leeming@lyx.org>
9367 * importer.C (Import):
9368 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9369 changes due to LyXView::view() now returning a boost::shared_ptr.
9371 2002-08-02 John Levon <levon@movementarian.org>
9373 * lyxlex.C: small cleanup
9375 2002-08-02 John Levon <levon@movementarian.org>
9377 * text2.C (status): small cleanup, no logic change
9379 2002-08-01 John Levon <levon@movementarian.org>
9382 * buffer.C (writeFile): don't output alerts, caller
9386 * lyx_cb.C: from above
9388 * lyxfunc.C: allow to open non-existent files
9390 2002-07-31 John Levon <levon@movementarian.org>
9392 * lyxserver.C: don't let incidental errors get
9395 2002-07-30 John Levon <levon@movementarian.org>
9397 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9399 2002-07-30 John Levon <levon@movementarian.org>
9402 * lyxserver.C: remove I/O callback too
9404 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9406 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9409 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9411 * many files: strip,frontStrip -> trim,ltrim,rtrim
9413 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9415 * PrinterParams.h: remove extern containsOnly, and include
9416 support/lstrings.h instead.
9418 * LaTeX.C (scanAuxFile): modify because of strip changes
9420 * buffer.C (makeLaTeXFile): ditto
9421 * bufferparams.C (writeFile): ditt
9422 * lyxfont.C (stateText): ditto
9423 * lyxserver.C (read_ready): ditto
9424 * vc-backend.C (scanMaster): ditto
9426 * BufferView_pimpl.h: ws changes
9428 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9430 2002-07-26 André Pönitz <poenitz@gmx.net>
9432 * kb_sequence.C: remove unnedred usings
9434 2002-07-26 Juergen Vigna <jug@sad.it>
9436 * lyxfind.C (LyXReplace): we have to check better if the returned
9437 text is not of theLockingInset()->getLockingInset().
9439 2002-07-25 Juergen Vigna <jug@sad.it>
9441 * lyxfind.C (LyXReplace): don't replace if we don't get the
9444 * undo_funcs.C (createUndo): remove debugging code.
9446 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9448 * buffer.C (parseSingleLyXformat2Token): Use default placement
9449 when reading old floats.
9451 * FloatList.C (FloatList): Change the default placement of figure
9452 and tables to "tbp".
9454 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9456 * MenuBackend.C: using std::max
9458 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9460 * MenuBackend.C (expandToc):
9461 (expandToc2): code moved from xforms menu frontend. It is now
9462 generic and TOCs are transparent to menu frontends.
9464 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9466 * toc.C (getTocList): protect against buf=0
9468 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9469 Menu as first parameter. Now, this calls itself recursively to
9470 expand a whole tree (this will be useful for TOC handling)
9471 (expandFloatInsert): remove 'wide' version of floats
9473 * MenuBackend.h (submenuname): returns the name of the submenu.
9474 (submenu): returns the submenu itself, provided it has been
9475 created by MenuBackend::expand
9477 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9479 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9480 insets which have noFontChange == true. (bug #172)
9482 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9484 * BufferView_pimpl.C: add connection objects and use them...
9487 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9489 * MenuBackend.C (expandLastfiles):
9492 (expandFloatListInsert):
9493 (expandFloatInsert):
9494 (expand): split expand in parts
9496 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9498 * lyx_gui.C: use lyx_gui::exit()
9500 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9502 * LyXAction.C: show the failing pseudo action
9504 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9506 * buffer.C (readFile): Run the lyxconvert script in order to read
9509 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9513 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9515 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9519 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9521 2002-07-22 Herbert Voss <voss@lyx.org>
9524 * lyxlength.[Ch]: add support for the vertical lengths
9526 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9528 * toc.[Ch]: std:: fixes
9530 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9532 * lyxrc.C: do not include lyx_main.h
9534 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9540 * BufferView2.C: include "lyxlex.h"
9543 * bufferparams.h: do not #include "lyxlex.h"
9545 * lyxtextclasslist.C (Add): remove method
9546 (classlist): renamed to classlist_
9548 * paragraph_pimpl.C:
9552 * bufferview_funcs.C:
9557 * toc.C (getTocList): use BufferParams::getLyXTextClass
9559 * toc.C (getTocList): use InsetFloat::addToToc
9561 * toc.[Ch]: new files, containing helper functions to handle table
9564 * lyxfunc.C (dispatch): no need to remove spaces around command
9566 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9567 first command of the sequence; it is not very clever, but I do not
9568 have a better idea, actually
9570 * LyXAction.C (LookupFunc): make sure to remove space at the
9571 beginning and end of the command
9573 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9575 * MenuBackend.C (getMenubar): new method: return the menubar of
9577 (read): treat differently reading of menu and menubar (in
9578 particular, the menubar has no name now)
9579 (Menu::menubar): remove
9581 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9584 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9586 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9587 a bibitem inset in a RTL paragraph.
9589 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9591 * paragraph_pimpl.C: constify
9593 * BufferView_pimpl.C:
9595 * lyxfunc.C: fix dispatch in a nicer way
9597 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9599 * lyxfunc.C (dispatch):
9600 * BufferView_pimpl.C:
9601 * BufferView_pimpl.h:
9603 * BufferView.h: rename Dispatch() to dispatch()
9605 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9607 * lyxlayout.C (Read): honor DependsOn tag
9609 * lyxlayout.[Ch] (depends_on): new method
9611 * version.C.in: update lyx_docversion
9613 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9615 * paragraph.C (validate): remove from here...
9616 * paragraph_pimpl.C (validate): ... and move here
9617 (isTextAt): make it const
9619 * buffer.C (getLists): ws cleanup
9621 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9623 * language.C (read): Use iso8859-1 encoding in latex_lang
9624 (this prevents LyX from crashing when using iso10646-1 encoding).
9626 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9628 * text2.C (toggleInset): if cursor is inside an inset, close the
9629 inset and leave cursor _after_ it
9631 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9633 * lyxfunc.C: move minibuffer completion handling out of here
9635 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9637 * BufferView_pimpl.C:
9638 * LaTeX.C: fix dispatch calls
9640 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9642 * text.C (drawChars): Fix Arabic text rendering.
9644 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9648 * lyxfunc.C: remove message-push/pop
9652 * lyxfunc.C: rationalise some code by removing verboseDispatch
9653 in favour of a bool argument to dispatch()
9655 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9657 * lyx_main.C (init): make sure to read symlinks as absolute paths
9659 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9662 * lyxfunc.C: no need for commandshortcut to be a member
9664 2002-07-15 André Pönitz <poenitz@gmx.net>
9666 * converter.C: add support for $$s (scripts from lib/scripts dir)
9667 * lyx_main.C: white space
9669 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9673 * lyxrc.C: remove second exit confirmation
9675 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9680 * BufferView_pimpl.h:
9681 * BufferView_pimpl.C:
9682 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9684 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9686 * MenuBackend.C (expand): add numeric shortcuts to document menu
9688 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9690 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9692 * lyxfont.C (setLyXFamily):
9699 * buffer.C (asciiParagraph): use ascii_lowercase
9701 2002-07-15 Mike Fabian <mfabian@suse.de>
9703 * lyxlex_pimpl.C (search_kw):
9704 * lyxlex.C (getLongString):
9705 * converter.h (operator<):
9706 * converter.C (operator<):
9707 * buffer.C (parseSingleLyXformat2Token):
9709 * ToolbarDefaults.C (read):
9710 * MenuBackend.C (checkShortcuts):
9712 * LColor.C (getFromGUIName):
9713 (getFromLyXName): use the compare_ascii_no_case instead of
9714 compare_no_case, because in turkish, 'i' is not the lowercase
9715 version of 'I', and thus turkish locale breaks parsing of tags.
9717 2002-07-16 Angus Leeming <leeming@lyx.org>
9719 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9720 now takes a Buffer const & argument.
9722 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9724 * BufferView.C (resize): check there's a buffer to resize
9726 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9728 * lyxfunc.C: remove dead code
9731 * lyxserver.C: use lyx_guii::set_read_callback
9733 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9735 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9736 an inset in a RTL paragraph.
9738 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9740 * lyxfunc.C: repaint after a font size update
9742 2002-07-15 André Pönitz <poenitz@gmx.net>
9744 * lyxlength.C: inBP should be able to return negative values
9746 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9748 * lyxfunc.C: use lyx_gui::update_fonts()
9750 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9752 * lyxfunc.C: use lyx_gui::update_color()
9754 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9760 * lyxrc.C: remove file->new asks for name option, and let
9761 buffer-new take an argument
9763 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9765 * BufferView_pimpl.C: remove unneeded extra repaint()
9767 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9769 * LyXAction.C: allow command-sequence with NoBuffer
9771 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9773 2002-07-10 Angus Leeming <leeming@lyx.org>
9775 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9777 2002-07-09 Angus Leeming <leeming@lyx.org>
9779 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9781 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9783 * lengthcommon.h: whitespace
9785 * lyxfunc.C: update scrollbar after goto paragraph
9787 * lyxtext.h: factor out page break drawing, and fix it so
9788 page break/added space paints as selected nicely
9790 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9792 * BufferView_pimpl.C: add FIXMEs, clean up a little
9794 2002-07-09 André Pönitz <poenitz@gmx.net>
9796 * lyxfont.[Ch]: support for wasy symbols
9798 2002-07-08 André Pönitz <poenitz@gmx.net>
9800 * BufferView_pimpl.C: apply John's patch for #93.
9802 2002-07-05 Angus Leeming <leeming@lyx.org>
9804 * BufferView_pimpl.C (buffer): generate previews if desired.
9806 * LColor.h: add "preview" to the color enum.
9808 * LColor.C (LColor): add a corresponding entry to the items array.
9810 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9813 2002-07-05 Angus Leeming <leeming@lyx.org>
9815 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9816 The body of the code is now in the method that is passed an ostream &
9817 rather than a file name.
9818 Pass an additional only_preamble parameter, useful for the forthcoming
9821 2002-07-03 André Pönitz <poenitz@gmx.net>
9823 * lyxfunc.C: simplify getStatus() a bit for math stuff
9825 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9827 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9829 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9831 * text.C (changeRegionCase): do not change case of all the
9832 document when region ends at paragraph end (bug #461)
9834 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9836 * paragraph.C (startTeXParParams):
9837 (endTeXParParams): add \protect when necessary
9839 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9841 * BufferView_pimpl.C (workAreaExpose): remove warning
9843 2002-06-27 Angus Leeming <leeming@lyx.org>
9845 * Makefile.am: add lyxlayout_ptr_fwd.h.
9847 2002-06-26 André Pönitz <poenitz@gmx.net>
9849 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9851 2002-06-25 Angus Leeming <leeming@lyx.org>
9853 * lyxfunc.C (dispatch): Comment out the call to
9854 grfx::GCache::changeDisplay. The method no longer exists now that the
9855 pixmap generation part of the graphics loader has been moved into
9858 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9860 * text2.C: layout as layout
9862 * text.C: layout as layout
9864 * tabular.C (OldFormatRead): layout as layout
9866 * paragraph_pimpl.C (TeXDeeper): layout as layout
9867 (realizeFont): layout as layout
9869 * paragraph.C (writeFile): layout as layout
9870 (validate): layout as layout
9871 (getFont): layout as layout
9872 (getLabelFont): layout as layout
9873 (getLayoutFont): layout as layout
9874 (breakParagraph): layout as layout
9875 (stripLeadingSpaces): layout as layout
9876 (getEndLabel): layout as layout
9877 (getMaxDepthAfter): layout as layout
9878 (applyLayout): layout as layout
9879 (TeXOnePar): layout as layout
9880 (simpleTeXOnePar): layout as layout
9881 (TeXEnvironment): layout as layout
9882 (layout): layout as layout
9883 (layout): layout as layout
9885 * lyxtextclass.C (compare_name): new functor to work with
9886 shared_ptr, layout as layout
9887 (Read): layout as layout
9888 (hasLayout): layout as layout
9889 (operator): layout as layout
9890 (delete_layout): layout as layout
9891 (defaultLayout): layout as layout
9893 * lyxlayout_ptr_fwd.h: new file
9895 * lyxlayout.C (Read): layout as layout
9897 * lyx_cb.C (MenuInsertLabel): layout as layout
9899 * bufferlist.C (newFile): layout as layout
9901 * buffer.C (readLyXformat2): layout as layout
9902 (parseSingleLyXformat2Token): layout as layout
9903 (insertStringAsLines): layout as layout
9904 (asciiParagraph): layout as layout
9905 (latexParagraphs): layout as layout
9906 (makeLinuxDocFile): layout as layout
9907 (simpleLinuxDocOnePar): layout as layout
9908 (makeDocBookFile): layout as layout
9909 (simpleDocBookOnePar): layout as layout
9910 (getLists): layout as layout
9912 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9914 * CutAndPaste.C (cutSelection): layout as layout
9915 (pasteSelection): layout as layout
9916 (SwitchLayoutsBetweenClasses): layout as layout
9918 * BufferView_pimpl.C (Dispatch): layout as layout
9919 (smartQuote): layout as layout
9921 * BufferView2.C (unlockInset): layout as layout
9923 2002-06-24 André Pönitz <poenitz@gmx.net>
9925 * lyxfunc.C: fix #487
9927 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9931 * lyxfunc.C: remove display_shortcuts, show_banner
9933 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9935 * Buffer_pimpl.C: oops, update on resize
9937 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9944 * BufferView.C: use repaint()
9946 * BufferView_pimpl.h:
9947 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9948 as it's a clearer description. Remove superfluous
9951 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9953 * text.C: fix bug 488. Not ideal, but getting
9954 getWord() to work properly for the insets that
9955 matter is more difficult ...
9957 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9959 * BufferView_pimpl.C:
9962 * lyxfunc.C: remove the six million index lyxfuncs to just
9963 one, and DTRT (bug 458)
9965 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9969 * BufferView_pimpl.h:
9970 * BufferView_pimpl.C: clean up resize() stuff,
9971 and unnecessary updateScreen()s
9973 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9977 * BufferView_pimpl.h:
9978 * BufferView_pimpl.C:
9981 * minibuffer.C: remove focus management of workarea,
9982 not needed. Use screen's greyOut()
9984 2002-06-17 Herbert Voss <voss@lyx.org>
9986 * converter.C: (convert) do not post a message, when converting
9987 fails, let the calling function decide what to do in this case
9989 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9991 * lyxfunc.C: tidy up a little
9993 2002-06-16 <alstrup@diku.dk>
9995 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9996 Got rid of FORMS_H_LOCATION include. Now we are
9999 2002-06-15 LyX Development team <lyx@rilke>
10001 * buffer.[Ch] (sgmlOpenTag):
10002 (sgmlCloseTag): Added support for avoiding pernicious mixed
10003 content. Return number of lines written.
10005 (makeLinuxDocFile):
10006 (makeDocBookFile): Fixed calls to sgml*Tag.
10007 Simple white space clean.
10009 (simpleDocBookOnePar): Simple white space clean.
10011 * tabular.[Ch] (docBook): Renamed to docbook and got another
10012 argument to related with the pernicious mixed content.
10014 (docbookRow): Fixed calls for docbook inset method.
10016 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10018 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10019 so it's X11 independent.
10023 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10025 2002-06-15 Lyx Development team <lyx@electronia>
10027 * intl.h: Renamed getTrans to getTransManager.
10029 2002-06-14 Angus Leeming <leeming@lyx.org>
10031 * Makefile.am: nuke forgotten stl_string_fwd.h.
10033 2002-06-12 Angus Leeming <leeming@lyx.org>
10035 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10037 2002-06-13 Angus Leeming <leeming@lyx.org>
10040 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10042 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10044 * kbmap.C (getiso): add support for cyrillic and greek
10046 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10050 * BufferView_pimpl.h:
10051 * BufferView_pimpl.C: move bogus scrolling logic
10054 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10057 * BufferView_pimpl.C: view->resize() change
10059 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10061 * BufferView_pimpl.C: topCursorVisible
10064 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10068 * lyx_gui.C: move to frontends/
10072 * lyx_main.C: changes from above
10074 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10081 * lyx_main.C: minor tidy
10083 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10085 * BufferView_pimpl.h:
10086 * BufferView_pimpl.C:
10088 * BufferView.C: make painter() const,
10091 * BufferView2.C: use screen() accessor
10094 * lyx_main.C: some minor cleanup
10096 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10098 * BufferView_pimpl.h:
10099 * BufferView_pimpl.C: remove enter/leaveView,
10102 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10107 * BufferView_pimpl.h:
10108 * BufferView_pimpl.C: only construct screen once,
10111 * lyxrc.C: remove pointless comment
10113 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10116 * BufferView.C: remove active() and belowMouse()
10118 * BufferView_pimpl.h:
10119 * BufferView_pimpl.C: use workarea() not workarea_,
10120 and make it use a scoped_ptr instead
10122 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10124 * lyx_gui.C: add debug message on BadWindow
10126 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10128 * sp_spell.C: fdopen is not part of the C++ standard.
10130 * paragraph.C (InsetIterator): use >= instead of ==
10132 2002-06-07 Angus Leeming <leeming@lyx.org>
10134 Fixes needed to compile with Compaq cxx 6.5.
10135 * BufferView_pimpl.C:
10142 * lyxtextclasslist.C:
10147 all c-library variables have been moved into namespace std. Wrap
10148 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10153 Add a using std::abs declaration.
10155 * kbmap.h (modifier_pair):
10156 * paragraph.h (InsetTable, InsetList):
10157 * lyxfont.h (FontBits):
10158 type definition made public.
10160 * bufferlist.C (emergencyWriteAll): the compiler complains that
10161 there is more than one possible lyx::class_fun template to choose from.
10162 I re-named the void specialisation as lyx::void_class_fun.
10164 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10166 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10167 the compiler is is unable to find tostr in write_attribute.
10169 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10171 * buffer.C (sgmlError): hide #warning
10173 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10175 * xtl/*: get rid of xtl, which is not in use anyway
10177 * LyXAction.C (init):
10178 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10179 were unimplemented xtl experimentation
10181 2002-06-04 André Pönitz <poenitz@gmx.net>
10183 * lyxfunc.C: disable array operation on simple formulae
10185 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10187 * converter.C: constify a bit
10189 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10191 * lyx_gui.C: check xforms version correctly
10193 2002-04-30 Herbert Voss <voss@lyx.org>
10195 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10198 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10200 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10201 attempt to register it with a VCS)
10203 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10205 * lyx_main.C (init): honor variables LYX_DIR_13x and
10208 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10212 * lyx_main.C: fix a crash on bad command line,
10213 and give a useful exit status on error
10215 * lyxfunc.C (doImport): allow -i lyx to work
10217 2002-03-30 André Pönitz <poenitz@gmx.net>
10219 * lyxfunc.C: mathed font changes
10221 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10236 * trans_mgr.h: srcdocs, and some minor cleanups
10238 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10240 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10241 call getFont all the time)
10243 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10245 * switch from SigC signals to boost::signals
10247 2002-05-29 André Pönitz <poenitz@gmx.net>
10249 * paragraph_pimpl.C (getChar): don't call size() too often...
10251 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10253 * paragraph_pimpl.C (insertChar): do not try to update tables when
10254 appending (pos == size())
10256 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10257 in order to reduce drastically the number of comparisons needed to
10258 parse a large document
10260 2002-05-29 André Pönitz <poenitz@gmx.net>
10266 * textclasslist.[Ch]:
10267 * sp_ispell.h: whitespace change
10269 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10271 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10272 lyxaction directly now.
10274 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10278 * lyxvc.C: remove unused headers
10280 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10287 * undo_funcs.C: some cleanups. Use shared_ptr
10288 and a template for the undo stacks.
10290 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10292 * BufferView_pimpl.h:
10293 * BufferView_pimpl.C:
10300 * text2.C: use key_state/mouse_state
10302 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10304 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10307 * chset.C: change include order
10308 (loadFile): use boost regex and get rid of LRegex and LSubstring
10310 * Makefile.am (BOOST_LIBS): new variable
10311 (lyx_LDADD): use it
10313 * LaTeX.C: change include order.
10314 (scanAuxFile): use boost regex and get rid of LRegex and
10318 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10323 * FontInfo.C: moved to frontends/xforms/
10326 * FontLoader.C: moved into frontends for GUIIzation
10331 * lyxfunc.C: changes from above
10333 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10335 * LColor.C: remove spurious X include
10337 * BufferView_pimpl.C:
10342 * text2.C: move font metrics to frontends/
10344 2002-05-24 Juergen Vigna <jug@sad.it>
10346 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10347 setting the undo_cursor.
10349 * ParagraphParameters.h: include local includes first.
10351 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10353 * BufferView_pimpl.C:
10354 * BufferView_pimpl.h:
10358 * screen.C: move WorkArea into frontends/
10364 * BufferView2.C: move LyXScreen into frontends/
10368 * lyx_gui.C: move lyxlookup into frontends/xforms/
10370 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10373 * BufferView_pimpl.C:
10383 * bufferview_funcs.C:
10396 * vc-backend.C: move LyX/XFormsView into frontends/
10398 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10410 * text2.C: move Painter to frontends/
10412 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10414 * buffer.C: comment out some some code that depend upon lyx_format
10417 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10418 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10420 * buffer.h (NO_COMPABILITY): turn off compability
10422 * ColorHandler.C: include scoped_array.hpp
10424 * font.C: Use more specific smart_ptr header.
10427 * ShareContainer.h: ditto
10428 * lyx_main.h: ditto
10430 * FontInfo.h: ditto
10431 * BufferView_pimpl.h: ditto
10432 * ColorHandler.h: ditto
10434 * kbmap.C (defkey): change call to shared_ptr::reset
10436 2002-05-21 Juergen Vigna <jug@sad.it>
10438 * buffer.C (insertErtContents): fix to insert ert asis if it is
10439 non empty. Skip it completely if it contains only whitespaces.
10441 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10443 * BufferView_pimpl.C:
10444 * BufferView2.C: clear selection on paste (bug 393)
10446 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10448 * DepTable.C: include ctime
10450 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10452 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10454 2002-05-14 Juergen Vigna <jug@sad.it>
10456 * text.C (breakParagraph): fixed function to honor the keepempty
10457 layout in the right maner and also to permit the right breaking
10458 algorithm on empty or non empyt keepempty paragraphs.
10460 * paragraph.C (breakParagraph): we have to check also if the par
10461 is really empty (!size()) for isempty otherwise we do the wrong
10464 2002-05-10 Juergen Vigna <jug@sad.it>
10466 * buffer.[Ch] : The following are only changes to the ert
10467 compatibility read reading old LaTeX layout and font stuff and
10468 convert it to ERTInsets.
10470 * buffer.h: added isErtInset().
10472 * buffer.C (struct ErtComp): add a fromlayout bool to check
10473 if we're inside a LaTeX layout.
10474 (isErtInset): new helper function.
10475 (insertErtContents): look for other ert insets before this one
10476 and insert the contents there, so that we don't have subsequent
10477 ERT insets with nothing between them. This way we create only one
10478 inset with multiple paragraphs. Also check if we don't insert only
10479 spaces ' ' as they are ignored anyway afterwards in the .tex file
10480 so if we have only spaces we will ignore this latex part in the
10482 (parseSingleLyXformat2Token \\layout): better compatibility when
10483 reading layout-latex stuff.
10484 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10486 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10487 stuff after reading the inset only get the information back from
10490 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10492 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10494 * LaTeXFeatures.C (getBabelOptions): New method.
10496 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10498 * BufferView_pimpl.C (Dispatch): work around missing argument for
10501 2002-05-08 Juergen Vigna <jug@sad.it>
10503 * text.C (leftMargin): handle paragraph leftindent.
10505 * paragraph.C (writeFile): write the new \\leftindent tag.
10506 (validate): handle leftindent code.
10507 (TeXEnvironment): handle paragraphleftindent code again.
10509 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10511 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10512 for paragrap_extra indent code and new token \\leftindent.
10513 (latexParagraphs): handle the leftindent as environment.
10515 * ParameterStruct.h: added leftindent support.
10517 * ParagraphParameters.C (leftIndent): added support functions for
10518 the paragraph left indent.
10520 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10523 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10525 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10528 * text.C (computeBidiTables): No bidi in insetERT.
10530 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10533 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10535 * version.C.in: pre 5
10537 2002-05-02 José Matos <jamatos@fep.up.pt>
10538 * buffer.C (makeDocBookFile): white space changes, add newline to
10540 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10542 * tabular.C (docBook): fix typo.
10544 2002-05-03 Juergen Vigna <jug@sad.it>
10546 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10547 change in LyXText as we can not be sure it was not freed.
10548 (drawOneRow): remove unused code.
10550 * text.C (drawInset): redo the calculation of the need_break_row as
10551 it could have a row which was already freed.
10552 (draw): look at the return value of drawInset and return false if
10553 it also returned false.
10554 (paintRowText): look at the return value of draw and return false if
10555 it also returned false.
10557 * lyxtext.h: added bool return type to drawInset() and draw() so that
10558 if we have a change in the row so that the rowbreak has to be redone
10559 we abort drawing as it will be called again.
10561 2002-05-02 Juergen Vigna <jug@sad.it>
10563 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10564 a change in the maintext also if we're inside an inset.
10565 (Dispatch): set the cursor again after a break line and after the
10566 screen has been updated as it could be we're in a different row.
10568 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10569 to set the cursor behind the pargraph with > size().
10570 (setCursor): check also for the same paragraph when checking where
10571 to put the cursor if we have a NFR inset.
10573 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10574 parts of layout read further up as it still was in the wrong
10577 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10579 * screen.C (drawFromTo): change sine fullRebreak always return
10582 * buffer.C (parseSingleLyXformat2Token): reindent some
10584 * BufferView_pimpl.C (update): change since fullRebreak always
10586 (Dispatch): git rid of the last hardcoded "Standard"s.
10588 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10590 * text2.[Ch] (fullRebreak): make it return void now that we always
10593 2002-04-30 Juergen Vigna <jug@sad.it>
10595 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10596 ert compatibility check for "latex" layout.
10598 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10600 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10601 minipages: use col% instead of p%, and also use the current font.
10602 (makeLaTeXFile): Fix use babel condition.
10603 (parseSingleLyXformat2Token): Correct font when reading old floats.
10605 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10607 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10608 inserting list of floats.
10610 2002-04-25 Herbert Voss <voss@lyx.org>
10612 * MenuBackend.C (expand): don't add the graphics extensions to the
10615 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10617 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10618 non-existing layout, do not complain if it was the default layout
10619 of the original class (bug #342)
10621 2002-04-24 Juergen Vigna <jug@sad.it>
10623 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10624 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10626 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10628 * buffer.C (getBibkeyList): If using \bibliography, return the
10629 option field with the reference itself. Enables us to provide natbib
10630 support when using \bibliography.
10632 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10634 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10636 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10637 natbib is provided by the LaTeX class.
10639 2002-04-23 Juergen Vigna <jug@sad.it>
10641 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10644 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10646 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10648 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10650 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10651 ensuremath around textordmasculine, textordfeminine and
10654 2002-04-19 Juergen Vigna <jug@sad.it>
10656 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10657 reinitializing the buffer otherwise row-dimensions may be wrong.
10658 (update): reset also the selection cursors if they do exits otherwise
10659 their x/y positions may be wrong.
10661 * text2.C (cursorDown): don't enter the inset if we came from a row
10662 above and are one row over the inset.
10664 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10665 really leaving an inset.
10667 2002-04-18 Juergen Vigna <jug@sad.it>
10669 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10670 of the selected paragraph does not have the selected layout also if
10673 * text2.C (setLayout): fixed bug which did not change last selected
10676 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10677 changed the read and substituted \\end_float with \\end_inset!
10679 * BufferView_pimpl.C (cursorPrevious):
10680 (cursorNext): fixed to make it work with rows heigher than the work
10681 area without moving the cursor only the draw of the row.
10682 (workAreaMotionNotify): fix jumping over high rows.
10684 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10686 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10689 2002-04-16 Juergen Vigna <jug@sad.it>
10691 * text2.C (setCursor): set also the irow().
10692 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10694 (cursorDown): support for locking an inset if the x_fix value goes
10695 inside it. That way I can transverse insets too with cursor up/down.
10697 * lyxrow.h: added irow helper function same as other (i) functions.
10699 * BufferView_pimpl.C (cursorPrevious):
10700 (cursorNext): fixed for insets!
10702 2002-04-15 Juergen Vigna <jug@sad.it>
10704 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10705 position otherwise it is wrong in some cases.
10707 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10708 inside the inset before the call.
10710 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10712 * buffer.[Ch] (getBibkeyList): make it const.
10714 2002-04-12 Juergen Vigna <jug@sad.it>
10716 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10718 * text2.C (getCursorX): new helper function
10719 (setCursor): compute also ix_
10720 (setCursorFromCoordinates): set also ix.
10722 * lyxcursor.h: added ix_ and helper functions.
10724 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10726 * buffer.C (insertStringAsLines): dont break paragraph if the this
10727 paragraph is inside an inset which does not permit it!
10729 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10730 also with no chars on this paragraph.
10731 (paintRowText): only paint stuff if it's inside the workarea!
10733 * paragraph.C (breakParagraph): honor keepempty flag and break the
10734 paragraph always below not above.
10736 * BufferView2.C (unlockInset): update the paragraph layout on inset
10737 unlock as we changed paragraph in such a case.
10739 * lyxfind.C (LyXFind): clear the former selection if not found!
10741 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10742 again called in insertChar().
10744 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10745 an inset which uses the whole row!
10746 (rightMargin): ditto.
10747 (insertChar): force a rebreak if we inserted an inset!
10749 2002-03-28 Herbert Voss <voss@lyx.org>
10751 * lyxlength.[Ch]: add inBP() to get the right PS-point
10752 units (BigPoint). With inPixels we have rounding errors
10754 2002-04-11 Juergen Vigna <jug@sad.it>
10756 * text2.C (setCursorFromCoordinates): set iy to the right value.
10757 (setCursor): add check if row->previous exists!
10759 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10760 an old float_type as this was the case in the old code!
10762 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10764 * BufferView2.C (showLockedInsetCursor): use iy
10765 (fitLockedInsetCursor): ditto
10767 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10768 locked insets as there we have the right value now.
10770 * lyxcursor.C: added iy_ variable and iy functions to set to the
10771 baseline of cursor-y of the locked inset.
10773 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10774 (setCursor): fixed for insets which need a full row.
10776 * text.C (rowLastPrintable): don't ignore the last space when before
10777 an inset which needs a full row.
10778 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10779 as last character of a row when before a inset which needs a full row.
10781 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10783 * version.C.in: update date
10785 * text2.C (fullRebreak): try to always return true and see what
10788 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10790 * MenuBackend.C (expand): use Floating::listName
10792 * FloatList.C (FloatList): add listName argument to the built-in
10795 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10796 text associated with the float.
10798 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10800 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10802 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10804 * ShareContainer.h: add a couple of missing typenames.
10806 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10808 * lyxrc.C (getDescription): use _() correctly rather than N_().
10810 2002-03-28 Herbert Voss <voss@lyx.org>
10812 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10813 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10815 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10817 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10818 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10820 2002-03-29 Juergen Vigna <jug@sad.it>
10822 * lyxfunc.C (dispatch): add a missing fitCursor call.
10824 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10825 it was scrolled by a cursor move, so return the bool status.
10827 * BufferView.C (fitCursor): return the bool flag also to the outside
10828 world as this is needed.
10830 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10832 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10833 call the edit() as it is not needed (and wrong) IMO.
10834 (workAreaButtonPress): set the screen_first variable before evt.
10835 unlock the inset as this may change screen_first and then we have
10836 a wrong y position for the click!
10838 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10840 * MenuBackend.C (expand): another translation that I missed
10842 2002-03-28 Juergen Vigna <jug@sad.it>
10844 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10846 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10848 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10850 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10852 * MenuBackend.C (expand): fix export/view/update when there is no
10855 2002-03-27 Herbert Voss <voss@lyx.org>
10857 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10860 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10862 * bufferview_funcs.C (currentState): only show paragraph number
10863 for is DEVEL_VERSION is set.
10865 * lyxfunc.C (dispatch): put warning in INFO channel
10867 * MenuBackend.C (expand): translate the name of floats
10869 * FloatList.C (FloatList): mark the float names for translation
10871 * converter.C (convert): use LibScriptSearch
10873 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10875 * MenuBackend.C (defaults): fix default menu (we might as well get
10878 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10880 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10883 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10885 * lyxvc.C: reorder includes.
10887 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10889 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10892 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10894 * CutAndPaste.C: change layouts earlier on paste
10895 to avoid crashing when calling getFont()
10897 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10899 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10902 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10904 * WorkArea.C: remove 'Pending' debug message.
10906 * most files: ws cleanup
10908 * buffer.[Ch]: ws changes
10910 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10912 2002-03-21 Juergen Vigna <jug@sad.it>
10914 * tabular.C (SetMultiColumn): collapse also the contents of the
10915 cells and set the last border right. Added a Buffer const * param.
10917 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10919 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10922 2002-03-19 Juergen Vigna <jug@sad.it>
10924 * text2.C (clearSelection): reset also xsel_cache.
10926 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10927 where it needs to be called (John tells us to do so too :)
10928 (selectionLost): reset sel_cache.
10930 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10932 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10934 * text2.C (setCursorIntern): put debuging code in INSETS channel
10936 2002-03-19 André Pönitz <poenitz@gmx.net>
10938 * lyxfunc.C: tiny whitespace change
10940 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10942 * ToolbarDefaults.C (init):
10943 * LyXAction.C (init):
10945 * BufferView_pimpl.C (Dispatch):
10946 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10948 2002-03-19 Allan Rae <rae@lyx.org>
10950 * exporter.C (Export): removeAutoInsets before doing anything else.
10951 While I've just introduced a dependency on BufferView this really is
10952 the best place to clean the buffer otherwise you need to cleanup in
10953 a dozen places before calling export or cleanup in a dozen functions
10956 * converter.C (runLaTeX):
10957 (scanLog): Better handling of removeAutoInsets and screen updates.
10959 * lyxfunc.C (dispatch): small whitespace changes
10961 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10963 * WorkArea.C (C_WorkAreaEvent): return a value.
10964 (event_cb): return 1 if we handled the event, 0 otherwise.
10966 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10968 2002-03-18 Juergen Vigna <jug@sad.it>
10970 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10971 (GetAdditionalWidth): ditto.
10972 (RightLine): ditto.
10975 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10976 inset if we're there actually (probably not used right now but this
10977 is the direction to go for unifying code).
10978 (paste): disable code to clear the selection.
10980 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10981 inside an InsetText and move the check further up as it is in the
10984 * text2.C (pasteSelection): set a selection over the pasted text.
10986 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10988 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10989 and libgraphics to build on Cygwin.
10991 2002-03-15 Juergen Vigna <jug@sad.it>
10993 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10994 inserting an Inset into the paragraph. I know this is not the best
10995 fix but we already use current_view in CutAndPaste so we will remove
10996 all of it's using at the same time.
10998 * buffer.C (sgmlError): deactivated function till it is rewritten in
10999 the right mode, now it can create problems.
11001 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11002 before accessing it.
11004 2002-03-14 Juergen Vigna <jug@sad.it>
11006 * undo_funcs.C (textHandleUndo): do the right thing when updating
11007 the inset after the undo/redo.
11009 * text2.C (setCursor): just some testcode for #44 not ready yet.
11011 * undo_funcs.C (textHandleUndo): set the next() and previous()
11012 pointers of the paragraph to 0 before deleting otherwise we have
11013 problems with the Paragraph::[destructor].
11015 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11016 on a paragraph insertion.
11018 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11020 * buffer.C (asciiParagraph): use += operator for char append to
11023 * paragraph.C (getFontSettings): compare >= not just >
11024 (highestFontInRange): ditto
11027 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11029 * paragraph.C: change several algorithm to be more appripriate for
11030 the problem domain. This is lookip in FontList and in the InsetList.
11032 2002-03-13 André Pönitz <poenitz@gmx.net>
11035 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11037 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11042 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11044 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11046 * Painter.C (display): anon helper function, adjust code for this
11048 (pixmap): remove function.
11050 * Painter.h: remove private display variable.
11052 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11054 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11056 * WorkArea.[Ch]: remove figinset_canvas cruft.
11058 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11060 * lyxtextclass.C (operator): add one item cache optimization.
11062 * bufferlist.h: doxy changes
11064 * bufferlist.C: ws changes
11066 * DepTable.[Ch] (ext_exist): place const in the right spot.
11068 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11070 (workAreaExpose): call resizeInsets when the with BufferView changes.
11071 (Dispatch): adjust for protectedBlank removal
11072 (specialChar): call updateInset if the insert went ok.
11074 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11075 specialChar instead.
11077 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11079 * BufferView.h: doxy change
11081 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11083 * lyxtextclass.C (operator[]): remove non-const version
11084 (defaultLayout): remove non-const version
11086 2002-03-12 Juergen Vigna <jug@sad.it>
11088 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11089 did resize the LyXText too.
11091 * buffer.C (readLyXformat2): set layout information on newly allocated
11094 * tabular.C (OldFormatRead): set layout information on the paragraph.
11096 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11098 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11100 2002-03-11 Juergen Vigna <jug@sad.it>
11102 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11104 (resizeCurrentBuffer): force also the insets to resize themselfes.
11105 (moveCursorUpdate): fixed up for InsetText.
11107 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11110 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11111 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11112 value of Dialogs::tooltipsEnabled().
11113 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11115 2002-03-08 Juergen Vigna <jug@sad.it>
11117 * BufferView_pimpl.C (updateInset): update inset inside inset also
11118 if it isn't inside theLockingInset().
11120 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11122 * buffer.C (asciiParagraph): redo some of the word and line length
11124 (getLists): look for Caption instead of caption.
11126 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11128 * buffer.C (Buffer): initialize niceFile to true
11130 (makeLinuxDocFile):
11131 (makeDocBookFile): make sure niceFile is true on exit
11133 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11135 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11137 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11139 * LyXSendto.C: remove.
11140 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11141 * lyx_gui.C: remove now-redundant comment.
11142 * ColorHandler.h: remove forward declaration of class WorkArea.
11143 * lyxfunc.C: remove #include "WorkArea.h".
11145 2002-03-07 Juergen Vigna <jug@sad.it>
11147 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11148 got moved away with the DEPM and also set the inset_owner always
11149 right which before could have been omitted.
11151 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11153 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11154 wanted layout is not found.
11156 2002-03-07 Juergen Vigna <jug@sad.it>
11158 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11160 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11162 * paragraph.C (breakParagraph): use default layout not layout of
11164 (Paragraph): clear ParagraphParameters.
11166 2002-03-06 Juergen Vigna <jug@sad.it>
11168 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11169 otherwise it would not be a valid lenght. Fixed a special case in
11170 the minipage compatibility read where we end the document with a
11173 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11174 was set as it could be 0 for InsetTexts first entry.
11176 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * paragraph.C (writeFile): if layout is empty write out
11179 defaultLayoutName().
11181 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11182 file without named layout we set layout to defaultLayoutName().
11184 2002-03-06 Juergen Vigna <jug@sad.it>
11186 * CutAndPaste.C (copySelection): set layout for new paragraph.
11188 * text.C (prepareToPrint): leave ERT inset left aligned
11189 (leftMargin): don't indent paragraphs inside ERT insets
11191 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11193 * paragraph.C (breakParagraph): dont call clear do the work manually
11195 * paragraph.[Ch] (clear): remove function
11197 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11199 * paragraph.C (Paragraph): dont call clear, the work has already
11202 * lyxtextclass.C (operator): assert if n is empty
11204 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11205 work manually instead.
11207 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11209 * BufferView_pimpl.C: protect selectionLost against text == 0
11211 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11213 * text.C (breakParagraph): fix a setting layout to '0' problem.
11215 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11217 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11218 final location of file, for the included files, and graphics.
11220 2002-03-05 Juergen Vigna <jug@sad.it>
11222 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11224 2002-03-04 Juergen Vigna <jug@sad.it>
11226 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11228 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11229 last column of multicolumn cells.
11230 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11232 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11234 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11235 file if it doesn't go to a temporary file.
11237 * buffer.C (sgmlOpenTag):
11238 (sgmlCloseTag): remove extra newline insertion.
11240 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11242 * text.C (getRowNearY): comment out debug msg
11244 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11246 * text2.C: first -> first_y
11248 * text.C (getRowNearY): add some attemts at a possible
11249 optimization, not working.
11251 * tabular.[Ch]: add BufferParams to several function so that newly
11252 created paragraph can be initialized to he default layotu for the
11255 * tabular-old.C (ReadOld): add buf->params to call of Init
11257 * screen.C: rename text->first to text->first_y
11259 * paragraph.C (breakParagraph): always set layout in the broken
11262 * lyxtextclass.C (Read): remove lowercase
11265 (delete_layout): ditto
11267 * lyxtext.h: rename first -> first_y
11269 * lyxlayout.C (Read): remove lowercase
11272 (obsoleted_by): ditto
11274 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11276 * buffer.C (insertErtContents): add params are to InsetERT
11277 (parseSingleLyXformat2Token): add code to check if a paragraphs
11278 layout really exist.
11279 (parseSingleLyXformat2Token): add params to several inset
11281 (asciiParagraph): remove lowercase, do the layout comparisons with
11284 * BufferView_pimpl.C (cursorNext): first -> first_y
11285 (resizeCurrentBuffer): first -> first_y
11286 (updateScrollbar): first -> first_y
11287 (scrollCB): first -> first_y
11288 (workAreaMotionNotify): first -> first_y
11289 (workAreaButtonPress): first -> first_y
11290 (checkInsetHit): first -> first_y
11291 (cursorPrevious): first -> first_y
11292 (cursorNext): first -> first_y
11293 (Dispatch): add buffer_->params to severl inset contructors
11295 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11297 * lyxlayout.C (Read): remove some debug info that I forgot.
11299 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11300 clean up the code slightly.
11301 (makeLinuxDocFile): ditto
11302 (makeDocBookFile): ditto
11304 * text2.C: layout as string
11306 * text.C: layout as string
11308 * paragraph_pimpl.C: layout as string
11310 * paragraph.[Ch]: layout as string
11312 * lyxtextclasslist.[Ch]: layout as string
11314 * lyxtextclass.[Ch]: layout as string
11316 * lyxtext.h: layout as string
11318 * lyxlayout.[Ch]: layout as string
11320 * lyx_cb.C: layout as string
11322 * bufferview_funcs.C: layout as string
11324 * bufferparams.C: layout as string
11326 * buffer.C: layout as string
11328 * LyXView.[Ch]: layout as string
11330 * LaTeXFeatures.[Ch]: layout as string
11332 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11334 * BufferView_pimpl.C: change current_layout to string, remove
11339 (workAreaButtonRelease): layout as string
11341 * BufferView2.C (unlockInset): adjust
11343 * vspace.C (asLatexCommand): use an explict temp variable.
11345 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11347 * Makefile.am: use FRONTEND_*
11349 2002-03-01 Juergen Vigna <jug@sad.it>
11351 * tabular.C (SetWidthOfMulticolCell): changed to something better
11352 I hope but still work in progress.
11353 (recalculateMulticolumnsOfColumn): renamed function from
11354 recalculateMulticolCells as it is more appropriate now.
11355 (SetWidthOfCell): calculate multicols better.
11357 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11359 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11361 * lyxfunc.C (processKeySym): print sequence also if it is
11362 `deleted' (complete)
11364 * kbsequence.C (print): print sequence even if it is deleted
11365 (complete would be a better word, actually).
11367 * lyxfunc.C (dispatch): print complete options after a prefix key
11369 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11371 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11373 * text2.C (setCharFont): eliminate setCharFont code duplication.
11375 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11377 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11378 LFUN_TABULAR_FEATURE (bug #177)
11380 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11382 * Makefile.am: remove figure.h
11384 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11386 * Bufferview_pimpl.C:
11398 * text2.C: remove #include "lyx_gui_misc.h".
11400 * LaTeX.C: added #include <cstdio>
11402 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11404 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11405 that the paragraph following this one can have.
11407 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11409 * vspace.C (asLatexCommand): fix bogus gcc warning
11411 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11413 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11415 * text2.C (setLayout): get rid of redundant code
11417 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11419 * text2.C (incDepth): make sure depth cannot be increased beyond
11422 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11424 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11425 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11427 * PainterBase.h (image):
11428 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11429 a LyXImage const *.
11431 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11435 * BufferView_pimpl.C:
11436 * BufferView_pimpl.h:
11456 * sp_spell.C: remove fig inset, and the crap house of
11457 cards that follows it
11459 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11464 * os2_errortable.h:
11465 * nt_defines.h: move .h into support/
11467 * vms_defines.h: remove
11469 * WorkArea.C: add space in debug output
11473 * buffer.C: add WITH_WARNINGS
11477 * bufferlist.C: s/retrive/retrieve/, add docs
11486 * chset.C: add docs
11488 * lyxgui.C: add ID to X error handler
11490 * lyxtestclass.c: fix typo
11492 2002-02-26 Juergen Vigna <jug@sad.it>
11494 * tabular_funcs.C (write_attribute): changed so that some default
11495 attributes are not written at all.
11496 (getTokenValue): set default values before trying to read the
11497 value so we have the return value always set as default if we don't
11498 find the token we search for.
11500 * tabular.C (Write): write bools as bools not as strings!
11502 2002-02-22 Juergen Vigna <jug@sad.it>
11504 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11505 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11507 * text.C (leftMargin): don't add an indent for paragraphs inside
11508 tabular cells (fix #208).
11510 2002-02-21 José Matos <jamatos@fep.up.pt>
11512 * tabular.C (docBook): fixed support for long tables.
11514 2002-02-20 Juergen Vigna <jug@sad.it>
11516 * text2.C (getFont): get the drawing font of the Inset if this
11517 paragraph is inside an inset (only important for InsetERT for now).
11519 * buffer.C (insertErtContents): use new lanugage params in ERT
11522 * CutAndPaste.C: commenting out seemingly uneeded code.
11524 2002-02-19 Allan Rae <rae@lyx.org>
11526 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11527 Iterators might be simple to use but they also get invalidated.
11528 (removeAutoInsets): renamed saved cursor tracking variables and added
11529 some comments to clarify what everything does.
11531 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11538 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11539 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11542 * vc-backend.h: remove #include "support/syscall.h"
11546 * converter.C: rearrange #includes in Lars' approved fashion.
11548 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11549 forward declare class Timeout in the header file.
11551 * XFormsView.C: changes due to the above.
11553 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11554 similar to LyXView.
11556 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11557 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11559 2002-02-18 José Matos <jamatos@fep.up.pt>
11561 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11564 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11566 * a lot of small ws changes
11567 * add a lot of using std::XXX
11568 * use std construcs some places where approp.
11569 * use some exisint stuff from lyxfunctional where approp.
11570 * Make file changes to use partial linking (lets test this now...)
11572 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11576 remove #include "support/syscontr.h" as it's redundant. Always has been.
11584 change Systemcalls::System to Systemcalls::Wait and
11585 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11586 No change of functionality, just reflects the stripped down Systemcalls
11589 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11591 * debug.[Ch]: add a GRAPHICS type to the enum.
11593 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11595 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11597 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11600 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11602 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11603 match the changes below.
11605 * text2.C (toggleInset): if there is not editable inset at cursor
11606 position, try to see if cursor is _inside_ a collapsable inset
11609 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11611 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11612 document menu has a nice checkbox
11614 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11616 * lyxlength.C (asLatexString): change PW to output as percent of
11619 * lengthcommon.C: change '%' to 't%'
11621 * lyxfunc.C (dispatch): a few comments from Martin
11623 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11627 * BufferView_pimpl.h:
11628 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11631 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11633 * vspace.C (inPixels): fix compiler warning
11635 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11637 * lyxfunc.C (getStatus): fix status message for disabled commands.
11639 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11641 * BufferView_pimpl.C: fix crash on close buffer
11642 during selection (#227)
11644 2002-01-27 Herbert Voss <voss@lyx.org>
11646 * buffer.C: link old Figure to new graphic inset
11648 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11650 * FontLoader.C (getFontinfo): Change the latex font names in order
11651 to match the names of type1inst.
11653 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11655 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11657 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11658 (extchanged): ditto
11660 (remove_files_with_extension): ditto
11661 (remove_file): ditto
11664 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11665 document is smaller than the work area height. Do not initialize
11666 static variables to 0.
11668 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11670 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11672 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11673 LFUN_LAYOUT_PARAGRAPHS.
11675 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11676 tabular. It is possible to provide a possible cell, which will
11677 typically be the actcell from the corresponding insettabular
11679 * lyxfunc.C (getStatus): small cleanup; disable
11680 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11683 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11685 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11687 * paragraph.C (startTeXParParams):
11688 (endTeXParParams): new methods. The LaTeX code to
11689 start/end paragraph formatting
11690 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11691 empty (fixes bug #200)
11693 * vspace.C (inPixels): adapt to the change below
11694 (inPixels): [later] more cleanups (remove unused variables)
11696 * lyxlength.C (inPixels): change to use a width and a height as
11699 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11701 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11702 Replaced with \paperwidth
11704 * DepTable.C (insert): add std:: qualifier
11706 2002-01-18 Allan Rae <rae@lyx.org>
11708 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11711 * text.C (drawInset): Turned out I didn't know enough about how
11712 rebreaking worked. This fixes most of the redraw problems. I see
11713 an occasional cursor trail when a line is broken now and the cursor
11714 placement can seem out by a few pixels also after a rebreak.
11716 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11718 * buffer.C (parseSingleLyXformat2Token): update because minipage
11719 width is now a LyXLength
11721 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11723 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11726 2002-01-17 Juergen Vigna <jug@sad.it>
11728 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11730 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11731 is set correctly and the inset is updated correctly.
11733 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11735 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11736 the beginning of the loop.
11738 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11740 * lyxrc.C: improve help for use_scalable_fonts
11742 2002-01-17 Allan Rae <rae@lyx.org>
11744 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11746 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11748 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11749 make sure to set their inset_owner to the right value (bug #171)
11751 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11754 * DepTable.C: Implement mtime checking to reduce time spent doing
11757 2002-01-16 Juergen Vigna <jug@sad.it>
11759 * tabular.C (GetAdditionalHeight): one of error fixed.
11761 * lyxrc.C (output): small fix in writing use_pspell.
11763 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11765 * sp_base.h: #include LString.h
11767 2002-01-16 Allan Rae <rae@lyx.org>
11769 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11770 Can someone check this please?
11772 * text.C (drawInset): It was possible that p.row would be removed by
11773 breakAgainOneRow upsetting a few other settings. There may be another
11774 small tweak possible by setting need_break_row = 0 when p.row has been
11775 removed but I don't know enough about the logic here.
11777 2002-01-15 Allan Rae <rae@lyx.org>
11779 * text.C (insertChar): removed conditional truism.
11781 * BufferView2.C (removeAutoInsets): More tweaks.
11782 cur_par_prev could be a stray pointer. Check for trailing empty line
11783 in case last line was cur_par and only had an error inset on it.
11785 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11787 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11790 * vc-backend.C (most methods):
11791 * exporter.C (Export):
11792 * converter.C (convert):
11794 * LyXSendto.C (SendtoApplyCB):
11795 * lyxfunc.C (dispatch):
11799 * lyx_cb.C (AutoSave):
11801 * BufferView_pimpl.C (MenuInsertLyXFile):
11802 * buffer.C (runChktex): use Buffer::filePath().
11804 * buffer.h: rename filename to filename_; rename filepath to
11805 filepath_ and make it private
11806 (filePath): new method
11808 * buffer.C (writeFile): use fileName()
11811 * lyx_main.C (init): fix starting of LyX when the binary is a
11812 link from so,ewhere else.
11814 * minibuffer.C: include <cctype> for isprint
11816 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11818 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11819 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11820 name clash with InsetCollapsable's width function.
11822 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11824 * lastfiles.C: include <iterator>
11826 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11828 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11831 * buffer.C (makeLaTeXFile): ditto.
11832 Also make loop operation more transparent.
11834 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11836 * ToolbarDefaults.C: remove trailing comma closing namespace.
11838 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11840 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11843 * trans.C (Load): comment out unused variable, allowed.
11845 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11847 * minibuffer.[Ch] (append_char): new method to recieve input from the
11848 drop-down completion browser. If a key was pressed, then recieve this
11849 char and append it to the existing string.
11850 (peek_event): modify the positioning data passed to the completion
11851 browser so that it can be placed above the minibuffer rather than below.
11852 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11854 * LyXAction.C (init): alloe error-next for readonly documents.
11856 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11859 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11861 * bufferlist.C (readFile): create the buffer _after_ checking that
11864 * lyxfunc.C (verboseDispatch): fix handling of arguments
11866 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11868 * lyxrc.C: use string::erase() instead of initializing to "".
11871 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11873 * BufferView_pimpl.h:
11874 * BufferView_pimpl.C:
11877 * text2.C: tell X when we have made a selection for copying
11879 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11881 * BufferView_pimpl.C (MenuInsertLyXFile):
11882 * lyxfunc.C (menuNew):
11884 (doImport): add shortcuts to directory buttons
11886 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11889 * lyxfunc.C (setStatusMessage):
11890 (getStatusMessage): new methods
11891 (getStatus):use setStatusMessage instead of setErrorMessage
11892 (dispatch): when function is disabled, set error message here
11893 [instead of in getStatus previously]
11895 * BufferView_pimpl.C (workAreaButtonRelease): update
11896 toolbar/menubar here too.
11898 2002-01-13 Allan Rae <rae@lyx.org>
11900 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11901 Now seems indestructible. Remaining task is to audit all other
11902 code affected by deleteEmptyParagraphMechanism. One small quirk
11903 left is that an empty document with an error in the preamble can
11904 be made to report an error but no error box appears. I don't know
11906 (removeAutoInsets): Improved comments.
11908 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11911 * Thesaurus.C: update for Aiksaurus 0.14
11913 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11915 * text2.C (firstParagraph): removed member function, all uses
11916 replaces with ownerParagraph
11917 (redoParagraphs): here
11918 (updateInset): here
11919 (toggleAppendix): here
11920 * BufferView2.C (insertErrors): here
11921 (setCursorFromRow): here
11923 2002-01-13 Allan Rae <rae@lyx.org>
11925 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11926 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11927 There is still a way to segfault this although you may have to do this
11928 multiple times: Have an InsetERT with an unknown command in it.
11929 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11930 <down-arrow>, <Enter> again, View->DVI, BANG!
11932 * text2.C (setCursor):
11933 (deleteEmptyParagraphMechanism):
11934 * lyxtext.h (setCursor):
11935 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11936 Making use of the return value may help fix other bugs.
11938 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11940 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11942 * LyXView.C (updateMenubar): call MenuBar::update here
11943 (updateToolbar): but not here
11944 (showState): do not update toolbar/menubar
11946 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11947 should need to care about that.
11949 * lyxfunc.C (verboseDispatch): simplify a bit
11950 (getStatus): have a version which takes a pseudoaction, and
11951 another which requires a (kb_action,string).
11953 * LyXAction.C (retrieveActionArg): make it work also when action
11954 is not a pseudo-action.
11955 (getActionName): simplify a bit
11958 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11960 * lyxfunc.C (verboseDispatch): new families of methods with
11961 several ways to specify a command and a bool to indicate whether
11962 the command name and shortcut should be displayed in minibuffer
11963 (eventually, we could extend that to a finer bitmask like
11964 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11965 (dispatch): the pristine dispatch command which just, well,
11966 dispatchs! Note it still sets its result to minibuffer; I'm not
11969 * lyxfunc.h: remove setHintMessage
11971 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11973 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11975 * BufferView_pimpl.C (specialChar): delete new inset if we have
11976 not been able to insert it.
11978 * kbmap.C: revert to using int instead of kb_action, since all we
11979 are dealing with is pseudo-actions.
11981 * LyXAction.C (searchActionArg): change to return int instead of
11982 kb_action, since the result is a pseudoaction.
11984 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11986 * buffer.C (insertErtContents): Fix (partially) the font bug.
11988 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11990 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11991 as the other one is broken on my machine!
11993 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11996 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11998 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12000 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12001 reflect their actual use. Provide compatibility code for older lyxrc
12004 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12006 change names of popup font variables in line with the changes to lyxrc.C
12008 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12010 * buffer.C (asciiParagraph): avoid outputing a word twice after
12013 * lyxrc.C (getDescription): document that document_path and
12014 template_path can be empty.
12016 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12018 * LaTeXFeatures.C (getMacros):
12019 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12021 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12023 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12025 (getPackages): rename feature "floats" to "float". Use an array to
12026 iterate over 'simple' features (i.e. just a \usepackage). Add
12027 handling of "amsmath" (renamed from "amsstyle").
12029 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12031 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12034 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12036 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12037 FuncStaus::FuncStatus & FuncStaus::some_method().
12039 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12041 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12042 of the func_satus stuff. Edited and massaged in various ways by
12045 * lyxfunc.C (getStatus): use FuncStatus
12047 2002-01-08 Juergen Vigna <jug@sad.it>
12049 * text.C (nextBreakPoint): use function Inset::isChar().
12051 * paragraph.C (TeXOnePar): use function
12052 Inset::forceDefaultParagraphs.
12054 * buffer.C (latexParagraphs): use function
12055 Inset::forceDefaultParagraphs.
12057 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12059 * lyx_gui.C (init): set the style of the menu popups to
12060 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12062 2002-01-07 Juergen Vigna <jug@sad.it>
12064 * text.C (setHeightOfRow): small fix
12065 (prepareToPrint): don't look at alignment if we don't have the place
12068 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12070 * box.C: New file. Move the Box methods and functions out of box.h,
12071 following Lars' suggestion.
12073 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12075 * box.h: #include "support/LOstream.h", needed for inlined function.
12078 * lyxtextclasslist.C: added some using std declarations.
12080 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12082 * box.h: make signed dimensions to allow insets wider than
12083 the screen (bug #162)
12085 * BufferView_pimpl.C: add some insetHit debug
12087 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12089 * vc-backend.C: add FIXME
12091 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12093 * lyxfunc.C (getStatus): enable code for showing math font status
12096 2002-01-07 Juergen Vigna <jug@sad.it>
12098 * text.C (nextBreakPoint): removed debug output not needed anymore.
12100 2002-01-06 Juergen Vigna <jug@sad.it>
12102 * text.C (nextBreakPoint): fixed up this function we had this bug
12103 since ever but now hopefully we break row better.
12104 (insertChar): we have to check if an inset is the next char as it
12105 could now happen that a large inset is causing a break.
12107 2002-01-05 Juergen Vigna <jug@sad.it>
12109 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12110 if it doesn't like to be drawed.
12112 2002-01-04 Juergen Vigna <jug@sad.it>
12114 * BufferView2.C (lockInset): forgot to set a cursor.
12116 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12118 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12120 * FormMathsPanel.C:
12123 * form_maths_panel.C:
12124 * form_maths_panel.h:
12125 * form_maths_panel.fd: implemented sub- and super- buttons in math
12128 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12129 (or ^ space) to be used as in TeX (req'd by André).
12131 * lyxfunc.C: Allow ^ and _ again to be used both as
12132 super/subscript (mathed) and as themselves (in text).
12134 2002-01-03 Allan Rae <rae@lyx.org>
12136 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12137 "LyX" or the filename of the current buffer if it has one. This is a
12138 modified form of John Levon's patch.
12140 * XFormsView.C (setWindowTitle): also set icon title.
12142 * LyXView.h (setWindowTitle): signature changed.
12143 * XFormsView.h (setWindowTitle): ditto.
12145 2002-01-02 Juergen Vigna <jug@sad.it>
12147 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12149 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12151 * screen.C (topCursorVisible): introduce a temp var for
12152 text->cursor.row(), handle the case where this row is null. (kindo
12155 * text2.C (setCursor): add a couple of asserts.
12157 * paragraph.h (inset_iterator): add -> operator
12159 * paragraph.[Ch] (autoDeleteInsets): remove member function
12161 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12162 cursor pos correctly and handle inset deletion by itself.
12163 (insertErrors): move iterator declaration out of for expression
12165 * lyxtextclass.C: add <algorithm>
12167 * Makefile.am: added the new files to sources, removed layout.C
12169 * layout.C: removed file
12171 * layout.h: remove LYX_DUMMY_LAYOUT
12173 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12177 * lyxtextclass.[Ch]:
12178 * lyxtextclasslist.[Ch]: new files
12180 * include order changes to a lot of files, also changes because of
12183 2001-12-27 Juergen Vigna <jug@sad.it>
12185 * buffer.C (asciiParagraph): more fixes.
12187 * tabular.C (ascii): make ascii export support export of only the
12188 data separated by a column-delimiter.
12189 (ascii): better support for ascii export.
12191 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12193 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12195 * tabular_funcs.C: use a "using std::getline" instead of the
12196 previous fix from Angus (necessary for cxx + lyxstring)
12198 2001-12-24 Juergen Vigna <jug@sad.it>
12200 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12202 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12203 problems. First check a minipage also if we have some ert-contents
12204 (not only on par->size(), second set the right depth of the paragraph
12205 on the relink to the root-paragraph-list!
12207 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12208 which then did not anymore update the main paragraphs on undo/redo!
12210 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12212 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12213 code. Support all font-changing funcs (even those which are not in
12214 menu currently). Support for reporting font settings in
12215 mathed (disabled until Andre provides a function on mathed's side).
12217 * func_status.h (toggle): small helper function to set toggle
12220 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12222 * tabular_funcs.C: getline -> std::getline
12224 2001-12-21 Juergen Vigna <jug@sad.it>
12226 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12227 accessed and could be 0 (I couldn't generate this but it seems
12230 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12232 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12233 * tabular_funcs.h: here and include iosfwd
12235 2001-12-20 Juergen Vigna <jug@sad.it>
12237 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12238 inside inset but undo_par was.
12240 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12242 * Thesaurus.C: always include <config.h> in sources.
12246 * box.h: do not include <config.h> in header files
12248 * text.C (paintLastRow): remove unused variable
12250 * text.C (transformChar):
12252 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12254 * Painter.C (text):
12255 * font.C (width): rewrite to use uppercase() instead of
12258 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12260 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12262 * lyxfind.C: clean up of find failure position change
12264 2001-12-20 Juergen Vigna <jug@sad.it>
12266 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12268 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12269 (TeXRow): added to LaTeX a single tabular row.
12270 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12271 (Latex): simplified and finally good LT-h/f support.
12272 (various_functions): just small adaptions for LT-h/f support.
12274 * tabular_funcs.[hC]: added and moved here all not classfunctions
12277 2001-12-19 Juergen Vigna <jug@sad.it>
12279 * tabular.[Ch]: better support for longtabular options (not finished
12282 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12284 * text.C (paintLastRow): use the label font instead of the font of
12285 the last character to compute the size of *_BOX. This makes more
12286 sense and avoids a crash with empty paragraphs.
12287 Use Painter::rectangle to draw EMPTY_BOX.
12289 2001-12-19 Juergen Vigna <jug@sad.it>
12291 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12292 the paragraphs if the replaced paragraph is not the first one!
12293 Tried to delete not used paragraphs but does not work yet so for
12294 now it's inside #ifdef's and by default off!
12296 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12298 * MenuBackend.C: include "lyx_main.h" instead of declaring
12299 lastfiles (actually was declared as LastFiles* instead of a
12302 2001-12-17 Juergen Vigna <jug@sad.it>
12304 * tabular.C (AppendColumn): applied John's fix
12306 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12310 * BufferView_pimpl.h:
12311 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12314 * box.h: new start of class for above
12316 * lyxfunc.C: ignore space-only minibuffer dispatches.
12317 Show the command name when it doesn't exist
12319 * minibuffer.C: don't add empty lines to the history
12321 * minibuffer.C: add a space on dropdown completion
12323 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12325 * text.C: fix line above/below drawing in insets
12327 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * lyxlength.C (LyXLength): Initialize private variables.
12331 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12333 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12334 when inserting error insets.
12336 2001-12-13 Juergen Vigna <jug@sad.it>
12338 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12339 actually sometimes the before-paragraph.
12340 (setUndo): don't clear the redostack if we're not actually undoing!
12342 2001-12-06 Juergen Vigna <jug@sad.it>
12344 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12345 and fixed redoing of main paragraph, so we can use it now ;)
12347 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12349 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12351 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12354 2001-12-13 André Pönitz <poenitz@gmx.net>
12357 * undo_func.C: minor cleanup
12359 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12361 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12362 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12363 font in urw-fonts package which is marked as -urw-fontspecific and
12364 does not work (incidentally, changing the encoding in the
12365 fonts.dir of this package to -adobe-fontspecific fixes the
12368 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12369 is a crash when undoing first paragraph (Juergen, please take a
12370 look). THis does not mean the undo fix is wrong, just that it
12373 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12374 the (Paragraph*) version when needed instead of duplicating the
12377 * text.C (workWidth): use Inset::parOwner to find out where the
12378 inset has been inserted. This is a huge performance gain for large
12379 documents with lots of insets. If Inset::parOwner is not set, fall
12380 back on the brute force method
12382 * paragraph_pimpl.C (insertInset):
12383 * paragraph.C (Paragraph):
12384 (cutIntoMinibuffer): set parOwner of insets when
12385 inserting/removing them
12387 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12389 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12395 * mathed/formulabase.C:
12396 * mathed/math_cursor.[Ch]:
12397 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12400 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12402 * lyxlength.[Ch] (operator!=): new function
12404 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12406 * text.C (workWidth): use Inset::parOwner to find out where the
12407 inset has been inserted. This is a huge performance gain for large
12408 documents with lots of insets. If Inset::parOwner is not set, fall
12409 back on the brute force method
12411 * paragraph_pimpl.C (insertInset):
12412 * paragraph.C (Paragraph):
12413 (cutIntoMinibuffer): set parOwner of insets when
12414 inserting/removing them
12416 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12418 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12420 * tabular-old.C (getTokenValue):
12421 * tabular.C (getTokenValue):
12422 (write_attribute): new versions for LyXLength
12423 (everywhere): adjust the use of widths
12425 * tabular.h: change the type of widths from string to LyXLength
12427 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12429 * paragraph.C: fixed missing line number count when exporting
12430 Environments to LaTeX file
12432 * buffer.C: added informational message for checking line numbers.
12434 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12436 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12437 paragraph, do the 'double space' part, but not the 'empty
12440 * text.C (workWidth): small optimization
12441 (getLengthMarkerHeight): use minimal size for negative lengths.
12443 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12445 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12447 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12449 2001-12-11 André Pönitz <poenitz@gmx.net>
12452 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12454 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12456 * text2.C: keep selection on a setFont()
12458 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12460 * lyx_cb.C: another bv->text misuse, from insert label
12462 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12465 * kbsequence.C: re-instate nmodifier mask
12467 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12469 * lyx_main.h: make lyxGUI private.
12471 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12473 * lyxfind.C: place the cursor correctly on failed search
12475 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12477 * text.C (getLengthMarkerHeight): for small heights, the arrows
12478 are not always on top/bottom of the text
12479 (drawLengthMarker): smaller arrows; take the left margin in
12480 account; draw also vfills.
12482 (paintLastRow): remove special code for vfill and standard spaces,
12483 since everything is handled in drawLengthMarker now.
12485 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12487 * buffer.C (insertErtContents): try to handle font and language
12488 interaction a bit better.g
12490 * ColorHandler.C (updateColor): change the hash to cover the whole
12491 LColor enum, ws cleanup
12492 (getGCLinepars): ditto
12493 (getGCLinepars): only lookup in the linecache once.
12495 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12497 * iterators.C (operator++): Make the iterator more robust
12499 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12501 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12503 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12506 * text.C: better added space drawing
12508 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12511 * BufferView2.C: fix layout combo update on inset unlock
12513 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12515 * Makefile.am: don't compile unused files
12517 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12521 * LyXAction.C: remove old LFUN_LAYOUTNO
12523 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12525 * paragraph_pimpl.h:
12526 * paragraph_pimpl.C: isTextAt() doesn't need font param
12528 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12531 * lyxlex.C: little cleanup
12533 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12535 * BufferView_pimpl.C: fix insertAscii for insets
12537 2001-12-05 Juergen Vigna <jug@sad.it>
12539 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12540 set the right font on the "multi" paragraph paste!
12542 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12548 * lyxlength.C: remove out-commented code.
12550 * BufferView_pimpl:
12564 * vc-backend.C: change "while(" to "while ("
12566 * lyxlength.[Ch]: add zero function to check if length is zero or
12568 * lyxgluelength.C: use it
12570 2001-12-05 Allan Rae <rae@lyx.org>
12572 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12573 Works for 2.95.3, from what I understand of Garst's reports this should
12574 work for other g++ versions. We're screwed if the abs(int) definition
12575 changed between bugfix releases of gcc.
12577 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12579 * text.C: fix chapter label offset !
12581 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12584 * text.C: fix hfill at end of line, clean up
12586 2001-12-04 Juergen Vigna <jug@sad.it>
12588 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12589 that we force an update of the inset and it's owners if neccessary.
12591 2001-12-03 Juergen Vigna <jug@sad.it>
12593 * text.C (rowLast): simplified code
12595 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12597 * lyxfunc.C: fix show options on timeout
12599 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12601 * screen.C (topCursorVisible): scroll half a page when the cursor
12602 reached top of bottom of screen
12604 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12606 * minibuffer.C: deactivate on loss of focus
12608 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12610 * vspace.[Ch] (operator!=): add operator.
12612 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12614 * BufferView_pimpl.C: refuse to open an inset when
12615 there's a selection.
12617 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12619 * BufferView_pimpl.C: allow to click on RHS of full row insets
12621 2001-11-30 Juergen Vigna <jug@sad.it>
12623 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12624 insets for undo reasons.
12626 2001-11-28 André Pönitz <poenitz@gmx.net>
12628 * vspace.[Ch]: cosmetical changes
12630 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12640 * kbsequence.C: part re-write of old kb code
12643 * WorkArea.C: remove Lgb_bug_find_hack
12645 2001-11-30 José Matos <jamatos@fep.up.pt>
12647 * buffer.C (makeDocBookFile): add a comment to point a hack.
12648 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12649 Fixed a double write of labels.
12651 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12654 * LaTeX.h Fixed bug in LaTeX class where it would not
12655 re-run latex if no depfiles were changed, but the .dvi was removed.
12657 2001-11-28 André Pönitz <poenitz@gmx.net>
12659 * all the files from the change on 2001/11/26:
12660 use lyx::layout_type instead of LyXTextClass::size_type
12661 use lyx::textclass_type instead of LyXTextClassList::size_type
12663 2001-11-29 Juergen Vigna <jug@sad.it>
12665 * text.C: added support for paragraph::isFreeSpacing()
12667 * buffer.C: same as above
12669 * paragraph.h: inserted isFreeSpacing() function to enable
12670 FreeSpacing inside InsetERT.
12672 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12673 of the paragraph's in the cut/copy buffer to 0!
12675 * text2.C (removeRow): remove the assert as it can!
12677 * lyxtext.h: added helper function firstRow returning firstrow and
12678 made firstrow private again.
12680 * BufferView2.C (lockInset): don't relock if we're already locked!
12682 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12683 the only paragraph.
12684 (removeRow): added Assert::(firstrow)
12686 * debug.C: forgot to add INSETTEXT here.
12688 2001-11-28 Juergen Vigna <jug@sad.it>
12690 * sp_spell.C (initialize): changed error text to more general
12691 spellchecker command use (not only ispell!)
12693 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12695 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12697 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12699 * vspace.C: initialise lyxgluelength on failure
12701 2001-11-28 Allan Rae <rae@lyx.org>
12703 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12704 declaration & definition that looks like a function declaration.
12706 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12708 * BufferView2.C (copy):
12709 (copyEnvironment): do not clear the selection when doing a copy.
12711 * text.C (paintFirstRow): compilation fix
12713 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12715 * tabular.C (Latex): correct line count when writing latex.
12717 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12719 * paragraph_pimpl.h:
12720 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12723 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12727 * LColor.C: change vfillline->added_space
12729 * text.C: add markers and text for added space
12731 * vspace.C: fix comment
12733 2001-11-28 André Pönitz <poenitz@gmx.net>
12735 * paragraph.C: whitespace changes
12736 * all the other files from the change on 2001/11/26:
12737 change *::pos_type into lyx::pos_type
12739 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12741 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12742 language of the document when inserting error insets.
12744 2001-11-26 André Pönitz <poenitz@gmx.net>
12746 * BufferView_pimpl.[Ch]:
12754 * paragraph_pimpl.[Ch]:
12757 * text2.C: reduce header dependencies, introduce type for positions
12759 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12761 * <various>: change to use Alert.h
12763 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12765 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12766 when encountering an unknown token.
12767 (readLyXformat2): Show an error message if there were unknown tokens.
12769 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12772 * BufferView_pimpl.C:
12776 * text2.C: use par->isInset()
12778 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12780 * paragraph_pimpl.h:
12781 * paragraph_pimpl.C: cleanup
12783 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12785 * text2.C (removeRow):
12786 * text.C (setHeightOfRow): remove useless (and costly) call to
12789 2001-11-20 Allan Rae <rae@lyx.org>
12791 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12792 Now need Inset*::checkInsertChar() to return true for appropriate
12793 cases so that the characters in the minibuffer will actually be
12796 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12798 * text.C: change the order of the includes.
12799 (workWidth): initialize it at once.
12800 (workWidth): make maxw unsigned
12801 (setHeightOfRow): remove unused variable (inset)
12802 (selectSelectedWord): remove unused variable (inset)
12803 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12805 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12807 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12808 server is not running.
12810 (closeConnection): add debug info when server is disabled.
12812 * ColorHandler.C (getGCForeground): send debug message to GUI
12815 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12817 * kbmap.C (bind): modify because return conventions of
12818 kb_sequence::parse have changed.
12820 * kbsequence.C (parse): only ignore spaces and not any stupid
12821 control character. This avoids tests like s[i] <= ' ', which are
12822 guaranteed to fail with 8bit characters and signed chars.
12823 Change return code to string::npos when there have been no error
12824 (0 was a bad idea when error is at first character)
12826 2001-11-14 José Matos <jamatos@fep.up.pt>
12829 * buffer.C (simpleDocBookOnePar): removed unused argument.
12831 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12833 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12834 insets which are part of a word. Paragraph::isLetter takes care of
12835 that now. Use Paragraph::isInset to identify insets.
12836 (selectSelectedWord): do not test for hyphenation break.
12838 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12839 that protected spaces are considered as spaces.
12841 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12844 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12847 * lyxserver.C: fix it. and small cleanup.
12849 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12851 * BufferView_pimpl.C: use inline helpers
12854 * LaTeXFeatures.C: fix typos
12857 * Spacing.C: move spacing_string into class
12859 * ToolbarDefaults.C: move stuff into namespace anon
12861 * layout.h: update enum
12863 * lyxfunc.C: use better debug
12865 * minibuffer.h: fix typo
12869 * WorkArea.C: add and use Debug::WORKAREA
12873 * text2.C: code re-organisation, inline helpers
12875 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12877 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12878 std::vector.empty().
12880 2001-11-09 Allan Rae <rae@lyx.org>
12882 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12883 '\n's after tables. Tabular and ERT inset work now makes this no
12886 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12889 * minibuffer.C: fix crash, improve drop-down completion
12891 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12894 * lyxserver.C: invalidate fd's when doing endPipe()
12896 2001-11-08 José Matos <jamatos@fep.up.pt>
12898 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12899 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12902 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12904 2001-11-07 José Matos <jamatos@fep.up.pt>
12907 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12910 * buffer.C (sgmlOpenTag):
12911 * buffer.C (sgmlCloseTag): removed debug info.
12913 * buffer.h (sgmlOpenTag):
12914 * buffer.h (sgmlCloseTag): made public.
12916 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12918 * buffer.C (saveParamsAsDefaults):
12919 * lyx_cb.C (MenuLayoutSave): remove
12921 * LyXAction.C (init):
12923 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12925 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12927 * buffer.C (setPaperStuff): removed from here...
12929 * bufferparams.C (setPaperStuff): ... and moved there.
12931 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12935 * XFormsView.C: add support for drop-down completion
12937 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12939 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12942 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12944 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12947 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12949 * lyx_main.C: change ref to known bugs
12951 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12953 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12954 to work around older babel problems.
12956 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12958 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12960 2001-10-24 Juergen Vigna <jug@sad.it>
12962 * tabular-old.C (ReadOld): below variable changes reflected.
12964 * tabular.[Ch]: added ltType struct for longtable header/footer
12965 defines and changed all instances where they are used. Added
12966 future support for double top/bottom rows.
12968 2001-10-24 José Matos <jamatos@fep.up.pt>
12970 * buffer.h (docbookHandleCaption):
12971 * buffer.C (docbookHandleCaption): removed unused function.
12972 (makeDocBookFile): moved docbook supported version to v4.1.
12974 2001-10-24 José Matos <jamatos@fep.up.pt>
12977 * tabular.C (docbookRow): new function to export docbook code of a row.
12978 (DocBook): now honors the longtable flags.
12980 2001-10-23 José Matos <jamatos@fep.up.pt>
12983 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12984 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12986 * buffer.C (makeLinuxDocFile):
12987 (makeDocBookFile): reworked the preamble, more clean, and with
12988 support for lyx defined entities. Changed the document declaration
12989 to be more XML friendly.
12991 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12992 if we need to output XML that should be done with a filter.
12994 2001-10-22 Juergen Vigna <jug@sad.it>
12996 * sp_pspell.h (class PSpell): add alive function needed in the
12997 controller to see if the spellchecker could be started.
12999 2001-10-22 Juergen Vigna <jug@sad.it>
13001 * buffer.C (insertStringAsLines): modify the font for inserting
13002 chars in certain conditions by calling checkInsertChar(font).
13004 2001-10-19 Juergen Vigna <jug@sad.it>
13006 * text.C (workWidth): use getRow instead of wrong algorithm.
13007 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13009 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13014 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13016 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13018 * text.C (workWidth): do not search for the exact row when
13019 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13020 optimization for big documents.
13022 2001-10-18 Juergen Vigna <jug@sad.it>
13024 * text.C (workWidth): new function with added Inset * parameter.
13026 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13028 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13030 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13031 change return type of getColumnNearX.
13034 * text.C (changeRegionCase): use uppercase/lowercase instead of
13037 (rightMargin): simplify code by factoring out the uses of
13042 (appendParagraph): use Paragraph::size_type
13044 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13046 * vspace.C (asLatexString): add a missing break
13048 2001-10-15 Herbert Voss <voss@perce.de>
13050 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13052 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13054 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13057 2001-10-10 André Pönitz <poenitz@gmx.net>
13059 * lyxfunc.C: removed greek_kb_flag.
13061 2001-10-10 Herbert Voss <voss@perce.de>
13063 * lyx_main.C: delete global string help_lyxdir.
13065 2001-10-09 Herbert Voss <voss@perce.de>
13067 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13069 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13071 * lyx_main.C: added global string help_lyxdir.
13073 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13075 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13077 * lyxrc.C (set_font_norm_type): support iso8859-4
13079 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13081 * LaTeX.C (deplog): add another regex for MikTeX
13083 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13085 * lyxrc.C (set_font_norm_type): support iso8859-3
13087 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13089 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13091 * LaTeXFeatures.C: remove special case of french and index
13093 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13094 before \begin{document}). This solves several incompatibilities.
13096 2001-10-03 Garst Reese <reese@isn.net>
13098 * lyx_cb.C: change CheckTex error msg.
13100 2001-10-03 José Matos <jamatos@fep.up.pt>
13102 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13104 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13106 * .cvsignore: update
13108 * lyx_main.C (commandLineVersionInfo): use new style version info.
13110 * buffer.C (writeFile):
13112 (makeLinuxDocFile):
13113 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13115 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13117 * version.h: update to use stuff in version.C
13119 * version.C.in: new file. Contains version information determined
13120 at compile time. This is a merging of version.h and
13123 2001-10-03 Juergen Vigna <jug@sad.it>
13125 * BufferView_pimpl.C (update): don't change "dirty" status in
13128 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13130 * WorkArea.C (c-tor): re-position version string slightly.
13132 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13134 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13135 revert to previous code.
13137 WorkArea.[Ch]: (show, destroySplash): methods removed.
13139 WorkArea.C: rework code so that it's an amalgam of the codes before and
13140 after the splash screen was moved to WorkArea.
13142 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13145 * vspace.C (inPixels):
13148 * buffer.C (insertStringAsLines):
13149 (asciiParagraph): fix types to be large enough
13151 * lyxlex_pimpl.h: change member status from short to int
13153 * layout.h: fix type of endlabeltype
13156 * kbsequence.C (parse): change return type to string::size_type
13158 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13161 * Bullet.C (bulletSize):
13162 (bulletEntry): do not use short ints as parameters
13164 * BufferView2.C (insertLyXFile): change a char to an int.
13166 * WorkArea.C (WorkArea): remove unneeded floats in computation
13168 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13170 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13172 * paragraph.C (asString): Do not ignore newline/hfill chars when
13173 copying to the clipboard.
13175 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13177 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13178 after a multi-line inset.
13180 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13182 * paragraph.C (validate): Set NeedLyXFootnoteCode
13184 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13186 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13187 and decrease-error to decrease.
13189 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13191 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13192 it more readable (should be equivalent)
13194 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13196 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13198 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13200 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13201 of a cursor (row, etc.) after a character has been deleted
13202 (deleteEmptyParagraphMechanism): call the method above on _all_
13203 cursors held by the LyXText when a double space has been
13206 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13208 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13210 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13212 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13213 background. Use greyOut() and the new show() methods to toggle between
13214 the foreground and background. Add code to remove the splash after
13215 its initial showing.
13217 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13218 (create_forms): no longer call Dialogs::showSplash.
13220 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13222 * .cvsignore: add version_info.h
13224 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13226 * version_info.h.in: new file
13228 * Makefile.am: add version_info.h.in
13230 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13231 version_info.h instead of VERSION_INFO
13233 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13235 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13236 The ERT inset now returns string().
13238 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13240 * lyxtext.h, text.C (selectNextWord): renamed as
13241 selectNextWordToSpellcheck.
13243 * text.C (selectNextWordToSpellcheck): Modified to not select
13244 words inside an ERT inset.
13246 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13248 * lyx_cb.C (MenuLayoutSave): change a bit the question
13250 * sp_base.h: include <sys/types.h>
13252 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13254 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13256 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13258 * several files: fix typos in user-visible strings
13260 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13262 * text2.C (pasteSelection): do not set the selection, since it
13263 will be cleared later. Actually, the intent was to fix the way the
13264 selection was set, but I figured rmoving the code was just as good.
13266 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13268 * FontLoader.C (available): Check if font is available without
13271 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13273 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13275 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13277 * lyxrc.[Ch]: added display_graphics variable and associated code.
13279 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13281 * bufferparams.C (hasClassDefaults): new method. Returns true if
13282 the buffer parameters correspond to known class defaults
13284 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13286 * XFormsView.C (show): set minimum size to the main window.
13288 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13290 * text2.C (copySelection):
13292 * lyxfind.C (LyXReplace):
13293 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13294 LyXText::selectionAsString.
13296 * paragraph.C (asString): add "label" argument to the second form
13298 * text2.C (selectionAsString): add "label" argument and pass it to
13299 Paragraph::asString.
13301 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13303 * lyx_main.C (commandLineHelp): remove version information
13305 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13307 * lyx_main.C: add -version commandline option
13309 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13311 * paragraph.h: make the optional constructor arg required instead.
13312 some modifications to other files because of this.
13314 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13316 * lyxserver.C (C_LyXComm_callback): make it static
13318 * lyx_main.C (error_handler): make it static
13320 * lyx_gui.C (LyX_XErrHandler): make it static
13322 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13324 * WorkArea.C: make the extern "C" methods static.
13326 * Makefile.am (lyx_LDADD): simplify
13328 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13330 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13331 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13333 * LyXAction.C (init):
13334 * lyxfunc.C (dispatch): associated code removal.
13336 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13338 * lyxfont.h (isSymbolFont): shut off warning
13340 * text.C (setHeightOfRow):
13341 (getVisibleRow): fix crash with empty paragraphs which have a
13344 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13346 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13349 2001-09-04 José Matos <jamatos@fep.up.pt>
13352 * tabular.C (docbook): rename docBook method to docbook.
13354 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13356 * Makefile.am: add dependencies to main.o.
13358 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13360 * FontLoader.C (available): Return false if !lyxrc.use_gui
13362 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13364 * FontInfo.C (query):
13365 * converter.C (view):
13366 * importer.C (Import):
13367 * exporter.C (Export): Can not -> cannot.
13369 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13371 * BufferView_pimpl.C: allow to create index inset even if
13374 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13376 * buffer.C (getLists): replace boost::tie code with an explicit pair
13377 as boost::tie can break some compilers.
13379 * iterators.h: Added a std:: declaration to the return type of
13382 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13384 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13387 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13389 * iterators.[Ch]: New files. Provide paragraph iterators.
13391 * buffer.C (changeLanguage): Use paragraph iterators.
13392 (isMultiLingual): ditto
13394 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13396 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13398 * FontLoader.C: Support for cmr font.
13400 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13402 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13403 (available): New method.
13405 * FontInfo.C (getFontname): Use scalable fonts even when
13406 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13409 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13411 * converter.C (Formats::view): reverted! Incorrect fix.
13413 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13415 * converter.C (Formats::view): only output the -paper option
13416 if the dvi viewer is xdvi, thereby fixing bug #233429.
13418 2001-08-23 Herbert Voss <voss@perce>
13420 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13422 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13424 * Spacing.h (Spacing): Set space to Default on in the default
13427 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13429 * vc-backend.h (RCS::versionString): add RCS to version
13430 (CVS::versionString): add CVS to version
13432 * vc-backend.C (scanMaster): do not add CVS to version.
13433 (scanMaster): do not add RCS to version
13435 * lyxvc.C (versionString): new method
13437 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13439 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13441 * Spacing.C (set): initialize fval
13443 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13445 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13448 2001-08-16 Juergen Vigna <jug@sad.it>
13450 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13452 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13454 * BufferView_pimpl.C:
13457 * text2.C: setParagraph takes linespacing now
13459 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13461 * LyxAction.C: add internal LFUN_CITATION_INSERT
13463 * LyXView.C: actually apply fix
13465 * bufferlist.C: fix open non-existent file
13467 * lyxfind.C: fix indentation
13469 * lyxfunc.C: remove unneeded assert, fix typo
13471 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13473 * MenuBackend.C: use "Floatname List"
13475 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13477 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13478 when converting LaTeX layout to insetERT.
13479 Generate a non-collapsed float when reading old float
13481 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13483 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13486 2001-08-13 Juergen Vigna <jug@sad.it>
13488 * text.C (fill): return 0 instead of 20 as this seems to be the more
13491 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13493 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13496 2001-08-13 Juergen Vigna <jug@sad.it>
13498 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13500 (SearchBackward): comment out the unlocking of the inset_owner this
13501 should not be needed!
13503 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13505 * Many files: Remove inherit_language, and add latex_language
13507 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13508 collapsible insets.
13510 2001-08-10 Juergen Vigna <jug@sad.it>
13512 * text.C (prepareToPrint): fixed hfill-width in draw!
13514 * BufferView2.C (selectLastWord): save the selection cursor as this
13515 now is cleared in the function LyXText::clearSelection!
13517 2001-08-08 Juergen Vigna <jug@sad.it>
13519 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13520 BACKSPACE type functions.
13522 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13523 is only cutted from the document but not put in the cut-buffer, where
13524 still the old stuff should be.
13526 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13528 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13530 * tabular.C (SetWidthOfCell): fixed special case where the width
13532 (LeftLine): handle '|' in align_special.
13534 (LeftAlreadyDrawed): ditto
13535 (SetWidthOfCell): ditto
13537 2001-08-07 Juergen Vigna <jug@sad.it>
13539 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13541 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13543 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13544 * lyxlex.[hC]: ditto
13546 2001-08-06 Juergen Vigna <jug@sad.it>
13548 * text.C (getVisibleRow): fix up row clearing a bit.
13550 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13552 * minibuffer.C: make sure the X server sees the changes in the input.
13554 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13556 * paragraph.C (getFont): split into...
13557 (getLabelFont): this
13558 (getLayoutFont): and this
13559 * paragraph_pimpl.C (realizeFont): calling this
13561 * text2.C (getFont): split into...
13562 (getLayoutFont): this
13563 (getLabelFont): and this
13564 (realizeFont): all three calling this
13566 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13569 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13571 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13573 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13575 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13576 layouts from the Quote inset insertion.
13578 2001-08-03 Juergen Vigna <jug@sad.it>
13580 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13582 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13583 only if status not is already CHANGED_IN_DRAW (second level).
13585 * text.C (draw): don't set the need_break_row when inside an
13588 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13590 * buffer.C (parseSingleLyXformat2Token): handle more latex
13593 * bufferview_funcs.[hC]: change function names to
13594 begin with small char, adjust other files.
13596 2001-08-02 André Pönitz <poenitz@gmx.net>
13599 BufferView_pimpl.C: remove broken special code for math-greek
13601 2001-08-02 Juergen Vigna <jug@sad.it>
13603 * BufferView_pimpl.C (update): redone this function so that we
13604 update the text again if there was a CHANGE_IN_DRAW.
13606 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13607 (drawFromTo): added a new internal bool which is used by draw() and
13609 (general): some cursor drawing problems fixed.
13611 2001-08-01 Juergen Vigna <jug@sad.it>
13613 * lyxfind.C (LyXFind): fixed
13614 (SearchForward): ditto
13615 (SearchBackward): ditto
13617 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13618 spurius drawing of the cursor in the main area.
13620 * text2.C (status): small fix which could lead to a segfault!
13621 (clearSelection): remove unneeded BufferView param.
13623 2001-08-01 André Pönitz <poenitz@gmx.net>
13625 * lyxfunc.C: small change due to changed mathed interface
13627 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13629 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13631 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13633 * lyxfunc.c: fail gracefully if file doesn't exist
13638 * BufferView_pimpl.C: IsDirWriteable() proto changed
13640 * LyXView.C: fix updateWindowTitle() to store the last title
13642 2001-07-31 Juergen Vigna <jug@sad.it>
13644 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13645 the font (wrong since using of Paragraph::highestFontInRange).
13647 * paragraph.C (highestFontInRange): added a default_size parameter.
13649 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13650 (setHeightOfRow): reformat
13652 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13654 * converter.[hC] + affected files: move to (inital-char)lowercase
13657 * ParagraphParameters.C (ParagraphParameters): remove commented code
13659 * PainterBase.[Ch]: remove commented code
13661 * LaTeXFeatures.h: add "bool floats" for float.sty
13663 * LaTeXFeatures.C (LaTeXFeatures): init floats
13664 (require): handle float
13665 (getPackages): do it with floats
13667 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13669 * BufferView_pimpl.C (Dispatch): improve handling of
13670 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13672 * commandtags.h: #include lyxfont.h here temporarily to avoid
13675 * bufferlist.h: include LString.h here.
13677 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13679 * text2.C (getStringToIndex): new method.
13681 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13683 * *: Reduced header file dependencies all over.
13685 2001-07-30 Baruch Even <baruch@lyx.org>
13687 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13689 2001-07-29 Baruch Even <baruch@lyx.org>
13691 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13693 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13695 * ParameterStruct.h (endif): add a default constructor to make
13696 sure that all variables is initialized.
13698 * ParagraphParameters.C (ParagraphParameters): adjust
13700 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13702 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13703 index; also, check that there is something to index, and that it
13704 does not span over several paragraphs.
13705 (doubleClick): use WHOLE_WORD_STRICT for double click.
13707 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13709 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13712 2001-07-26 Baruch Even <baruch@lyx.org>
13714 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13715 an InsetFig figure, backwards compatible reading of old figure code.
13717 2001-07-27 Juergen Vigna <jug@sad.it>
13719 * text2.C: font.realize function adaption.
13721 * text.C (draw): add a warnings lyxerr text if needed.
13723 * layout.C: font.realize function adaption.
13725 * language.C: add inherit_language and implement it's handlings
13727 * bufferview_funcs.C (StyleReset): remove language parameter from
13728 font creation (should be language_inherit now).
13730 * bufferparams.C (writeFile): handle ignore_language.
13732 * paragraph.C (getFontSettings): the language has to be resolved
13733 otherwise we have problems in LyXFont!
13735 * lyxfont.C (lyxWriteChanges): added document_language parameter
13736 (update): removed unneeded language parameter
13738 * paragraph.C (validate): fixed wrong output of color-package when
13739 using interface colors for certain fonts in certain environments,
13740 which should not seen as that on the final output.
13742 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13744 * BufferView_pimpl.C:
13749 * LyXAction.C: add thesaurus support
13752 * lyxfind.C: add "once" parameter, for thesaurus, to not
13753 move to the next match
13755 2001-07-26 Juergen Vigna <jug@sad.it>
13757 * lyxfont.C (realize): honor ignore_language too!
13760 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13762 * text.C (draw): one place more for ignore_language to not draw
13765 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13767 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13769 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13771 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13772 the minipage conversion problem.
13774 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13776 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13779 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13781 * BufferView.h: don't forward declare WorkArea
13783 * BufferView.C: don't include WorkArea.h
13785 2001-07-25 André Pönitz <poenitz@gmx.net>
13789 * lyxfunc.C: new LFUN 'math-space'
13791 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13793 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13795 * text2.C (toggleInset): call open/close
13797 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13799 * lyxfunc.C (dispatch): add debug for the disabled case
13801 * font.C (buttonText): make similar to rectText
13803 * buffer.C (readInset): comment out parsing of insetlist and
13806 * PainterBase.C (rectText): small correction
13808 * BufferView_pimpl.C: comment out insettheorem and insetlist
13809 * LyXAction.C: ditto
13810 * commandtags.h: ditto
13812 2001-07-24 Juergen Vigna <jug@sad.it>
13814 * text.C (draw): honor the ignore_language.
13816 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13818 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13820 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13823 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13825 * lyxtext.h: remove unused (and unimplemented) methods
13827 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13829 * text.C (getVisibleRow): honor background color
13832 * Painter.h: remove default color argument for fillRectangle
13834 * text.C (backgroundColor): new method
13836 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13838 * text.C (getVisibleRow): adjust
13840 * font.[Ch] (rectText): new method, metrics
13841 (buttonText): new method, metrics
13843 * PainterBase.[hC]: make rectText and buttonText always draw and take
13846 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13848 * ToolbarDefaults.C (read):
13849 * MenuBackend.C (read): allow escaping in all strings
13851 * BufferView_pimpl.C (insertAndEditInset): new method.
13852 (Dispatch): use insertAndEditInset whenever appropriate.
13854 * BufferView_pimpl.C (insertNote): removed
13856 * BufferView_pimpl.C (smartQuote): new method, moved from
13857 BufferView; if an insetquote cannot be inserted, insert a '"'
13860 * BufferView2.C: remove insertCorrectQuote();
13862 * lyxfunc.C (getStatus): Add support for all remaingin
13863 inset-insert lfuns.
13865 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13867 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13868 command (necessary to pass " as parameter of self-insert.
13870 * text.C (selectWordWhenUnderCursor):
13871 (selectWord): add word_location parameter
13872 (selectWordWhenUnderCursor): same + remove special code for word
13874 (selectNextWord): use kind() to guess type of insetspecialchar,
13877 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13878 (insertErtContents): create ert insets as collapsed.
13879 (readInset): better compatibility code for Info inset.
13881 2001-07-20 Juergen Vigna <jug@sad.it>
13883 * lyxfunc.C (dispatch): use always LyXFind now!
13885 * text2.C (init): add a reinit flag so that the LyXText can be
13886 reinited instead of deleted and reallocated (used in InsetText).
13888 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13894 2001-07-18 Juergen Vigna <jug@sad.it>
13896 * text.C (selectNextWord): handle insets inside inset by calling
13897 always the bv->text functions so that we can go up the_locking_inset!
13899 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13900 in strange locations when inside an inset!
13902 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13903 handling to include insets.
13905 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13907 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13909 * LyXAction.C (init):
13911 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13912 LIGATURE_BREAK, since the name is so stupid.
13914 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13916 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13919 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13921 * sp_form.[Ch]: remove.
13923 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13925 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13928 * src/buffer.C (readInset): ditto.
13930 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13932 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13933 menuSeparator(), endOfSentenceDot(), ldots() and
13934 hyphenationPoint(), which are therefore removed.
13935 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13937 * LyXAction.C (init):
13938 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13940 * paragraph.C (getWord): removed.
13942 * BufferView_pimpl.C (Dispatch): use last word or selection for
13943 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13945 * lyx_main.C (queryUserLyXDir): do not ask before creating
13946 user_dir, except if it has been named explicitely.
13948 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13950 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13951 a document of zero size.
13953 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13955 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13956 approriately in the c-tor and in require().
13957 (getPackages): output the appropriate LaTeX for natbib support.
13959 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13960 variables "use_natbib" and "use_numerical_citations" when reading the
13962 (readInset): read the various natbib cite commands.
13963 (validate): white-space change.
13965 * bufferparams.[Ch]: new variables "bool use_natbib" and
13966 "bool use_numerical_citations".
13967 (writeFile): output them in the LyX file.
13969 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13971 * lyxfunc.C (getStatus): add support for all the inset insertion
13974 * text2.C (insertInset):
13975 * paragraph.C (insetAllowed):
13976 * BufferView_pimpl.C (insertInset): update to take in account the
13977 renaming of insertInsetAllowed
13979 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13981 * text2.C (getInset): new method. returns inset at cursor position.
13983 * BufferView_pimpl.C (Dispatch): changes because of this.
13985 * LyXAction.C (init): rename open-stuff to inset-toggle.
13987 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13989 * text2.C (toggleInset): renamed from openStuff; use
13992 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13994 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13996 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13998 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14000 * buffer.C (readLyXformat2): Add filename to the error dialog
14002 2001-07-18 Juergen Vigna <jug@sad.it>
14004 * tabular.C (GetCellNumber): put an assert here instead of the check!
14006 2001-07-17 Juergen Vigna <jug@sad.it>
14008 * BufferView_pimpl.C (toggleSelection): adapted too.
14010 * text.C (selectNextWord): adapted for use with insets.
14011 (selectSelectedWord): ditto
14013 2001-07-17 Juergen Vigna <jug@sad.it>
14015 * sp_spell.C (PSpell): fix initialitation order.
14017 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14019 * paragraph.C: spacing
14021 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14023 * sp_spell.C: repair language selection for pspell
14025 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14027 * lyxfunc.h: change more methods to begin with lower char.
14029 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14031 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14032 for unknown layouts.
14034 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14036 * buffer.C (readLyXformat2): Generate an error dialog if there are
14039 2001-07-16 Juergen Vigna <jug@sad.it>
14041 * sp_spell.C: always compile ISpell part.
14043 * lyxrc.C: added use_pspell entry and it's handling.
14045 2001-07-13 Juergen Vigna <jug@sad.it>
14047 * sp_spell.C: removed double includes.
14049 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14051 Consistent use of Lsstream.h:
14052 * Lsstream.h: added using std::stringstream for consistencies sake.
14054 * buffer.C: removed using std::stringstream
14056 * lyxfont.C (stateText):
14057 * paragraph.C (asString):
14058 * text.C (selectNextWord, selectSelectedWord):
14059 * text2.C (setCounter):
14060 * vspace.C (asString, asLatexString):
14061 std::ostringstream -> ostringstream.
14063 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14065 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14066 * commandtags.h: add LFUN_HELP_ABOUTLYX
14067 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14069 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14071 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14073 * lyx_gui_misc.C: remove spellchecker
14074 * lyxfunc.C: showSpellchecker
14076 * sp_ispell.h: added
14077 * sp_pspell.h: added
14078 * sp_spell.C: added
14079 * sp_form.[Ch]: removed
14080 * spellchecker.[Ch]: removed
14082 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14084 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14086 (simpleTeXSpecialChars): Simply print the input character without
14087 any special translation if pass_thru is set.
14089 * layout.h: Added bool pass_thru to layout class for being able to
14090 implement pass through of a paragraph for Literate Programming.
14092 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14093 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14094 * layout.C (Read): add "passthru" to list of layout tags and add
14095 code to set the pass_thru boolean when it is read.
14097 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14099 * trans_decl.h: remove allowed from KmodInfo
14101 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14102 remove allowed code
14105 * paragraph_pimpl.C (erase): use boost::prior
14107 * Painter.C (text): use data() instead of c_str() when length is
14109 * WorkArea.C (putClipboard): ditto
14110 * font.h (width): ditto
14112 * BufferView2.C: use it-> instead of (*it). for iterators
14114 * paragraph_pimpl.C: ditto
14115 * paragraph.C: ditto
14116 * minibuffer.C: ditto
14117 * language.C: ditto
14119 * encoding.C: ditto
14120 * counters.C: ditto
14121 * converter.C: ditto
14123 * Variables.C: ditto
14124 * TextCache.C: ditto
14125 * MenuBackend.C: ditto
14126 * LyXAction.C: ditto
14128 * FloatList.C: ditto
14129 * DepTable.C: ditto
14130 * ColorHandler.C (LyXColorHandler): ditto
14132 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14134 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14136 * text2.C (openStuff): reintroduce this method (which had been
14137 nuked in NEW_INSETS frenzy).
14139 * lyxfunc.C (Dispatch): when an action has not been handled, use
14140 its name in the error message, not its number.
14142 * paragraph.C (inInset): change method name to begin with lowercase.
14145 * text2.C: updates because of this.
14147 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14149 * ToolbarDefaults.C (add): add spaces in error message
14151 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14153 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14154 (readLyXformat2): rename return_par to first_par, use lyxlex's
14155 pushToken and remove the manual push handling.
14156 (parseSingleLyXformat2Token): add another ert comp. variable:
14157 in_tabular, rename return_par to first_par. handle newlines better
14159 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14161 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14163 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14165 * text2.C (getParFromID): removed
14167 * buffer.C (getParFromID): new method moved form lyxtext.
14168 * BufferView2.C (insertErrors): adjust
14169 (setCursorFromRow): adjust
14170 * BufferView_pimpl.C (restorePosition): adjust
14171 * lyxfunc.C (Dispatch): adjust
14172 * undo_funcs.C (textUndo): adjust
14174 (textHandleUndo): adjust
14175 (textHandleUndo): adjust
14177 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14179 * buffer.C: up' the LYX_FORMAT
14181 * lyxfont.h: turn NO_LATEX on as default
14183 * buffer.C (insertErtContents): new methods of tex style compability.
14184 (parseSingleLyXformat2Token): use it several places.
14185 * tabular.C (OldFormatRead): and here
14187 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14189 * text2.C: remove some commented code.
14192 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14193 * trans.C: changes because of the above.
14195 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14197 * text2.C (setCounter): Fix counters bug with bibliography layout.
14199 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14201 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14202 own member functions
14203 (simpleTeXSpecialChars): ditto
14205 2001-07-06 Juergen Vigna <jug@sad.it>
14207 * a lot of files: changed the access to LyXText::status and the
14208 call of undo-functions.
14210 * undo.[Ch]: added a inset_id to the undo informations.
14212 * undo_funcs.[Ch]: added and moved here all undo functions.
14214 * lyxtext.h: give the status enum a weight, made status_ a private
14215 variable and made accessor functions for it, removed the whole bunch
14216 of undo-functions as they are now in their own file, make some
14217 functions publically available. Added function ownerParagraph with
14220 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14221 made InInset() a const function, added getParFromID() function.
14223 * buffer.[Ch]: added const version for inset_iterator functions,
14224 added getInsetFromID() function.
14226 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14227 changed undo functions for new version.
14229 2001-07-05 Juergen Vigna <jug@sad.it>
14231 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14232 unknow mechanism does not call the proper constructor but only this
14233 one also if I request the other!?
14235 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14237 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14239 * text2.C (LyXText): use initialization lists.
14241 * lyxtext.h (Selection): initialize set_ and mark_
14242 (init): remove method
14244 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14246 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14248 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14250 * screen.[Ch]: change method names to begin with lowercase
14252 * BufferView_pimpl.C (updateScrollbar): simplify further and
14253 hopefully make it a bit faster.
14255 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14257 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14258 calling directly xforms functions.
14260 * Painter.C (Painter):
14261 * lyx_cb.C (MenuWrite):
14262 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14265 * lyx_gui.C: remove bogus guiruntime extern declaration.
14267 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14269 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14271 (redoDrawingOfParagraph): ditto
14272 (redoParagraphs): ditto
14273 (cutSelection): don't create a object for CutAndPaste use the
14274 static method directly
14275 (pasteSelection): ditto
14277 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14280 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14282 * modifications to some other files because of this.
14284 * Makefile.am (lyx_SOURCES): add XFormsView
14286 * XFormsView.[Ch]: new files
14288 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14289 the main window. Move the gui dependent stuff to XFormsView
14291 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14293 * tabular.C (GetCellInset): update cur_cell also in the row/col
14294 version of this function.
14296 * lyxfunc.C: no need to include figure_form.h here.
14302 * lyxvc.C: no need to include forms.h here.
14304 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14306 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14308 * lyxfunc.C (Dispatch):
14310 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14311 constructor argument.
14313 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14315 * paragraph.C (Paragraph): dont't clear, and just set layout.
14316 (makeSameLayout): use params's copy contructor.
14318 * ParagraphParameters.[Ch] (makeSame): delete method
14320 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14322 * Variables.[Ch]: fix indentation, rename set to isSet
14324 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14326 * lyxfunc.C (Dispatch): fix typo
14328 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14330 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14333 * bufferlist.C: include assert.h for emergencyWrite().
14335 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14337 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14338 give up at last (bug #425202) !
14340 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14346 * spellchecker.C: strip spellchecker options and bring up
14347 preferences tab instead
14349 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14351 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14352 the istringstream constructor
14354 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14356 * paragraph.C (getLayout): fix return value
14358 * paragraph.h: do not declare getLayout as inline.
14360 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14362 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14364 * lyxcursor.h (operator<): new func
14365 (operator>): new func
14366 (operator>=): new func
14367 (operator<=): new func
14369 * text.C (changeCase): use selection.start and selection.end
14370 (changeRegionCase): require from to be <= to. Require par to be a
14373 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14375 2001-06-27 Juergen Vigna <jug@sad.it>
14377 * text.C (cursorLeftOneWord): changed to return the cursor and added
14378 overlay with BufferView * parameter which calls this one.
14380 (selectWord): use new getWord function.
14381 (changeCase): renamed from changeWordCase as and extended to work
14382 also on selections.
14384 * lyxtext.h: added enum word_location
14386 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14387 changeCase as this operates now also on selections.
14389 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14391 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14393 * many files: send debug output to Debug::INFO instead of
14396 * converter.C (View):
14398 (Move): send debug output to Debug::FILES instead of console.
14400 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14402 * lyxfunc.C (getStatus): use func_status
14404 * func_status.h: new header, describing the results of
14405 LyXFunc::getStatus;
14407 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14410 2001-06-25 The LyX Project <jug@sad.it>
14412 * buffer.C (sgmlOpenTag):
14414 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14416 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14418 * text2.C: remove some dead code
14420 * tabular.C (GetCellInset): store the last cell checked (gotten)
14422 * tabular.h: add the helper for the speedup
14424 * lyxtext.h: remove some dead code
14426 2001-06-26 The LyX Project <Asger>
14428 * paragraph.C: Change export to LaTeX of alignment to
14429 \begin{center} and family for better roundtrip work with reLyX.
14431 * Tune the math drawing a bit.
14433 2001-06-25 The LyX Project <Asger>
14435 * LColor.C (LColor): New color for math background. New color
14438 2001-06-25 The LyX Project <jug@sad.it>
14440 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14442 * lyxfunc.C (Open):
14443 * bufferlist.C (newFile): do not restrict to files ending with
14446 * BufferView_pimpl.C (MenuInsertLyXFile):
14448 2001-06-24 The LyX Project <jug@sad.it>
14450 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14453 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14455 * lyxtext.h: rename most methods to begin with a small char.
14456 Lots of changes because of this.
14458 * paragraph.C (Paragraph): do not call fitToSize
14459 (erase): call Pimpl::erase
14460 (insertChar): call Pimpl::insertChar
14461 (insertInset): call Pipl::insertInset
14462 (breakParagraph): do not call fitToSize
14463 (breakParagraphConservative): do not call fitToSize
14464 (fitToSize): remove method
14466 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14468 2001-06-24 The LyX Project <Asger>
14470 * Fix Qt compilation^2
14472 2001-06-24 The LyX Project <jug@sad.it>
14474 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14475 depthHook(getDepth()-1).
14478 * ParagraphParameters.h:
14479 * ParameterStruct.h: change type of depth to unsigned int ==
14480 depth_type. Many adaptations to other files before of that.
14482 2001-06-24 The LyX Project <Asger>
14484 * Fix Qt compilation.
14486 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14488 * paragraph.h: renamed several methods to begin with small letter.
14489 several changes to many parts of the code because of this.
14491 2001-06-23 The LyX Project <jug@sad.it>
14493 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14494 rewritten to discard all double spaces when KeepEmpty is off
14495 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14496 to only handle newlines but not fiddle with spaces and friends.
14498 * lyxfunc.C (MenuNew): when doing 'new from template', use
14499 template_path as default directory
14501 2001-06-23 The LyX Project <Asger>
14503 * Clean-up of header file includes all over
14504 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14506 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14508 * paragraph.h: renamed from lyxparagraph.h
14510 2001-06-23 Asger <lyx@violet.home.sad.it>
14512 * Buffer.h: Removed Buffer::resize
14513 * BufferList.h: Removed BufferList::resize
14514 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14515 the document lazily when we change the width, or the font settings.
14517 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14519 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14521 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14523 * buffer.h: remove out of date comment
14525 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14528 * screen.C: fix "theoretical" GC leak
14530 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14532 * LaTeX.C (scanAuxFile):
14533 (deplog): remove trailing \r when reading stream (useful under
14536 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14538 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14539 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14540 and BufferView::theLockingInset(Inset*), so should use them and not
14541 access bv_->text->the_locking_inset directly.
14543 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14545 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14548 * tex-defs.h: remove old unused file
14550 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14552 * BufferView_pimpl.C: fix typo, remove minibuffer message
14553 when buffer has loaded
14555 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14557 * lyxfunc.C (Dispatch): use stringstream
14558 (MenuNew): use stringstream
14559 (Open): use stringstream
14561 * importer.C (Import): use stringstream
14563 * bufferview_funcs.C (CurrentState): use stringstream
14565 * LaTeX.C (run): use stringstream
14567 * BufferView_pimpl.C (savePosition): use stringstream
14568 (restorePosition): use stringstream
14569 (MenuInsertLyXFile): use stringstream
14571 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14584 * vspace.C: removed // -*- C++ -*- as first line.
14587 * version.h: added // -*- C++ -*- as first line.
14589 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14591 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14593 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14596 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14598 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14601 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14603 * gettext.C: include LString.h even when --disable-nls is on.
14605 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14607 * converter.h (Get): changed argument type from int to
14608 FormatList::size_type to avoid unnecessary conversion.
14610 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14613 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14615 * gettext.h: include LString.h even when --disable-nls is on.
14617 2001-06-07 Juergen Vigna <jug@sad.it>
14619 * text.C (BreakAgain): subst spaces with tabs.
14621 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14622 (resizeInsetsLyXText): set force on resizeLyXText.
14624 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14626 * gettext.h (gettext_init):
14627 (locale_init): use a real definition instead of a macro
14629 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14631 * Bufferview_pimpl.C:
14633 * LColor.C: further lcolor tidies
14635 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14637 * BufferView_pimpl.C (updateScrollbar): simplify.
14639 * BufferView2.C: don't include insets/insetinfo.h, change
14640 prototype for insertInset and call the Pimpl version. let
14641 updateInset call Pimpl version.
14643 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14644 gotoInset to BufferView::Pimpl
14646 2001-06-01 Juergen Vigna <jug@sad.it>
14648 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14649 inside a LockingInset (is the update needed at all?).
14651 2001-05-31 Juergen Vigna <jug@sad.it>
14653 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14654 here not the old one otherwise how should we compare it afterwards
14657 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14662 * FontInfo.C: bring C functions into global namespace when
14665 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14667 * LString.h: make sure config.h has been loaded before LString.h.
14669 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14670 (one for each char read by EatLine!).
14672 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14675 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14677 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14678 to the same as the par we break from
14680 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14682 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14684 * MenuBackend.C (expand): also create menu entries for wide
14685 versions of the floats.
14687 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14689 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14691 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14692 frontends/Makefile.am
14698 * tabular.C (getTokenValue): add std::
14700 * tabular-old.C (getTokenValue): add std::
14701 (getTokenValue): ditto
14702 (getTokenValue): ditto
14704 * screen.C (ToggleSelection): adjust
14706 * lyxtext.h: put selection cursors inside a Selection struct.
14708 * lyxfunc.C (moveCursorUpdate): adjust
14710 * lyxfont.C (latexWriteStartChanges): add std::
14712 * lyxfind.C: adjust
14714 * font.h: delete with(char const *, LyXFont const &)
14716 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14718 * FontInfo.C (getFontname): add std::
14720 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14721 (workAreaButtonPress): adjust
14722 (tripleClick): adjust
14724 (moveCursorUpdate): adjust
14727 * BufferView2.C (gotoInset): adjust
14729 2001-05-30 Juergen Vigna <jug@sad.it>
14731 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14732 to check pspell I add this as default as I now have new pspell
14733 libraries and they seem to use this.
14735 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14737 * text2.C (CutSelection): make the cursor valid before the call to
14740 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14742 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14743 relied on 0 terminated strings and other horrors. Bug found due to
14744 the new assert in lyxstring!
14746 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14749 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14751 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14754 * lyxfunc.C (processKeySym): change method of getting to the
14757 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14758 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14759 * BufferView_pimpl.[Ch]: here as private methods.
14761 2001-05-28 Juergen Vigna <jug@sad.it>
14763 * text.C (SetHeightOfRow): added the update() call again as it is
14764 needed to initialize inset dimensions!
14766 2001-05-16 Juergen Vigna <jug@sad.it>
14768 * text2.C (SetCharFont): Add new function with BufferView * and
14769 bool toggleall parameters for setting insets internal fonts.
14770 (SetFont): Freeze the undo as we may change fonts in Insets and
14771 all this change should be inside only one Undo!
14773 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14774 setting font's in insets as for them we have the SetFont function!
14776 2001-05-15 Juergen Vigna <jug@sad.it>
14778 * text2.C (ClearSelection): to be sure we REALLY don't have any
14781 * tabular.C (TeXCellPreamble): fixed the left border problem for
14784 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14786 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14789 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14791 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14792 LFUN_BREAKPARAGRAPH.
14794 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14795 help test to "internal only", similar for LFUN_INSERT_URL
14797 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14798 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14799 auto_region_delete and deadkeys.
14801 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14804 * LColor.C: remove some dead entries, tidy a little
14806 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14808 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14810 (Dispatch): implement LFUN_ESCAPE
14812 * commandtags.h: add LFUN_ESCAPE
14814 * LyXAction.C (init): add entry for LFUN_ESCAPE
14816 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14817 Remove commented code.
14818 (insertNote): moved here
14819 (open_new_inset): moved here
14821 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14824 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14826 * kbmap.C (findbinding): clean it up and make it work correctly.
14828 * lyx_main.C (init): do not pass argc and argv as parameters
14830 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14832 * buffer.C: fix path for OS/2 & Win32
14836 * lyx_main.C: Added os:: class.
14838 * os2_defines.h: update
14840 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14842 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14843 better by trying again with reduced state.
14845 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14847 * lyxrc.C (read): print error about invalid key sequence only when
14848 debugging (because not all latinX keysyms are known to some X
14851 * kbsequence.C (getiso): add a few std:: qualifiers
14852 (getiso): comment out extra return statement.
14854 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14856 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14858 (Dispatch): enhance the accent inset a bit. (not perfect)
14860 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14862 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14864 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14866 * bufferlist.C (emergencyWrite): fix assert() call
14868 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14870 * text.C (InsertChar): Added trivial patch to only send the "you
14871 can not do multiple spaces this way" message once during a
14874 2001-05-08 Baruch Even <baruch@lyx.org>
14876 * Makefile.am: Changed order of libraries to get LyX to link properly
14877 with the gnome frontend.
14879 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14881 * LaTeXFeatures.h: add a std:: qualifier
14883 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14885 * paragraph.C (String): use stringstream
14887 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14889 * paragraph.C (writeFile): remove footflag arg
14891 * buffer.C (makeLaTeXFile): use stringstream
14892 (latexParagraphs): remove footnot gurba
14894 * LaTeXFeatures.C (getPackages): use stringstream
14895 (getMacros): likewise
14896 (getTClassPreamble): likewise
14897 (getFloatDefinitions): new method
14899 * paragraph.C (writeFile): reindent
14902 * WorkArea.h: revert the xpos + etc changes.
14904 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14906 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14908 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14909 (pasteSelection): likewise
14910 * text2.C (CreateUndo): likewise
14912 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14914 * minibuffer.C (peek_event): temporarily reduce the functionality
14915 of the minibuffer (to allow args on lfuns)
14917 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14918 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14920 * buffer.C (readInset): add compability reading of old float
14921 lists, add reading of new style float list.
14922 (readInset): avoid reevaluation of inscmd.getCmdName()
14923 (getLists): reindent
14925 * MenuBackend.C (MenuItem): implement parsing of
14926 md_floatlistinsert and md_floatinsert.
14927 (expand::LastFiles): move initalizaton of iterators out of loop,
14928 avoid reevaluation.
14929 (expand::Documents): introduce typdedef vector<string> Strings,
14931 (expand::ExportFormats): introduce typedef vector<Format const *>
14932 Formats, and use it.
14933 (expand): implement FloatListInsert and FloatInsert.
14935 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14936 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14937 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14939 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14941 (Dispatch::LFUN_FLOAT_LIST): implement
14943 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14945 * LaTeX.C (run): Fix problem with --export code.
14947 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14949 * BufferView.[Ch] (workarea): removed.
14950 (getClipboard) new method; wrapper for workarea()->getClipboard()
14952 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14955 * WorkArea.h (width, height, xpos, ypos): These methods all
14956 returned the dimensions of the work_area sub-area of WorkArea,
14957 resulting in a position error if the WorkArea were resized. Now
14958 return the dimensions of the entire WorkArea.
14960 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14962 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14964 * LaTeX.C (deplog): correct the syntax of regex reg1
14966 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14968 * undo.C: remove !NEW_INSETS cruft
14970 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14972 * text2.C: remove !NEW_INSETS cruft
14974 * text.C: remove !NEW_INSETS cruft
14976 * tabular.C: remove !NEW_INSETS cruft
14978 * spellchecker.C: remove !NEW_INSETS cruft
14980 * lyxtext.h: remove !NEW_INSETS cruft
14982 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14984 * lyxfunc.C: remove !NEW_INSETS cruft
14986 * lyxfind.C: remove !NEW_INSETS cruft
14988 * lyx_cb.C: remove !NEW_INSETS cruft
14990 * figureForm.C: remove !NEW_INSETS cruft
14992 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14994 * buffer.[Ch]: remove !NEW_INSETS cruft
14996 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14998 * CutAndPaste.C: remove !NEW_INSETS cruft
15000 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15002 * BufferView2.C: remove !NEW_INSETS cruft
15004 * BufferView.h: remove !NEW_INSETS cruft
15006 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15008 * Lsstream.h: include LString.h before the sstream headers to
15009 fix problem with gcc 2.95.3 and lyxstring
15011 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15013 * lyx_main.C: add using directives when needed for C functions
15014 declared in std:: namespace.
15016 2001-04-27 Juergen Vigna <jug@sad.it>
15018 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15019 (SetHeightOfRow): comment out the update call should not be needed!
15021 2001-04-13 Juergen Vigna <jug@sad.it>
15023 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15024 (LyXTabular): tried to minimize operator= operations (and realized
15025 hopfully Lars wish).
15027 2001-04-27 Juergen Vigna <jug@sad.it>
15029 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15031 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15033 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15035 * buffer.C (readInset): hack to make listof algorithm work
15037 * BufferView_pimpl.C: hack to make listof algorithm work
15039 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15041 * LyXAction.C: removed all !NEW_INSETS cruft
15042 (init): moved lfun_item in method
15044 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15046 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15048 * BufferView2.C (theLockingInset): white space.
15050 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15052 * minibuffer.C: include <iostream>
15054 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15056 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15058 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15060 * text.[Ch] (TransposeChars): new method
15062 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15064 * call message directly through LyXView instead of through LyXFunc
15065 * BufferView2.C: adjust
15066 * BufferView_pimpl.C: adjust
15067 * FontLoader.C: adjust
15069 * bufferview_funcs.C: adjust
15070 * converter.C: adjust
15071 * figureForm.C: adjust
15072 * importer.C: adjust
15074 * lyx_gui_misc.C: adjust
15075 * lyxfunc.C: adjust
15078 + more files in subdirs
15080 * lyxparagraph.h (size): move up int file
15083 * adjust all uses of Assert to lyx::Assert.
15085 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15086 lyxfunctional in namespace lyx
15087 * layout.C (hasLayout): ditto
15090 (delete_layout): ditto
15091 (NumberOfClass): ditto
15092 * converter.C (GetFormat): ditto
15097 * bufferlist.C (getFileNames): ditto
15098 (emergencyWriteAll): ditto
15101 * MenuBackend.C (hasSubmenu): ditto
15104 * BufferView_pimpl.C (getInsetByCode): ditto
15106 2001-04-18 Juergen Vigna <jug@sad.it>
15108 * vspace.C (asLatexString): fixed the 100% problem.
15110 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15112 * lyxfunc.C (Dispatch):
15114 * minibuffer.h: add a few std:: qualifiers
15116 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15118 * minibuffer.[Ch]: reimplement so that commands is initiated and
15119 run from lyxfunc, simplified som handling, and made the completion
15120 and history code for complete. wip.
15122 * lyxfunc.C (processKeySym): call message
15123 (miniDispatch): new temporary method
15124 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15125 (LFUN_MESSAGE): implement
15126 (LFUN_MESSAGE_PUSH): implement
15127 (LFUN_MESSAGE_POP): implement
15128 (initMiniBuffer): the initial/defualt minibuffer message.
15130 * lyxfont.[Ch]: inline some more getters
15132 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15134 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15136 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15137 (AutoSave): use LFUN_MESSAGE
15138 (Reconfigure): ditto
15140 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15142 * figureForm.C: use LFUN_MESSAGE
15144 * converter.C (runLaTeX): use LFUN_MESSAGE
15146 * bufferview_funcs.C: use LFUN_MESSAGE
15148 (changeDepth): ditto
15150 * bufferparams.h: use boost::
15152 * bufferlist.h: inherit privately from noncopyable
15154 * bufferlist.C (loadLyXFile): remove some commented code.
15156 * buffer.C (runChktex): use LFUN_MESSAGE
15158 * ShareContainer.h: inherit privately from noncopyable
15160 * ParagraphParameters.[hC] (depth): inline it.
15162 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15164 (message): new method
15165 (messagePush): ditto
15166 (messagePop): ditto
15167 (show): init minibuffer
15168 (showState): direct call
15170 * LaTeX.[Ch]: inherit privately from noncopyable
15171 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15172 instead of WriteStatus.
15174 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15176 * BufferView_pimpl.C (buffer): don't init minibuffer
15177 (workAreaButtonPress): use LFUN_MESSAGE
15178 (workAreaButtonRelease): ditto
15179 (savePosition): ditto
15180 (restorePosition): ditto
15181 (MenuInsertLyXFile): ditto
15182 (workAreaExpose): don't init minibuffer
15183 (update): remove commented code, simplify
15185 * BufferView2.C (openStuff): use LFUN_MESSAGE
15186 (toggleFloat): ditto
15189 (copyEnvironment): ditto
15190 (pasteEnvironment): ditto
15195 (updateInset): remove some commented code
15197 * lastfiles.h: inherit privately from noncopyable
15200 * lyx_main.h: ditto
15202 * lyxlex_pimpl.h: ditto
15204 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15205 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15206 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15208 * LyXAction.h: inherit privately from noncopyable, add methods
15209 func_begin, func_end, returning iterators to the func map.
15211 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15212 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15213 (func_begin): new method
15214 (func_end): new method
15216 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15218 (copySelection): ditto
15219 (pasteSelection): ditto
15221 * BufferView.C: whitespace change
15222 * BufferView.h: inherit privately from noncopyable
15224 2001-04-16 Allan Rae <rae@lyx.org>
15226 * tabular-old.C (l_getline):
15227 * spellchecker.C (sc_check_word):
15228 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15229 an unrecognised preprocessor directive. So ensure they're wrapped.
15231 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15233 * src/exporter.C (Export): Give an error message when path to file
15236 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15238 * LaTeX.C (deplog): Always check that foundfile exists.
15240 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15243 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15245 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15247 * tabular.[Ch] (getLabelList): implement new method
15249 * minibuffer.h: comment ouf setTiimer
15251 * minibuffer.C (ExecutingCB): constify res
15252 (peek_event): constify s
15253 (Set): constify ntext
15254 (Init): constify nicename
15256 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15258 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15259 (savePosition): use two params to Minibuffer::Set
15260 (restorePosition): ditto
15262 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15264 * lyx_main.C: include language.h
15266 * Makefile.am (lyx_main.o): add language.h
15268 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15274 * CutAndPaste.C: include gettext.h
15276 * lyxfont.h: remove old hack with ON and OFF.
15279 * lyxfont.h: do not include language.h...
15284 * bufferview_funcs.C:
15290 * paragraph.C: ... but do it here instead
15292 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15294 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15296 * tabular.C: small reformat
15298 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15301 (BreakParagraph): ditto
15302 (SetOnlyLayout): ditto
15305 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15308 * lastfiles.C: removed most using decl, add std:: where needed
15310 * buffer.C: ws changes
15312 * MenuBackend.C (class compare_format): put into anon namespace
15313 (expand): constify label, names, action, action2
15316 * text.C (SingleWidth): constify font
15317 (IsBoundary): constify rtl2
15318 (GetVisibleRow): constify ww
15320 * LaTeX.C (deplog): constify logfile
15322 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15324 (workAreaExpose): constify widthChange, heightChange
15326 * lyxrow.C (par): moved
15329 * lyxrow.h: as inlines here
15331 * lyxfont.h (shape): moved from lyxfont.C
15332 (emph): moved from lyxfont.C
15334 * lyxfont.C (LyXFont): use initialization list for all
15336 (shape): move to lyxfont.h as inline
15337 (emph): move to lyxfont.h as inline
15340 2001-04-04 Juergen Vigna <jug@sad.it>
15342 * vspace.C: had to include stdio.h for use of sscanf
15344 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15347 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15348 independent of xforms.
15350 2001-04-02 Juergen Vigna <jug@sad.it>
15352 * spellchecker.C: fixed namespace placing!
15354 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15356 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15357 the LyXParagraph * is 0.
15359 2001-03-29 Juergen Vigna <jug@sad.it>
15361 * vspace.C: added support for %, c%, p%, l%.
15362 (stringFromUnit): added helper function.
15363 (asLatexString): changed to give right results for the %-values.
15365 * buffer.C: convert the widthp in a width%.
15367 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15369 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15372 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15373 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15375 * lyx_cb.[Ch]: see above.
15377 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15381 * lyx.[Ch]: replaced by figure_form.[Ch].
15385 * lyxfunc.C: changed headers associated with above changes.
15387 2001-03-27 Juergen Vigna <jug@sad.it>
15389 * BufferView_pimpl.C: set the temporary cursor right!
15391 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15393 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15395 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15397 * LString.h: removed "using std::getline"!
15399 * BufferView_pimpl.C (Dispatch): changes due to changes in
15400 InsetInclude::Params.
15402 * buffer.C (tag_name): removed redundant break statements as they were
15403 producing lots of warnings with my compiler.
15405 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15407 * LString.h: add "using std::getline" when using the real <string>.
15409 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15411 * buffer.C: removed bitset usage.
15412 PAR_TAG moved to an anonymous name space.
15413 (tag_name): new funtion, also in the anonymous namespace.
15414 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15415 (makeDocBookFile): clean code. Completed transition from string arrays
15417 (SimpleDocBookOnePar): code clean.
15419 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15421 * tabular.C: add some comments.
15423 2001-03-22 Juergen Vigna <jug@sad.it>
15425 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15426 compatibility read a bit and fixed bug with minipage in different
15429 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15431 * buffer.C (pop_tag): removed.
15432 (push_tag): removed.
15433 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15434 array replaced with vector. Added support for CDATA sections.
15435 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15437 (makeDocBookFile): XML conformant declaration of CDATA section,
15438 fixed bug related to <emphasis> in the first paragraph char.
15439 (sgmlOpenTag): exclude empty tags.
15440 (sgmlCloseTag): ditto.
15442 * buffer.h (pop_tag): removed.
15443 (push_tag): removed.
15445 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15447 * language.h (Languages): added size_type and size().
15449 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15451 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15452 response on compability reading of minipages. One probliem is that
15453 the old usage of minipages was «flertydig»
15455 * several files here and in subdirs: don't use static at file
15456 scope use anon namespaces instead.
15458 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15460 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15461 LaTeX output. This is necessary for Literate document
15464 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15466 * buffer.C: insert hfill when needed.
15468 * tabular.C (l_getline): use string::erase, small whitespace change.
15470 * BufferView_pimpl.C: try the anon namespace.
15471 * WorkArea.C: ditto
15473 2001-03-16 Juergen Vigna <jug@sad.it>
15475 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15476 otherwise it won't open options-dialogs.
15478 * buffer.C: honor pextraWidth(p) on converting minipages.
15480 * tabular.C (l_getline): changed the functions to strip trailing \r.
15482 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15484 * BufferView_pimpl.C:
15485 * minibuffer..C: added "using SigC::slot" declaration.
15487 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15489 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15495 * paragraph.C: ditto
15497 * lyxtext.h: NO_PEXTRA
15499 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15501 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15502 * ParameterStruct.h: ditto
15503 * ParagraphParameters.h: ditto
15504 * lyxparagraph.h: ditto
15506 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15508 * buffer.C: add compability for minipage alignment.
15509 (latexParagraphs): remove unwanted pextra check.
15511 * several files: remove CXX_WORKING_NAMESPACES
15513 * buffer.C (pop_tag): tie is in namespace boost
15515 * BufferView.h: noncopyable is in namespace boost
15517 * lyx_main.h: ditto
15520 * lastfiles.h: ditto
15521 * bufferlist.h: ditto
15522 * ShareContainer.h: ditto
15524 * LyXAction.h: ditto
15527 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15529 * Merging changes from BRANCH_MVC back into HEAD.
15531 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15533 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15535 * BufferView_pimpl.C: change from intl.C
15539 * Makefile.am: move combox.*
15545 * intl.C: remove dialog (covered by prefs)
15547 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15549 * lyxfunc.C (Dispatch): removed redundant break statement.
15551 2001-03-14 Juergen Vigna <jug@sad.it>
15553 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15555 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15557 * buffer.C: add hack to fix compability reading of minipages.
15559 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15561 * buffer.C (getLists): Cleanup.
15563 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15565 * lyxfont.C (update): don't honor toggleall on font size.
15567 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15571 * Makefile.am: moved to frontends/xforms/
15575 * BufferView_pimpl.C: changes for moved mathpanel
15577 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15579 * gettext.h: fix gettext_init() in --disable-nls
15581 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15583 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15585 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15588 * lyx.h: strip external form
15590 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15592 * BufferView_pimpl.C: add comment, destroySplash()
15594 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15596 * BufferView_pimpl.C:
15600 * lyxfunc.C: use re-worked insetinclude
15602 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15604 * buffer.C: add using std::stringstream.
15606 * lyx_cb.C: readd using std::ios.
15608 * buffer.C: add using std::map.
15610 * BufferView_pimpl.C: add using std::vector.
15612 * ShareContainer.h: add std:: to swap.
15614 * buffer.h: add some typedefs
15615 * buffer.C (getLists): use them
15616 (getLists): renamed from getTocList.
15617 add a counter for the different float types and use it in the
15619 (getLists): use the same counter for the NEW_INSETS and the "non"
15622 * lyx_cb.h: remove unused items, includes, using etc.
15624 * ShareContainer.h: remove some commented code, add more comments
15625 and "documentation".
15627 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15629 * buffer.C (getTocList): make the list also when NEW_INSETS is
15632 * buffer.h: remove TocType
15634 * buffer.C (getTocList): change to return a map<string,
15635 vector<TocItem> >, implement for dynamic number of list.
15637 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15638 * text2.C (PasteSelection): adjust
15639 * CutAndPaste.C (pasteSelection): adjust
15641 * FloatList.C (FloatList): update from the new_insets branch.
15642 * Floating.[Ch]: ditto
15643 * LaTeXFeatures.C: ditto
15645 * lyxlex_pimpl.C: ditto
15647 * paragraph.C (Last): remove when NEW_INSETS is defined.
15649 * other file: changes because of the above.
15651 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15653 * lyxparagraph.h: rename next to next_, previous to previous_,
15654 make them private for NEW_INSETS. Rename Next() to next(),
15655 Previous() to previous().
15657 * other files: changes because of the above.
15659 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15662 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15665 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15667 * main.C (main): pass lyx_localedir to gettext_init().
15669 * gettext.h: remove locale_init and gettext_init macros
15671 * gettext.C (locale_init): new function
15672 (gettext_init): new function
15674 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15677 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15679 * Moved credits to frontends:
15680 * credits.[Ch]: removed
15681 * credits_form.[Ch]: removed
15682 * lyx_gui_misc.C: remove credits stuff
15685 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15687 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15689 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15690 unneeded destructor.
15692 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15693 a standalone pointer again.
15695 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15697 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15703 * ToolbarDefaults.C:
15712 * BufferView_pimpl.C: use new file dialog in GUII
15715 * lyx_cb.C: remove LayoutsCB to Toolbar
15717 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15719 * ShareContainer.h (get): add std:: qualifier
15721 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15723 * ShareContainer.h: define a proper ShareContainer::value_type
15724 type (and use typename to please compaq cxx)
15726 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15728 * lyxparagraph.h: move serveral local vars to
15729 ParameterStruct/ParagraphParameters., use ShareContainer in
15730 FontTable., make vars in FontTable private and add getter and
15733 * paragraph.C: changes because of the above.
15735 * lyxfont.h: remove copy constructor and copy assignment. (the
15736 default ones is ok), move number inside FontBits. move inlines to
15739 * lyxfont.C: add number to initializaton of statics, move several
15740 inlines here. constify several local vars. some whitespace
15741 cleanup. Dont hide outerscope variables.
15743 * Spacing.h: add two new constructors to match the set methods.
15745 * ShareContainer.h: new file, will perhaps be moved to support
15747 * ParameterStruct.h: new file
15749 * ParagraphParameters.h: new file
15751 * ParagraphParameters.C: new file
15753 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15754 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15756 * BufferView_pimpl.C: ParagraphParameter changes.
15757 * buffer.C: Likewise.
15758 * bufferview_funcs.C: Likewise.
15759 * text.C: Likewise.
15760 * text2.C: Likewise.
15762 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15764 * lyxfind.C (LyXReplace): do not redefine default argument in
15766 (IsStringInText): ditto
15767 (SearchForward): ditto
15768 (SearchBackward): ditto
15770 2001-03-06 Juergen Vigna <jug@sad.it>
15772 * lyxfind.C (IsStringInText): put parentes around expressions.
15774 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15776 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15778 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15780 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15782 * stl_string_fwd.h: add comment
15784 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15787 * tabular.C: remove unused DocBook methods
15793 killed DO_USE_DEFAULT_LANGUAGE
15795 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15797 * lyx_gui.C: do not include language.h.
15799 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15800 arguments in function implementation.
15802 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15804 * BufferView_pimpl.C: add <ctime>
15806 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15808 * BufferView_pimpl.C: add using std::find_if
15810 2001-02-27 José Matos <jamatos@fep.up.pt>
15812 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15815 2001-02-11 José Matos <jamatos@fep.up.pt>
15817 * buffer.C (makeDocBookFile): command styles now have a parameter as
15818 "title" by default.
15820 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15822 * layout_forms.[Ch]: removed
15823 * lyx_cb.[Ch]: out character
15824 * lyx_gui.C: out character
15825 * lyx_gui_misc.C: out character
15826 * bufferview_funcs.C: : out character,
15827 added toggleall as parameter in ToggleAndShow
15829 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15831 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15833 * text2.C (SetCurrentFont): Disable number property at boundary.
15835 2001-02-26 Juergen Vigna <jug@sad.it>
15837 * lyxfunc.C (getStatus): added a string argument override function so
15838 that this is correctly called from LyXFunc::Dispatch if it contains a
15839 do_not_use_argument which is used!
15840 (Dispatch): added check for "custom" export and call appropriate func.
15842 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15844 * lyxrc.C: Add language_command_local, language_use_babel and
15845 language_global_options.
15847 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15849 * buffer.C (makeLaTeXFile): Use language_use_babel and
15850 language_global_options.
15852 2001-02-23 Juergen Vigna <jug@sad.it>
15854 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15855 which works with LyXText and putted it inside BufferView. Here now we
15856 only call for that part the BufferView::Dispatch() function.
15858 * BufferView.C (Dispatch): added.
15860 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15861 functions which needs to use a LyXText over from LyXFunc.
15862 (MenuInsertLyXFile): added
15863 (getInsetByCode): added
15864 (moveCursorUpdate): added
15865 (static TEXT): added
15867 2001-02-22 Juergen Vigna <jug@sad.it>
15869 * BufferView_pimpl.C (update): call a status update to see if LyXText
15872 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15874 * vc-backend.C (revert): implement for CVS
15875 (getLog): implement for CVS
15877 2001-02-20 Juergen Vigna <jug@sad.it>
15879 * text2.C (ClearSelection): added BufferView param for inset_owner call
15881 * lyxfunc.C (TEXT): added this function and use it instead of
15882 directly owner->view()-text of getLyXText().
15884 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15886 * src/layout_forms.C: out preamble
15887 * src/layout_forms.h: out preamble
15888 * src/lyx_cb.C: out preamble
15889 * src/lyx_cb.h: out preamble
15890 * src/lyx_gui.C: out preamble
15891 * src/lyx_gui_misc.C: out preamble
15892 * src/lyxfunc.C: connect with guii preamble
15894 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15896 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15898 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15900 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15901 whether to run bibtex.
15903 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15905 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15907 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15909 * Makefile.am (lyx_SOURCES): removed bibforms.h
15911 * vspace.h: doxygen
15913 * text.C (GetVisibleRow): make several local vars const
15915 * tabular.C: small cleanup.
15917 * lyxserver.C (callback): use compare instead of strncmp
15919 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15920 inlines to after class or to paragraph.C
15922 * lyxfont.h: remove friend operator!=
15924 * converter.h: move friend bool operator< to non friend and after
15927 * combox.h: small cleanup
15929 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15930 to inlines after class def.
15932 * buffer.C (pop_tag): use string operations instead of strcmp
15934 * bmtable.c: doxygen, small cleanup
15936 * LaTeX.h: remove friend operator==
15938 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15950 * BufferView_pimpl.C:
15951 * BufferView.[Ch]: remove cruft
15953 2001-02-14 Juergen Vigna <jug@sad.it>
15955 * lyxfunc.C: removed #if 0 unused code
15957 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15959 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15961 * text2.C (SetSelection): added a BufferView * parameter
15963 2001-02-13 Juergen Vigna <jug@sad.it>
15965 * lyxfunc.C (Dispatch): fixed protected blank problem.
15966 * BufferView2.C (protectedBlank): added LyxText * parameter.
15968 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15969 (AppendColumn): same as above for column_info.
15971 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15972 (moveCursorUpdate): use a LyXText param for support of InsetText.
15974 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15975 (tripleClick): ditto
15977 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15979 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15981 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15983 * text2.C (SetSelection): set correct update status if inset_owner
15984 (ToggleFree): ditto
15986 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15988 * tabular.C: remove some commented code.
15990 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15992 * BufferView_pimpl.C: call hideSplash()
15994 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15997 * bibforms.h: remove
16000 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16001 add LFUN_CHILD_CREATE
16003 * counters.h: fix tiny typo
16008 * lyx.C: move splash to frontends/xforms/
16010 * lyx_gui_misc.C: move Include and Bibform to frontends
16012 * lyxvc.h: clarify comment
16014 * vspace.C: tiny housekeeping
16016 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16018 * text.C (PrepareToPrint): RTL Fix.
16020 * paragraph.C (GetUChar): New method.
16021 (String): Use GetUChar.
16023 * buffer.C (asciiParagraph): Use GetUChar.
16025 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16027 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16029 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16032 * buffer.C: rename to getLogName(), handle
16033 build log / latex log nicely
16035 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16038 * MenuBackend.h: remove support for reference menuitem type.
16040 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16042 * BufferView_pimpl.C: housekeeping
16043 * BufferView_pimpl.h:
16048 * minibuffer.h: move Timeout GUI-I
16050 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16052 * lyxrc.C (read): Update converters data-structures.
16054 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16056 * LaTeX.h (operator!=): add operator != for Aux_Info
16058 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16060 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16062 * LaTeXLog.C: deleted, useful code moved to Buffer
16065 * buffer.C: new function getLatexLogName()
16071 * lyxfunc.C: use frontends for LaTeX and VC logs
16073 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16075 * LaTeX.h: yet another std:: that Allan forgot.
16077 * Variables.C (set): renamed from isset(), because this clashes
16078 with some HP-UX macros (grr).
16080 2001-02-06 Allan Rae <rae@lyx.org>
16082 * LaTeX.h: Another bug fix. Missing std:: this time.
16084 2001-02-04 Allan Rae <rae@lyx.org>
16086 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16087 floats problem. I've left it commented out because it's not quite
16088 correct. It should also test that the current object is a table or
16089 figure inset. But I haven't gotten around to figuring out how to do
16090 that. I *think* it'll be something like: "table" == inset.type()
16092 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16095 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16097 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16098 all the citation/databases/styles in the auxilary file.
16099 (run): Rerun latex if there was a babel language error.
16101 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16103 * text.C (Backspace): Preserve the font when changing newline char
16105 (BreakParagraph): If the cursor is before a space, delete the space.
16107 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16109 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16111 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16112 new argument (code).
16113 (ChangeCitationsIfUnique): New method.
16115 * paragraph.C (GetPositionOfInset): Handle bibkey.
16117 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16119 * BufferView_pimpl.h: change type of Position::par_pos to
16120 LyXParagraph::size_type.
16122 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16124 * BufferView_pimpl.C (savePosition, restorePosition): Write
16125 messages to minibuffer.
16127 2001-01-28 José Matos <jamatos@fep.up.pt>
16129 * buffer.C (makeDocBookFile): adds support for document language.
16130 A silly restriction on the name of LatexCommand types where removed.
16131 Added support for CDATA sections, allows to chars unescaped, used
16132 among others in code, to avoid escape < and >.
16134 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16136 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16137 saved positions instrad of a stack. Furthermore, a position is
16138 stored using paragraph id/paragraph position.
16140 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16141 Remove LFUN_REF_BACK.
16143 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16145 * converter.C (dvipdfm_options): New method.
16147 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16149 * vspace.C (isValidLength): Fix for empty input string.
16151 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16153 * LyXAction.C (init): change description of LFUN_FIGURE to
16156 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16158 * LaTeX.C: add using directive
16160 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16162 * MenuBackend.C (expand): Fix the sorting of the formats.
16164 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16166 * lyx_main.C: tiny error message fix
16168 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16170 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16171 calling fl_initialize(). This fixes the problem with ',' as
16172 decimal separator in text files.
16174 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16176 * trans.C (process): Fix the keymap bug.
16178 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16180 * LaTeX.C (scanAuxFiles): New method. Provides support for
16181 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16182 (scanLogFile) Scan for "run BibTeX" messages.
16184 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16185 OT1 font encoding. Also, load the aecompl package if the ae
16188 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16190 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16192 * texrow.C (increasePos): turn two error messages into debug
16195 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16197 * LaTeX.C (scanAux): Handle the \@input macro.
16198 (runBibTeX): Use scanAux().
16200 * language.C (latex_options_): New field.
16202 * LaTeXFeatures.C (getMacros): Add language macros.
16204 * buffer.C (makeLaTeXFile): Small fix.
16206 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16208 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16210 * text2.C: add a using directive.
16212 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16217 * lyxfunc.C: kill LyXBell.
16219 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16221 * text.C (IsBoundary): Remove the error message
16223 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16225 * lyxrc.C (setDefaults): Correct initialization value for
16228 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16230 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16233 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16234 and GotoNextNote().
16236 * src/LyXAction.C: Added reference-next.
16238 * text.C (InsertChar): Use contains instead of strchr.
16240 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16242 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16244 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16245 alignment commands (when needed).
16247 * text.C (InsertChar): Add ':' to number separator chars.