1 2004-10-28 José Matos <jamatos@lyx.org>
3 * output_docbook.C (makeEnvironment): move id to broadest possible scope.
5 * sgml.C (openTag): apply substitution of <> for all attribuites.
7 2004-10-28 José Matos <jamatos@lyx.org>
9 * buffer.C (makeLinuxDocFile, makeDocBookFile):
10 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
11 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
13 * sgml.[Ch]: new version for open and closeTag for paragraph and
14 for strings. Now they handle the ids of paragraphs.
16 2004-10-26 Angus Leeming <leeming@lyx.org>
18 * Makefile.am: add mover.[Ch].
20 * converter.C (convert, move): use the new Movers to move external
21 files to the temp directory.
23 * lyx_main.C (init): ensure that the global system_movers data
26 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
29 * mover.[Ch]: new files, defining a Mover as a utility to move an
30 external file between directories and, if necessary, manipulate this
31 file using a helper script.
33 2004-10-25 José Matos <jamatos@lyx.org>
35 * output_docbook.C (makeCommand): merge two if's that tested the same condition.
37 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
39 * sgml.C (escapeString): fix warning in a better way
41 2004-10-25 José Matos <jamatos@lyx.org>
43 * sgml.C (escapeString): import the require boosts header file for
44 tie, and avoid a signed unsigned comparison.
46 2004-10-25 José Matos <jamatos@lyx.org>
48 * sgml.h: add #include <string>
50 2004-10-25 José Matos <jamatos@lyx.org>
52 * sgml.[Ch] (escapeString): new function to escape all the string.
54 2004-10-24 José Matos <jamatos@lyx.org>
56 * paragraph.[Ch] (getFirstWord): new function to get the first
57 word. Useful for description.
58 (simpleDocBookOnePar): remove depth argument, add another that
59 says where to start the paragraph.
61 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
62 use the new functions to fix cleanly the support for descriptions.
64 2004-10-24 José Matos <jamatos@lyx.org>
66 * buffer.C (makeLinuxDocFile, makeDocBookFile):
67 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
68 * output_linuxdoc.C (linuxdocParagraphs):
69 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
70 add buffer as argument.
72 2004-10-24 José Matos <jamatos@lyx.org>
74 * output_docbook.C (makeEnvironment, searchEnvironment): place
75 CDATA inside paragraphs and fix scope for listitems.
77 2004-10-24 José Matos <jamatos@lyx.org>
79 * output_docbook.C: remove using statement for stack.
81 2004-10-23 José Matos <jamatos@lyx.org>
83 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
84 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
85 docbook. The new scheme is recursive and makes use of iterators, the
86 same as latex export works.
87 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
88 directly with the paragraph contents. This code was moved up to
89 output_docbook.C (docbookParagraphs).
90 * sgml.C (openTag, closeTag): removed unneeded newlines.
91 (closeEnvTags) removed.
93 2003-10-23 André Pönitz <poenitz@gmx.net>
95 * undo.C (textUndoOrRedo):
96 * dociterator.C (asDocIterator): work around crash
98 * cursor.C (getStatus): replace ASSERT by more verbose error message
99 and manual correction of the problem. Should increase stability
100 while providing more sensible information.
102 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
104 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
106 * bufferlist.C (previous, next): new methods
109 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
111 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
113 * buffer.C (makeDocBookFile): add dsssl stylesheet control
114 entities to preamble.
116 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
118 * messages.C (Pimpl): strip off translation context information
120 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
122 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
123 the cursor is correct (bug 1694)
125 2004-10-13 José Matos <jamatos@lyx.org>
127 * output_docbook.C (docbookParagraphs): fix closing tags in the
130 2004-10-09 José Matos <jamatos@lyx.org>
132 * buffer.C: format up to 237.
133 * bufferparams.C (write): use tostr to convert booleans to strings.
135 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
137 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
139 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
141 * LaTeX.C: implement use of babel language in xindy.
143 2004-10-05 José Matos <jamatos@lyx.org>
145 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
146 Add new translators to help reading and writing the lyx file.
148 2004-10-05 José Matos <jamatos@lyx.org>
150 * ParagraphParameters.C (read):
151 * text.C (readParToken): replace nexToken by more appropriate lex
154 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
156 * LaTeX.C (runMakeIndex):
157 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
158 (usually 'makeindex') configurable.
160 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
161 with a variable rather than with a number.
163 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
165 * output_latex.C (TeXOnePar): make sure font setting is the first
166 thing that gets output (and the last at the end). Should fix bug
169 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
171 * pch.h: use proper signal include
173 * LaTeX.h: Use preferred calling of Boost.Signal
176 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
178 * pch.h: dont include <boost/function/function0.hpp>
180 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
182 * paragraph_pimpl.h: remove usage of ShareContainer
184 * paragraph_pimpl.C: remove initialization of ShareContainer.
186 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * BufferView.C (putSelectionAt): change the semantics when
191 backwards == true: now, this just swaps cursor and anchor wrt the
194 * BufferView.h (putSelectionAt): add some documentation
196 * lyxfind.C (findBackwards): rewrite using while(). In particular,
197 make sure backwardChar is done at least once (to avoid getting
199 (findNextChange): use putSelectionAt in the forward direction
200 (operator()): use Paragraph::isWord
202 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
204 * Spacing.C (set): c_str fix
206 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * lyx_cb.C (Reconfigure): quote the name of configure script in
209 case it contains spaces
211 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
215 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
216 (BOOST_LIBS): use top_buildir when looking for the file
218 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
220 * pch.h: do not use include boost/format.hpp, multiple symbols
221 will result (gcc bug)
224 2004-08-23 José Matos <jamatos@lyx.org>
226 * bufferparams.C (readToken): fix reading of the author field.
228 2004-08-20 José Matos <jamatos@lyx.org>
230 * lyxrc.C: remove support/translator.h inclusion since it is not used.
232 2004-08-20 José Matos <jamatos@lyx.org>
234 * lyxlex.[Ch] (findToken): remove function.
236 * ParagraphParameters.C (findToken):
237 * bufferparams.C (findToken): replace call for previous function
238 with local copy. This local function has one more argument, the
239 read string argument.
241 2004-08-16 José Matos <jamatos@lyx.org>
243 * ParagraphParameters.C (write):
244 * Spacing.C (writeFile):
245 * bufferparams.C (writeLaTeX):
246 * lyx_cb.C (Reconfigure):
247 * paragraph.C (write):
248 * tabular.C (write): remove unnecessary space at end of line.
251 2004-08-16 José Matos <jamatos@lyx.org>
253 * text.C (readParagraph): remove debug message.
255 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
257 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
260 * output_plaintext.C (asciiParagraph): set depth correctly
262 * outputparams.h: add member depth
264 * paragraph_funcs.C (ownerPar): remove.
266 * text2.C (setCounter): remove first_pit; comment out some
267 non-working code that uses ownerPar
269 * BufferView.C (getParentLanguage): remove. Not used anymore, and
272 2004-08-16 José Matos <jamatos@lyx.org>
274 * text.C (readParToken, readParagraph, read): report all unknown tokens.
275 For the same level of importance use the same chanel to report problems.
276 (read): add code to deal with \begin_body and \end_body.
279 2004-08-15 José Matos <jamatos@lyx.org>
281 * lyxlex.C (getString): fix comment, buffer::readBody is now
284 * tex-strings.C (string_papersize): Default -> default,
285 Custom -> custom, for consistency with other options.
287 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
291 * Makefile.am: support pch
293 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * text.C (readParToken): remove the static LyXFont variable and
296 pass it as a parameter instead. This fixes a nasty bug where an
297 inset will be inserted with a bad font in some situations
298 (readParagraph): adapt
300 * text2.C (setCounter): reduce number of calls to pars_[pit]
302 * text.C (singleWidth): add an assert, fix a test
304 * rowpainter.C (paintText): reduce number of calls to singleWidth
306 * paragraph.C (isHfill):
309 2004-08-14 André Pönitz <poenitz@gmx.net>
314 * lyxtext.h (several functions): use a Paragraph & argument
317 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * metricsinfo.h: add a new field ltr_pos to PainterInfo
321 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
323 * text.C (singleWidth): remove useless test
325 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
327 * tabular.h: remove bogus comments
329 * tabular.C (getDescentOfRow):
330 (isPartOfMultiColumn): add assertions
332 * lyxlength.C (inPixels): remove #warning
334 2004-08-14 André Pönitz <poenitz@gmx.net>
336 * paragraph.h: inline getChar()
338 * BufferView.h: remove unused declarations
340 2004-08-14 José Matos <jamatos@lyx.org>
342 * Buffer.[Ch] (readDocument): new name for old readBody.
343 * Buffer.C: new file format, new keywords: \begin_document,
344 \begin_header, \begin_body, \end_body.
346 * bufferparams.C (readToken): replace all calls to lex.nextToken
347 by lex.next(). Do the same to eatLine except where really needed.
349 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
350 line when writing to the lyx file.
352 * output_plaintext.C (asciiParagraph): fix Bibliography style
355 * text.C (read): fix end of file handling.
357 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * MenuBackend.C (Menu::operator[]): new method to access
360 individual menu items
361 (Menu::hasFunc): new method. search for an item that corresponds
363 (MenuBackend::specialMenu): new method
364 (MenuBackend::expand): if a special menu has been set, skip
365 entries whose func() appears in this menu
367 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
369 * text3.C: use Debug::DEBUG a bit more
371 * text.C (leftMargin): try to simplify a tiny bit change var x to
372 l_margin. Dont output the wide margins always.
373 (rightMargin): no margin in inner texts
375 * rowpainter.h (nestMargin): new func
376 (changebarMargin): new func
377 (rightMargin): new func
379 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
383 * factory.C (createInset): modify setDrawFrame
385 * cursor.C: use Debug::DEBUG a bit more
387 2004-08-14 André Pönitz <poenitz@gmx.net>
390 * Makefile.am: new files to accomodate an 'external' (x,y)-position
391 cache for all insets in (at least partially) visible (top-level)
394 * BufferView_pimpl.C: reset external coord cache before every update.
395 This means the coord cache only contains valid entries.
397 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
400 * BufferView_pimpl.C (getInsetByCode): move function out of class
401 and change in to a template in anon namespace. Also fix to do what
404 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
407 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
409 (breakParagraph): rename par to par_offset and use a local
410 reference. Add code to keep the language over a rebreak.
411 (breakParagraphConservative): rename par to par_offset, use a
413 (mergeParagraph): ditto
415 (isFirstInSequence): ditto
416 (outerFont): rename pit to par_offset
418 * paragraph.C: ws change
423 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
425 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
428 * paragraph.C (simpleTeXOnePar): when we have a \item with
429 optional argument, enclose the argument with curly brackets (in
430 case it contains a closing square bracket)
434 * text3.C (checkInsetHit): constify
436 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
438 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
441 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
443 Fix toggling of collapsable insets with the mouse (bug 1558)
445 * lyxfunc.C (dispatch): adapt to LCursor changes
447 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
448 make sure that dispatch is not invoked twice
450 * cursor.C (needsUpdate): new method
451 (dispatch): return void
452 (result): new method, to access the DispatchResult of the cursor.
454 2004-08-13 José Matos <jamatos@lyx.org>
456 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
458 2004-08-13 André Pönitz <poenitz@gmx.net>
460 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
462 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
465 2004-08-12 André Pönitz <poenitz@gmx.net>
467 * text3.C: take out the 'cursor right' form insertInset and only
468 do it in those places when it is really needed. Fixes crash on
471 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
473 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
475 * BufferView_pimpl.C (setBuffer): initialize the current font of
476 the underlying LyXText
478 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * kbsequence.C (print): use UI native formatting for menu
483 * text.C (insertChar): call Paragraph::insertChar with a font
486 * paragraph.C (insertInset, insertChar): the version that takes a
487 LyXFont argument is now a wrapper around the other one (the
488 opposite used to be true).
490 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
491 argument. Font setting is done in Paragraph now.
493 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
495 * outputparams.h: add new members intitle and lang.
497 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
498 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
500 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
502 * text3.C (dispatch): remove special handling of button 4 and 5,
503 it is now taken care of in the frontend code.
505 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
507 * Spacing.h: add <string> (STLPort compile fix)
509 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
511 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
513 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
515 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
518 * converter.C (showMessage): inherit from unary_function, make
521 * buffer.C (writeFile): initialize retval
523 * InsetList.h: rename private variable list to list_
524 * InsetList.[Ch]: adjust accordingly.
526 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
528 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
529 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
530 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
531 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
532 * ParagraphParameters.C, LaTeXFeatures.C: replace
533 "support/std_sstream.h" with <sstream>
535 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
537 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
538 * lyxsocket.C (LyXServerSocket): ditto
539 (serverCallback): ditto
541 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
543 * LaTeXFeatures.C: check release date when loading jurabib.
545 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
547 * lyxserver.C (startPipe): call register_socket_callback
548 (endPipe): call unregister_socket_callback
550 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
552 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
553 (LyXServerSocket): register the callback
554 (LyXServerSocket): unregister the callback
555 (fd): delete function
556 (serverCallback): improve error checking and setup the callbacks.
557 (dataCallback): change arg to fd.
558 (writeln): new func (copied fro the client socket) used for server
560 (LyXDataSocket): simplify
561 (~LyXDataSocket): close ann unregiser callback
562 (server): delete function
563 (fd): delete function
564 (readln): small changes, improve some std::string usage
565 (writeln): constify a bit
567 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
569 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
572 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
574 * BufferView_pimpl.C (setBuffer): set the layout combox value only
575 after it has been populated
577 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
579 * text2.C (insertInset): move cursor when inserting inset.
581 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
583 * kbmap.C (findbindings): a couple of new methods. returns a
584 container of kb_sequence objects. The real work is done by the
585 private recursive version
586 (printbindings): uses findbindings to print out a bracketed list
587 of bindings (renamed from findbinding).
589 * MenuBackend.C (binding): use kb_keymap::findbindings
591 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
593 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
595 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
597 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
599 * paragraph.C (isWord): return true on insets that report
602 * text.C (getWord): use Paragraph::isWord to decide what is in a
603 word and what is not; fix bug 1609.
605 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
607 * tex-strings.C: add "none" to string_paperpackages[], fixes
608 off-by-one-error in the paperpackage selection.
611 * tex-strings.[Ch]: char const * string[n]
612 -> char const * const string[]
614 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
616 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
617 command, return early.
619 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
621 * debug.h: add DEBUG to enum and fix size of ANY.
623 * debug.C: add support for Debug::DEBUG
624 (showTags): cast errorTags.level to unsigned int
626 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
627 (redoCurrentBuffer): ditto
628 (updateScrollbar): ditto
629 * cursor.C (dispatch): ditto
630 * text2.C (setLayout): ditto
632 (updateCounters): ditto
634 (deleteEmptyParagraphMechanism): ditto
636 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
638 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
639 annotations to cleanup the Makefile slightly.
641 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
643 * lyxrc.C: do not set user_email to a default value but use empty
644 instead. The entry used to be translated, which does not work
645 since at the point where lyxrc is constructed there is no
646 translation service available
648 * messages.C (getLocaleDir): remove and use directly
649 lyx_localedir() instead
651 2004-06-02 Angus Leeming <leeming@lyx.org>
653 Fix crash caused by dereferencing null pointer 'exportdata' in
654 OutputParams by creating a new ExportData variable on the heap,
655 storing it in a boost::shared_ptr.
656 The crash was triggered when generating an Instant Preview
657 of an external inset.
659 * Makefile.am: add outputparams.C
661 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
662 (c-tor): allocate memory to it.
664 * exporter.C (c-tor): associated changes.
666 2004-06-01 Angus Leeming <leeming@lyx.org>
668 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
669 contains data before calling isInset(0). (Bug 1513.)
671 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
673 * exporter.C (checkOverwrite): new method
674 * exporter.C (copyFile): new method
675 * exporter.C (Export): copy referenced files to the document dir
676 * exporter.[Ch]: new class ExportedFile
677 * exporter.[Ch]: new class ExportData. Contains currently the
678 names of referenced external files
679 * outputparams.h: add exportdata member.
681 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
683 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
686 2004-05-19 Angus Leeming <leeming@lyx.org>
691 * lyxfunc.C: small changes due to the introduction of namespace
692 lyx::frontend and the moving of namespace biblio to lyx::biblio.
694 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
696 * text3.C (dispatch): supress update when only moving the cursor
697 * cursor.C (selHandle): remove commented code
699 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
701 * paragraph.C (startTeXParParams): correct column count
702 * CutAndPaste.C (pasteSelection): remove const_cast
703 * output_docbook.C (docbookParagraphs): remove const_cast
704 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
705 const_cast and return ParagraphList::const_iterator
706 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
707 * output_plaintext.C (writeFileAscii): remove const_cast
708 * paragraph.[Ch] (simpleTeXOnePar): make const
709 * paragraph_funcs.C (outerPar): use const iterators
710 * paragraph_pimpl.C (validate): use const iterators
711 * text.C (setHeightOfRow): use const iterators
713 2004-05-17 Angus Leeming <leeming@lyx.org>
716 * LyXAction.C (init): new LFUN_INSET_REFRESH.
718 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
719 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
720 if the citation engine has changed.
722 2004-05-14 José Matos <jamatos@lyx.org>
724 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
725 if the textclass does not provide it. Have it different for sgml and
727 support the language of document.
728 * output_docbook.C (docbookParagraphs):
729 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
730 first anchor as the id of the paragraph, remove special case code.
731 * sgml.C (escapeChar): escape only < & >.
733 2004-05-14 Angus Leeming <leeming@lyx.org>
735 * bufferparams.h: move biblio::CiteEngine enum here to minimize
736 dependencies on src/frontends/controllers/biblio.h. Define a
737 CiteEngine_enum wrapper class to enable the enum to be forward
740 2004-05-12 Angus Leeming <leeming@lyx.org>
742 * buffer.C: up LYX_FORMAT to 234.
743 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
744 use_numerical_citations with a single biblio::CiteEngine cite_engine
746 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
748 2004-05-13 José Matos <jamatos@lyx.org>
751 * converter.C (Converter, readFlags): add xml member.
752 * outputparams.h: add XML flavor.
753 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
755 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
757 * lyxfunc.C (dispatch):
758 (getStatus): fix handling of LFUN_SEQUENCE
760 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
762 * debug.C (showLevel): do not forget the end-of-line marker
764 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
766 * kbmap.C (read): do not stop parsing a bind file when an error
769 2004-04-29 Angus Leeming <leeming@lyx.org>
774 * text2.C: wrap a bunch of #warning statements
775 inside #ifdef WITH_WARNINGS blocks.
777 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
779 * buffer.C: increment format to 233.
781 2004-04-28 Angus Leeming <leeming@lyx.org>
783 * BufferView_pimpl.C:
786 s/updateToolbar()/updateToolbars()/
787 s/Toolbar.h/Toolbars.h/
789 2004-04-28 Angus Leeming <leeming@lyx.org>
791 * BufferView.[Ch] (c-tor):
792 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
793 No longer passes these data to the WorkArea generator.
795 2004-04-28 Angus Leeming <leeming@lyx.org>
797 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
799 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
801 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
803 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
805 * output_latex.C (TeXEnvironment): make sure that there is a line
806 break before \end{foo} for the last paragraph of a document
807 (TeXOnePar): if the paragraph is at the end of the document (or
808 inset) and the language has to be reset, then make sure that the
809 line break is _before_ the language command, not after (fixes bug
810 1225); also make sure that the language reset command is the first
811 thing after the paragraph (to ensure proper nesting of
812 environments and thus fix bug 1404)
814 2004-04-21 John Levon <levon@movementarian.org>
817 * ToolbarBackend.C: make "name" be a programmatic name
818 and a gui_name field.
820 * lyxfunc.C: display the minibuffer on M-x
822 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
824 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
827 2004-04-19 Angus Leeming <leeming@lyx.org>
829 * BufferView_pimpl.C (setBuffer): changed preview interface.
831 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
834 2004-04-19 John Levon <levon@movementarian.org>
836 * BufferView_pimpl.C:
837 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
839 2004-04-05 Angus Leeming <leeming@lyx.org>
841 * text.C (redoParagraphs): add call to updateCounters(), thereby
842 fixing the missing "Figure #:" label from the caption of a
845 2004-04-13 Angus Leeming <leeming@lyx.org>
847 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
848 cursor is clicked out of an inset.
850 2004-04-13 Angus Leeming <leeming@lyx.org>
852 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
853 than an InsetOld one.
855 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
857 * format.[Ch]: add editor to Format
858 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
859 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
861 2004-04-08 André Pönitz <poenitz@gmx.net>
863 * metricsinfo.h: remove PainterInfo::width member
865 2004-04-08 Angus Leeming <leeming@lyx.org>
867 * lyx_sty.C (boldsymbol_def): modify so that it outputs
868 "\providecommand" rather than "\newcommand", thereby preventing
869 clashes with packages that define "\boldsymbol" themselves.
872 2004-04-08 Angus Leeming <leeming@lyx.org>
874 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
875 thereby squashing an unnecessary warning.
877 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
879 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
882 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
884 * BufferView.C (setCursor): call redoParagraph (some insets could
886 (putSelectionAt): remove the 'double update' trick
888 * BufferView_pimpl.C (fitCursor): call refreshPar
889 (workAreaDispatch): remove an uneeded update call
890 (dispatch): remove some manual update calls
892 * cursor.[Ch]: remove cached_y_, updatePos
893 (selHandle): set noUpdate when appropriate
895 * lyxfunc.C (dispatch): track if we need an update
897 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
899 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
900 (paintSelection): cheap optimization, do not call cursorX when not
902 (paintPars): change signature
905 (paintTextInset): adjust
909 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
911 * lengthcommon.C: compilation fix: remove explicit array size from
912 unit_name[] and friends
914 2004-04-05 Angus Leeming <leeming@lyx.org>
916 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
918 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
919 present only for the preferences dialog.
920 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
922 2004-04-05 Angus Leeming <leeming@lyx.org>
924 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
925 to enable the frontends to export changes to lyxrc correctly.
927 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
929 2004-04-07 André Pönitz <poenitz@gmx.net>
931 * cursor.[Ch] (selClear, adjust): remove math
933 * cursor_slice.C: more agressive assert
936 * BufferView_pimpl.C: rework mouse event dispatch
943 2004-04-05 André Pönitz <poenitz@gmx.net>
945 * cursor.[Ch] (valign, halign...): remove unneeded functions
947 2004-04-05 Angus Leeming <leeming@lyx.org>
949 * lyxlength.[Ch] (unit_name et al.): const-correct.
951 2004-04-05 Angus Leeming <leeming@lyx.org>
953 * BufferView_pimpl.C:
962 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
964 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
966 * text3.C (getStatus): add LFUN_BEGINNINGBUF
968 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
970 * lyxfind.C: add a couple of inTexted() tests + other small fixes
971 * BufferView_pimpl.[Ch] (getStatus)
972 * BufferView.[Ch] (getStatus): add
973 * lyxfunc.C (getStatus): move lfuns handled in
974 BufferView::dispatch to te function above
975 * Cursor.C (setSelection): set selection() = true
977 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
979 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
981 2004-03-31 Angus Leeming <leeming@lyx.org>
983 * lyxfunc.C (dispatch): Fall through to the generic
984 Dialogs::show("preamble").
986 2004-03-31 Angus Leeming <leeming@lyx.org>
988 * lyxfunc.C (dispatch): Fall through to the generic
989 Dialogs::show("spellchecker").
991 2004-03-31 Angus Leeming <leeming@lyx.org>
993 * lyxfunc.C (getStatus, dispatch): changed invocation of the
996 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1001 * insetiterator.[Ch]:
1006 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1008 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1010 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1011 insets where we are putting the cursor.
1013 2004-03-31 Angus Leeming <leeming@lyx.org>
1016 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1018 * lyxrc.[Ch] (read, write): overloaded member functions taking
1019 a std::[io]stream arguments.
1021 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1023 2004-03-31 Angus Leeming <leeming@lyx.org>
1025 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1026 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1028 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1029 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1031 2004-03-31 Angus Leeming <leeming@lyx.org>
1033 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1034 the LFUN_ALL_INSETS_TOGGLE code.
1036 2004-03-30 Angus Leeming <leeming@lyx.org>
1038 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1039 has died. Fall through to the generic Dialogs::show("document").
1041 2004-03-30 Angus Leeming <leeming@lyx.org>
1044 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1045 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1047 * lyxfunc.C (getStatus, dispatch): define the actions for these
1048 lfuns. Little more than a cut and pste job from ControlDocument.C
1050 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1052 2004-03-30 Angus Leeming <leeming@lyx.org>
1055 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1056 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1058 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1059 open/closed state of ollapsable insets. Usage:
1061 all-inset-toggle <state> <name>, where
1062 <state> == "open" || "closed" || "toggle" and
1063 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1065 * lyxtext.h, text2.C (toggleInset): removed.
1067 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1068 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1069 now passes LFUN_INSET_TOGGLE to the found inset.
1071 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1072 is now invoked as "all-insets-toggle toggle branch".
1074 2004-03-30 Angus Leeming <leeming@lyx.org>
1078 * pariterator.[Ch]: added/corrected header blurb.
1080 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1082 * dociterator.[Ch]: add an inset_ member
1083 (backwardPos): implemented
1084 (backwardPos, forwardPos): use inset_ when the stack is empty.
1085 (doc_iterator_begin, doc_iterator_end): implemented
1086 * pariterator.[Ch]: adjust, add begin, end
1087 * insetiterator.[Ch]: adjust, add begin, end
1091 * BufferView_pimpl.C:
1092 * CutAndPaste.C: adjust
1094 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1096 * buffer.C: increment file format to 232.
1097 * LaTeXFeatures.C: add bibtopic package.
1098 * bufferparams.[Ch]: param \use_bibtopic.
1100 * lyxrc.[Ch]: add lyxrc bibtex_command
1101 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1103 * buffer.C: increment file format to 231.
1105 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1107 * dociterator.C: implement forwardPar
1108 * iterators.[Ch]: remove, replaced by
1109 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1111 * BufferView_pimpl.C:
1114 * bufferview_funcs.C:
1120 * Makefile.am: adjust
1122 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1124 * CutAndPaste.C (pasteSelection): fix 2 crashes
1125 (eraseSelection): fix a crash
1126 * paragraph_funcs.C: remove a warning
1128 2004-03-28 Angus Leeming <leeming@lyx.org>
1131 * LyXAction.C (init): new LFUN_PRINT.
1133 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1135 2004-03-27 Angus Leeming <leeming@lyx.org>
1138 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1140 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1142 2004-03-27 Angus Leeming <leeming@lyx.org>
1144 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1145 insetlist always contains non-null pointers to insets.
1147 2004-03-26 Angus Leeming <leeming@lyx.org>
1149 * src/BufferView_pimpl.C:
1150 * src/CutAndPaste.C:
1153 * src/output_plaintext.C:
1154 * src/outputparams.h:
1155 * src/paragraph_funcs.C:
1159 * src/frontends/controllers/ControlErrorList.C:
1160 * src/frontends/gtk/FileDialogPrivate.C:
1161 * src/frontends/gtk/GPainter.C:
1162 * src/frontends/gtk/GToolbar.C:
1163 * src/frontends/qt2/QRef.C:
1164 * src/mathed/math_scriptinset.C: squash compiler warnings.
1166 2004-03-26 Angus Leeming <leeming@lyx.org>
1168 * ispell.C (LaunchIspell::start):
1169 * lyx_cb.C (AutoSaveBuffer::start):
1170 invoke run(DontWait) rather than runNonBlocking().
1172 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1174 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1176 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1178 * kbsequence.C (print): adjust
1180 * kbmap.C (printKeySym): rename and change signature
1181 (printKey): use LyXKeySym::print()
1183 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1185 * undo.C: add using std::advance to compile for stlport
1187 2004-03-24 Angus Leeming <leeming@lyx.org>
1189 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1190 it leads to a crash when no buffer is present.
1192 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1193 Martin Vermeer <martin.vermeer@hut.fi>
1195 * lyxfunc.C (dispatch):
1196 * bufferparams.C (readToken): use the new LColor::setColor
1198 * LColor.[Ch] (setColor): new version that takes two strings as
1199 argument and creates a new color entry if necessary
1201 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1203 * buffer.C (makeLaTeXFile): if the main latex file that is
1204 processed is usually a subdocument of some master, then pretend
1205 for a while that it is actually the master
1207 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1209 * buffer.C (getLabelList):
1210 (getBibkeyList): use getMasterBuffer()
1211 (getMasterBuffer): new method. Returns the main document in the
1212 case where one is using included documents.
1214 2004-03-25 André Pönitz <poenitz@gmx.net>
1218 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1220 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1222 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1223 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1225 * ParameterStruct.h: merge with ParagraphParameters
1227 * lyxtext.h: remove LyXText::parOffset() and getPar()
1229 * text3.C: Remove all 'manual' update calls. We do now one per user
1230 interaction which is completely sufficient.
1234 * BufferView_pimpl.C:
1235 * FontIterator.[Ch]:
1237 * ParagraphParameters.[Ch]:
1242 * cursor_slice.[Ch]:
1249 * output_docbook.[Ch]:
1250 * output_latex.[Ch]:
1251 * output_linuxdoc.[Ch]:
1252 * output_plaintext.[Ch]:
1254 * paragraph_funcs.[Ch]:
1255 * paragraph_pimpl.[Ch]:
1263 * frontends/controllers/ControlDocument.C:
1264 * frontends/controllers/ControlErrorList.C:
1265 * frontends/controllers/ControlSpellchecker.C:
1268 * insets/insetbase.h:
1269 * insets/insetbibitem.C:
1270 * insets/insetbox.C:
1271 * insets/insetbranch.C:
1272 * insets/insetcaption.C:
1273 * insets/insetcharstyle.C:
1274 * insets/insetcharstyle.h:
1275 * insets/insetcollapsable.C:
1276 * insets/insetcollapsable.h:
1277 * insets/insetert.C:
1278 * insets/insetfloat.C:
1279 * insets/insetfoot.C:
1280 * insets/insetmarginal.C:
1281 * insets/insetnote.C:
1282 * insets/insetoptarg.C:
1283 * insets/insettabular.C:
1284 * insets/insettext.C:
1285 * insets/insettext.h:
1286 * insets/insetwrap.C:
1287 * mathed/math_mboxinset.C:
1288 * mathed/math_nestinset.C:
1289 * mathed/math_scriptinset.C:
1290 * mathed/math_scriptinset.h:
1293 2004-03-24 Angus Leeming <leeming@lyx.org>
1295 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1296 deal with any child processes that have finished but are waiting to
1297 communicate this fact to the rest of LyX.
1299 2004-03-24 Angus Leeming <leeming@lyx.org>
1301 64-bit compile fixes.
1303 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1304 (c-tor): pass lyx::pos_types rather than ints.
1306 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1309 * text.C (Delete): compile fix.
1310 (getPar): ensure that function declaration is the same as that in
1313 2004-03-23 Angus Leeming <leeming@lyx.org>
1315 * ispell.C (LaunchIspell):
1316 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1317 a boost::shred_ptr rather than a std::auto_ptr.
1319 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1321 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1322 handle LFUN_FILE_INSERT_*
1324 * lyxrc.C (setDefaults, getDescription, output, read):
1325 * lyxrc.h: remove ps_command
1327 2004-03-22 Angus Leeming <leeming@lyx.org>
1329 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1330 Ensure that error_handler is processed once only and that all data
1331 is saved before attempting to output any warning messages.
1333 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1335 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1337 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1339 2004-03-19 André Pönitz <poenitz@gmx.net>
1341 * cursor.[Ch] (reset): take main text inset as argument
1343 * BufferView: adjust
1344 * BufferView_pimpl.C: adjust
1346 * paragraph.[Ch]: fix completely broken operator=()
1348 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1350 * LColor.C (getFromLyXName): make sure that the color name is used
1353 2004-03-17 Angus Leeming <leeming@lyx.org>
1356 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1358 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1359 dialog and to kill a forked process.
1361 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1363 * text2.C (setCursorFromCoordinates): fix font problem
1365 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1367 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1368 bogus "rebuild cursor" code
1370 2004-03-11 André Pönitz <poenitz@gmx.net>
1372 * buffer.[Ch]: use InsetText instead of LyXText as container for
1375 * dociterator.[Ch]: drop the BufferView * member which is not needed
1376 anymore after the change to buffer.C
1378 * paragraph_funcs.C:
1382 * BufferView_pimpl.[Ch]:
1384 * cursor_slice.[Ch]: adjust
1386 * text3.C: fix bug in mathDispatch
1388 2004-03-08 André Pönitz <poenitz@gmx.net>
1390 * undo.[Ch]: use 'StableDocumentIterator' as base for
1393 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1396 * bufferparams.[Ch]: add jurabib support and param.
1398 * LaTeX.C: add FIXME/comment.
1400 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1402 * buffer.C: increment file format to 230.
1404 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1406 * cursor.C (dispatch): avoid infinite loops
1408 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1410 * rowpainter.C (paintSelection): fix x coordinates
1412 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1414 * text.C (rowBreakPoint): fix breaking before displayed insets
1416 2004-03-01 André Pönitz <poenitz@gmx.net>
1418 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1420 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1424 * BufferView_pimpl.C:
1432 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1438 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1439 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1441 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1443 * Bidi.[Ch] (computeTables): const correctness
1444 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1445 fill_hfill, fill_label_hfill and x from Row
1446 * lyxtext.h: prepareToPrint returns a RowMetrics
1447 * rowPainter.C: adjust
1448 * text.C (prepareToPrint): use width, not textWidth. adjust
1449 (redoParagraphInternal, cursorX): adjust
1450 * text2.C (getColumnNearX): adjust
1451 (init): put a default value to the top LyXText::width
1453 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1455 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1457 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1459 * lyxtext.h: add FontIterator class
1461 * text.C (FontIterator, operator*, operator->, operator++): add
1462 (rowBreakPoint, setRowWidth): adjust (fixing a
1465 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1467 * BufferView_pimpl.C (workAreaDispatch): allow also
1468 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1470 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1472 * text.C (rowBreakPoint): fix a bug showing with very large insets
1474 2004-02-25 André Pönitz <poenitz@gmx.net>
1477 * cursor.[Ch]: move some mathed specific code to mathed
1479 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1481 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1482 use_tempdir in preferences
1483 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1485 * lyx_main.C: ensure that tempdir is valid
1486 * lyxlex.h: correct typo
1487 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1488 * paragraph.[Ch] (isMultiLingual): make const
1489 * cursor.[Ch] (openable): make const
1491 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1493 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1495 2004-02-20 André Pönitz <poenitz@gmx.net>
1497 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1499 * cursor.[Ch]: prepare for localized getStatus()
1505 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1507 2004-02-20 André Pönitz <poenitz@gmx.net>
1509 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1511 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1513 * text2.C (setCursorFromCoordinates): switch to absolute coords
1515 (cursorDown): adjust
1516 * text3.C (dispatch): adjust
1518 2004-02-16 André Pönitz <poenitz@gmx.net>
1520 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1523 * cursor_slice.[Ch]: remove unneeded acessor function
1525 * lyxtext.h: rename rtl() to isRTL()
1533 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1535 * rowpainter.C (paintSelection): coord fix
1537 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1539 * Spacing.C: compile fix
1541 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1543 * cursor.C (dispatch): restore current_ before returning
1545 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1547 * text2.C (cursorUp, cursorDown): fix coords
1550 2004-02-12 André Pönitz <poenitz@gmx.net>
1555 * text3.C: add LCursor & parameter to most cursor movement functions
1556 remove usage of LyXText::cursorRow() and cursorPar()
1558 * cursor.[Ch]: add textRow() needed members
1561 * BufferView_pimpl.C:
1564 * BufferView_pimpl.C: adjust
1566 2004-02-11 André Pönitz <poenitz@gmx.net>
1570 * BufferView_pimpl.C: shift undo/redo handling
1572 * cursor.[Ch]: fix mathed crash
1575 * lyxtext.h: move selectionAsText to LCursor
1583 * rowpainter.C: fix excessive drawing
1585 2004-02-06 André Pönitz <poenitz@gmx.net>
1588 * BufferView_pimpl.[Ch]:
1589 * text3.C: move some text specific LFUN handling
1591 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1593 * text3.C (checkInsetHit): adjust coords
1594 * text2.C (getColumnNearX): adjust coords
1595 (edit): adjust coords
1596 * text.C (getRowNearY): add two asserts
1598 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1601 * format.C: add using std::distance to compile on gcc 2.95/stlport
1603 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1605 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1607 2004-02-04 André Pönitz <poenitz@gmx.net>
1609 * BufferView.[Ch] (insertInset):
1610 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1615 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1617 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1618 on the default clause of the switch
1619 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1620 wasn't catched by LCursor::dispatch
1622 2004-02-03 André Pönitz <poenitz@gmx.net>
1625 * cursor.[Ch]: some additional asserts
1627 * undo.[Ch]: remove LyXText dependency in interface
1631 * lyxtext.h (firstPar, lastPar): remove dead functions
1636 * paragraph.[Ch]: adjust
1638 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1640 * lyxfind.C (find): fix argument order in call to ::find
1642 2004-02-02 André Pönitz <poenitz@gmx.net>
1644 * cursor.[Ch]: remove direct access to anchor
1646 * text.C: remove findText() hack
1648 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1650 * iterators.[Ch] (lockPath): remove in favour of...
1651 * BufferView.[Ch] (setCursor): this addition
1652 * BufferView.C (putSelectionAt): adjust
1653 * undo.C (performUndoOrRedo): adjust
1654 * lyxfunc.C (dispatch): adjust
1656 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1658 * iterators.C (lockPath): add a missing slice
1659 * undo.C (performUndoOrRedo): remove redundant positioning code
1661 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1663 * vc-backend.C (scanMaster): ";" -> ';'
1665 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1667 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1668 std::binary_function
1670 * lyxtextclass.C (compare_name): rename to...
1671 (LayoutNamesEqual): ...this
1673 * lyxlex_pimpl.C (compare_tags): inherit from
1674 std::binary_function, put back into anon namespace
1676 * lyxfind.C (MatchString): inherig from std::binary_function
1677 (findChange): use empty() istead of !size()
1679 * format.C (FormatNamesEqual): new functor
1686 * converter.C (compare_Converter): rename to...
1687 (ConverterEqual): ...this, and fixup a bit.
1688 (getConverter): use it, and make function const
1689 (getNumber): use it, and make function const
1693 * bufferlist.C: add using boost::bind
1695 * MenuBackend.C (MenuNamesEqual): new functor
1696 (hasMenu): use it, and make function const
1697 (hasSubmenu): use nested bind to get rid of compare_memfun.
1699 2004-01-30 André Pönitz <poenitz@gmx.net>
1701 * BufferView_pimpl.C:
1704 * cursor_slice.[Ch]:
1707 * paragraph_funcs.C:
1708 * paragraph_funcs.h:
1712 * text3.C: move some of the edit(x,y) handling to the insets
1713 some coordinate changes.
1715 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1717 * text.C: add using statements for std::advance and std::distance
1719 * paragraph.C: add using statement for std::distance
1721 * lyxfind.C: add using statement for std::advance
1723 * cursor.C (region): remove std:: from swap
1724 (openable): use nucleus in stead of operator->
1726 * BufferView.C: add using statements for std::distance and std::swap
1728 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1730 * iterators.C: Remove the pimple, move the needed structures to
1731 the header file. Create accessor for the positions stack.
1732 (asPosIterator): remove function
1734 * PosIterator.C (PosIterator): move constructors to top of file
1735 (PosIterator): reimplement the constructor taking a ParIterator in
1737 (setFrom): new function
1738 (operator!=): inline it
1740 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1742 * lyxfind.C (replaceAll): use std::advance
1744 * iterators.h: inherit from std::iterator.
1746 * PosIterator.C (advance, distance): remove
1747 * PosIterator.h: interit from std::iterator.
1749 2004-01-26 André Pönitz <poenitz@gmx.net>
1752 * BufferView_pimpl.[Ch]:
1756 * bufferview_funcs.C:
1766 * output_linuxdoc.C:
1767 * output_plaintext.C:
1769 * paragraph_funcs.[Ch]:
1770 * paragraph_pimpl.[Ch]:
1776 * text3.C: more IU: dumps most of the rest of the mathcursor
1777 implementation into cursor.[Ch]; "globalize" a bit of it.
1779 2004-01-25 Angus Leeming <leeming@lyx.org>
1781 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1783 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1785 * LaTeXFeatures.h: add nice_ and nice() const
1786 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1788 2004-01-20 André Pönitz <poenitz@gmx.net>
1791 * BufferView_pimpl.C:
1793 * bufferview_funcs.C:
1795 * cursor_slice.[Ch]:
1806 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1807 LCursor and mathcursor parts to LCursor and InsetBase.
1809 2004-01-15 André Pönitz <poenitz@gmx.net>
1811 * cursor_slice.[Ch]: add a few covienience functions
1813 * funcrequest.[Ch]: remove BufferView * member
1815 * BufferView_pimpl.C:
1822 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1824 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1826 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1827 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1829 2004-01-13 André Pönitz <poenitz@gmx.net>
1832 * lyxtext.h: hide cursor and selection anchor behind accessor function
1835 * BufferView_pimpl.[Ch]:
1837 * bufferview_funcs.C:
1847 * cursor_slice.[Ch]: some integer type changes for inset unification
1849 * lyxcursor.[hC]: remove, it's CursorSlice now.
1852 * BufferView_pimpl.[Ch]:
1853 * bufferview_funcs.C:
1859 * textcursor.[Ch]: adjust
1861 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1863 * text2.C (undoSpan): add and use
1864 * text.C (breakParagraph): use undoSpan (fix bug 578)
1867 2004-01-08 Angus Leeming <leeming@lyx.org>
1869 * BufferView_pimpl.C (MenuInsertLyXFile):
1870 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1871 * lyxfunc.C (menuNew, open, doImport):
1872 FileFilterList change to the FileDialog open and save functions.
1874 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1876 * ShareContainer.h: make isEqual and isUnique adaptable
1878 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1880 2004-01-07 Angus Leeming <leeming@lyx.org>
1883 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1885 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1887 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1888 functions replacing find, replace and replaceAll.
1890 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1891 LFUN_WORDFIND(FORWARD|BACKWARD).
1893 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1895 * text.C (breakParagraph): remove an outdated #warning
1897 2004-01-07 André Pönitz <poenitz@gmx.net>
1899 * lyxfind.C: somewhat clearer logic
1901 * text.C: prevent crash in cursorX on unitialized row cache
1903 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1905 * lyxcursor.[Ch] (operator>): add
1906 * textcursor.C (selStart, selEnd): use std::min and std::max
1908 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1910 * Chktex.C: include boost/format.hpp
1912 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1914 * InsetList.C: replace functor MathcIt with adaptable functor
1916 (insetIterator): modify accordingly
1918 * BranchList.h: move the BranchNamesEqual functor here from...
1919 * BranchList.C: ... to here
1921 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1923 (add): replace a finding loop with std::find_if.
1925 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1927 * output_docbook.C: moving LatexParam functionality into
1930 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1932 * buffer.C: increment format to 229.
1934 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1937 * lyx_sty.[Ch]: remove minipageindent_def
1943 * text3.C: remove LFUN_INSET_MINIPAGE
1945 2003-12-28 Angus Leeming <leeming@lyx.org>
1947 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1949 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1951 * text2.C (setParagraph): fix off-by-one crash
1953 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1955 * output_docbook.C: header stuff for AGU
1957 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1959 * text2.C (redoCursor): remove
1962 * BufferView_pimpl.C: remove calls to redoCursor and
1963 setCursor(cursor.par(), cursor.pos()) all around
1965 2003-12-15 Angus Leeming <leeming@lyx.org>
1967 * buffer.C: up the format to 228.
1969 2003-12-15 André Pönitz <poenitz@gmx.net>
1971 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1976 * BufferView_pimpl.C:
1985 2003-12-15 Angus Leeming <leeming@lyx.org>
1987 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1988 than getFromGUIName to manipulate the color.
1990 2003-12-14 Angus Leeming <leeming@lyx.org>
1992 * BranchList.[Ch]: minimize the API.
1993 (Branch::getBranch, getColor): now return a 'const &'.
1994 (Branch::setSelected) now returns a bool set to true if the
1995 selection status changes.
1996 (BranchList::clear, size, getColor, setColor, setSelected,
1997 allBranches, allSelected, separator): removed.
1998 (BranchList::find): new functions, returning the Branch with
2000 (BranchList::add, remove): return a bool indicating that
2001 the operation was successful.
2003 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2004 new InsetBranch::isBranchSlected member function.
2006 * LColor.[Ch]: mimimize the API.
2007 (fill): renamed as addColor and made private.
2008 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2009 versions of these functions taking a string arg have been removed.
2011 * bufferparams.C (readToken):
2012 * lyxfunc.C (dispatch):
2013 * lyxrc.C (read): changes due to the altered BranchList and
2016 * factory.C (createInset, readInset): changes due to altered
2019 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2022 * lyxfunc.C: remove insetminipage. "minipage-insert"
2023 now produces a frameless minipage box inset.
2025 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2027 * textcursor.[Ch] (selStart,selEnd): add new methods
2028 remove selection::start, end, use LyXCursor::operator<
2029 * lyxcursor.[Ch] (operator<): add
2030 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2031 * BufferView.[Ch] (unsetXSel): add
2032 * text2.C (clearSelection): use unsetXSel,adjust
2035 * rowpainter.C: adjust
2036 * bufferview_funcs.C (put_selection_at): adjust
2038 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2040 * BufferView_pimpl.C: small coord. correction
2042 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2044 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2045 dragging over the splash screen.
2047 2003-12-11 Angus Leeming <leeming@lyx.org>
2049 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2050 as it is now handled in LyXText::dispatch.
2052 * text3.C (doInsertInset): remove a level of nesting.
2054 2003-12-11 Angus Leeming <leeming@lyx.org>
2056 * factory.C (createInset): changes due to the changed interface to
2057 InsetCommandMailer::string2params.
2059 2003-12-10 Angus Leeming <leeming@lyx.org>
2061 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2062 'dialog-show-new-inset <inset name>'
2064 2003-12-10 Angus Leeming <leeming@lyx.org>
2066 * buffer.C: up the format to 227.
2068 * factory.C: the box inset is now identified simply by 'Box'.
2070 2003-12-10 Angus Leeming <leeming@lyx.org>
2072 * buffer.C: up the format to 226.
2074 * factory.C: the note inset is now identified simply by 'Note'.
2076 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2078 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2079 when a pit is enough. Standarize a couple of loops.
2081 2003-12-05 Angus Leeming <leeming@lyx.org>
2083 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2084 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2085 data to the re-worked "log" dialog.
2087 2003-12-03 André Pönitz <poenitz@gmx.net>
2093 * paragraph_funcs.C:
2095 * text2.C: use Inset::getText instead of Inset::getParagraph
2097 2003-12-03 André Pönitz <poenitz@gmx.net>
2101 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2102 InsetText::read() as LyXText::read()
2104 2003-12-02 Angus Leeming <leeming@lyx.org>
2106 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2107 type. Add a comment in the implementation that the function uses
2108 the stream's bad() function rather than fail() as the std::streams
2111 2003-12-02 André Pönitz <poenitz@gmx.net>
2113 * lyxlex.[Ch]: make interface more similar to std::stream
2115 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2117 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2119 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2121 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2123 * vspace.[Ch]: remove VSpace::NONE
2125 2003-12-01 André Pönitz <poenitz@gmx.net>
2128 * lyxtext.h: move ParagraphList member to LyXText
2129 rename LyXText::ownerParagraphs to LyXText::paragraph
2132 * bufferview_funcs.C:
2142 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2144 * undo.C: fix cursor positioning
2146 2003-12-01 John Levon <levon@movementarian.org>
2148 * BufferView_pimpl.C: fix a crash on exit with
2151 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2153 * BranchList.C: fix setSelected() method.
2155 2003-11-28 André Pönitz <poenitz@gmx.net>
2157 * ParagraphParameters.[Ch]:
2158 * ParameterStruct.h: remove space above/below from Paragraph to
2161 * BufferView_pimpl.C:
2167 * paragraph_funcs.C:
2173 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2175 * factory.C: Syntax change for CharStyles
2177 2003-11-28 André Pönitz <poenitz@gmx.net>
2182 * buffer.[Ch]: move LyXText member
2184 2003-11-28 André Pönitz <poenitz@gmx.net>
2186 * BufferView.[Ch]: make LyXText * text a private member
2188 * BufferView_pimpl.C:
2199 * output_plaintext.C: cleanup
2201 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2204 * lyxtextclass.[Ch]: parametrize SGML document header
2206 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2209 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2212 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2214 * text2.C (setFont): rework using PosIterator (no more recursive)
2215 (setCharFont): no more needed
2216 (setLayout): no more selection cursors fiddling (done by redoCursor)
2217 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2218 destroy remaining ones)
2220 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2222 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2224 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2227 * text3.C: adjust + re-allow multi par depth changes
2228 * textcursor.C: simplify a bit
2230 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2236 * src/output_docbook.C:
2237 * src/output_latex.C:
2242 * src/text2.C: Introducing a number of tags parametrizing various
2243 XML formats that we may want to support
2245 2003-11-25 André Pönitz <poenitz@gmx.net>
2247 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2249 * lyxtext.h (leftMargin/rightMargin): simplify interface
2256 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2258 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2259 master file to any child files. Fixes bug 546.
2261 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2263 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2265 2003-11-24 André Pönitz <poenitz@gmx.net>
2267 * rowpainter.C: simplification
2269 * text2.C (updateCounters): remove call to redoParagraph on
2270 changed labels as this is far too expensive.
2272 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2274 * converter.C (convert): fix a crash: this function gets
2275 called with buffer == 0 from importer code.
2277 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2279 * text3.C (cursorPrevious): make sure that we do not compare
2280 iterators form different containers.
2283 * rowpainter.C (paintSelection): make sure that we do not compare
2284 iterators from different containers.
2286 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2287 iterators from different ParagraphList containers.
2290 * text2.C (LyXText): change order of initialization slightly
2291 (operator=): new function. copy all variables except cache_par_
2292 (moveUp): make sure that we do not compare iterators from
2293 different ParagraphList constainers.
2296 * text.C (firstPar): new function
2297 (lastPar): new function
2298 (endPar): new function
2300 * lyxtext.h: move things around and group public functions, public
2301 variables, private functions, private variables
2303 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2305 * factory.C: change call to InsetERT constructor to avoid
2306 additional invocation of method status
2307 * text2.C (toggleInset): remove redundant update() call
2308 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2309 instead of a Bufferview pointer
2311 2003-11-21 André Pönitz <poenitz@gmx.net>
2313 * rowpainter.C: simplification
2315 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2317 * text3.C (dispatch): make possible to extend a word/row selection
2320 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2322 * lyxtext.h: x0_,y0_ -> xo_,yo_
2323 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2324 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2325 * rowpainter.C (paintRows): paint full paragraphs
2327 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2329 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2332 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2334 * lyxtext.h: add x0_, y0_
2335 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2336 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2338 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2340 * text2.C (setCursorIntern): move the x_target update here *
2341 * text3.C: change some bv() to true/false in calls to
2342 cursorUp/Down/Right/Left
2343 * cursor.C: use helper function.
2345 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2347 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2348 * paragraph_funcs.[Ch]: correct comment
2349 * rowpainter.C: do not paint selections away from bv->cursor()
2350 Fix a long standing selection painting bug.
2351 * text3.C: generalize mouse-selection code to LyXTexts other that
2353 * textcursor.C: do not use y coords if we can use par offsets
2355 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2357 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2358 cursor position after e.g. inset insert)
2360 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2362 * lyxfind.C (replace): adjust to locking removal + some
2365 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2367 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2370 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2373 * output_docbook.C: XML sanitation: new layout
2374 parameters InnerTag and CommandDepth
2376 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2378 * BufferView_pimpl.C:
2380 * text3.C: Fix the insertion and modification of button-style
2383 2003-11-13 André Pönitz <poenitz@gmx.net>
2385 * InsetList.[Ch]: remove deleteLyXText
2387 * paragraph.[Ch]: cache beginOfBody position
2392 * text3.C: remove superfluous update() calls
2396 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2398 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2399 * BufferView.C (fitLockedInsetCursor): remove
2400 * cursor.[Ch] (getDim): add
2401 * text.C (getRowNearY): add faster version
2402 * text3.C: remove some update calls
2404 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2416 * text3.C: The Character Style /XML short element patch.
2418 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2421 * factory.C: Small step to solving 'unable to insert some insets'
2424 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2426 * cursor.[Ch] (updatePos): new function for updating the y
2427 position of the tip inset
2428 * bufferview_funcs.C (put_selection_at):
2429 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2431 2003-11-11 André Pönitz <poenitz@gmx.net>
2433 * text.C: remove big comment on invalid Paragraph pointers as it is
2436 2003-11-11 André Pönitz <poenitz@gmx.net>
2438 * text_funcs.[Ch]: merge with ...
2446 * Makefile.am: remove text_funcs.[Ch]
2448 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2450 * cursor.C (getPos): return absolute cached y coord
2452 * BufferView_pimpl.C (fitCursor): new simplistic code
2453 (workAreaDispatch): add a fitCursor call
2455 2003-11-10 André Pönitz <poenitz@gmx.net>
2458 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2460 2003-11-10 André Pönitz <poenitz@gmx.net>
2462 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2463 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2464 indicate that the cursor needs to leave an inset
2466 * lyxtext.h: remove inset locking
2468 * cursor.[Ch]: re-implement functionality provided by inset locking
2471 * BufferView_pimpl.[Ch]:
2473 * bufferview_funcs.[Ch]:
2485 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2487 * PosIterator.[Ch]: replace the stack with a vector, add inset
2489 * iterators.[C]: adjust
2491 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2493 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2495 * paragraph_funcs.C (readParToken): put the correct id in the
2496 error item, not the id of the top paragraph
2498 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2500 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2501 * bufferview_funcs.C (put_selection_at): use the above
2503 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2505 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2507 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2509 * output_linuxdoc.h:
2510 * output_plaintext.h:
2512 * output_docbook.h: add #include statements
2514 2003-11-05 José Matos <jamatos@lyx.org>
2516 * output_docbook.[Ch]:
2517 * output_latex.[Ch]:
2518 * output_linuxdoc.[Ch]:
2519 * output_plaintext.[Ch]: New files for output formats.
2520 * output.[Ch]: New file for helper functions.
2523 * paragraph_funcs.[Ch]: output functions moved to new files.
2525 * outputparams.h: rename of latexrunparams.h
2533 * paragraph_funcs.[Ch]:
2534 * paragraph_pimpl.[Ch]:
2535 * tabular.[Ch]: rename ascii to plaintext
2536 and LatexRunParams to OutputParams.
2538 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2540 * iterators.[Ch] (text): require bv argument
2541 * undo.C (recordUndo):
2542 * lyxfunc.C (dispatch):
2543 * bufferview_funcs.C (put_selection_at): adjust
2545 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2547 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2549 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2551 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2554 2003-11-04 André Pönitz <poenitz@gmx.net>
2556 * cursor.[Ch]: restructure
2559 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2561 * iterators.[Ch] (asCursor): remove
2563 * lfuns.h: remove LFUN_INSET_EDIT
2569 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2571 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2573 * lyxfind.[Ch]: complete overhaul
2574 * BufferView_pimpl.C:
2576 * paragraph.[Ch] (insert): add
2578 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2582 * text.C: remove dead spellcheck code
2584 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2586 * dispatchresult.h: add a val setter
2588 * cursor.C (dispatch): use a tempvar for data_[i]
2590 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2592 * PosIterator.[Ch]: compile fix
2594 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2596 * text.C (cursorPar): deactivate the cursor cache
2598 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2600 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2602 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2604 * text3.C (dispatch): adjust for new DisptchResult semantics.
2606 * lyxfunc.C (dispatch): handle update when return from
2607 Cursor::dispatch, adjust for new DispatchResult semantics.
2609 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2610 DispatchResult(true) mean to not update. Add class functions for
2611 setting dispatched and update, as well as reading.
2613 * cursor.C (dispatch): don't handle update here
2615 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2617 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2618 * trans_mgr.C: adjust
2620 * paragraph_funcs.C (readParToken): exception safety
2622 * lyxvc.h: store the vcs pointer in a scoped_ptr
2625 * lyxsocket.C (serverCallback): exception safety
2627 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2629 * ispell.C (clone): make it return a auto_ptr
2631 * factory.C (createInset): exception safety
2632 (readInset): exception safety
2634 * bufferlist.C (newBuffer): exception safety
2636 * Thesaurus.C (Thesaurus): use initialization for aik_
2638 * MenuBackend.C (expandToc): exception safety.
2640 2003-11-03 André Pönitz <poenitz@gmx.net>
2644 * bufferview_funcs.C: remove getInsetFromId()
2647 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2653 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2655 * PosIterator.C (distance, advance): new
2656 * bufferview_funcs.[Ch] (put_selection_at): new
2657 * iterators.[Ch] (lockPath): new
2659 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2661 * iterators.[Ch] (asPosIterator): added
2662 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2663 * PosIterator.[Ch]: added
2665 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2669 * cursor.C (dispatch):
2670 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2672 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2673 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2674 contructor, add a class function dispatched. Remove operator>=
2676 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2678 * debug.C: only use the default constructor for debugstream
2681 * main.C (main): include debug.h and setup the lyxerr streambuf
2684 2003-10-31 José Matos <jamatos@lyx.org>
2686 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2688 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2689 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2690 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2691 * paragraph_pimpl.C (simpleTeXSpecialC):
2692 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2693 add LatexRunParams argument.
2695 * exporter.C (Export): change call accordingly.
2697 * latexrunparams.h: add new member to take care of the other backends.
2698 2003-10-30 José Matos <jamatos@lyx.org>
2700 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2701 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2702 factorise code for paragraph output.
2704 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2707 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2709 * text3.C (dispatch):
2710 * lyxfunc.C (dispatch):
2711 * cursor.C (dispatch):
2712 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2714 * dispatchresult.h: make the dispatch_result_t ctor explicit
2716 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2719 * buffer.C: small refactoring of docbook stuff
2721 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2723 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2726 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2728 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2729 operator dispatch_result_t, and operators for == != and >=
2731 * cursor.C (dispatch): adjust for operator dispatch_result_t
2732 removal. comment out call to update
2734 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2736 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2744 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2747 * dispatchresult.h: new file, DispatchResult broken out of
2750 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2752 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2754 * text.C (rowBreakPoint): put a hack inside #if 0
2756 2003-10-28 André Pönitz <poenitz@gmx.net>
2760 * paragraph_funcs.C:
2763 * text2.C: general cleanup (lots of small stuff)
2765 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2767 * text2.C (cursorEnd): simple fix to the "end key goes to one
2768 before the end on last row" bug
2770 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2772 * text.C (backspace): fix the "zombie characters"
2774 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2776 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2778 2003-10-27 André Pönitz <poenitz@gmx.net>
2780 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2782 * factory.C: handle new InsetPagebreak, InsetLine
2784 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2785 and move handling into new InsetPagebreak, InsetLine
2787 * BufferView_pimpl.C:
2789 * ParagraphParameters.C:
2790 * ParameterStruct.h:
2795 * paragraph_funcs.C:
2796 * paragraph_pimpl.C:
2802 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2805 * lyxrow_funcs.[Ch]:
2811 * text3.C: remove lastPos uses in favour of Row::endpos
2813 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2815 * undo.C (performUndoOrRedo): fix two crashes by setting a
2816 cursor by hand and reordering some calls. Use bv->lockInset instead
2817 of inset->edit because the latter loses cursor information
2819 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2821 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2823 (rowBreakPoint): fix width. change point to point + 1.
2824 Add a missing check.
2826 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2829 * lyxfunc.C: fix (at least partly) the problems
2830 with the Nav menu and headers inside branch insets
2833 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2835 * paragraph.C (getChar): add strong asserts
2837 * lyxrow_funcs.C (lastPos): remove hideous hack
2839 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2840 (fill): adjust to that (avoid an infinite loop)
2842 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2844 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2846 2003-10-23 André Pönitz <poenitz@gmx.net>
2848 * RowList_fwd.h: change list<> to vector<> to gain speed
2849 after suggestion from Alfredo
2851 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2853 * lyxtext.h: move the bidi stuff from here...
2856 * Bidi.[Ch]: ... to here
2858 2003-10-23 André Pönitz <poenitz@gmx.net>
2861 * text.C (isLastRow, isFirstRow): new functions
2863 * paragraph.h: new width cache member
2865 * rowpainter.C: replace RowList::iterator with Row & where possible
2867 * lyxfunc.C: replace several view()->text with a single call
2869 * toc.C: fix 'unused' warning
2871 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2874 when woring with stream::pos_type
2875 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2877 2003-10-22 André Pönitz <poenitz@gmx.net>
2880 * text.C: use Row & instead of RowList::iterator
2882 * lyxrow.h: rename end() to endpos()
2888 2003-10-22 Angus Leeming <leeming@lyx.org>
2890 * buffer.[Ch] (fully_loaded): new member function, returning true
2891 only when the file has been loaded fully.
2892 Used to prevent the premature generation of previews and by the
2893 citation inset to prevent computation of the natbib-style label.
2895 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2896 templates are all set up.
2898 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2900 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2902 * text.C: fixed an "oops" in the "is a bit silly"
2905 2003-10-21 André Pönitz <poenitz@gmx.net>
2907 * FuncStatus.[Ch]: small stuff, whitespace
2909 * lyxfont.[Ch]: operator<<() for debug reasons
2913 * lyxtext.h: whitespace, spelling
2915 * paragraph.C: naming of variables
2918 * text2.C: small stuff
2921 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2923 * text.C: (1) finish off the inset display() work;
2924 (2) fix the "is a bit silly" bug (accessing char
2927 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2929 * text.C: re-introduce display() for insets, fixing the
2930 various bugs (stretch of line above, math inset
2933 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2935 * text.C (rightMargin): remove spurious semicolon
2937 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2940 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2942 * text3.C: fix one crash due to wrong cursor def
2944 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * vc-backend.C (scanMaster): make the regex static
2948 * LaTeX.C (scanAuxFile): make the regexs static
2950 * text3.C (doInsertInset, dispatch, dispatch):
2951 * text2.C (cursorUp, cursorDown):
2952 * text.C (selectNextWordToSpellcheck):
2953 * BufferView_pimpl.C (dispatch):
2954 * lyxfunc.C (dispatch): localDispatch -> dispatch
2956 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2958 * lyxsocket.C: include <cerrno>
2960 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2962 * lyxfunc.C (dispatch): remove textcache stuff
2964 * bufferlist.C (release): remove textcache stuff
2967 * TextCache.C: delete file
2968 * TextCache.h: delete file
2970 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2972 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2973 delete of the bv_->text.
2974 (resizeCurrentBuffer): remove texcache stuff
2975 (workAreaResize): ditto
2977 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2979 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2982 2003-10-16 André Pönitz <poenitz@gmx.net>
2989 * text3.C: speed up by storing y positions per paragraph plus per-row
2990 offset instead of having a 'full' y position in the row.
2992 2003-10-15 André Pönitz <poenitz@gmx.net>
2996 * undo.[Ch]: make undo aware of inner insets
2998 2003-10-14 Angus Leeming <leeming@lyx.org>
3000 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3001 static member functions LyX::ref() and LyX::cref.
3002 (lastfiles): new accessor functions for the new lastfiles_ member var.
3003 (addLyXView, views_): add a new LyXView to the list of views_.
3004 (updateInset): loop over all LyXViews to call their own updateInset
3005 member function, returning a pointer to the Buffer owning the inset.
3007 * BufferView_pimpl.C (loadLyXFile):
3008 * MenuBackend.C (expandLastfiles):
3009 * bufferlist.C (MenuWrite, QuitLyX):
3010 lastfiles is no longer a global variable.
3011 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3013 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3014 static function. Access through LyX::cref().emergencyCleanup().
3016 2003-10-14 André Pönitz <poenitz@gmx.net>
3018 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3020 * undo.[Ch]: restoring part of 'undo in insets'
3023 * undo_funcs.[Ch]: merge with undo.[Ch]
3025 * tabular.C: small cleansing stuff
3027 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3029 * paragraph_funcs.C (readParToken): report unknown insets as error
3030 boxes. Use the outer paragraph as location (also for unknown
3033 * factory.C (readInset): do not abort on reading an unknown inset.
3034 Eat it and return 0.
3036 2003-10-13 Angus Leeming <leeming@lyx.org>
3038 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3040 * lyxrc.C: displayTranslator is now a function,
3041 declared in GraphicsTypes.h.
3043 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3045 * format.C: new placeholder $$a to pass the socket address.
3047 * bufferlist.[Ch]: new function getBufferFromTmp.
3049 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3050 files in the temporary dir.
3052 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3054 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3056 * Makefile.am: add lyxsocket.[Ch].
3058 * lyx_main.C (error_handler): handle SIGPIPE.
3060 2003-10-13 André Pönitz <poenitz@gmx.net>
3062 * BufferView_pimpl.C:
3067 * undo_funcs.[Ch]: use paroffset_type instead of
3068 ParagraphList::iterators to prevent multiple conversion
3069 (and get a more robust interface)
3071 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3073 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3075 * text3.C (dispatch): ditto
3077 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3079 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3080 move the onlyfile, use onlyfile instead of foundfile in a couple
3083 * DepTable.C (update): flush the error stream a bit more
3085 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3087 * lyxserver.C (callback): adjust
3089 * lyxfunc.C (getStatus): add a missing brace in commented code
3090 (ensureBufferClean): reindent
3091 (dispatch): delete version taking a string
3093 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3095 * LaTeX.C (deplog): move found file handlig from here...
3096 (handleFoundFile): .. to new function here.
3097 (deplog): make sure to discover several files mentioned on the
3100 2003-10-10 André Pönitz <poenitz@gmx.net>
3107 * text3.C: fix some of the tabular crashes
3109 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3111 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3113 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3115 2003-10-09 André Pönitz <poenitz@gmx.net>
3117 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3120 * BufferView_pimpl.C:
3121 * bufferview_funcs.C:
3132 * undo_funcs.C: adjust
3134 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3136 * text2.C (incrementItemDepth): new function, use a backtracking
3137 algorithm to discover the correct item depth.
3138 (resetEnumCounterIfNeeded): new function, use a backtracking
3139 algorithm to discover if counter reset is needed.
3140 (setCounter): use them. Simplify a bit. Add different labels for
3141 different item depths for itemize.
3143 * paragraph.C (Paragraph): remove initialization of enumdepth
3146 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3147 enumerate and itemize. Change the type of itemdepth to signed char.
3149 2003-10-08 André Pönitz <poenitz@gmx.net>
3151 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3156 * tabular.[Ch]: fix crash after 'row-insert'
3158 2003-10-08 Angus Leeming <leeming@lyx.org>
3160 Fix doxygen warnings.
3162 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3163 Remove CutAndPaste:: prefix from header file declaration.
3165 * LColor.h (fill): remove LColor:: prefix from declaration.
3167 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3168 use lyx::depth_type rather than Paragraph::depth_type so that
3169 header file and .C file match.
3171 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3173 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3174 * aspell.C: \file aspell_local.C -> \file aspell.C
3175 * gettext.C: \file gettext.C -> \file src/gettext.C
3176 * gettext.h: \file gettext.h -> \file src/gettext.h
3177 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3178 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3179 * text.C: \file text.C -> \file src/text.C
3181 * toc.C: move comment so that doxygen is not confused.
3183 2003-10-07 Angus Leeming <leeming@lyx.org>
3185 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3187 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3190 * aspell_local.h: add forgotten std::string's.
3192 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3199 * text3.C: The Box patch. Fancybox support, minipage, parbox
3201 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3207 * ParagraphParameters.h:
3217 * lyxtextclasslist.h:
3220 * paragraph_pimpl.C:
3221 * textcursor.h: add <string> and other small fixes to make Lars'
3222 std::string patch compile with STLport.
3224 2003-10-06 Angus Leeming <leeming@lyx.org>
3226 * LColor.h: Add missing #include <string>.
3228 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3230 * All most all file in all subdirs: Make <string> be the prefered
3231 way of getting to std::string, add using declarations.
3233 2003-10-06 André Pönitz <poenitz@gmx.net>
3235 * metricsinfo.C: initialize LyXFont before changing attribute.
3236 (fixes the 'math in \emph is upright' bug)
3238 2003-10-06 André Pönitz <poenitz@gmx.net>
3240 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3242 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3245 * paragraph_pimpl.C: Small fixes to build using STLport
3247 2003-10-02 André Pönitz <poenitz@gmx.net>
3250 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3252 2003-10-01 André Pönitz <poenitz@gmx.net>
3254 * factory.C: assert early
3256 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3258 * lyx_main.C: remove the global debug object
3260 * debug.h: adjust for new debugstream
3262 * debug.C: adjust for new debugstream and keep the global debug
3265 2003-09-22 Angus Leeming <leeming@lyx.org>
3267 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3268 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3269 an incomplete class LyXFont.
3271 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3273 * factory.C: bug fix in branches
3275 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3277 * lyxfunc.C (processKeySym): adjust
3279 (dispatch): change arg name from ev to func, adjust
3280 (sendDispatchMessage): ditto
3282 * lyx_main.C (defaultKeyBindings): adjust keybindings
3283 (deadKeyBindings): ditto
3285 * kbsequence.C (addkey): return a FuncRequest
3287 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3289 * kbmap.C (bind): take a FuncRequest as arg, adjust
3292 (defkey): change to take a FuncRequest as arg, adjust
3293 (findbinding): take a FuncRequest as arg, adjust.
3295 * funcrequest.h (operator=): added
3297 * funcrequest.C (FuncRequest): default kb_action changed from
3298 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3300 * buffer.C (dispatch): simplify
3301 (dispatch): adjust to take a FuncRequest as arg, adjust
3303 * boost.C (assertion_failed): change assertion message slightly
3305 * ToolbarBackend.C (read): simplify
3307 * MenuBackend.C (binding): adjust call to findbinding, add a
3308 message if no binding is found.
3310 (expandToc): correct by adding a empty FuncRequest
3312 * LyXAction.C: include <boost/assert.hpp>
3313 (isPseudoAction): delete function
3314 (LookupFunc): change name to...
3315 (lookupFunc): this. change return type to FuncRequest.
3316 (getActionName): take kb_action as arg, simplify
3317 (funcHasFlag): add an assert, simplify.
3319 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3321 * toc.C (action): return a FuncRequest, simplify
3323 * lyxfunc.C (processKeySym): adjust
3324 (getStatus): delete version that takes an int.
3326 (dispatch): delete version that takes action as int
3328 (sendDispatchMessage): simplify and adjust
3330 * funcrequest.C (getArg): take unsigned int as arg
3332 * ToolbarBackend.C (read): adjust
3333 (add): delete version that takes func as a string.
3334 (getIton): take a FuncRequest as arg
3336 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3339 * MenuBackend.C (MenuItem): add a new construct that only takes a
3340 Kind, simplify the constructor use for submenus.
3342 (expandLastfiles): adjust
3343 (expandDocuments): adjust
3344 (expandFormats): adjust
3345 (expandFloatListInsert): adjust
3346 (expandFloatInsert): adjust
3347 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3349 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3350 Remove class variables lyx_pseudo_map and lyx_arg_map
3352 * LyXAction.C (searchActionArg): delete function
3353 (getPseudoAction): delete function
3354 (retrieveActionArg): delete function
3355 (LookupFunc): make it return kb_action, simplify.
3356 (getActionName): simplify
3358 * factory.C (createInset): fix new bug
3360 2003-09-19 Angus Leeming <leeming@lyx.org>
3362 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3363 masterFilename_ parameter in the include inset.
3365 * factory.C (createInset): changes due to the changes to InsetInclude.
3367 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3369 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3371 2003-09-18 Angus Leeming <leeming@lyx.org>
3374 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3375 Inset::fillWithBibKeys.
3376 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3378 2003-09-18 Angus Leeming <leeming@lyx.org>
3380 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3382 (ctor): pass and store a 'Buffer const &'
3383 (buffer): new member function.
3385 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3386 '*this' to the LaTeXFeatures ctor.
3388 2003-09-18 Angus Leeming <leeming@lyx.org>
3394 * text.C: rename EnumLColor as LColor_color.
3396 2003-09-18 Angus Leeming <leeming@lyx.org>
3398 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3399 remove #include "insets/insetbase.h" from cursor.h.
3401 2003-09-18 Angus Leeming <leeming@lyx.org>
3403 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3404 InsetOld_code to remove #include "inset.h".
3406 * iterators.C: add #include "insets/inset.h"
3408 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3410 * BufferView.C: remove more locking stuff that apparently doesn't
3411 do anything sensible.
3413 2003-09-16 André Pönitz <poenitz@gmx.net>
3416 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3419 2003-09-16 Angus Leeming <leeming@lyx.org>
3421 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3423 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3426 * paragraph.h: remove #include "lyxfont.h". Forward declare
3429 2003-09-16 Angus Leeming <leeming@lyx.org>
3431 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3432 of support/textutils.h.
3433 (isWord): move the contents of support/textutils.h's IsWordChar here.
3439 * text2.C: add #include "paragraph.h".
3442 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3444 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3450 * LaTeX.C: use namespace alias for lyx::support::os
3452 2003-09-16 Angus Leeming <leeming@lyx.org>
3455 * bufferview_funcs.C:
3458 * paragraph_pimpl.C:
3460 * text.C: add #include "LColor.h".
3462 2003-09-16 Angus Leeming <leeming@lyx.org>
3464 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3465 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3467 Store the FontBits::color variable as an int rather than as an
3468 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3471 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3472 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3473 string calls together.
3475 * lyxrc.C: add #include "LColor.h".
3477 2003-09-15 Angus Leeming <leeming@lyx.org>
3479 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3482 2003-09-15 Angus Leeming <leeming@lyx.org>
3484 * LColor.h: add an EnumLColor wrapper for LColor::color.
3486 * lyxfont.[Ch] (color, setColor, realColor):
3487 * lyxtext.h, text.C (backgroundColor):
3488 pass EnumLColor args to/from the functions, rather than LColor::color
3492 * lyxtext.h: forward declare EnumLColor.
3494 * lyx_main.C: add #include "LColor.h".
3496 2003-09-15 Angus Leeming <leeming@lyx.org>
3498 * .cvsignore: add lyx-gtk.
3500 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3505 * ParagraphParameters.C
3509 * bufferview_funcs.C
3519 * vc-backend.C: remove usage of STRCONV
3521 2003-09-15 Angus Leeming <leeming@lyx.org>
3523 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3524 explicitly define the color passed to the painter.
3526 2003-09-15 Angus Leeming <leeming@lyx.org>
3528 * bufferparams.C (BufferParams): reorder member initializers to avoid
3531 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3533 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3534 * text.C (updateRowPositions): remove an unusual nop
3536 2003-09-12 André Pönitz <poenitz@gmx.net>
3538 * BufferView_pimpl.C:
3547 * Counters.[Ch]: finish the 'automatic counters' job
3549 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3551 * aspell.C: include <boost/assert.cpp> (compile fix)
3553 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3555 * boost.C (assertion_failed): use lyx::support::abort instead of
3558 2003-09-10 Angus Leeming <leeming@lyx.org>
3560 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3561 with their _fwd progeny.
3563 2003-09-09 Angus Leeming <leeming@lyx.org>
3565 134 files throughtout the source tree: replace 'using namespace abc;'
3566 directives with the appropriate 'using abc::xyz;' declarations.
3568 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3570 * boost.C (emergencyCleanup): moved here from LAssert.c
3571 (assertion_failed): new function, called by BOOST_ASSERT
3573 * several files: change Assert to BOOST_ASSERT
3575 2003-09-09 Angus Leeming <leeming@lyx.org>
3577 * buffer.[Ch]: Add an Impl class and move Buffer's member
3578 variables into it. As a result move several header files out of
3581 Add header files to lots of .C files all over the tree as a result.
3583 2003-09-09 Angus Leeming <leeming@lyx.org>
3585 * buffer.[Ch]: make Buffer's member variables private. Add
3588 Lots of changes all over the tree as a result.
3590 2003-09-08 Angus Leeming <leeming@lyx.org>
3592 * graph.C: #include <config.h>.
3594 2003-09-08 Angus Leeming <leeming@lyx.org>
3598 * BufferView_pimpl.C:
3627 * toc.C: remove redundant using directives.
3629 2003-09-07 Angus Leeming <leeming@lyx.org>
3631 * LaTeXFeatures.h: remove #include "support/types.h".
3632 * ToolbarBackend.h: remove #include <algorithm>.
3633 * changes.h: remove #include <ctime>.
3634 * debug.h: remove #include <iosfwd>.
3635 * graph.h: remove #include "support/std_string.h".
3636 * lyx_main.h: remove #include <csignal>.
3637 * lyxlex_pimpl.h: remove #include <fstream>.
3638 * sgml.h: remove #include <algorithm>, <utility>.
3639 * toc.h: remove #include "support/std_ostream.h".
3640 Add #include <iosfwd>.
3642 2003-09-07 Angus Leeming <leeming@lyx.org>
3644 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3646 * converter.h: forward declare LatexRunParams.
3647 * encoding.h: remove #include "lyxrc.h".
3648 * lyxtext.h: remove #include "LColor.h".
3649 * lyxtextclass.h: remove #include "support/types.h".
3650 * trans.h: remove #include "tex-accent.h".
3651 * trans_mgr.h: remove #include "tex-accent.h".
3652 * insets/inset.h: remove #include "support/types.h", <vector>.
3653 * insets/insetcollapsable.h: remove #include "LColor.h".
3654 * insets/insetinclude.h: remove #include "dimension.h".
3655 * insets/insetlatexaccent.h: remove #include "dimension.h".
3656 * insets/insetoptarg.h:: remove #include "insettext.h".
3657 * insets/insettext.h: remove #include "dimension.h",
3658 <boost/shared_ptr.hpp>
3660 * insets/renderers.h: add #include "dimension.h".
3661 * insets/updatableinset.h: add #include "support/types.h".
3663 * many .C files: Associated changes.
3665 2003-09-06 Angus Leeming <leeming@lyx.org>
3667 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3668 one, inside testInvariant.
3670 * PrinterParams.C: new file.
3671 * PrinterParams.[Ch]: move the function bodies out of line.
3673 2003-09-06 Angus Leeming <leeming@lyx.org>
3675 * ParagraphParameters.h: forward declare ParameterStruct rather than
3676 including its header file.
3677 (depth): moved out-of-line.
3679 2003-09-06 Angus Leeming <leeming@lyx.org>
3681 * BufferView_pimpl.h:
3684 * lyxfunc.h: forward declare LyXKeySym rather than
3685 #include "frontends/LyXKeySym.h".
3687 * BufferView_pimpl.C:
3690 * lyxfunc.C: associated changes.
3692 2003-09-06 Angus Leeming <leeming@lyx.org>
3694 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3695 As a result, can remove the #include "insets/inset.h" from BufferView.h
3697 2003-09-06 Angus Leeming <leeming@lyx.org>
3699 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3700 As a result, can remove the #include "insets/inset.h" from BufferView.h
3702 2003-09-06 Angus Leeming <leeming@lyx.org>
3708 * bufferview_funcs.C:
3709 * BufferView_pimpl.C:
3714 * ParagraphParameters.C:
3719 * frontends/controllers/ControlDocument.C:
3720 * insets/insetcaption.C: rearrange the #includes into some sort of
3723 * buffer.h: remove #includes ErrorList.h, undo.h
3725 2003-09-06 Angus Leeming <leeming@lyx.org>
3727 * support/types.h: add a 'depth_type' typedef, used to store the
3728 nesting depth of a paragraph.
3731 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3732 defining explicitly.
3735 * paragraph_funcs.h:
3736 * ParagraphParameters.h:
3737 * sgml.h: use lyx::depth_type rather than Paragraph or
3738 ParameterStruct's depth_type.
3741 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3744 * BufferView_pimpl.C:
3746 * ParagraphParameters.C:
3749 * bufferview_funcs.C:
3756 * frontends/LyXView.C:
3757 * frontends/controllers/ControlDocument.C:
3758 * frontends/controllers/ControlErrorList.C:
3759 * insets/insetbibitem.C:
3760 * insets/insetbranch.C:
3761 * insets/insetcaption.C:
3762 * insets/insetcollapsable.C:
3763 * insets/insetenv.C:
3764 * insets/insetert.C:
3765 * insets/insetfloat.C:
3766 * insets/insetfoot.C:
3767 * insets/insetfootlike.C:
3768 * insets/insetnewline.C:
3769 * insets/insetquotes.C:
3770 * insets/insettabular.C:
3771 * insets/insettext.C:
3772 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3774 * frontends/controllers/ControlChanges.C: #include "changes.h".
3776 2003-09-06 Angus Leeming <leeming@lyx.org>
3778 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3779 than #including paragraph.h.
3782 * RowList.h: deleted. Superfluous.
3792 * insets/insettext.h: use ParagraphList_fwd.h rather than
3795 * paragraph.h: don't forward declare ParagraphList.
3798 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3799 rather than ParagraphList.h. paragraph.h is still needed for the
3800 Paragraph::depth_type parameters.
3802 * textcursor.h: enable it to compile stand-alone in light of the
3805 * bufferview_funcs.C:
3817 * frontends/controllers/ControlParagraph.C:
3818 * frontends/controllers/ControlTabular.C:
3819 * insets/insetmarginal.C:
3820 * insets/insetminipage.C:
3821 * insets/insetnote.C:
3822 * insets/insetoptarg.C: add header files needed to compile again.
3824 2003-09-06 Angus Leeming <leeming@lyx.org>
3826 * RowList_fwd.h: new file, forward-declaring Row rather than
3827 #including lyxrow.h.
3832 * insets/insettext.h: use it instead of RowList.h
3834 * bufferview_funcs.C:
3841 * text3.C: #include "RowList.h".
3843 2003-09-05 Angus Leeming <leeming@lyx.org>
3845 * factory.C (createInset):
3846 * vspace.C (c-tor): replace sscanf call with an istringstream.
3847 * ispell.C: re-add missing HP/UX headers.
3848 * lyxserver.C: re-add missing os2 headers.
3850 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3859 * text3.C: re-add missing system headers, needed for 2.95.2.
3861 2003-09-05 Angus Leeming <leeming@lyx.org>
3863 Changes most place everywhere due to the removal of using directives
3864 from support/std_sstream.h.
3866 2003-09-05 Angus Leeming <leeming@lyx.org>
3868 Replace LString.h with support/std_string.h,
3869 Lsstream.h with support/std_sstream.h,
3870 support/LIstream.h with support/std_istream.h,
3871 support/LOstream.h with support/std_ostream.h.
3873 Changes resulting throughout the tree.
3875 2003-09-05 Angus Leeming <leeming@lyx.org>
3877 * sgml.h: ensure that the header file can be compiled stand-alone.
3878 * *.C: strip out redundant #includes. (320 in total.)
3880 2003-09-04 Angus Leeming <leeming@lyx.org>
3882 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3883 here (from getPackages).
3885 * debug.[Ch]: add a new EXTERNAL tag.
3887 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3889 * text2.C (cursorEnd): simplify
3891 (getColumnNearX): adjust
3893 * text.C (computeBidiTables): adjust
3896 * rowpainter.C (paintChars): adjust
3897 (paintSelection): adjust
3898 (paintChangeBar): adjust
3901 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3903 (numberOfSeparators): adjust
3905 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3911 * text3.C: Restricts the mouse click functionality
3912 of insets like bibtex, include, toc and floatlist to the visible
3913 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3914 up the dialogs. Cursor has to be in front of the inset (i.e.
3915 start of row) for this to function.
3917 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3919 * bufferview_funcs.C (currentState): output row information
3921 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3923 * bufferview_funcs.C (currentState): output paragraph position
3925 2003-09-04 Angus Leeming <leeming@lyx.org>
3927 * FloatList.h: move out #include "Floating.h".
3928 * LaTeX.h: move out #include "DepTable.h".
3929 * LyXAction.h: move out #include "funcrequest.h".
3930 * buffer.h: move out #include "author.h", "iterators.h".
3931 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3932 * lyx_main.h: move out #include "errorlist.h".
3933 * lyxfunc.h: move out #include "FuncStatus.h".
3934 * lyxtext: move out #include "lyxcursor.h".
3935 * paragraph_pimpl.h: move out #include "counters.h".
3937 2003-09-03 Angus Leeming <leeming@lyx.org>
3939 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3940 preamble_snippets list, enabling us to add snippets to the preamble
3941 only if the snippet was not there already.
3943 2003-09-04 Angus Leeming <leeming@lyx.org>
3945 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3947 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3949 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3952 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3954 * BranchList.C: point fix, earlier forgotten
3956 2003-09-02 Angus Leeming <leeming@lyx.org>
3958 * box.C (contains): renamed from 'contained' after a fantastic
3961 2003-09-02 John Levon <levon@movementarian.org>
3967 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3969 2003-09-02 John Levon <levon@movementarian.org>
3971 * text2.C: simplification of cursorEnd(), including partial
3974 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3976 * buffer.C (readFile): add a space
3978 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3980 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3982 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3984 * buffer.C (readFile): new function, take a filename and a
3985 ParagraphList::iterator
3987 (readFile): adjust, make it private. don't use setStream, make
3988 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3989 always contain the filename.
3991 * BufferView.C (insertLyXFile): simplify and make it work for
3994 2003-08-30 John Levon <levon@movementarian.org>
3996 * Makefile.am: fix dist (from Kayvan)
3998 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4000 * most files: change to use const Buffer refs
4002 2003-08-27 André Pönitz <poenitz@gmx.net>
4004 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4005 on top of ownerPar().
4007 2003-08-27 John Levon <levon@movementarian.org>
4009 * funcrequest.C: properly initialise POD members
4011 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4013 * lyxtext.h (top_y): move top_y from here
4018 * BufferView_pimpl.[Ch]: to here
4019 * frontends/screen.C:
4020 * insets/insettabular.C:
4021 * insets/insettext.C: adjust
4022 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4024 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4027 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4029 2003-08-26 André Pönitz <poenitz@gmx.net>
4031 * paragraph_func.[Ch] (outerPar): new function
4034 * paragraph_funcs.C:
4035 * paragraph_funcs.h:
4036 * paragraph_pimpl.C:
4037 * text2.C: remove Inset::par_owner
4039 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4044 * text2.C: eliminates the needFullRow/display() stuff
4045 altogether, putting the logic in metrics/draw in the insets.
4047 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4049 * text2.C (redoParagraphInternal, redoParagraphs):
4050 * text.C (redoParagraph): add a call to updateRowPositions at the
4051 end of each 'metrics-like' call. Remove all others.
4052 (getRow): remove the 'y-computing' version.
4053 (getRowNearY): do not compute nor return the real y. Solve the
4054 'y < 0' problem and simplify.
4056 2003-08-22 Angus Leeming <leeming@lyx.org>
4058 * *.[Ch]: clean-up of licence and author blurbs.
4059 Also move config.h out of a few .h files and into a few .C files.
4061 2003-08-22 André Pönitz <poenitz@gmx.net>
4063 * lyxrow.[Ch]: add x_ and *fill_ members
4068 * text2.C: adjust/remove prepareToPrint() calls
4070 2003-08-22 André Pönitz <poenitz@gmx.net>
4072 * lyxrow.[Ch]: add end_ member
4074 * lyxrow_funcs.C: use LyXRow::end_
4076 * lyxtext.h (singleWidth): add LyXFont parameter
4079 * text2.C: adjust LyXText::singleWidth() calls
4081 * text.C (redoParagraph): simplify row breaking logic
4084 2003-08-19 André Pönitz <poenitz@gmx.net>
4086 * funcrequest.C: initialize button_ member
4089 * rowpainter.[Ch]: interface consolidation
4091 2003-08-18 André Pönitz <poenitz@gmx.net>
4094 * BufferView_pimpl.C:
4096 * paragraph_funcs.C:
4098 * text3.C: remove LyXScreen::draw() and fitCursor calls
4100 * BranchList.h: remove spurious semicolons
4102 * MenuBackend.C: fix branchlist related crash
4104 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4112 * bufferparams.[Ch]:
4116 * text3.C: implements the 'branch inset'
4117 idea. This allows the output of various versions of a document
4118 from a single source version, selectively outputing or suppressing
4119 output of parts of the text.
4120 This implementation contains a 'branch list editor' in a separate
4121 tab of the document settings dialog. Branches are user definable
4122 and have a "display colour" to distinguish them on-screen.
4124 ColorHandler was somewhat cleaned up.
4125 (1) make possible a dynamically growing LColor list by allowing
4126 the graphic context cache to grow along (vector);
4127 (2) eliminate an IMHO unnecessary step in colour allocation.
4129 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4131 * BufferView_pimpl.C: compile fix
4133 2003-08-15 André Pönitz <poenitz@gmx.net>
4135 * rowpainter.C: remove extra metrics calls
4137 * lyxtext.h: merge the two constructors into a single one,
4138 pass reference to owner's par list
4140 * BufferView_pimpl.C:
4144 2003-08-15 André Pönitz <poenitz@gmx.net>
4146 * lyxrow_funcs.[Ch]:
4149 * paragraph_funcs.C:
4154 * text_funcs.C: split LyXText::rowlist_ into individual
4155 Paragraph::rows_ chunks
4158 * BufferView_pimpl.[Ch]:
4161 * text3.C: remove toggleSelection()
4163 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4165 * bufferlist.C: beautify two alerts (shorter text of buttons)
4166 * buffer.C: Remove redundant ' ' from message
4168 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4169 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4170 rename VALIGN_CENTER to VALIGN_MIDDLE
4172 2003-08-11 André Pönitz <poenitz@gmx.net>
4174 * lyxtext.h (getPar):
4175 * text.C: new function
4177 2003-08-11 André Pönitz <poenitz@gmx.net>
4180 * tracer.[Ch]: remove unneeded files
4182 * InsetList.[Ch]: remove resizeInsetsLyXText()
4187 * text3.C: merge insertParagraphs() and appendParagraph()
4188 remove breakAgain(), update()
4190 * BufferView_pimpl.[Ch]:
4191 * bufferview_funcs.[Ch]:
4195 * tabular.C: adjust after text & InsetList changes.
4197 2003-08-08 André Pönitz <poenitz@gmx.net>
4199 * text.C (insertChar, backspace): replace rowlist fiddling
4200 with rebreak of full par
4203 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4204 checkParagraph, updateInset): removed
4206 2003-08-07 André Pönitz <poenitz@gmx.net>
4209 * text3.C: merge some LFUN handlers, remove dead code
4211 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4213 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4215 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4217 * text2.C (DEPM): fix part of bug 1255 and 1256
4219 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4221 * BufferView_pimpl.C (workAreaDispatch): change to use
4222 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4223 that are no mouse related.
4225 2003-08-05 André Pönitz <poenitz@gmx.net>
4228 * BufferView_pimpl.[Ch]:
4229 * bufferview_funcs.C:
4231 * text3.C: rip out "deep update"
4233 * textcursor.[Ch] (last_sel_cursor): remove unused member
4235 2003-08-04 André Pönitz <poenitz@gmx.net>
4238 * BufferView_pimpl.[Ch]:
4239 * ParagraphParameters.C:
4240 * bufferview_funcs.C:
4246 * text3.C: replace "complicated" BufferView::update(...) calls with
4249 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4251 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4253 * Makefile.am (lyx_SOURCES): add paper.h
4255 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4257 * Makefile.am: move things around so that both lyx-qt and
4258 lyx-xforms can be built (according to --with-frontend). Then lyx
4259 is a symbolic link to lyx-[firstfrontend]
4261 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4263 * Always use std::endl with lyxerr
4265 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4267 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4269 2003-08-01 André Pönitz <poenitz@gmx.net>
4272 * BufferView_pimpl.[Ch]:
4274 * text3.C: merge BufferView::repaint() and BufferView::update()
4276 2003-08-01 José Matos <jamatos@lyx.org>
4278 * buffer.[Ch]: file_format is no longer a buffer data element.
4280 2003-08-01 André Pönitz <poenitz@gmx.net>
4285 * text2.C: make redoParagraph more independent of current cursor
4287 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4289 * text2.C: remove unneeded members
4291 2003-07-30 André Pönitz <poenitz@gmx.net>
4293 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4295 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4296 create a single function...
4298 * paragraph_funcs.C (moveItem): ... here.
4301 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4303 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4305 * LColor.[Ch]: Add comment and greyedout logical colors.
4307 2003-07-30 André Pönitz <poenitz@gmx.net>
4309 * tabular.C: don't use Assert too heavily. This crashes where it
4312 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4314 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4315 is disabled (bug 1232)
4317 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4319 * factory.C: limited 'arg' scope
4321 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4323 * factory.C: fixed Note submenu issues
4325 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4327 * factory.C: submenu for Note/Comment/Greyedout
4329 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4332 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4334 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4337 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4338 greyedout. Patch provided by Jürgen Spitzmüller.
4340 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4342 * kbmap.C (read): fix error message when reading bind files
4344 2003-07-29 Angus Leeming <leeming@lyx.org>
4346 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4347 certainly does not do what it purports to do. I am doing it, and
4348 us, a favour by killing it.
4350 2003-07-28 José Matos <jamatos@lyx.org>
4352 * buffer.C (readBody, do_writeFile):
4353 * paragraph.C(readParagraph): \end_document replaces \the_end.
4355 2003-07-29 André Pönitz <poenitz@gmx.net>
4358 * BufferView_pimpl.[Ch]:
4362 * textcursor.[Ch]: remove toggleToggle & Co
4364 2003-07-28 José Matos <jamatos@fep.up.pt>
4366 * buffer.C (readParagraph):
4367 * params_func (readParToken, readParagraph):
4368 * paragraph.C (write): \layout -> \begin_layout.
4370 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4372 * lyxlex_pimpl.C (setFile): clean up slightly.
4374 * bufferparams.h: add compressed var
4376 * buffer_funcs.C (readFile): adjust for LyXLex change
4377 (newFile): ditto + simplify
4379 * buffer.C (writeFile): handle writing of compressed files
4381 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4382 Check if the file is compressed and set a bufferparm if so.
4384 * Makefile.am (lyx_LDADD): remove explicit -lz
4386 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4388 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4389 makeDocBookFile): put the real LyX version in the first line of
4393 * version.C.in: remove lyx_docversion
4395 * tabular.C (write_attribute): add a template-based version to
4396 write enums properly
4398 2003-07-28 André Pönitz <poenitz@gmx.net>
4403 * text3.C: use doubles again for x-coordinates. They are needed.
4405 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4407 * messages.C (getLocaleDir): use lyx_localedir()
4409 * lyxlex_pimpl.C (setFile): compress stuff
4411 * buffer.C (writeFile): add some compression stuff
4412 (do_writeFile): new func, dont call expliti close... will this
4415 * Makefile.am (lyx_LDADD): add -lz
4417 2003-07-28 José Matos <jamatos@fep.up.pt>
4419 * buffer.C: increment file format.
4420 * paragraph_funcs (readParagraph, readParToken):
4421 * paragraph.C (readParagraph): add \end_layout.
4423 2003-07-27 Angus Leeming <leeming@lyx.org>
4425 * Makefile.am: remove special casing for configure-time setting of
4426 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4428 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4429 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4431 2003-07-26 André Pönitz <poenitz@gmx.net>
4433 * paragraph_func.[Ch]:
4434 * paragraph.C (realizeFont): inline it whereever it is used
4439 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4442 2003-07-26 André Pönitz <poenitz@gmx.net>
4446 * text2.C: get rid of LyXText::need_break_row
4448 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4450 * toc.[Ch]: put namespace toc inside namespace lyx
4452 * MenuBackend.C (expandToc2): adjust for lyx::toc
4455 * lyxfunc.C (dispatch): adjust for lyx::find
4457 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4458 lyx::find instead. Reorganize a bit.
4459 (LyXReplace): rename to replace
4460 (LyXFind): rename to find
4462 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4465 2003-07-26 André Pönitz <poenitz@gmx.net>
4467 * text.C (setHeightOfRow): restrict scope of temporary variable
4469 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4470 code (never has been used?)
4472 2003-07-27 Asger Alstrup <alstrup@local>
4474 * text.C (fill): Optimise algorithm to exploit that we can reuse
4475 the LyXFont for many characters.
4476 (setHeightOfRow): Same thing.
4477 (rowBreakPoint): Same thing.
4479 2003-07-26 Asger Alstrup <alstrup@local>
4481 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4483 * text.C (singleWidth): Spurious font copying in hot-spot
4484 singleWidth avoided. Reorder tests for arabic for efficiency.
4486 * text.C (fill): handle empty paragraphs better.
4488 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4491 * encoding.h: add includes
4493 * lyxrc.C: remove reading of bind files
4495 * lyx_main.C (init): setup bindings and menus only if we have a
4498 * kbmap.C (read): new method. Do the actual reading of bind
4501 * converter.C (dvipdfm_options):
4504 (output): adapt PAPER_* enums.
4506 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4508 * bufferparams.h: remove paper-related enums from there
4510 * paper.h: New file. A trivial header file to hold paper-related
4511 enums. It should later expand to contain many paper-related
4514 * lyxrc.C: declare extern displayTranslator
4516 2003-07-27 José Matos <jamatos@fep.up.pt>
4518 * tabular.[Ch] (linuxdoc): add support for tables and figures
4521 2003-07-27 José Matos <jamatos@fep.up.pt>
4523 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4524 consistency in both functions.
4525 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4527 2003-07-26 Asger Alstrup <alstrup@local>
4529 * rowpainter.C (paintRows): Change algorithm to work directly on
4530 the insets rather than asking every character in the document
4531 whether its an inset.
4533 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4535 * buffer.C (openFileWrite): factorize some code
4537 2003-07-26 Angus Leeming <leeming@lyx.org>
4540 * lyx_main.[Ch]: replace occurances of system_tempdir with
4543 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4545 * rename Inset to InsetOld
4547 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4549 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4550 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4551 which I think is a bit clearer. EDIT is gone, since it was
4552 premature optimisation, and broken for mathed anyway.
4553 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4554 with cursor positioning in insets as well (math insets still do not
4555 work, but that's a different story anyway.) It mysteriously
4556 crashes sometimes with undo in the first paragraph, but I'm fairly
4557 confident that this is a compiler bug.
4559 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4561 * paragraph.C (Paragraph): adjust for new clone return type
4563 (copyIntoMinibuffer): ditto
4565 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4567 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4568 by not having a special case, and always doing a full rebreak of
4569 the document after undo.
4571 2003-07-23 Angus Leeming <leeming@lyx.org>
4573 * factory.C (createInset): InsetExternal::setParams now takes a
4576 2003-07-23 Angus Leeming <leeming@lyx.org>
4578 * factory.C (createInset): changed interface to the external and
4579 graphics mailers' string2params functions.
4581 2003-07-23 Angus Leeming <leeming@lyx.org>
4583 * factory.C (createInset): pass a
4584 Buffer const * parameter to InsetExternalMailer's string2params.
4586 2003-07-22 John Levon <levon@movementarian.org>
4588 * Thesaurus.h: include the right aiksaurus header
4590 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4592 * MenuBackend.C (expand): check menu shortcuts unconditionally
4594 2003-07-21 Angus Leeming <leeming@lyx.org>
4596 * factory.C (createInset): pass a
4597 buffer_path parameter to InsetGraphicsMailer's string2params.
4599 2003-07-21 Angus Leeming <leeming@lyx.org>
4601 * BufferView_pimpl.C (buffer):
4604 * lyxfunc.C (dispatch):
4605 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4606 rather than the grfx shortcut.
4608 2003-07-21 André Pönitz <poenitz@gmx.net>
4610 * rowpainter.C: remove unused variables
4613 * tabular_funcs.h: move to tabular.C
4614 * Makefile.am: adjust
4616 * tabular.[Ch]: basic optical cleaning
4618 * author.h: pass references, not values
4620 2003-07-18 André Pönitz <poenitz@gmx.net>
4628 * text3.C: two-phase drawing for InsetText and InsetTabular
4629 some float -> int changes.
4631 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4633 * lyx_main.C: fix the fix
4635 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4637 * lyx_main.C: fix a crash in batch mode if no files specified
4640 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4642 * format.[Ch] (papersize): moved to BufferParams
4643 * converter.[Ch] (dvips_options): moved to BufferParams
4644 (dvipdfm_options): moved to anon namespace
4645 * bufferparams.[Ch]: added above functions.
4647 2003-07-17 André Pönitz <poenitz@gmx.net>
4651 * text2.C: don't call inset->update() anymore
4653 * metricsinfo.[Ch]: add convenience constructor
4655 2003-07-16 André Pönitz <poenitz@gmx.net>
4660 * text2.C: replace the LyXCursor::irow_ member with
4661 on-demand computation of the value
4663 2003-07-16 John Levon <levon@movementarian.org>
4665 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4667 2003-07-15 André Pönitz <poenitz@gmx.net>
4670 * text2.C: remove no more needed refresh_row
4672 2003-07-15 André Pönitz <poenitz@gmx.net>
4677 * text3.C: refresh_status tristate -> need_update bool
4679 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4681 * lyxtext.h (init): remove reinit argument (act as if always true)
4682 * text2.C: adjust to that
4684 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4686 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4687 * text3.C: use it to delete selections in some cases
4688 (bugs 441, 673, 702, 954).
4690 2003-07-14 André Pönitz <poenitz@gmx.net>
4692 * rowpainter.[Ch]: reduce interface
4694 2003-07-14 André Pönitz <poenitz@gmx.net>
4696 * BufferView_pimpl.C:
4697 * text2.C: adjust after removing unused BufferView * argument
4699 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4701 * text2.C (init): fix a crash fired on resize
4703 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4705 * buffer.[Ch]: added new closing signal
4706 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4707 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4708 BufferView::Pimpl via the closing the signal
4710 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4712 * buffer.[Ch]: take out all bv-related from buffer
4714 * BufferView_pimpl.[Ch]: connect to new signals
4715 * CutAndPaste.C: removed useless asserts
4716 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4719 * lyxfunc.C: moved view-related funciontality from vc here
4720 * paragraph.C: removed outdated comments
4723 2003-07-10 André Pönitz <poenitz@gmx.net>
4725 * BufferView_pimpl.C:
4729 * text2.C: remove InsetText::InnerCache, clean up consequences
4731 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4733 * ispell.C: fix two typos in error messages
4735 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4737 * Extend Note inset to other forms of annotation like Comment
4738 and Greyedout. Right button click gives dialog.
4740 Files modified or added (+):
4744 * ControlNote.[Ch] +
4746 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4747 frontends/controllers
4751 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4753 * aspell.C: add missing namespace lyx::support
4755 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4757 * BufferView.[Ch] (newFile): Add
4758 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4759 * LaTeX.[Ch] (message): added this signal and use it
4760 * buffer.[Ch] (busy, message): added these signals and use them
4761 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4765 * importer.C: use buffer signals instead of direct bv calling
4766 * lyx_cb.[Ch] (ShowMessage): removed
4769 * paragraph_funcs.C:
4770 * text2.C: use buffer signals
4772 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4774 * introduce namespace lyx::graphics
4776 2003-07-02 André Pönitz <poenitz@gmx.net>
4778 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4780 2003-07-01 André Pönitz <poenitz@gmx.net>
4787 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4788 text*.C to text_func.C
4790 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4792 * introduce namespace lyx::support
4794 2003-06-30 André Pönitz <poenitz@gmx.net>
4799 * text.C: re-enable --with-included-string
4801 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4803 * textcursor.C: add <config.h>
4805 * text.C (getWord): remove const from word_location arg
4807 * lyxvc.C (getLogFile): fix const type order
4809 * lyxtext.h: remove const from word_location arg, add arg name
4811 * lyxlayout.h: currect type on labeltype.
4813 * importer.C: correct \file
4815 * converter.C (intToFormat): use std:: on ret val, ws changes
4817 * bufferlist.h: correct \file
4819 * buffer.C (makeLinuxDocFile): fix const type order
4820 (makeDocBookFile): ditto
4821 (fillWithBibKeys): use std:: on stdlib args.
4823 * CutAndPaste.C: fix authors.
4824 (availableSelections): use std:: on return vector
4826 2003-06-27 André Pönitz <poenitz@gmx.net>
4828 * BufferView_pimpl.C:
4829 * bufferview_funcs.C:
4837 * text3.C: remove LyXCursor::row_ member
4840 * text.C: rename fullRebreak() to partialRebreak() and implement
4841 a fullRebreak() that really bereks fully
4843 * textcursor.h: new struct for cursor-related data
4845 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4847 * lyx_main.C (LyX): get full path of document loaded on the
4850 2003-06-26 André Pönitz <poenitz@gmx.net>
4852 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4853 remove unused/broken operator>,<,>=.
4855 * text.C: remove only use of broken operator<= in an Assert().
4857 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4859 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4860 moved errorlist_.clear to showErrorList
4862 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4864 * converter.C (scanLog, runLaTeX):
4865 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4866 move the bv->showErrorList call to the callers
4867 * lyxfunc.C: i.e. here...
4869 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4870 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4871 namespace, the second to...
4872 * buffer_funcs (BufferFormat, parseErrors): added
4873 * errorlist.C (ErrorList(TeXErrors const &)): removed
4875 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4877 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4879 2003-06-24 "Garst R. Reese" <reese@isn.net>
4883 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4885 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4887 * version.C.in: change docversion to 1.4
4889 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4891 * buffer.C: fix a bug just introduced
4893 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4895 * buffer.[Ch]: added the parseError signal and use it, removed
4897 * BufferView.[Ch] (addError): moved to ...
4898 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4899 to the Buffer::parseError signal to catch (guess what) parse errors
4900 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4902 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4904 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4905 ability to create a buffer and to return an existing one from
4906 the list. Moved these functions to...
4907 * buffer_funcs.[Ch]: added
4908 * BufferView.[Ch] (loadLyXFile): added
4909 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4910 job removed from bufferlist::loadLyXFile.
4911 * buffer.C (setReadOnly): make it work without view
4912 (i.e added an if (users))
4914 2003-06-19 Angus Leeming <leeming@lyx.org>
4917 * LyXAction.C (init):
4918 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4919 with LFUN_DIALOG_SHOW <name> <data>.
4921 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4923 * CutAndPaste.C (availableSelections): small compilation fix for
4924 ancient (gcc 2.9x) compilers
4926 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4928 * text3.C (cursorNext): add tmp var
4930 * text2.C (updateCounters): for function calling out of for clause
4931 (replaceSelectionWithString): ditto
4932 (insertStringAsParagraphs): ditto
4933 (getColumnNearX): add tmp var
4934 (setCursorFromCoordinates): add tmp var
4935 (cursorDownParagraph): add tmp var
4936 (deleteEmptyParagraphMechanism): add tmp var
4938 * text.C (insertChar): add tmp var
4940 * rowpainter.C (paintDepthBar): add tmp var
4942 * CutAndPaste.C (availableSelections): potentially check all
4943 paragraphs in a cut to fill the shown strings.
4945 2003-06-18 André Pönitz <poenitz@gmx.net>
4947 * kbmap.[Ch]: use vector<> instead of list<>
4949 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4951 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4952 pasteSelection with index
4954 * text2.C (pasteSelection): modify, call pasteSelection with index
4956 * paragraph.C (asString): reimplement version with no interval to
4957 call the one with interval.
4959 * lyxtext.h: add index arg to pasteSelection
4961 * MenuBackend.C (MenuItem): handle PasteRecent
4962 (Menu::read::Menutags): add md_pasterecent
4964 (expandPasteRecent): new function
4967 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4969 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4971 (availableSelections): new function
4973 2003-06-17 Angus Leeming <leeming@lyx.org>
4975 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4977 2003-06-17 Angus Leeming <leeming@lyx.org>
4980 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4982 * lyxfunc.C (dispatch): invoke it.
4984 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4986 * iterators.C (operator++, ParPosition): reintroduce some
4987 const_cast for the benefit of older compilers.
4989 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4991 * text3.C (dispatch): do not modify clipboard when doing
4992 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4993 LFUN_DELETE_SKIP on a selection selection
4995 2003-06-16 André Pönitz <poenitz@gmx.net>
5001 * tabular.[Ch]: IU of clone() and getLabelList();
5003 2003-06-13 André Pönitz <poenitz@gmx.net>
5005 * tabular.h: compactification
5007 2003-06-12 André Pönitz <poenitz@gmx.net>
5011 * tabular_funcs.h: some renaming plus whitespace
5013 2003-06-12 André Pönitz <poenitz@gmx.net>
5016 * BufferView_pimpl.C:
5022 * toc.C: Return a Paragraph & for ParIterator::operator*()
5024 2003-06-11 John Levon <levon@movementarian.org>
5028 * ToolbarBackend.C: add "Toolbars" section and
5031 2003-06-10 Angus Leeming <leeming@lyx.org>
5034 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5036 * lyxfunc.C (dispatch): invoke it.
5038 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5040 * main.C: protect <ios> with HAVE_IOS
5041 (main): protect sync_with_stdio with HAVE_IOS
5043 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5045 * text2.C (cutSelection): adjust
5046 (pasteSelection): adjust
5048 * messages.C: handle get of empty string
5050 * main.C (main): use sync_with_stdio(false)
5052 * lyxfunc.C (dispatch): adjust
5054 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5055 (WriteAs): remove unneeded BufferView arg.
5057 * bufferparams.h: use correct types on papersize, papersize2 and
5060 * bufferparams.C (readToken): adjust for type
5061 (writeLaTeX): add missing cases to switch.
5063 * bufferlist.C (quitWriteBuffer): adjust
5066 * buffer.C (asciiParagraph): remove some commented code.
5068 * CutAndPaste.C: remove current_view extern variable.
5069 (cutSelection): add BufferParams arg.
5070 (eraseSelection): add BufferParams arg.
5071 (pasteSelection): add Buffer const & arg
5073 2003-06-07 John Levon <levon@movementarian.org>
5076 * paragraph_funcs.C:
5077 * paragraph_pimpl.C:
5081 * paragraph.C: allow InsetERT to freely space lines,
5082 and some consolidation of code
5084 2003-06-06 José Matos <jamatos@fep.up.pt>
5086 * buffer.C (makeDocBookFile): fix bug #821
5088 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5090 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5092 2003-06-04 Angus Leeming <leeming@lyx.org>
5094 * buffer.C: bump format to 224.
5096 2003-06-05 André Pönitz <poenitz@gmx.net>
5098 * text2.C (redoParagraphs): remove two const_cast<>
5100 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5102 * ParagraphList.h: remove last remnants of NO_STD_LIST
5104 2003-06-03 Angus Leeming <leeming@lyx.org>
5106 * factory.C (createInset): small change to the way InsetExternal's params
5109 2003-06-04 André Pönitz <poenitz@gmx.net>
5111 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5113 * paragraph_pimpl.h:
5114 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5116 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5118 * undo_funcs.C: make some simple cases of undo work again
5120 2003-06-03 John Levon <levon@movementarian.org>
5122 * ispell.C: HPUX doesn't have sys/select.h
5125 2003-06-03 John Levon <levon@movementarian.org>
5127 * CutAndPaste.C: update tabular and include inset
5132 * paragraph.C: remove owningBuffer(), don't pass Buffer
5135 * factory.C: insetGraphicsParams changed
5137 2003-06-02 John Levon <levon@movementarian.org>
5143 * text3.C: remove insetparent
5145 2003-06-02 John Levon <levon@movementarian.org>
5148 * buffer.C: fix inset_iterator.end(), move out of line
5151 2003-06-01 John Levon <levon@movementarian.org>
5153 * text3.C: use a proper cut/paste when doing inset
5154 insert (from Jürgen Spitzmüller)
5156 2003-06-01 John Levon <levon@movementarian.org>
5158 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5160 2003-05-30 André Pönitz <poenitz@gmx.net>
5162 * rowpainter.C: unify second drawing phase
5164 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * trans_mgr.C: remove one case of current_view
5168 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5170 * paragraph_funcs.h: remove paragraph.h include
5172 * paragraph.h: delete NO_STD_LIST stuff
5174 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5176 * buffer.h: remove paragraph.h include
5178 * ParagraphList.C: delete file
5180 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5182 * toc.C (getTocList): adjust
5184 * paragraph_pimpl.C (validate): adjust
5186 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5188 * paragraph.C (Paragraph): adjust
5189 (getPositionOfInset): use const_iterator, adjust
5190 (bibitem): use const_iterator, adjust
5191 (setInsetOwner): adjust
5193 * iterators.C (operator++): adjust
5195 * InsetList.[Ch]: Replace selfmade iterator with standard
5196 vector::iterator also introduce const_iterator. Remove getPos,
5197 getInset and setInset from InsetTable. Adjust accordingly.
5199 * BufferView.C (lockInset): adjust
5200 (ChangeInsets): adjust
5202 * tabular.[Ch]: delete commented same_id functions
5204 2003-05-28 John Levon <levon@movementarian.org>
5206 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5208 2003-05-28 André Pönitz <poenitz@gmx.net>
5210 * metricsinfo.[Ch]: remove 'fullredraw' member
5212 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5214 * lyxtextclass.C (operator): remove caching.
5216 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5220 * text2.C (cursorBottom): adjust
5221 (setCounter): use ParagraphList::find, adjust
5223 * text.C (workWidth): use ParagraphList::find, adjust
5225 * lyxcursor.C (LyXCursor): adjust
5227 * buffer.C (inset_iterator): adjust
5229 * ParagraphList.h: make iterator(value_type) private, make
5230 ParagraphList a friend of iterator.
5232 * ParagraphList.C (find): new function
5234 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5236 2003-05-27 André Pönitz <poenitz@gmx.net>
5238 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5240 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5242 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5244 2003-05-26 John Levon <levon@movementarian.org>
5246 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5248 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * remove same_id from function signatures, adjust.
5252 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5254 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5256 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5258 * paragraph.C (Paragraph): get rid of same_ids parameter
5260 * ParagraphList.C (insert): adjust
5263 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5265 * paragraph_funcs.C (breakParagraph): adjust
5266 (breakParagraphConservative): adjust
5268 * buffer.C (readParagraph): adjust
5270 * ParagraphList.C (insert): take a reference instead of a pointer
5273 * paragraph.[Ch] (id): new function
5275 * bufferlist.C (newFile): adjust
5277 * ParagraphList.C (ParagraphList): adjust
5279 (push_back): take a reference instead of a pointer.
5281 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5283 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5286 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5287 set else use old code.
5289 * ParagraphList.C: remove all NO_NEXT code and only compile this
5290 code of NO_STD_LIST is set.
5292 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5294 * BufferView_pimpl.C:
5304 * graphics/GraphicsConverter.C:
5305 * graphics/PreviewLoader.C: header adjustment
5307 2003-05-23 Angus Leeming <leeming@lyx.org>
5309 * LaTeXFeatures.[Ch] (useBabel): new method.
5310 * bufferparams.C (writeLaTeX): use it.
5312 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5314 * ParagraphList.h (set): remove unused function.
5316 2003-05-23 André Pönitz <poenitz@gmx.net>
5319 * BufferView_pimpl.C:
5323 * undo_funcs.C: setUndo reworked
5325 * iterators.[Ch]: add access to topmost ParagraphList
5327 * lyxtext.[Ch] (workWidth): add a const
5329 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5331 * texrow.[Ch] (increasePos): remove function
5332 * exporter.C (export): removed unused var and outdated comment
5334 2003-05-23 Angus Leeming <leeming@lyx.org>
5336 * latexrunparams.h: rename fragile as moving_arg.
5337 * paragraph.C (simpleTeXOnePar): ditto.
5338 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5340 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5342 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5344 (textUndoOrRedo): comment out a currently unused var.
5346 * paragraph.h (NO_NEXT): enable NO_NEXT
5348 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5350 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5352 * exporter.C (Export): adjust for removeAutoInsets removal.
5354 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5356 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5358 * BufferView.[Ch] (removeAutoInsets): delete function
5360 2003-05-22 Angus Leeming <leeming@lyx.org>
5362 * latexrunparams.h: add a free_spacing variable.
5364 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5365 to pass moving_arg, as the data is stored in runparams.fragile.
5367 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5368 to Inset::latexOptional or to simpleTeXOnePar.
5370 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5371 free_spacing arg to Inset::latexOptional.
5373 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5376 2003-05-22 Angus Leeming <leeming@lyx.org>
5378 * latexrunparams.h: add fragile and use_babel variables.
5380 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5381 * buffer.C (makeLaTeXFile): store this returned value in
5382 runparams.use_babel, thus passing it to the inset::latex methods.
5384 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5385 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5387 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5388 longer has a fragile arg, as it is stored in runparams.fragile.
5390 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5391 moving_arg parameter as the data is stored in runparams.fragile.
5393 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5394 a fragile parameter as the data is stored in runparams.fragile.
5396 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5398 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5400 2003-05-22 Angus Leeming <leeming@lyx.org>
5402 * latexrunparams.h: add a 'bool nice' which defaults to false.
5404 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5405 now encapsulated within runparams.
5407 * bufferlist.C (updateIncludedTeXfiles):
5408 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5410 2003-05-22 Angus Leeming <leeming@lyx.org>
5412 * latexrunparams.h: new file containing struct LatexRunParams.
5413 * Makefile.am: add new file.
5415 * LaTeX.[Ch] (c-tor, run):
5416 * buffer.[Ch] (makeLaTeXFile):
5417 * bufferlist.[Ch] (updateIncludedTeXfiles):
5418 * converter.C (convert, scanLog):
5419 * converter.[Ch] (runLaTeX):
5420 * exporter.C (Export):
5421 * paragraph.[Ch] (simpleTeXOnePar):
5422 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5423 * paragraph_funcs.[Ch] (latexParagraphs):
5424 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5425 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5426 pass around a LatexRunParams parameter.
5428 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5430 * paragraph.[Ch]: remove unused constructor
5432 * ParagraphList.C (erase): new function, taking two iterators
5434 2003-05-22 André Pönitz <poenitz@gmx.net>
5436 * undo_funcs.C: remove duplicated code
5438 * iterator.[Ch]: operator=
5440 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5442 * tabular.C (SetMultiColumn): ws changes
5444 * rowpainter.C (paintFirst): get rid of a ->previous
5446 * lyx_cb.C (getPossibleLabel): parlist simplification
5448 * BufferView.C (ChangeInsets): simplify slightly.
5450 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5452 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5453 * lfuns.h: new LFUN_SPACE
5454 * lyxfunc.C: protected space has a new lfun
5455 * paragraph_funcs.C: read new space insets
5457 * factory.C: handle new space insets
5459 2003-05-22 André Pönitz <poenitz@gmx.net>
5462 * BufferView_pimpl.C:
5465 * undo_funcs.C: return a ParIterator from getParFromID.
5467 * iterators.[Ch]: add two const's
5469 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5471 * toc.C (getTocList): adjust
5473 * iterators.[Ch]: rework for parlist
5475 * buffer.C (par_iterator_begin): adjust
5476 (par_iterator_end): adjust
5478 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5480 * BufferView.C (removeAutoInsets): adjust
5481 (ChangeInsets): adjust
5483 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5485 * text.C (top_y): fix bug 1110
5487 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5489 * errorlist.[Ch]: added
5492 * BufferView_pimpl.C:
5493 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5496 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * Makefile.am: ensure that lyx is relinked upon changes to the
5499 various "convenience" libs.
5501 2003-05-20 Angus Leeming <leeming@lyx.org>
5503 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5504 files are compiled in alphabetical order again.
5506 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5508 2003-05-19 Angus Leeming <leeming@lyx.org>
5510 * gettext.[Ch]: remove "char const * _(char const *)".
5512 2003-05-19 André Pönitz <poenitz@gmx.net>
5514 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5523 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5525 2003-05-19 André Pönitz <poenitz@gmx.net>
5529 * lyxtextclass.[Ch]:
5531 * paragraph_funcs.[Ch]:
5533 * text3.C: more insetenv work
5535 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5537 * ParagraphParameters.C (params2string): small bug fixed
5539 2003-05-16 André Pönitz <poenitz@gmx.net>
5542 * bufferview_funcs.C: patch from Kornel Benko to prevent
5543 crash when _(...) is called twice in a statement
5545 2003-05-16 André Pönitz <poenitz@gmx.net>
5552 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5554 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5556 * lyx_main.C (init): remove spurious static_cast
5558 2003-05-14 André Pönitz <poenitz@gmx.net>
5560 * BufferView.C: fix format string
5562 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5564 * BufferView.[Ch] (insertErrors): removed
5565 * BufferView.[Ch] (showErrorList): added
5566 * buffer.C (runChkTeX):
5567 * converter.C (scanLog): call showErrorList instead of inserterrors
5569 2003-05-13 André Pönitz <poenitz@gmx.net>
5571 * BufferView_pimpl.C:
5573 * bufferview_func.C:
5580 * tabular_funcs.h: tostr() from its own header
5582 * ParagraphParameters.C:
5587 * text3.C: STRCONV()
5589 2003-05-12 André Pönitz <poenitz@gmx.net>
5592 * BufferView_pimpl.C:
5596 * ParagraphParameters.C:
5600 * bufferview_funcs.C:
5613 * paragraph_funcs.C:
5617 * text3.C: boost::format -> bformat all over the place
5620 2003-05-09 André Pönitz <poenitz@gmx.net>
5622 * LColor.[Ch]: Pimpl the #include <map> away
5624 2003-05-09 John Levon <levon@movementarian.org>
5626 * bufferlist.C: never remove emergency saves
5628 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5630 * Makefile.am: better lib building
5632 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5634 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5636 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5637 (simpleTeXSpecialChars): adjust
5638 (simpleTeXSpecialChars): adjust
5639 * paragraph.C (simpleTeXOnePar): adjust
5640 * buffer.C (makeLaTeXFile): adjust
5642 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5644 * text2.C (changeDepth): parlist cleanup
5645 (getColumnNearX): ditto
5647 * rowpainter.C (getLabelFont): parlist cleanup
5649 * bufferlist.C (newFile): parlist cleanup
5651 * CutAndPaste.C (eraseSelection): parlist cleanup
5653 * BufferView_pimpl.C (trackChanges): parlist cleanup
5656 * BufferView.C (lockInset): parlist cleanup.
5657 (ChangeInsets): ditto
5659 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5661 * CutAndPaste.h: Update file header.
5663 * CutAndPaste.C: Update file header.
5664 Store the parts cut out of the Document in a limited_stack.
5665 (copySelection): adjust
5666 (pasteSelection): new function, takes the index in the limited stack.
5667 (nrOfParagraphs): adjust
5668 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5669 simplify error inset insertion.
5670 (checkPastePossible): adjust
5672 2003-05-06 John Levon <levon@movementarian.org>
5674 * text2.C: don't cast wrap inset to float
5676 2003-05-05 André Pönitz <poenitz@gmx.net>
5679 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5681 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5682 few naked Paragraph *.
5684 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5686 * bufferparams.C: Output warning if a document with missing
5687 TeX document class is loaded
5688 * exporter.C: Disable TeX exports if the document class is missing
5691 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5692 isTeXClassAvailable()
5694 2003-05-03 John Levon <levon@movementarian.org>
5697 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5698 explicit cursor show/hide
5700 * BufferView_pimpl.h:
5701 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5702 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5704 * lyxfunc.C: hide cursor before dispatching.
5709 * text3.C: remove explicit cursor hides
5711 2003-05-02 André Pönitz <poenitz@gmx.net>
5713 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5716 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5719 * text2.C: tiny whitespace
5721 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5723 * undo_funcs.C: almost only ws changes.
5725 * ParagraphList.C (splice): just return if pl is empty.
5727 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5729 * ParagraphList.C (splice): new function.
5731 * CutAndPaste.C (pasteSelection): use it
5733 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5735 * CutAndPaste.C (pasteSelection): remove the last next and
5736 previous from this file.
5738 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5740 * CutAndPaste.C (pasteSelection): more clean up, user proper
5741 ParagraphList functions for pasteing.
5743 * ParagraphList.C (insert): new function, three arg insert
5745 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5747 * ParagraphList.C (insert): new function, three arg insert
5749 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5752 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5754 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5756 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5758 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5760 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5762 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5763 (copySelection): clean up a bit.
5764 (pasteSelection): use make_pair
5766 * ParagraphList.C (ParagraphList): implement copy constructor
5767 (operator=): implement, base on copy constructor.
5770 * paragraph.C (erase): return a bool
5772 * paragraph_pimpl.C (erasePos): remove function, move contents...
5773 (erase): ... here. Return a bool.
5774 (erase): call erase instead of erasePos.
5776 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5778 * ParagraphList.h: define PitPosPair
5779 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5780 ParagraphList, fix a bug on pasting multiple pars
5781 * text2.C: change interface to C&P
5783 2003-04-30 André Pönitz <poenitz@gmx.net>
5785 * undo_func.C: revert part of yesterday's patch 2
5787 2003-04-30 John Levon <levon@movementarian.org>
5789 * LColor.C: s/tabular/table/
5791 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5793 * text3.C (dispatch): do not convert iterator -> pointer
5794 * undo_funcs.C (setCursorParUndo): ditto
5795 * text_funcs.C (transposeChars): ditto
5797 * text2.C (setLayout): ws changes only
5799 * text.C (breakParagraph): do not convert iterator -> pointer
5801 (acceptChange): ditto
5802 (rejectChange): ditto
5807 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5810 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5812 * text3.C (gotoInset): YABG (yet another bad getChar)
5814 2003-04-29 André Pönitz <poenitz@gmx.net>
5816 * paragraph.h: make operator= private unimplemented as long as
5819 * ParagraphList.C: whitespace
5822 * paragraph_pimpl.[Ch]:
5823 * paragraph_funcs.C:
5825 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5828 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5830 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5832 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5833 * paragraph.[Ch] (erase):
5834 * paragraph_pimpl.[Ch] (erase): change return type and value
5835 * text2.C (cutSelection): some rework
5837 2003-04-28 John Levon <levon@movementarian.org>
5839 * bufferlist.C: changes for unsaved changes dialog
5841 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5843 * bufferlist.C (newFile): set language (messages_) for new
5846 * buffer.C (readFile): ws changes only.
5848 2003-04-28 André Pönitz <poenitz@gmx.net>
5853 * BufferView_pimpl.C:
5854 * BufferView.C: getParFromID related ParagraphList::iterator changes
5856 2003-04-28 André Pönitz <poenitz@gmx.net>
5858 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5861 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5863 * messages.C: remove one more localedir class variable.
5865 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5867 * messages.C (getLocaleDir): singleton generation function
5869 (Messages): add a default constructor.
5871 * main.C (main): do not setup localedir here, do not call
5874 * gettext.C (_): use it.
5875 (gettext_init): delete funciton
5877 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5879 * gettext.C (getLyXMessages): new singleton generating function.
5881 * buffer.C (updateDocLang): adjust
5883 * Makefile.am (messages.o): add target
5884 (main.o): remove target
5886 2003-04-27 John Levon <levon@movementarian.org>
5891 * lyxvc.C: specify cancel button in Alert::prompt
5893 2003-04-26 John Levon <levon@movementarian.org>
5898 * LyXAction.C: add LFUN_INSET_SETTINGS
5900 * lyxfunc.C: don't enable tabular-feature when there's
5901 just any locking inset
5903 2003-04-26 John Levon <levon@movementarian.org>
5905 * bufferlist.C: re-add Cancel to buffer close question
5907 * lyxfunc.C: fix import UI a bit
5909 2003-04-25 John Levon <levon@movementarian.org>
5911 * gettext.C: remove the broken asserts for now
5913 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5915 * messages.C: make case where setlocale cannot comply work better.
5917 * buffer.C (updateDocLang): new function
5918 (changeLanguage): use it
5921 * text2.C (setCounter): use B_ a bit.
5923 * lyxlayout.C (Read): be sure to trim the label strings.
5925 * messages.C (Messages): fix typo in comment
5927 * buffer.C (readFile): set message_ after file is loaded.
5928 (makeDocBookFile): remove double return
5929 (changeLanguage): reset message_ upon language change.
5930 (B_): new func, use this to get translated buffer strings.
5932 * main.C: add myself and Jean Marc as authors.
5934 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5936 * messages.[hC]: pimplify Messages, and three different pimpls to be
5937 used in different circumstances.
5939 * gettext.[Ch]: change for use with new message code.
5941 2003-04-24 André Pönitz <poenitz@gmx.net>
5943 * factory.C: support for eqref
5945 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5947 * messages.[Ch]: add missing char
5949 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5951 * messages.[Ch]: New files
5953 2003-04-18 John Levon <levon@movementarian.org>
5957 * BufferView_pimpl.C:
5961 * text2.C: remove layout-copy/paste (bug 778)
5963 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5965 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5967 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5969 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5970 if they succeed. Act accordingly.
5972 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5974 * text2.C (setCharFont): adjust
5975 (setCounter): adjust
5976 (insertStringAsLines): adjust
5978 * text.C (leftMargin): adjust
5979 (setHeightOfRow): adjust
5981 * rowpainter.C (paintFirst): adjust
5984 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5986 (isFirstInSequence): ditto
5987 (getEndLabel): ditto
5990 * paragraph.C (getParLanguage): comment out some hard stuff.
5992 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5994 (simpleDocBookOnePar): ditto
5995 (makeDocBookFile): use ParagraphList::iterator
5997 * CutAndPaste.C (pasteSelection): adjust
5999 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6001 * text2.C (getFont): adjust
6002 (getLayoutFont): adjust
6003 (getLabelFont): adjust
6005 * paragraph_funcs.C (TeXOnePar): adjust
6007 * buffer.C (simpleLinuxDocOnePar): adjust
6008 (simpleDocBookOnePar): adjust
6010 * CutAndPaste.C (pasteSelection): adjust
6012 * BufferView.C (getEncoding): adjust
6014 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6016 2003-04-16 John Levon <levon@movementarian.org>
6018 * lyxfind.C: use parlist stuff for search/changes
6020 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6022 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6024 * text2.C (deleteEmptyParagraphMechanism): adjust
6026 * text2.[Ch] (ownerParagraph): delete func (both of them
6028 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6030 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6032 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6034 * ParagraphList.C: prepare for NO_NEXT
6036 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6038 * text2.C (getFont): adjust
6039 (getLayoutFont): adjust
6040 (getLabelFont): adjust
6042 * paragraph.C (getFont): adjust
6043 (getLabelFont): adjust
6044 (getLayoutFont): adjust
6046 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6048 2003-04-15 John Levon <levon@movementarian.org>
6052 * lyx_main.C: handle Include in .ui files
6054 2003-04-15 John Levon <levon@movementarian.org>
6056 * MenuBackend.C: make the doc files length shorter
6059 * ToolbarBackend.C: handle toolbar placement flags,
6062 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6064 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6067 * paragraph_funcs.C (TeXOnePar): adjust
6069 * paragraph.C (getLabelFont): add outerfont arg, adjust
6070 (getLayoutFont): ditto
6071 (simpleTeXOnePar): adjust
6073 * paragraph_pimpl.C (realizeFont): delete func
6075 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6077 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6078 row argument, constify cur argument.
6080 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6082 * text2.C (getFont): adjust
6083 (getLayoutFont): adjust
6084 (getLabelFont): adjust
6086 * paragraph_funcs.C (TeXOnePar): adjust
6087 (outerFont): new func...
6088 (realizeFont): ...moved out from here, changed this to facilitate
6091 * paragraph.C (getFont): take outerfont as arg, adjust
6092 (simpleTeXOnePar): add outerfont arg, adjust
6094 * buffer.C (simpleLinuxDocOnePar): adjust
6095 (simpleDocBookOnePar): adjust
6097 * CutAndPaste.C (pasteSelection): adjust
6099 * BufferView.C (getEncoding): adjust
6101 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6103 * text2.C (setCharFont): adjust
6104 (setCounter): adjust
6106 * text.C (leftMargin): adjust
6107 (setHeightOfRow): adjust
6109 * rowpainter.C (paintFirst): adjust
6112 * paragraph_pimpl.C (realizeFont): adjust
6114 * paragraph.C (isFirstInSequence): move from here...
6115 * paragraph_funcs.C (isFirstInSequence): ...to here
6117 * paragraph.C (outerHook): move from here...
6118 * paragraph_funcs.C (outerHook): ...to here
6120 * paragraph.C (depthHook): move from here...
6121 * paragraph_funcs.C (depthHook): ...to here
6123 * paragraph.C (getEndLabel): move from here...
6124 * paragraph_funcs.C (getEndLabel): ...to here
6126 * text2.C (realizeFont): move from here...
6127 * paragraph_funcs.C (realizeFont): ...to here
6129 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6131 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6133 2003-04-14 Angus Leeming <leeming@lyx.org>
6135 * LColor.[Ch]: scrap LColor mathcursor.
6137 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6139 * lyxlex.[Ch] (text): delete function
6140 * trans.C (Load): adjust
6141 * paragraph_funcs.C (readParToken): adjust
6143 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6145 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6146 vector<char> instead of a char[].
6148 * lyxlex_pimpl.C (getString): adjust
6150 (lex): use getString
6154 * lyxlex.C (text): use pimpl_->getString()
6158 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6160 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6161 (makeFontEntriesLayoutSpecific): temp var for par.size()
6162 (setLayout): temp var for ownerParagraphs().end()
6163 (fullRebreak): temp var for rows().end()
6164 (selectionAsString): temp var for boost::next(startpit), realize
6165 that the while really is a regular for loop.
6166 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6167 setCursor in one place.
6168 (setParagraph): temp vr for ownerParagraphs().end()
6169 (updateCounters): make the while loop a for loop
6170 (cutSelection): temp var for ownerParagraphs().end()
6171 (updateInset): make the do {} while() a regular for loop
6172 (getCursorX): use temp vars
6173 (setCurrentFont): use temp vars
6174 (getColumnNearX): use temp vars
6176 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6178 * text.C (transformChar): use temp var for getChar
6179 (computeBidiTables): use temp var for row->par()
6180 (fill): move temp vars for row->par() and pit->layout() earlier in
6182 (labelFill): use temp var for row->par()
6183 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6184 asc and desc, realize that pit never changes and that firstpit is
6185 just a duplicate and not needed. Exchange rit->par() with pit in a
6187 (breakAgain): use a temp var for boost::next(rit)
6188 (breakAgainOneRow): ditto
6189 (breakParagraph): use a temp var for rows().begin()
6190 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6191 (cursorRightOneWord): use temp var for cursor.par() and
6192 cursor.pos(), remove usage of tmpcursor.
6193 (cursorLeftOneWord): use temp var for cursor.par() and
6194 cursor.pos() only set cur at end of function.
6196 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6198 * text.C, text2.C: exchange all usage of Paragraph::next with
6199 boost::next(ParagraphList::iterator)
6201 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6203 * text2.C (cursorTop): simplify implementation
6204 (cursorBottom): ditto
6205 (setParagraph): use ParagraphList::iterator
6206 (setCurrentFont): adjust
6207 (getColumnNearX): adjust
6208 (cursorRight): adjust
6209 (cursorLeft): remove usage of Paragraph::previous
6210 (cursorUpParagraph): ditto
6211 (deleteEmptyParagraphMechanism): slight cleanup
6213 * text.C (isBoundary): take a Paragraph const & instead of a
6215 (addressBreakPoint): ditto
6216 (leftMargin): remove usage of Paragraph::previous.
6217 (setHeightOfRow): ditto
6218 (cursorLeftOneWord): ditto
6219 (selectNextWordToSpellcheck): ditto
6222 (breakParagraph): remove one usage of Paragraph::next
6223 (redoParagraph): ditto
6224 (acceptChange): ditto
6225 (insertChar): adjust
6226 (rowBreakPoint): adjust
6228 * bufferview_funcs.C (toggleAndShow): adjust
6230 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6232 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6233 methods to access it.
6235 * text.C: Added updateRowPositions to compute all row positions.
6236 Make top_y and getRowNearY() to use the cached y position
6238 2003-04-11 John Levon <levon@movementarian.org>
6240 * text.C (rowBreakPoint): reintroduce the labelEnd
6241 checks, code copied from the row fill stuff. Deep voodoo.
6243 * text.C (fill): add a comment and debugging for the
6246 2003-04-11 John Levon <levon@movementarian.org>
6248 * text.C: make sure fullrow insets get wrapped to the next line,
6249 even when they're in a manual label
6251 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6253 * text2.C (insertParagraph): make it take ParagraphList::iterator
6255 (setLayout): make it return ParagraphList::iterator
6256 (redoParagraphs): ditto
6258 (checkParagraph): ditto
6260 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6262 * text2.C: adjust several funcs.
6263 (realizeFont): take a ParagraphList::iterator as arg.
6264 (getLayoutFont): ditto
6265 (getLabelFont): ditto
6266 (setCharFont): ditto
6268 * text.C: adjust several funcs.
6270 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6272 * text.C (selectNextWordToSpellcheck): don't accidentally
6275 2003-04-10 John Levon <levon@movementarian.org>
6277 * ToolbarBackend.C (getIcon): special handling for
6280 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6282 * text2.C (cursorRight): a getChar assert fixed
6284 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6286 * text2.C (getFont): change to take a ParagraphList::iterator
6287 instead of Paragraph*
6288 Adjust several functions.
6290 * text.C (transformChar): change to take a ParagraphList::iterator
6291 instead of Paragraph*
6292 (singleWidth): ditto
6293 Adjust several functions.
6295 * rowpainter.C: adjust several functions
6296 * rowpainter.h:store a ParagraphList::iterator and not a
6300 2003-04-09 John Levon <levon@movementarian.org>
6305 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6306 and the "help" bits as well
6308 2003-04-09 John Levon <levon@movementarian.org>
6311 * ToolbarBackend.C: allow multiple toolbars
6313 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6315 * undo_funcs.C (setCursorParUndo): adjust
6317 * text_funcs.C (transposeChars): adjust
6319 * text3.C (gotoNextInset): adjust
6322 * text2.C (setLayout): adjust
6323 (changeDepth): adjust
6325 (redoParagraphs): adjust
6326 (selectionAsString): adjust
6327 (setParagraph): adjust
6328 (insertInset): adjust
6329 (cutSelection): adjust
6330 (copySelection): adjust
6331 (pasteSelection): adjust
6332 (insertStringAsLines): adjust
6333 (updateInset): adjust
6334 (setCursor): change to take a ParagraphList::iterator parameter
6335 (setCursorIntern): change to take a ParagraphList::iterator parameter
6336 (setCurrentFont): adjust
6337 (cursorLeft): adjust
6338 (cursorRight): adjust
6339 (deleteEmptyParagraphMechanism): adjust
6341 * text.C (breakParagraph): adjust
6342 (insertChar): adjust
6343 (acceptChange): adjust
6344 (rejectChange): adjust
6345 (selectNextWordToSpellcheck): adjust
6346 (changeCase): adjust
6350 * lyxfind.C (SearchForward): adjust
6351 (SearchBackward): adjust
6352 (nextChange): adjust
6354 * lyxcursor.C (par): adjust
6356 * lyxcursor.h: store a ParagraphList::iterator instead of a
6359 * lyx_cb.C (getPossibleLabel): adjust
6361 * bufferview_funcs.C (toggleAndShow): adjust
6363 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6366 * BufferView.C (removeAutoInsets): adjust
6367 (lockedInsetStoreUndo): adjust
6369 2003-04-09 John Levon <levon@movementarian.org>
6371 * ToolbarBackend.C: try icon without argument
6372 if with argument fails
6374 2003-04-08 John Levon <levon@movementarian.org>
6377 * ToolbarBackend.C: add getIcon(), handle tooltip,
6378 and change from "Icon" to "Item".
6380 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6382 * BufferView.C (lockInset): another bad getchar crunched
6384 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6386 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6389 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6391 * lyxfind.C (searchForward, searchBackwards): bug 782
6393 2003-04-07 John Levon <levon@movementarian.org>
6395 * paragraph.C: remove dead comment
6397 * text.C: remove troublesome depth-fiddling code
6398 in leftMargin() and rightMargin() (bug 1017)
6400 * text.C: fix breaking of rows in nested lists
6403 * text2.C (updateCounters): fix up depth values
6406 2003-04-07 John Levon <levon@movementarian.org>
6408 * BufferView_pimpl.C: clear message when doc finishes resizing,
6409 and after a mouse event
6411 * lyxfunc.C: clear message after exiting inset
6413 2003-04-07 John Levon <levon@movementarian.org>
6415 * bufferview_funcs.C: show math status not outside
6416 status in the statusbar
6418 2003-04-07 John Levon <levon@movementarian.org>
6420 * lyxfunc.C: note status changed after a depth change
6422 2003-04-04 Angus Leeming <leeming@lyx.org>
6424 * LaTeX.h: move AuxInfo operator==, != out of line.
6425 Remove LaTeX virtual destructor; nothing derives from it.
6426 Move operator()() out of public area and rename it startscript().
6427 Change protected for private.
6429 2003-04-04 Angus Leeming <leeming@lyx.org>
6432 * text2.C: remove unneeded #includes.
6434 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6436 * text2.C (dEPM): fix the heigth of the next row
6438 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6440 * text.C: squashed an invalid getChar requester + some ws changes
6442 2003-04-03 John Levon <levon@movementarian.org>
6444 * bufferview_funcs.h:
6445 * bufferview_funcs.C:
6448 * text2.C: make getStatus work for the env depth lfuns
6450 2003-04-03 John Levon <levon@movementarian.org>
6452 * bufferview_funcs.h:
6453 * bufferview_funcs.C:
6456 * text2.C: parlistize decDepth(), by merging it with incDepth()
6458 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6460 * lyxrow.h: store a ParagraphList::iterator instead of a
6461 Paragraph* and adjust other class functions to suit.
6463 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6466 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6468 * text2.C (setCursor): do not anchor to cursor row for the time being
6470 2003-04-02 John Levon <levon@movementarian.org>
6477 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6479 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6481 * paragraph.h: make ParagraphList and ParagraphList::iterator
6482 friends of Paragraph.
6484 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6486 * ParagraphList.C: Use the private next_ and previous_ from
6489 2003-04-01 John Levon <levon@movementarian.org>
6493 * Makefile.am: rename, remove defaults gunk
6496 * MenuBackend.C: remove defaults gunk
6499 * Languages.C: remove defaults gunk
6502 * lyx_main.C: error out if files couldn't be found.
6504 2003-04-02 John Levon <levon@movementarian.org>
6506 * text2.C: make incDepth() use parlist
6508 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6510 * undo_funcs.C (firstUndoParagraph): adjust
6512 * text3.C (gotoInset): adjust
6513 (dispatch): adjust, and rewrite loop.
6515 * text2.C (init): adjust, and rewrite loop.
6516 (redoParagraphs): adjust
6517 (updateInset): adjust, and rewrite loop.
6518 (deleteEmptyParagraphMechanism): adjust
6520 * tabular.C (LyXTabular): adjust
6521 (SetMultiColumn): adjust
6524 * lyxtext.[Ch] (ownerParagraph): delete function
6525 (ownerParagraphs): new function returns a ParagraphList.
6527 * BufferView.C (removeAutoInsets): adjust
6528 (insertErrors): adjust
6529 (setCursorFromRow): adjust
6531 2003-04-01 Angus Leeming <leeming@lyx.org>
6533 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6536 2003-04-02 John Levon <levon@movementarian.org>
6542 * text_funcs.C: make transposeChars a free function
6544 * lyxrow_funcs.C: remove wrong comment
6546 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * rowpainter.C: adjust
6554 * lyxrow_funcs. [Ch]: new files
6556 * lyxrow.[Ch]: remove next and previous pointers
6557 (next,previous): remove accessor functions
6558 (isParEnd): move to lyxrow_funcs
6559 (lastPos): move to lyxrow_funcs
6560 (nextRowIsAllInset): move to lyxrow_funcs
6561 (lastPrintablePos): move to lyxrow_funcs
6562 (numberOfSeparators): move to lyxrow_funcs
6563 (numberOfHfills): move to lyxrow_funcs
6564 (numberOfLabelHfills): move to lyxrow_funcs
6565 (hfillExpansion): move to lyxrow_funcs
6569 * bufferview_funcs.C (toggleAndShow): adjust
6571 * RowList.h: Remove class RowList from file leave just a
6574 * RowList.C: delete file
6576 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6579 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6581 * text3.C (cursorPrevious): adjust
6582 (cursorNext): adjust
6585 * text2.C (redoHeightOfParagraph): adjust
6586 (redoDrawingOfParagraph): adjust
6589 * text.C (breakParagraph): adjust
6590 (insertChar): adjust
6593 * rowpainter.C (RowPainter): adjust
6594 (leftMargin): simplify and adjust
6595 (most rowpainter functions): adjust.
6597 * rowpainter.h: store the row as RowList::iterator not as Row*
6599 * lyxcursor.C (row): taka RowList::iterator as arg
6602 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6605 2003-04-01 Angus Leeming <leeming@lyx.org>
6607 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6608 stuff like bool Bool.
6610 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6612 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6615 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6617 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6620 * lyxtext.h (rows): drop one version and leve a const variant that
6621 returns a RowList::iterator.
6623 2003-03-31 Angus Leeming <leeming@lyx.org>
6625 * text.C (fill): ensure that the signature is the same as that in the
6628 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * text2.C (redoParagraphs): adjust
6631 (updateCounters): adjust
6632 (checkParagraph): adjust
6633 (getColumnNearX): adjust and reformat a bit.
6635 * text.C (top_y): adjust
6637 (leftMargin): adjust
6638 (prepareToPrint): adjust
6640 (getRowNearY): adjust
6642 * lyxtext.h: make rowlist_ mutable.
6644 * RowList.h: add const_iterator
6645 * RowList.C: adjust for RowList::const_iterator.
6647 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6650 2003-03-31 John Levon <levon@movementarian.org>
6653 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6655 * lyx_main.C: set default fonts from using lyx_gui funcs
6657 * exporter.C: pdf_mode moved from lyxrc
6660 * lyxfunc.C: changes from above
6662 2003-03-31 John Levon <levon@movementarian.org>
6664 * lyx_main.C: fix to the last fix
6666 2003-03-31 John Levon <levon@movementarian.org>
6668 * bufferlist.C: "Load original" -> "Load Original"
6674 * format.C: more Alert cleanups
6676 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6678 * text2.C (removeParagraph): make it take a RowList::iterator as
6680 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6681 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6683 * text.C (anchor_row): make it take a RowList::iterator as arg,
6685 (computeBidiTables): make it take a const reference to Row instead
6686 of Row pointer, adjust.
6687 (leftMargin): make it take a RowList::iterator as arg, adjust.
6688 (rowBreakPoint): adjust
6689 (breakAgainOneRow): make it take a RowList::iterator as arg,
6691 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6693 * bufferview_funcs.C (toggleAndShow): adjust
6695 2003-03-30 John Levon <levon@movementarian.org>
6699 * boost-inst.C: moved to support
6701 * several files: changes as a result
6703 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6705 * text2.C (LyXText): adjust.
6707 (removeRow): make it take a RowList::iterator as arg, adjust.
6708 (fullRebreak): adjust
6709 (deleteEmptyParagraphMechanism): adjust
6710 (clearPaint): adjust
6713 * text.C (top_y): adjust
6714 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6715 (breakAgain): make it take a RowList::iterator as arg, adjust.
6716 (breakParagraph): adjust
6717 (insertChar): adjust
6720 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6721 need_break_row, and refresh_row.
6723 * text3.C (dispatch): adjust
6725 * text2.C (checkParagraph): adjust
6727 (setCursorFromCoordinates): adjust
6729 * text.C (top_y): adjust
6731 (getRow): make it return a RowList::iterator, adjust
6732 (getRowNearY): make it return a RowList::iterator, adjust
6734 * text2.C (init): adjust
6735 (insertRow): remove function
6736 (insertParagraph): adjust
6737 (redoParagraphs): adjust
6738 (fullRebreak): adjust
6739 (updateCounters): adjust
6741 * text.C (top_y): rewrite to use RowList iterators.
6743 (setHeightOfRow): rewrite to sue RowList iterators.
6744 (appendParagraph): adjust
6745 (breakAgain): adjust
6746 (breakAgainOneRow): adjust
6747 (breakParagraph): adjust
6749 (getRowNearY): adjust, and remove commented code.
6751 * lyxtext.h (firstRow): delete function
6752 (lastRow): delete function
6753 (rows): new function (const and non-const versions.)
6754 (insertRow): delete function
6756 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6758 2003-03-29 John Levon <levon@movementarian.org>
6760 * BufferView_pimpl.C: always update scrollbar top
6761 because pasting text when we're anchored could mean we
6762 miss an update altogether
6764 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6766 * text2.C (init): use rowlist_.end() and not 0.
6767 (insertRow): change to take a RowList::iterator as arg, adjust
6769 (insertParagraph): change to take a RowList::iterator as arg,
6771 (redoParagraphs): remove some debug msgs.
6773 * text.C (appendParagraph): change to take a RowList::iterator
6774 arg, adjust for this.
6775 (breakAgain): add an assert
6776 (breakAgainOneRow): ditto
6778 2003-03-29 John Levon <levon@movementarian.org>
6780 * text2.C: do not clear selection after inc/decDepth
6783 2003-03-29 John Levon <levon@movementarian.org>
6786 * buffer.C: fix broken strerrors according to Lars
6788 2003-03-29 John Levon <levon@movementarian.org>
6790 * converters.C: more Alert cleanups
6792 2003-03-29 John Levon <levon@movementarian.org>
6794 * bufferview_funcs.C: remove pointless Alert
6796 * buffer.C: fix confusing error message when
6797 a template is chmoded 000
6799 2003-03-29 John Levon <levon@movementarian.org>
6803 * BufferView_pimpl.C: Alert fixes
6807 * tabular-old.C: remove unused table compat reading
6809 2003-03-29 John Levon <levon@movementarian.org>
6814 * lyx_cb.C: more Alert cleanups
6816 * lyxfunc.C: don't allow chktex if not latex document
6818 2003-03-29 John Levon <levon@movementarian.org>
6822 * buffer.C: warnings pushed down from support/,
6825 2003-03-29 John Levon <levon@movementarian.org>
6827 * lyxfunc.C: safety check for C-r (revert)
6829 2003-03-29 John Levon <levon@movementarian.org>
6832 * bufferlist.C: several UI fixes using Alert::prompt.
6833 Fix the pointless looping quit code. Fix stupid revert
6838 * lyx_cb.C: use Alert::prompt
6840 * lyx_main.C: remove a silly question
6842 * lyxfunc.C: remove a couple of silly questions,
6845 2003-03-28 John Levon <levon@movementarian.org>
6847 * text2.C: fix bug 974 (End on empty par)
6849 2003-03-28 John Levon <levon@movementarian.org>
6851 * BufferView_pimpl.C:
6853 * lfuns.h: remove do-nothing math greek lfuns
6855 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * lyxgluelength.h (isValidGlueLength): add default arg on
6858 parameter 2. Remove default arg from friend in class.
6860 * lyxlength.h (isValidLength): add default arg on parameter 2.
6861 Remove default arg from friend in class.
6863 * text2.C (LyXText): adjust, initialize refresh_row.
6867 (insertParagraph): adjst
6868 (redoParagraphs): adjust
6869 (fullRebreak): adjust
6870 (updateCounters): adjust
6871 (deleteEmptyParagraphMechanism): first attempt at fixing a
6874 * text.C (top_y): adjust
6875 (setHeightOfRow): adjust
6877 (getRowNearY): adjust
6879 * lyxtext.h: include RowList.h
6880 (~LyXText): not needed anymore, deleted.
6881 (firstRow): modify for RowList
6882 (lastRow): new function
6883 Delete firstrow and lastrow class variables, add a Rowlist
6884 rowlist_ class variable.
6886 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6889 * RowList.C (insert): fix case where it == begin().
6891 2003-03-26 Angus Leeming <leeming@lyx.org>
6893 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6894 the thesaurus dialog.
6896 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6898 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6900 * RowList.[Ch]: new files
6902 * ParagraphList.C (erase): handle the case where it == begin
6905 2003-03-25 John Levon <levon@movementarian.org>
6909 * aspell.C: add new aspell support
6912 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6915 2003-03-25 Angus Leeming <leeming@lyx.org>
6918 * LyXAction.C (init): new LFUN_INSET_INSERT.
6920 * BufferView_pimpl.C (dispatch): split out part of the
6921 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6923 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6926 2003-03-25 Angus Leeming <leeming@lyx.org>
6928 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6930 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6933 * text3.C: remove useless row->height(0)
6935 2003-03-25 John Levon <levon@movementarian.org>
6939 * text3.C: rename the refreshing stuff to better names
6941 2003-03-24 John Levon <levon@movementarian.org>
6943 * BufferView_pimpl.h:
6944 * BufferView_pimpl.C: update layout choice on a mouse
6947 2003-03-23 John Levon <levon@movementarian.org>
6949 * Makefile.am: fix commandtags.h reference
6951 2003-03-22 John Levon <levon@movementarian.org>
6953 * BufferView_pimpl.C:
6958 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6960 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6963 * text.C: take the rtl methods out of line
6965 2003-03-21 André Pönitz <poenitz@gmx.net>
6967 * metricsinfo.[Ch]: new files containing structures to be passed around
6968 during the two-phase-drawing...
6970 2003-03-21 André Pönitz <poenitz@gmx.net>
6972 * lyxtextclass.C: read 'environment' tag.
6974 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6976 * text2.C (removeRow): fix bug 964
6978 2003-03-20 John Levon <levon@movementarian.org>
6982 * text2.C: paint cleanups. Inset::update() dropped font
6985 2003-03-19 John Levon <levon@movementarian.org>
6987 * lyxfunc.C: only fitcursor/markDirty if available()
6989 2003-03-19 John Levon <levon@movementarian.org>
6991 * commandtags.h: rename to ...
6993 * lfuns.h: ... this, and renumber / cleanup
6995 2003-03-19 John Levon <levon@movementarian.org>
6997 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6998 fit the cursor after an lfun
7002 * BufferView_pimpl.h:
7003 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7005 * LyXAction.C: layout-character should have ReadOnly
7007 * ParagraphParameters.C:
7009 * bufferview_funcs.C:
7016 * undo_funcs.C: changes from above
7018 2003-03-18 John Levon <levon@movementarian.org>
7020 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7021 remove it from update()
7023 * lyxfunc.C: update layout choice after an lfun
7025 * text3.C: remove extra updateLayoutChoice()s
7027 2003-03-18 John Levon <levon@movementarian.org>
7029 * text.C: top_y change means full repaint, fix
7030 a drawing bug with cursor movement
7032 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7036 * text2.C: anchor row on setCursor
7038 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7040 * lyxtext.h: remove almost all mutable keywords
7043 * text3.C: remove const keywords accordingly
7045 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7047 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7049 (TeXEnvironment): ditto
7052 2003-03-17 John Levon <levon@movementarian.org>
7054 * text.C (rowBreakPoint): remove attempt to fix displayed
7055 math insets inside a manual label
7057 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7059 * lyxtext.h: remove BufferView* as first arg from almost all class
7061 * other files: adjust.
7063 2003-03-17 John Levon <levon@movementarian.org>
7067 * text2.C: more paint cleanups
7069 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7072 * rowpainter.C: remove "smart" background painting code
7074 2003-03-16 John Levon <levon@movementarian.org>
7079 * text3.C: add helper functions for setting refresh_row/y
7081 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7083 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7084 newline inset which *can* get inserted in the pass_thru layouts.
7085 This is primarily for literate documents.
7087 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7089 * buffer.C: increment LYX_FORMAT to 223
7091 2003-03-14 André Pönitz <poenitz@gmx.net>
7093 * textclass.h: prepare for environment handling, ws changes
7094 * lyxlayout.C: read latexheader and latexfooter tags
7096 2003-03-14 John Levon <levon@movementarian.org>
7098 * text2.C: rewrite ::status() a bit
7100 2003-03-13 John Levon <levon@movementarian.org>
7102 * lyxtext.h: add some docs
7104 2003-03-13 John Levon <levon@movementarian.org>
7109 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7111 2003-03-13 John Levon <levon@movementarian.org>
7113 * text3.C: fix appendix redrawing
7115 2003-03-13 John Levon <levon@movementarian.org>
7117 * text.C (setHeightOfRow):
7119 * rowpainter.C: make appendix mark have the text
7120 "Appendix" so the user knows what it is
7123 * LColor.C: s/appendixline/appendix/ from above
7125 2003-03-13 John Levon <levon@movementarian.org>
7127 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7129 * text.C: fix a getChar(pos) bug properly
7131 2003-03-13 Angus Leeming <leeming@lyx.org>
7134 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7135 Probably only temporary. Let's see how things pan out.
7137 * BufferView.C (unlockInset):
7138 * BufferView_pimpl.C (fitCursor):
7139 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7141 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7142 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7144 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7145 new functions that convert ParagraphParameters to and from a string.
7147 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7148 BufferView::Pimpl's dispatch.
7149 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7151 2003-03-13 André Pönitz <poenitz@gmx.net>
7155 * factory.C: make it aware of InsetEnv
7157 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7159 * text2.C (setCursor): never ask for one past last
7160 (setCursor): add some debugging messages.
7162 * text.C (singleWidth): never ask for one past last
7163 (singleWidth): ditto
7165 (rightMargin): ditto
7166 (rowBreakPoint): ditto
7167 (setHeightOfRow): ditto
7168 (prepareToPrint): ditto
7170 * rowpainter.C (paintBackground): never ask for one past last
7171 (paintText): never ask for one past last
7173 * paragraph_pimpl.C (getChar): make the assert stricter, never
7174 allow the one past last pos to be taken
7176 * paragraph.C (getChar): ws changes only
7178 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7179 (numberOfSeparators): ditto
7180 (numberOfHfills): ditto
7182 2003-03-12 John Levon <levon@movementarian.org>
7188 * paragraph_funcs.C: fix per-buffer authorlists
7190 2003-03-12 John Levon <levon@movementarian.org>
7192 * text.C: fix newline in right address
7194 2003-03-12 Angus Leeming <leeming@lyx.org>
7196 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7197 duplicate those in LyXFunc::dispatch.
7201 * ToolbarDefaults.C:
7202 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7203 Add LFUN_FONTFREE_UPDATE.
7205 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7206 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7208 * bufferview_func.[Ch]: several new functions to facilliate
7209 transfer of data to and from the character dialog.
7211 2003-03-12 John Levon <levon@movementarian.org>
7216 * paragraph_funcs.C:
7217 * paragraph_pimpl.C:
7221 * text3.C: remove META_NEWLINE in favour of an inset
7224 * rowpainter.C: remove paintNewline (done by inset)
7226 2003-03-12 John Levon <levon@movementarian.org>
7228 * paragraph_pimpl.C: complain about bad getChar()s
7229 for a while at least
7231 2003-03-12 John Levon <levon@movementarian.org>
7234 * buffer.C: move paragraph read into a separate function,
7235 a little renaming to reflect that.
7238 * bufferparams.C: remove the author_ids map, not necessary now
7241 * factory.C: moved Buffer::readInset to here
7243 * paragraph_funcs.h:
7244 * paragraph_funcs.C: readParagraph free function moved from
7247 * tabular.C: name change
7249 2003-03-12 John Levon <levon@movementarian.org>
7252 * ParagraphParameters.C: move par params input to
7255 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7256 behave like a normal read from the stream wrt reading
7257 a line vs. a \\token
7259 2003-03-12 John Levon <levon@movementarian.org>
7262 * ParagraphParameters.h:
7263 * ParagraphParameters.C: move output code to a
7266 2003-03-12 John Levon <levon@movementarian.org>
7268 * BufferView.C (insertLyXFile):
7271 * tabular.C: use a parlist iterator for creating the
7274 2003-03-12 John Levon <levon@movementarian.org>
7276 * buffer.C: make current_change static local not
7279 2003-03-12 John Levon <levon@movementarian.org>
7281 * buffer.C: fix insertStringAsLines for change tracking
7283 2003-03-12 John Levon <levon@movementarian.org>
7290 * bufferparams.C: move author list into params. Rename some
7291 functions. Move the header reading into a separate token
7292 loop. Move the header token reading into BufferParams.
7294 2003-03-12 John Levon <levon@movementarian.org>
7296 * changes.C: put debug inside lyxerr.debugging() checks
7298 2003-03-11 André Pönitz <poenitz@gmx.net>
7300 * factory.C: make it aware of InsetHFill
7302 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7304 * buffer.C (latexParagraphs): move function from here...
7305 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7308 2003-03-10 Angus Leeming <leeming@lyx.org>
7310 * LyXAction.C (init): fix bug in poplating array with multiple entries
7311 with the same LFUN (spotted by JMarc).
7313 2003-03-10 John Levon <levon@movementarian.org>
7316 * text2.C: move getColumnNearX() near its
7319 2003-03-10 John Levon <levon@movementarian.org>
7321 * text.C: fix break before a minipage
7323 2003-03-10 John Levon <levon@movementarian.org>
7325 * text.C: fix the last commit
7327 2003-03-09 John Levon <levon@movementarian.org>
7331 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7332 bug 365 (don't break before insets unless needed). Don't
7333 return a value > last under any circumstances.
7335 2003-03-09 Angus Leeming <leeming@lyx.org>
7337 * BufferView_pimpl.C (trackChanges, dispatch): call
7338 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7340 2003-03-09 Angus Leeming <leeming@lyx.org>
7342 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7343 than Dialogs::showAboutlyx().
7345 2003-03-09 Angus Leeming <leeming@lyx.org>
7347 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7348 than Dialogs::showTabularCreate().
7350 2003-03-09 John Levon <levon@movementarian.org>
7354 * text2.C: 3rd arg to nextBreakPoint was always the same.
7357 2003-03-08 John Levon <levon@movementarian.org>
7364 * text2.C: Remove the "main" bit from the "main body"
7367 2003-03-08 John Levon <levon@movementarian.org>
7369 * text.C (leftMargin): The left margin of an empty
7370 manual label paragraph should not include the label width
7373 * text.C (prepareToPrint): don't attempt to measure hfills
7374 for empty manual label paragraphs - the answer should be 0
7376 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7378 * CutAndPaste.C: remove commented code and reindent.
7380 2003-03-08 John Levon <levon@movementarian.org>
7383 * lyxfunc.C: move reloadBuffer()
7386 * BufferView.C: to here
7388 * lyxvc.C: add comment
7391 * vc-backend.C: call bv->reload() to avoid
7392 getStatus() check on MENURELOAD
7394 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7396 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7397 to an old format .dep file.
7399 2003-03-07 Angus Leeming <leeming@lyx.org>
7401 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7402 when the LFUN_MOUSE_RELEASE should have been handled by
7403 inset->localDispatch.
7405 2003-03-07 Angus Leeming <leeming@lyx.org>
7407 * BufferView_pimpl.C (dispatch):
7408 * LyXAction.C (init):
7409 * ToolbarDefaults.C (init):
7411 * lyxfunc.C (getStatus):
7412 remove LFUN_INSET_GRAPHICS.
7414 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7416 2003-03-07 Angus Leeming <leeming@lyx.org>
7419 * LyXAction.C (init):
7420 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7422 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7425 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7427 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7428 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7430 2003-03-07 Angus Leeming <leeming@lyx.org>
7432 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7435 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7437 * ParagraphList.C (front): new function
7440 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7442 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7443 and top_row_offset_. removed var first_y.
7445 * text2.C (LyXText, removeRow):
7447 * BufferView_pimpl.C:
7448 use these methods instead of using first_y
7450 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7452 * text2.C (pasteSelection): adjust for checkPastePossible
7454 * CutAndPaste.C: remove Paragraph * buf and replace with
7455 ParagraphList paragraphs.
7456 (DeleteBuffer): delete
7457 (cutSelection): change the tc type to textclass_type
7458 (copySelection): change the tc type to textclass_type
7459 (copySelection): adjust for ParagraphList
7460 (pasteSelection): change the tc type to textclass_type
7461 (pasteSelection): adjust for Paragraphlist
7462 (nrOfParagraphs): simplify for ParagraphList
7463 (checkPastePossible): simplify for ParagraphList
7464 (checkPastePossible): remove unused arg
7466 * ParagraphList.C (insert): handle the case where there are no
7469 * CutAndPaste.h: make CutAndPaste a namespace.
7471 * text3.C (dispatch): adjust
7473 * text.C (breakParagraph): add a ParagraphList as arg
7475 * paragraph_funcs.C (breakParagraph): change to take a
7476 BufferParams and a ParagraphList as args.
7477 (breakParagraphConservative): ditto
7478 (mergeParagraph): ditto
7479 (TeXDeeper): add a ParagraphList arg
7480 (TeXEnvironment): ditto
7483 * buffer.C (readLyXformat2): adjust
7484 (insertStringAsLines): adjust
7485 (latexParagraphs): adjust
7487 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7488 (cutSelection): adjust
7489 (pasteSelection): adjust
7491 * BufferView_pimpl.C (insertInset): adjust
7493 2003-03-05 Angus Leeming <leeming@lyx.org>
7496 * LyXAction.C (init):
7497 * BufferView_pimpl.C (dispatch):
7498 * lyxfunc.C (getStatus):
7499 remove LFUN_CHILD_INSERT.
7501 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7503 2003-03-05 Angus Leeming <leeming@lyx.org>
7506 * LyXAction.C (init):
7507 * src/factory.C (createInset):
7508 * lyxfunc.C (getStatus):
7509 * text3.C (dispatch):
7510 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7512 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7514 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7516 * ParagraphList.C (insert): handle insert right before end()
7517 (erase): fix cases where it can be first or last paragraph.
7519 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7521 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7522 Paragraph::next and Paragraph::previous
7525 * text.C (breakParagraph): adjust
7527 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7528 BufferParams& as arg.
7529 (breakParagraph): use ParagraphList::insert
7530 (breakParagraphConservative): take a Buffer* instead of a
7531 BufferParams& as arg.
7532 (breakParagraphConservative): use ParagraphList::insert.
7534 * buffer.C (insertStringAsLines): un-const it
7535 (insertStringAsLines): adjust
7537 * ParagraphList.C (insert): new function
7539 * CutAndPaste.C (pasteSelection): adjust
7541 * text.C (backspace): adjust
7543 * tabular.C (SetMultiColumn): adjust
7545 * CutAndPaste.C (cutSelection): adjust
7546 (pasteSelection): adjust
7548 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7549 Buffer const * as arg
7551 * ParagraphList.C (erase): new function
7552 * paragraph_funcs.C (mergeParagraph): use it
7553 (mergeParagraph): make it take a Buffer* instead of a
7554 BufferParams* as arg
7556 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7558 (breakParagraphConservative): ditto
7560 * paragraph.h: remove the breakParagraph friend
7562 * paragraph.C (eraseIntern): new function
7563 (setChange): new function
7565 * paragraph_funcs.C (mergeParagraph): make it take a
7566 ParagraphList::iterator instead of a Paragraph *, adjust
7569 * paragraph.h: move an #endif so that the change tracking stuff
7570 also works in the NO_NEXT case.
7572 2003-03-04 Angus Leeming <leeming@lyx.org>
7575 * LyXAction.C: new LFUN_INSET_MODIFY.
7577 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7578 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7580 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7582 * several files: ws changes only
7584 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7585 (TeXEnvironment): ditto
7588 * buffer.C (makeLaTeXFile): adjust
7589 (latexParagraphs): make it take ParagraphList::iterator as args
7591 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7593 * buffer.C (latexParagraphs): adjust
7595 * paragraph.C (TeXOnePar): move function...
7596 (optArgInset): move function...
7597 (TeXEnvironment): move function...
7598 * paragraph_pimpl.C (TeXDeeper): move function...
7599 * paragraph_funcs.C: ...here
7601 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7603 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7605 * buffer.C (readInset): remove compability code for old Figure and
7608 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7610 * buffer.C: ws changes
7613 * BufferView_pimpl.C: ditto
7616 * bufferlist.h: ditto
7620 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7622 * converter.[Ch]: split into itself +
7625 * Makefile.am: += graph.[Ch] + format.[Ch]
7632 * lyxrc.C: added #include "format.h"
7634 2003-02-27 Angus Leeming <leeming@lyx.org>
7636 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7639 * factory.C (createInset): add "label" to the factory.
7641 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7642 string and do no more.
7644 2003-02-27 Angus Leeming <leeming@lyx.org>
7647 * LyXAction.C (init):
7648 * factory.C (createInset):
7649 * BufferView_pimpl.C (dispatch):
7650 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7652 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7654 * lyxfunc.C (dispatch):
7655 * text3.C (dispatch): pass name to params2string.
7657 2003-02-26 Angus Leeming <leeming@lyx.org>
7659 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7661 Rearrange the ~includes. Strip out the unnecessary ones.
7663 * factory.C (createInset): reformat.
7664 create new insets for the various LFUN_XYZ_APPLY lfuns.
7666 2003-02-26 John Levon <levon@movementarian.org>
7669 * lyxrow.C: add isParStart,isParEnd helpers
7671 * paragraph.h: make isInserted/DeletedText take refs
7673 * paragraph_funcs.h:
7674 * paragraph_funcs.C: remove #if 0'd code
7679 * text.C: use lyxrow helpers above.
7680 Move draw and paint routines to RowPainter.
7681 Make several methods use refs not pointers.
7682 Make backgroundColor() const.
7683 Add markChangeInDraw(), isInInset().
7684 Merge changeRegionCase into changeCase.
7685 Make workWidth() shouldn't-happen code into an Assert.
7688 * rowpainter.C: new class for painting a row.
7691 * vspace.C: make inPixels take a ref
7693 2003-02-26 Angus Leeming <leeming@lyx.org>
7695 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7698 2003-02-25 John Levon <levon@movementarian.org>
7700 * ispell.C: give the forked command a more accurate name
7702 2003-02-22 John Levon <levon@movementarian.org>
7705 * toc.C: make TocItem store an id not a Paragraph *
7708 2003-02-21 Angus Leeming <leeming@lyx.org>
7710 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7711 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7712 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7713 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7714 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7715 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7717 * BufferView_pimpl.C (dispatch):
7718 * LyXAction.C (init):
7719 * factory.C (createInset):
7720 * lyxfunc.C (getStatus, dispatch):
7721 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7723 2003-02-21 Angus Leeming <leeming@lyx.org>
7725 * BufferView_pimpl.C (MenuInsertLyXFile):
7726 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7727 * lyxfunc.C (menuNew, open, doImport):
7728 no longer pass a LyXView & to fileDlg.
7730 2003-02-21 Angus Leeming <leeming@lyx.org>
7732 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7733 * LyXAction.C: change, BIBKEY to BIBITEM.
7734 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7735 Change InsetBibKey to InsetBibitem.
7736 Change BIBKEY_CODE to BIBITEM_CODE.
7737 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7738 * factory.C: replace insetbib.h with insetbibitem.h.
7739 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7740 * paragraph.C: replace insetbib.h with insetbibitem.h.
7741 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7742 Change bibkey() to bibitem().
7743 * text.C: remove insetbib.h.
7744 * text2.C: replace insetbib.h with insetbibitem.h.
7745 change bibkey() to bibitem().
7746 * text3.C: remove insetbib.h.
7747 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7749 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7751 * lyxrc.C (output): enclose user email in quotes (in case there are
7754 2003-02-18 John Levon <levon@movementarian.org>
7756 * buffer.h: add std::
7758 2003-02-17 John Levon <levon@movementarian.org>
7764 * pspell.C: reworking. Especially in ispell, a large
7765 number of clean ups and bug fixes.
7767 * lyxfunc.C: fix revert to behave sensibly
7769 2003-02-17 André Pönitz <poenitz@gmx.net>
7772 * commandtags.h: new LFUN_INSERT_BIBKEY
7782 * paragraph_func.C: remove special bibkey handling
7784 2003-02-17 John Levon <levon@movementarian.org>
7786 * text.C (Delete): fix case where delete at the end of
7787 the very first paragraph would not merge the pars
7789 2003-02-17 John Levon <levon@movementarian.org>
7791 * lyxrow.C: fix lastPrintablePos()
7793 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7795 * bufferparams.C (writeLaTeX): add a std:here
7797 * buffer.C: and remove a using directive there
7799 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7801 * buffer.C (makeLaTeXFile): move the code that generates the
7804 * bufferparams.C (writeLaTeX): ... in this new method
7806 * LaTeXFeatures.C (getEncodingSet): make const
7807 (getLanguages): make const
7809 * MenuBackend.C (binding): returns the binding associated to this
7811 (add): sets the status of each item by calling getStatus. Adds
7813 (read): add support for OptSubMenu
7814 (expand): remove extra separator at the end of expanded menu
7816 2003-02-15 John Levon <levon@movementarian.org>
7819 * BufferView_pimpl.C:
7821 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7822 inset code that had no actual effect. Remove unneeded status
7825 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7827 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7830 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7832 * text.C (drawLengthMarker): also draw an arrow marker for
7833 symbolic lengths (medskip...)
7835 2003-02-14 John Levon <levon@movementarian.org>
7838 * tabular.C: better method names
7840 2003-02-14 John Levon <levon@movementarian.org>
7842 * BufferView_pimpl.C:
7847 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7848 it's a more accurate name. Remove some pointless uses.
7850 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7852 * text2.C (LyXText): change order of initilizers to shut off
7855 2003-02-14 John Levon <levon@movementarian.org>
7857 * buffer.C: use ParIterator for getParFromID()
7861 * paragraph_pimpl.h:
7862 * paragraph_pimpl.C: remove unused getParFromID()
7864 2003-02-14 John Levon <levon@movementarian.org>
7866 * buffer.C: remove some very old #if 0'd parse code
7868 2003-02-13 John Levon <levon@movementarian.org>
7872 * text2.C: move hfillExpansion(), numberOfSeparators(),
7873 rowLast(), rowLastPrintable(), numberofHfills(),
7874 numberOfLabelHfills() ...
7877 * lyxrow.C: ... to member functions here.
7882 * text.C: remove LyXText::beginningOfMainBody(), and call
7883 p->beginningOfMainBody() directly. Move the check for
7884 LABEL_MANUAL into the latter.
7891 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7897 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7898 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7900 2003-02-13 John Levon <levon@movementarian.org>
7902 * CutAndPaste.C: remove debug
7904 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7906 * paragraph.C (asString): remove two unused variables
7908 * lyxtextclass.C (readTitleType):
7910 (LyXTextClass): handle new members titletype_ and titlename_
7912 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7914 2003-02-09 John Levon <levon@movementarian.org>
7917 * buffer.C: replace hand-coded list with a map for the dep clean
7919 2003-02-08 John Levon <levon@movementarian.org>
7921 * LaTeX.C: consolidate code into showRunMessage() helper
7923 2003-02-08 John Levon <levon@movementarian.org>
7928 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7929 and pass the size in explicitly
7931 * BufferView_pimpl.h:
7932 * BufferView_pimpl.C:
7934 * BufferView.C: add getCurrentChange()
7936 * BufferView_pimpl.h:
7937 * BufferView_pimpl.C: handle change lfuns
7939 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7940 for changes. Mark pasted paragraphs as new.
7942 * support/lyxtime.h:
7943 * support/lyxtime.C:
7944 * DepTable.C: abstract time_t as lyx::time_type
7947 * LColor.C: add colours for new text, deleted text, changebars
7949 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7950 package use "usenames" option.
7954 * LyXAction.C: add change lfuns
7958 * author.C: author handling
7961 * buffer.C: add a per-buffer author list, with first entry as
7962 current author. Handle new .lyx tokens for change tracking. Output
7963 author list to .lyx file. Output dvipost stuff to .tex preamble.
7964 Bump lyx format to 222.
7967 * bufferlist.C: add setCurrentAuthor() to reset current author details
7971 * bufferparams.C: add param for tracking
7973 * bufferview_funcs.C: output change info in minibuffer
7977 * changes.C: add change-tracking structure
7980 * debug.C: add CHANGES debug flag
7983 * lyxfind.C: add code for finding the next change piece
7986 * lyxrc.C: add user_name and user_email
7989 * lyxrow.C: add a metric for the top of the text line
7992 * text.C: implement accept/rejectChange()
7995 * text.C: paint changebars. Paint new/deleted text in the chosen
7996 colours. Strike through deleted text.
8000 * paragraph_pimpl.h:
8001 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8002 in the current change to the insert functions. Rework erase to
8003 mark text as deleted, adding an eraseIntern() and a range-based
8004 erase(). Implement per-paragraph change lookup and
8007 * paragraph_funcs.C: Fixup paste for change tracking.
8009 * tabular.C: mark added row/columns as new.
8011 * text.C: fix rowLast() to never return -1. Don't allow
8012 spellchecking of deleted text. Track transpose changes. Don't
8013 allow paragraph break or merge where appropriate.
8015 * text2.C: leave cursor at end of selection after a cut.
8017 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8019 * text.C (getLengthMarkerHeight):
8020 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8021 visible on screen too.
8023 2003-02-07 John Levon <levon@movementarian.org>
8025 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8027 2003-02-05 Angus Leeming <leeming@lyx.org>
8029 * lyxserver.C (read_ready): revert my patch of 11 September last year
8030 as it sends PC cpu through the roof. Presumably this means that
8031 the lyxserver will no longer run on an Alpha...
8033 2003-01-30 Angus Leeming <leeming@lyx.org>
8035 * factory.C (createInset): create an InsetCommandParam of type "index"
8036 and use it to 'do the right thing'.
8038 * text2.C (getStringToIndex): ensure that cursor position is always
8039 reset to the reset_cursor position.
8041 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8043 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8046 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8050 * lyxfunc.C: Output messages with identical spelling, punctuation,
8053 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8055 * MenuBackend.C (expandFormats): List only viewable export formats
8058 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8061 * lyxfunc.C (getStatus): Make sure that formats other than
8062 "fax" can also be disabled
8064 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8066 * text3.C (dispatch): put the lfuns that insert insets in 3
8067 groups, and call doInsertInset with appropriate arguments.
8068 (doInsertInset): new function, that creates an inset and inserts
8069 it according to some boolean parameters.
8071 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8073 * buffer.C (readFile): remember to pass on 'par' when calling
8074 readFile recursively.
8076 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8078 * MenuBackend.C (expandFormats): add "..." to import formats.
8080 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8082 * paragraph.C (asString): Remove XForms RTL hacks.
8084 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8085 * buffer.C: fix typo
8087 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8089 * Makefile.am (LIBS): delete var
8090 (lyx_LDADD): add @LIBS@ here instead.
8092 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8094 * Clarify the meaning of "wheel mouse jump"
8096 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8098 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8101 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8103 * importer.C (Loaders): do not preallocate 3 elements in the
8104 vector, since one ends up with 6 elements otherwise
8106 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8108 * DepTable.C (write): write the file name as last element of the
8109 .dep file (because it may contain spaces)
8110 (read): read info in the right order
8112 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8114 * paragraph_pimpl.C (simpleTeXBlanks):
8115 (simpleTeXSpecialChars):
8116 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8118 * tabular.C (latex): add some missing case statements. Reindent.
8120 * MenuBackend.C (expandToc): remove unused variable.
8122 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8131 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8134 2003-01-05 John Levon <levon@movementarian.org>
8137 * BufferView.C: add getEncoding()
8140 * kbsequence.C: do not store last keypress
8143 * lyxfunc.C: store last keypress here instead. Pass encoding
8146 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8148 * lyx_main.C (init): remove annoying error message when following
8149 symbolic links (bug #780)
8151 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8153 * text.C (insertChar):
8154 * lyxrc.C (getDescription): remove extra spaces
8156 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8158 * lyxrc.C (getDescription): remove extra spaces
8160 2002-12-20 John Levon <levon@movementarian.org>
8162 * text3.C: hack fix for page up/down across tall rows
8164 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8166 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8169 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8171 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8172 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8173 thesaurus is not compiled in
8175 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8177 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8179 2002-12-16 Angus Leeming <leeming@lyx.org>
8182 * lyx_main.C (init): remove override_x_deadkeys stuff.
8184 2002-12-12 John Levon <levon@movementarian.org>
8186 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8187 insert. Only remove shift modifier under strict
8190 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8192 * MenuBackend.C (expandToc): fix crash.
8194 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8196 * MenuBackend.C (expandToc): gettext on float names.
8198 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8200 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8201 implement bool empty() [bug 490]
8203 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8205 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8207 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * several files: ws changes
8211 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8213 * text2.C (setCounter): clean up a bit, use boost.format.
8214 (updateCounters): initialize par upon declaration.
8216 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8217 if the layout exists. We do not just store the layout any more.
8218 (SwitchLayoutsBetweenClasses): use boost.format
8220 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8222 * converter.C (convert): if from and to files are the same, use a
8223 temporary files as intermediary
8225 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8228 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8230 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8232 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8234 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8236 * tabular.C (asciiPrintCell): use string(size, char) instead of
8239 * sgml.C (openTag): fix order of arguments to string constructor
8242 * lyxfunc.C (dispatch): use boost.format
8244 * lots of files: change "c" -> 'c'
8246 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8248 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8250 2002-11-25 Angus Leeming <leeming@lyx.org>
8252 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8254 * lyx_main.C (init): compile fix.
8256 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8258 * lyx_cb.C (start): boost.formatify
8259 do not include <iostream>
8261 * lengthcommon.C: ws only
8263 * boost-inst.C,BoostFormat.h: add more explict instantations
8265 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8267 * lots of files: handle USE_BOOST_FORMAT
8269 2002-11-21 John Levon <levon@movementarian.org>
8271 * pspell.C: fix compile
8273 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8275 * lyxfunc.C (dispatch): use boost::format
8279 * lyxfont.C (stateText): use boost::format
8281 * lyx_main.C (LyX): use boost::format
8283 (queryUserLyXDir): ditto
8286 (typedef boost::function): use the recommened syntax.
8288 * importer.C (Import): use boost::format
8290 * debug.C (showLevel): use boost::format
8292 * converter.C (view): use boost::format
8297 * bufferview_funcs.C (currentState): use boost::format
8299 * bufferlist.C (emergencyWrite): use boost::format
8301 * buffer.C (readLyXformat2): use boost::format
8302 (parseSingleLyXformat2Token): ditto
8304 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8306 * LaTeX.C (run): use boost::format
8308 * Chktex.C (scanLogFile): use boost::format
8310 * BufferView_pimpl.C (savePosition): use boost::format
8311 (restorePosition): ditto
8312 (MenuInsertLyXFile): ditto
8314 * BoostFormat.h: help file for explicit instation.
8316 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8318 * tabular.C (latex): Support for block alignment in fixed width
8321 2002-11-17 John Levon <levon@movementarian.org>
8323 * BufferView_pimpl.C:
8325 * lyxfunc.C: split filedialog into open/save
8327 2002-11-08 Juergen Vigna <jug@sad.it>
8329 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8330 by my last patch (hopefully).
8332 2002-11-08 John Levon <levon@movementarian.org>
8341 * toc.C: ParConstIterator, and use it (from Lars)
8343 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8345 * lyxtextclass.[Ch]: revise and add doxygen comments
8347 2002-11-07 John Levon <levon@movementarian.org>
8349 * text.C: fix progress value for spellchecker
8351 * toc.C: fix navigate menu for insetwrap inside minipage
8353 * paragraph_funcs.C: added FIXME for suspect code
8355 2002-11-07 John Levon <levon@movementarian.org>
8357 * BufferView_pimpl.C: fix redrawing of insets
8360 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8362 * text2.C (updateCounters): fix bug 668
8364 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8366 * text3.C (dispatch): Do not make the buffer dirty when moving the
8369 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8371 * vc-backend.C: STRCONV
8374 * text2.C (setCounter): STRCONV
8376 * paragraph.C (asString): STRCONV
8378 * lyxlength.C (asString): STRCONV
8379 (asLatexString): ditto
8381 * lyxgluelength.C (asString): STRCONV
8382 (asLatexString): ditto
8384 * lyxfunc.C (dispatch): STRCONV
8387 * lyxfont.C (stateText): STRCONV
8389 * importer.C (Import): STRCONV
8391 * counters.C (labelItem): STRCONV
8392 (numberLabel): ditto
8393 (numberLabel): remove unused ostringstream o
8398 * bufferview_funcs.C (currentState): STRCONV
8400 * buffer.C (readFile): STRCONV
8401 (asciiParagraph): ditto
8402 (makeLaTeXFile): ditto
8404 * Spacing.C (writeEnvirBegin): STRCONV
8406 * LaTeXFeatures.C (getLanguages): STRCONV
8407 (getPackages): ditto
8409 (getBabelOptions): ditto
8410 (getTClassPreamble): ditto
8411 (getLyXSGMLEntities): ditto
8412 (getIncludedFiles): ditto
8416 (scanAuxFile): ditto
8419 * LString.h: add the STRCONV macros
8421 * BufferView_pimpl.C (savePosition): STRCONV
8422 (restorePosition): ditto
8423 (MenuInsertLyXFile): ditto
8425 * vc-backend.C (scanMaster): change from submatch[...] to
8428 * funcrequest.C: include config.h
8430 * factory.C: include config.h
8432 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8434 * box.C: include config.h
8436 * LaTeX.C (scanAuxFile): change from submatch[...] to
8440 2002-10-25 Angus Leeming <leeming@lyx.org>
8442 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8444 * ispell.[Ch] (setError): new method.
8445 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8446 Use setError() insetead of goto END.
8448 * lyx_cb.C (AutoSave): move out child process into new class
8451 2002-10-30 John Levon <levon@movementarian.org>
8453 * text3.C: make start appendix undoable
8455 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8457 * lyxlength.C (inPixels): Fix returned value.
8459 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8462 2002-10-24 Angus Leeming <leeming@lyx.org>
8464 * lyxgluelength.h: no need to forward declare BufferParams
8465 or BufferView, so don't.
8467 2002-10-21 John Levon <levon@movementarian.org>
8469 * BufferView.C: menuUndo ->undo, redo
8471 * BufferView.h: document, remove dead, make some methods private
8473 * paragraph_funcs.h:
8474 * paragraph_funcs.C:
8475 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8480 * sgml.C: move sgml open/close tag into sgml.C
8482 * bufferview_funcs.h: unused prototype
8485 * lyxfunc.C: remove unused
8488 * text.C: remove unused
8490 2002-10-21 John Levon <levon@movementarian.org>
8494 * BufferView_pimpl.h:
8495 * BufferView_pimpl.C: fix mouse wheel handling based on
8496 patch from Darren Freeman
8498 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8500 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8502 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8504 * lyxlength.C (inPixels): Fix hanfling of negative length.
8505 Fix LyXLength::MU case.
8507 2002-10-16 John Levon <levon@movementarian.org>
8509 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8511 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8513 * converter.C (view): add support for $$i (file name) and $$p
8514 (file path) for the viewer command. If $$i is not specified, then
8515 it is appended to the command (for compatibility with old syntax)
8517 2002-10-14 Juergen Vigna <jug@sad.it>
8519 * undo_funcs.C (textHandleUndo): alter the order in which the
8520 new undopar is added to the LyXText, as we have to set first
8521 the right prev/next and then add it as otherwise the rebuild of
8522 LyXText is not correct. Also reset the cursor to the right paragraph,
8523 with this IMO we could remove the hack in "redoParagraphs()".
8525 2002-10-09 Angus Leeming <leeming@lyx.org>
8527 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8528 to turn off an optimisation if a new inset is to be inserted.
8530 2002-10-11 André Pönitz <poenitz@gmx.net>
8532 * lyxtext.h: make some functions public to allow access
8533 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8535 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8537 * text3.C (dispatch): when changing layout, avoid an infinite loop
8540 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8542 * lyxrc.C (read): treat a viewer or converter command of "none" as
8545 * MenuBackend.C (expandFormats): for an update, also allow the
8546 formats that are not viewable
8548 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8549 script if it is newer than the lyxrc.defaults in user directory
8551 2002-10-07 André Pönitz <poenitz@gmx.net>
8553 * text.C: Vitaly Lipatov's small i18n fix
8555 2002-09-25 Angus Leeming <leeming@lyx.org>
8557 * ispell.h: doxygen fix.
8559 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8561 * buffer.h (readFile): Add a new argument to the method, to allow
8562 reading of old-format templates.
8564 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8566 * toc.C (getTocList): Get TOC from InsetWrap.
8568 2002-09-16 John Levon <levon@movementarian.org>
8570 * lyxfunc.C: check tabular for cut/copy too
8572 2002-09-12 John Levon <levon@movementarian.org>
8577 * factory.C: add header
8579 * paragraph_funcs.h:
8580 * paragraph_funcs.C: cleanup
8582 2002-09-11 John Levon <levon@movementarian.org>
8584 * PrinterParams.h: odd/even default to true
8586 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8588 * PrinterParams.h: update printer parameters for new xforms dialog
8590 2002-09-11 Angus Leeming <leeming@lyx.org>
8592 * lyxserver.C (read_ready): re-write to make it more transparent
8593 and to make it work in coherent fashion under Tru64 Unix.
8595 2002-09-11 André Pönitz <poenitz@gmx.net>
8599 * text3.C: implement LFUN_WORDSEL
8601 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8603 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8604 make floatlist_ a boost::shared_ptr<FloatList>
8606 * lyxtextclass.C: include FloatList.h
8607 (LyXTextClass): initialize floatlist_
8608 (TextClassTags): add TC_NOFLOAT
8609 (Read): match "nofloat" to TC_NOFLOAT and use it.
8610 (readFloat): modify call to floatlist_
8614 * FloatList.[Ch] (FloatList): remove commented out float
8616 (erase): new function
8618 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8620 * MenuBackend.C (expandToc): fix crash when there is no document
8623 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8625 * many files: Add insetwrap.
8627 2002-09-09 John Levon <levon@movementarian.org>
8629 * text2.C: remove confusing and awkward depth wraparound
8631 2002-09-09 John Levon <levon@movementarian.org>
8633 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8636 * buffer.C: remove getIncludeonlyList()
8639 * lyxfunc.C: remove headers
8641 2002-09-09 Juergen Vigna <jug@sad.it>
8643 * text.C (getColumnNearX): fix form Michael this is most
8644 probably a cut&paste bug.
8646 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8648 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8650 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8651 references, ws changes.
8653 * text2.C (init): update counters after init
8654 (insertParagraph): no need to set counter on idividual paragraphs.
8655 (setCounter): access the counters object in the textclass object
8656 on in the buffer object.
8657 (updateCounters): ditto
8659 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8660 shared_ptr<Counters> to avoid loading counters.h in all
8662 (LyXTextClass): initialize ctrs_
8663 (TextClassTags): add TC_COUNTER, and ...
8664 (Read): use it here.
8665 (CounterTags): new tags
8666 (readCounter): new function
8667 (counters): new funtion
8668 (defaultLayoutName): return a const reference
8670 * counters.C (Counters): remove contructor
8671 (newCounter): remove a couple of unneeded statements.
8672 (newCounter): simplify a bit.
8673 (numberLabel): some small formatting changes.
8675 * buffer.[Ch]: remove all traces of counters, move the Counters
8676 object to the LyXTextClass.
8678 2002-09-06 Alain Castera <castera@in2p3.fr>
8680 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8681 package to set the horizontal alignment on fixed width columns.
8684 * lyx_sty.h: added tabularnewline macro def.
8686 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8688 2002-09-06 John Levon <levon@movementarian.org>
8690 * LyXAction.C: tooltips for sub/superscript
8692 * MenuBackend.C: a bit more verbose
8694 * lyxfunc.C: tiny clean
8696 * undo_funcs.C: document undo_frozen
8698 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8700 * counters.C (Counters): add missing algorithm counter.
8702 * text2.C (setCounter): lookup the counter with layouts latexname
8703 instead of by section number.
8704 (setCounter): use a hackish way to lookup the correct enum
8706 a float name->type change
8707 reset enum couners with counter name directly instead of depth value.
8709 * counters.C (Counters): remove the push_backs, change to use the
8710 float type not the float name.
8711 (labelItem): remove unused string, float name->type change
8713 * counters.h: don't include vector, loose the enums and sects vectors
8715 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8717 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8718 (Read): add float->TC_FLOAT to textclassTags
8719 (Read): and handle it in the switch
8720 (readFloat): new function
8722 * FloatList.C (FloatList): comment out the hardcoded float
8725 * lyxlayout.h: ws change.
8727 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8729 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8731 2002-09-03 Angus Leeming <leeming@lyx.org>
8733 * BufferView_pimpl.h: qualified name is not allowed in member
8734 declaration: WorkArea & Pimpl::workarea() const;
8736 * factory.C: added using std::endl directive.
8738 * text3.C: added using std::find and std::vector directives.
8740 2002-08-29 André Pönitz <poenitz@gmx.net>
8743 * text2.C: remove unused member number_of_rows
8746 * BufferView2.C: remove file, move contents to...
8747 * BufferView.C: ... here
8749 * BufferView_pimpl.C:
8750 * factory.C: move more inset creation to factory
8752 * vspace.C: avoid direct usage of LyXText, ws changes
8755 don't provide direct access to WorkArea, use two simple
8756 acessors haveSelction() and workHeight() instead
8759 2002-08-29 John Levon <levon@movementarian.org>
8761 * BufferView_pimpl.C (dispatch): do not continue when
8764 2002-08-28 André Pönitz <poenitz@gmx.net>
8766 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8769 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8771 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8773 * buffer.C: increment LYX_FORMAT to 221
8775 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8776 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8778 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8780 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8782 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8784 * factory.C (createInset): use LyXTextClass::floats
8786 * MenuBackend.C (expandFloatListInsert):
8787 (expandFloatInsert):
8790 * text2.C (setCounter):
8792 * LaTeXFeatures.C (useFloat):
8793 (getFloatDefinitions):
8795 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8797 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8798 floatlist_, with accessor floats().
8800 * FloatList.h: remove global FloatList
8802 2002-08-26 André Pönitz <poenitz@gmx.net>
8804 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8808 * BufferView_pimpl.C:
8809 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8811 2002-08-25 John Levon <levon@movementarian.org>
8813 * LyXAction.C: fix margin note description
8815 2002-08-24 John Levon <levon@movementarian.org>
8819 * bufferview_funcs.C:
8821 * undo_funcs.C: cleanups
8823 * lyxfunc.C: disable CUT/COPY when no selection
8825 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8827 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8828 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8830 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8831 Add backward compatibility to "mono", "gray" and "no".
8833 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8835 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8836 (and file_format >= 200).
8838 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8840 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8842 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8844 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8846 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8848 * BufferView_pimpl.C:
8855 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8856 inset and code to make it work with the paragraph code. The inset
8857 can be anywhere in the paragraph, but will only do the expected
8858 thing in LaTeX if the layout file contains the parameter line
8860 (or more generally, a nonzero value) for that layout.
8862 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8864 * paragraph.h: remove the declaration of undefined counters class
8867 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8869 * text2.C (setCounter): fixed enumeration mis-count as reported by
8870 Dr. Richard Hawkins.
8872 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8874 * paragraph_funcs.h: remove some unneeded includes
8876 * text.C (backspace): pasteParagraph now in global scipe
8878 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8879 (pasteSelection): ditto
8881 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8882 * paragraph_funcs.C (pasteParagraph): ... here
8884 2002-08-20 André Pönitz <poenitz@gmx.net>
8886 * commandtags.h: new LFUNs for swapping/copying table row/colums
8889 * lyxfunc.C: support for new lfuns
8891 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8894 * buffer.[Ch]: remove NO_COMPABILITY stuff
8896 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8898 * boost.C (throw_exception): new file, with helper function for
8899 boost compiled without exceptions.
8904 * ParameterStruct.h:
8905 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8907 * bufferlist.C (emergencyWriteAll): use boost bind
8909 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8911 * text.C: include paragraph_funcs.h
8912 (breakParagraph): breakParagraph is now in global scope
8914 * paragraph_funcs.[Ch]: new files
8916 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8919 * buffer.C: include paragraph_funcs.h
8920 (insertStringAsLines): breakParagraph is now in global scope
8922 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8925 * CutAndPaste.C: include paragraph_funcs.h
8926 (cutSelection): breakParagraphConservative is now in global scope
8927 (pasteSelection): ditto
8929 * buffer.h: declare oprator== and operator!= for
8930 Buffer::inset_iterator
8932 * bufferlist.C (emergencyWrite): don't use fmt(...)
8934 * text3.C: add using std::endl
8936 * BufferView.C (moveCursorUpdate): remove default arg
8938 2002-08-20 André Pönitz <poenitz@gmx.net>
8940 * buffer.[Ch]: move inline functions to .C
8943 * BufferView_pimpl.C:
8945 * buffer.[Ch]: use improved inset_iterator
8948 * paragraph.[Ch]: write one paragraph at a time
8950 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8952 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8953 style if style is not specified.
8955 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8957 * text2.C (setCounter): when searching for right label for a
8958 caption, make sure to recurse to parent insets (so that a caption
8959 in a minipage in a figure float works) (bug #568)
8961 2002-08-20 André Pönitz <poenitz@gmx.net>
8963 * text3.C: new file for LyXText::dispatch() and helpers
8965 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8967 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8969 2002-08-19 André Pönitz <poenitz@gmx.net>
8972 * text.C: new LyXText::dispatch()
8974 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8976 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8978 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8980 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8983 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8985 * Makefile.am: use $(variables) instead of @substitutions@
8987 2002-08-15 André Pönitz <poenitz@gmx.net>
8990 * BufferView_pimpl.C: streamlining mathed <-> outer world
8994 * LyXAction.C: remove unused LFUN_MATH
8996 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8998 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9000 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9002 * paragraph.C (Paragraph): reformat a bit
9003 (cutIntoMinibuffer): use builtin InsetList function instad of
9007 * buffer.C: include boost/bind.hpp, add using std::for_each
9008 (writeFileAscii): use ParagraphList iterators
9009 (validate): use for_each for validate traversal of paragraphs
9010 (getBibkeyList): use ParagraphList iterators
9011 (resizeInsets): use for_each to resizeInsetsLyXText for all
9013 (getParFromID): use ParagraphList iterators
9015 * BufferView2.C (lockInset): use paragraph list and iterators
9017 2002-08-14 John Levon <levon@movementarian.org>
9019 * lyxserver.C: remove spurious xforms include
9021 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9023 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9025 2002-08-13 André Pönitz <poenitz@gmx.net>
9028 * lyxfunc.C: further cleaning
9030 2002-08-13 André Pönitz <poenitz@gmx.net>
9032 * funcrequest.h: new constructor
9034 * funcrequest.C: move stuff here from .h
9037 * BufferView_pimpl.C:
9040 * lyxfunc.C: subsequent changes
9042 * lyxfunc.h: new view() member function
9044 * lyxfunc.C: subsequent changes
9046 2002-08-13 Angus Leeming <leeming@lyx.org>
9049 * BufferView_pimpl.C:
9057 changes due to the changed LyXView interface that now returns references
9058 to member variables not pointers.
9060 2002-08-13 Angus Leeming <leeming@lyx.org>
9062 * WordLangTuple (word, lang_code): return references to strings,
9067 * lyxtext.h: forward-declare WordLangTuple.
9072 * text.C: #include "WordLangTuple.h".
9075 * text.C: (selectNextWordToSpellcheck): constify return type.
9077 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9083 * paragraph_pimpl.h:
9086 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9088 Made updateCounter always count from start of buffer, and removed
9089 second argument (par).
9090 Reverted floats number display to '#'. Perhaps I'll try again when the
9091 code base is sanitized a bit.
9093 2002-08-12 Angus Leeming <leeming@lyx.org>
9095 * buffer.[Ch] (getLabelList): constify.
9097 2002-08-07 André Pönitz <poenitz@gmx.net>
9099 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9101 * funcrequest.h: extension to keep mouse (x,y) position
9103 2002-08-12 Juergen Vigna <jug@sad.it>
9105 * BufferView2.C (insertErrors): forbid undo when inserting error
9108 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9110 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9112 * ParagraphList.[Ch]: new files
9114 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9116 * BufferView2.C (lockInset): ParagraphList changes
9119 * bufferlist.C: ditto
9123 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9125 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9126 unused class variable counter_,
9128 * paragraph.[Ch] (getFirstCounter): delete unused function
9130 * counters.C: include LAssert.h
9131 (reset): add a new function with no arg, change other version to
9132 not have def. arg and to not allow empty arg.
9134 * text2.C (setCounter): remove empty arg from call to Counters::reset
9136 2002-08-11 John Levon <levon@movementarian.org>
9138 * Makefile.am: add WordLangTuple.h
9140 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9142 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9143 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9145 * insets/insettext.C: InsetList changes
9147 * graphics/GraphicsSupport.C (operator()): InsetList changes
9149 * toc.C (getTocList): InsetList changes
9151 * paragraph_pimpl.[Ch]: InsetList changes
9153 * paragraph.[Ch]: InsetList changes
9155 * buffer.C (inset_iterator): InsetList changes
9156 (setParagraph): ditto
9157 * buffer.h (inset_iterator): ditto
9158 * iterators.C (operator++): ditto
9159 * iterators.h: ditto
9161 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9163 * InsetList.[Ch]: new files, most InsetList handling moved out of
9166 * BufferView2.C (removeAutoInsets): InsetList changes
9168 (ChangeInsets): ditto
9170 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9172 * paragraph_pimpl.h (empty): new function
9174 * paragraph.[Ch] (empty): new function
9176 * other files: use the new Paragraph::empty function
9178 2002-08-09 John Levon <levon@movementarian.org>
9180 * lyxtext.h: remove unused refresh_height
9182 2002-08-09 John Levon <levon@movementarian.org>
9189 * paragraph.C: move sgml char escaping out of paragraph
9192 * paragraph.C: remove id setter
9196 * paragraph_pimpl.C: remove dead tex_code_break_column
9198 * bufferview_funcs.C: small cleanup
9200 * lyxfunc.C: remove dead proto
9202 * lyxtext.h: make some stuff private. Remove some dead stuff.
9204 * lyxgluelength.C: make as[LyX]String() readable
9206 2002-08-08 John Levon <levon@movementarian.org>
9211 * ToolbarDefaults.C:
9214 * toc.C: lyxaction cleanup
9216 2002-08-08 John Levon <levon@movementarian.org>
9218 * BufferView2.C: small cleanup
9221 * lyxfind.C: move unnecessary header into the .C
9223 2002-08-08 John Levon <levon@movementarian.org>
9225 * funcrequest.h: just tedious nonsense
9228 * lyx_main.C: cleanups
9231 * vspace.C: remove dead header lyx_main.h
9233 2002-08-07 Angus Leeming <leeming@lyx.org>
9236 * paragraph_pimpl.h:
9237 Forward declare class Counters in paragraph.h by moving the ctrs member
9238 variable into Paragraph::Pimpl.
9239 (counters): new method, returning a reference to pimpl_->ctrs.
9241 * text2.C: ensuing changes.
9243 2002-08-07 John Levon <levon@movementarian.org>
9245 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9247 * BufferView_pimpl.C: announce X selection on double/triple
9250 * lyx_main.C: use correct bool in batch dispatch
9252 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9254 2002-08-07 André Pönitz <poenitz@gmx.net>
9256 * funcrequest.h: new class to wrap a kb_action and its argument
9259 * BufferView_pimpl[Ch]:
9263 * lyxrc.C: subsequent changes
9266 2002-08-07 John Levon <levon@movementarian.org>
9268 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9269 document options change.
9271 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9276 * makefile.am: move counters functionality over from
9277 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9279 2002-08-06 John Levon <levon@movementarian.org>
9281 * WordLangTuple.h: new file for word + language code tuple
9292 * BufferView2.C: use WordLangTuple
9295 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9297 2002-08-06 John Levon <levon@movementarian.org>
9299 * lyx_main.C: fix cmdline batch handling
9301 2002-08-06 André Pönitz <poenitz@gmx.net>
9303 * lyxrc.C: set default for show_banner to true
9305 2002-08-06 John Levon <levon@movementarian.org>
9307 * pspell.C: fix a crash, and allow new aspell to work
9309 2002-08-06 John Levon <levon@movementarian.org>
9312 * kbmap.C: small cleanup
9315 * vspace.C: add const
9317 2002-08-05 John Levon <levon@movementarian.org>
9319 * LyXAction.C: back to tabular-insert
9321 2002-08-04 John Levon <levon@movementarian.org>
9324 * BufferView.C: cosmetic change
9326 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9336 * BufferView2.C: purge all "Lyx" not "LyX" strings
9339 * lyxcursor.C: attempt to add some documentation
9344 * ToolbarDefaults.C:
9345 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9346 merge with LFUN_TABULAR_INSERT
9353 * pspell.C: split up i/pspell implementations into separate
9354 files, many cleanups
9356 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9358 * text2.C: some cleanup
9360 * lyxfunc.C: don't check for isp_command == "none" any more, it
9361 didn't make any sense
9363 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9368 * makefile.am: move counters functionality over
9369 from text2.C/paragraph.[Ch] to counters.[Ch], and
9371 2002-08-02 John Levon <levon@movementarian.org>
9373 * buffer.C: s/lyxconvert/lyx2lyx/
9375 2002-08-02 Angus Leeming <leeming@lyx.org>
9377 * lyxlex.C: revert John's change as it breaks reading of the user
9380 2002-08-02 Angus Leeming <leeming@lyx.org>
9382 * importer.C (Import):
9383 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9384 changes due to LyXView::view() now returning a boost::shared_ptr.
9386 2002-08-02 John Levon <levon@movementarian.org>
9388 * lyxlex.C: small cleanup
9390 2002-08-02 John Levon <levon@movementarian.org>
9392 * text2.C (status): small cleanup, no logic change
9394 2002-08-01 John Levon <levon@movementarian.org>
9397 * buffer.C (writeFile): don't output alerts, caller
9401 * lyx_cb.C: from above
9403 * lyxfunc.C: allow to open non-existent files
9405 2002-07-31 John Levon <levon@movementarian.org>
9407 * lyxserver.C: don't let incidental errors get
9410 2002-07-30 John Levon <levon@movementarian.org>
9412 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9414 2002-07-30 John Levon <levon@movementarian.org>
9417 * lyxserver.C: remove I/O callback too
9419 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9421 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9424 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9426 * many files: strip,frontStrip -> trim,ltrim,rtrim
9428 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9430 * PrinterParams.h: remove extern containsOnly, and include
9431 support/lstrings.h instead.
9433 * LaTeX.C (scanAuxFile): modify because of strip changes
9435 * buffer.C (makeLaTeXFile): ditto
9436 * bufferparams.C (writeFile): ditt
9437 * lyxfont.C (stateText): ditto
9438 * lyxserver.C (read_ready): ditto
9439 * vc-backend.C (scanMaster): ditto
9441 * BufferView_pimpl.h: ws changes
9443 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9445 2002-07-26 André Pönitz <poenitz@gmx.net>
9447 * kb_sequence.C: remove unnedred usings
9449 2002-07-26 Juergen Vigna <jug@sad.it>
9451 * lyxfind.C (LyXReplace): we have to check better if the returned
9452 text is not of theLockingInset()->getLockingInset().
9454 2002-07-25 Juergen Vigna <jug@sad.it>
9456 * lyxfind.C (LyXReplace): don't replace if we don't get the
9459 * undo_funcs.C (createUndo): remove debugging code.
9461 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9463 * buffer.C (parseSingleLyXformat2Token): Use default placement
9464 when reading old floats.
9466 * FloatList.C (FloatList): Change the default placement of figure
9467 and tables to "tbp".
9469 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9471 * MenuBackend.C: using std::max
9473 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9475 * MenuBackend.C (expandToc):
9476 (expandToc2): code moved from xforms menu frontend. It is now
9477 generic and TOCs are transparent to menu frontends.
9479 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9481 * toc.C (getTocList): protect against buf=0
9483 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9484 Menu as first parameter. Now, this calls itself recursively to
9485 expand a whole tree (this will be useful for TOC handling)
9486 (expandFloatInsert): remove 'wide' version of floats
9488 * MenuBackend.h (submenuname): returns the name of the submenu.
9489 (submenu): returns the submenu itself, provided it has been
9490 created by MenuBackend::expand
9492 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9494 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9495 insets which have noFontChange == true. (bug #172)
9497 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9499 * BufferView_pimpl.C: add connection objects and use them...
9502 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9504 * MenuBackend.C (expandLastfiles):
9507 (expandFloatListInsert):
9508 (expandFloatInsert):
9509 (expand): split expand in parts
9511 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9513 * lyx_gui.C: use lyx_gui::exit()
9515 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9517 * LyXAction.C: show the failing pseudo action
9519 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9521 * buffer.C (readFile): Run the lyxconvert script in order to read
9524 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9528 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9530 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9534 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9536 2002-07-22 Herbert Voss <voss@lyx.org>
9539 * lyxlength.[Ch]: add support for the vertical lengths
9541 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9543 * toc.[Ch]: std:: fixes
9545 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9547 * lyxrc.C: do not include lyx_main.h
9549 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9555 * BufferView2.C: include "lyxlex.h"
9558 * bufferparams.h: do not #include "lyxlex.h"
9560 * lyxtextclasslist.C (Add): remove method
9561 (classlist): renamed to classlist_
9563 * paragraph_pimpl.C:
9567 * bufferview_funcs.C:
9572 * toc.C (getTocList): use BufferParams::getLyXTextClass
9574 * toc.C (getTocList): use InsetFloat::addToToc
9576 * toc.[Ch]: new files, containing helper functions to handle table
9579 * lyxfunc.C (dispatch): no need to remove spaces around command
9581 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9582 first command of the sequence; it is not very clever, but I do not
9583 have a better idea, actually
9585 * LyXAction.C (LookupFunc): make sure to remove space at the
9586 beginning and end of the command
9588 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9590 * MenuBackend.C (getMenubar): new method: return the menubar of
9592 (read): treat differently reading of menu and menubar (in
9593 particular, the menubar has no name now)
9594 (Menu::menubar): remove
9596 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9599 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9601 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9602 a bibitem inset in a RTL paragraph.
9604 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9606 * paragraph_pimpl.C: constify
9608 * BufferView_pimpl.C:
9610 * lyxfunc.C: fix dispatch in a nicer way
9612 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9614 * lyxfunc.C (dispatch):
9615 * BufferView_pimpl.C:
9616 * BufferView_pimpl.h:
9618 * BufferView.h: rename Dispatch() to dispatch()
9620 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9622 * lyxlayout.C (Read): honor DependsOn tag
9624 * lyxlayout.[Ch] (depends_on): new method
9626 * version.C.in: update lyx_docversion
9628 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9630 * paragraph.C (validate): remove from here...
9631 * paragraph_pimpl.C (validate): ... and move here
9632 (isTextAt): make it const
9634 * buffer.C (getLists): ws cleanup
9636 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9638 * language.C (read): Use iso8859-1 encoding in latex_lang
9639 (this prevents LyX from crashing when using iso10646-1 encoding).
9641 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9643 * text2.C (toggleInset): if cursor is inside an inset, close the
9644 inset and leave cursor _after_ it
9646 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9648 * lyxfunc.C: move minibuffer completion handling out of here
9650 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9652 * BufferView_pimpl.C:
9653 * LaTeX.C: fix dispatch calls
9655 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9657 * text.C (drawChars): Fix Arabic text rendering.
9659 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9663 * lyxfunc.C: remove message-push/pop
9667 * lyxfunc.C: rationalise some code by removing verboseDispatch
9668 in favour of a bool argument to dispatch()
9670 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9672 * lyx_main.C (init): make sure to read symlinks as absolute paths
9674 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9677 * lyxfunc.C: no need for commandshortcut to be a member
9679 2002-07-15 André Pönitz <poenitz@gmx.net>
9681 * converter.C: add support for $$s (scripts from lib/scripts dir)
9682 * lyx_main.C: white space
9684 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9688 * lyxrc.C: remove second exit confirmation
9690 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9695 * BufferView_pimpl.h:
9696 * BufferView_pimpl.C:
9697 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9699 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9701 * MenuBackend.C (expand): add numeric shortcuts to document menu
9703 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9705 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9707 * lyxfont.C (setLyXFamily):
9714 * buffer.C (asciiParagraph): use ascii_lowercase
9716 2002-07-15 Mike Fabian <mfabian@suse.de>
9718 * lyxlex_pimpl.C (search_kw):
9719 * lyxlex.C (getLongString):
9720 * converter.h (operator<):
9721 * converter.C (operator<):
9722 * buffer.C (parseSingleLyXformat2Token):
9724 * ToolbarDefaults.C (read):
9725 * MenuBackend.C (checkShortcuts):
9727 * LColor.C (getFromGUIName):
9728 (getFromLyXName): use the compare_ascii_no_case instead of
9729 compare_no_case, because in turkish, 'i' is not the lowercase
9730 version of 'I', and thus turkish locale breaks parsing of tags.
9732 2002-07-16 Angus Leeming <leeming@lyx.org>
9734 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9735 now takes a Buffer const & argument.
9737 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9739 * BufferView.C (resize): check there's a buffer to resize
9741 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9743 * lyxfunc.C: remove dead code
9746 * lyxserver.C: use lyx_guii::set_read_callback
9748 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9750 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9751 an inset in a RTL paragraph.
9753 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9755 * lyxfunc.C: repaint after a font size update
9757 2002-07-15 André Pönitz <poenitz@gmx.net>
9759 * lyxlength.C: inBP should be able to return negative values
9761 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9763 * lyxfunc.C: use lyx_gui::update_fonts()
9765 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9767 * lyxfunc.C: use lyx_gui::update_color()
9769 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9775 * lyxrc.C: remove file->new asks for name option, and let
9776 buffer-new take an argument
9778 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9780 * BufferView_pimpl.C: remove unneeded extra repaint()
9782 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9784 * LyXAction.C: allow command-sequence with NoBuffer
9786 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9788 2002-07-10 Angus Leeming <leeming@lyx.org>
9790 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9792 2002-07-09 Angus Leeming <leeming@lyx.org>
9794 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9796 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9798 * lengthcommon.h: whitespace
9800 * lyxfunc.C: update scrollbar after goto paragraph
9802 * lyxtext.h: factor out page break drawing, and fix it so
9803 page break/added space paints as selected nicely
9805 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9807 * BufferView_pimpl.C: add FIXMEs, clean up a little
9809 2002-07-09 André Pönitz <poenitz@gmx.net>
9811 * lyxfont.[Ch]: support for wasy symbols
9813 2002-07-08 André Pönitz <poenitz@gmx.net>
9815 * BufferView_pimpl.C: apply John's patch for #93.
9817 2002-07-05 Angus Leeming <leeming@lyx.org>
9819 * BufferView_pimpl.C (buffer): generate previews if desired.
9821 * LColor.h: add "preview" to the color enum.
9823 * LColor.C (LColor): add a corresponding entry to the items array.
9825 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9828 2002-07-05 Angus Leeming <leeming@lyx.org>
9830 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9831 The body of the code is now in the method that is passed an ostream &
9832 rather than a file name.
9833 Pass an additional only_preamble parameter, useful for the forthcoming
9836 2002-07-03 André Pönitz <poenitz@gmx.net>
9838 * lyxfunc.C: simplify getStatus() a bit for math stuff
9840 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9842 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9844 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9846 * text.C (changeRegionCase): do not change case of all the
9847 document when region ends at paragraph end (bug #461)
9849 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9851 * paragraph.C (startTeXParParams):
9852 (endTeXParParams): add \protect when necessary
9854 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9856 * BufferView_pimpl.C (workAreaExpose): remove warning
9858 2002-06-27 Angus Leeming <leeming@lyx.org>
9860 * Makefile.am: add lyxlayout_ptr_fwd.h.
9862 2002-06-26 André Pönitz <poenitz@gmx.net>
9864 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9866 2002-06-25 Angus Leeming <leeming@lyx.org>
9868 * lyxfunc.C (dispatch): Comment out the call to
9869 grfx::GCache::changeDisplay. The method no longer exists now that the
9870 pixmap generation part of the graphics loader has been moved into
9873 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9875 * text2.C: layout as layout
9877 * text.C: layout as layout
9879 * tabular.C (OldFormatRead): layout as layout
9881 * paragraph_pimpl.C (TeXDeeper): layout as layout
9882 (realizeFont): layout as layout
9884 * paragraph.C (writeFile): layout as layout
9885 (validate): layout as layout
9886 (getFont): layout as layout
9887 (getLabelFont): layout as layout
9888 (getLayoutFont): layout as layout
9889 (breakParagraph): layout as layout
9890 (stripLeadingSpaces): layout as layout
9891 (getEndLabel): layout as layout
9892 (getMaxDepthAfter): layout as layout
9893 (applyLayout): layout as layout
9894 (TeXOnePar): layout as layout
9895 (simpleTeXOnePar): layout as layout
9896 (TeXEnvironment): layout as layout
9897 (layout): layout as layout
9898 (layout): layout as layout
9900 * lyxtextclass.C (compare_name): new functor to work with
9901 shared_ptr, layout as layout
9902 (Read): layout as layout
9903 (hasLayout): layout as layout
9904 (operator): layout as layout
9905 (delete_layout): layout as layout
9906 (defaultLayout): layout as layout
9908 * lyxlayout_ptr_fwd.h: new file
9910 * lyxlayout.C (Read): layout as layout
9912 * lyx_cb.C (MenuInsertLabel): layout as layout
9914 * bufferlist.C (newFile): layout as layout
9916 * buffer.C (readLyXformat2): layout as layout
9917 (parseSingleLyXformat2Token): layout as layout
9918 (insertStringAsLines): layout as layout
9919 (asciiParagraph): layout as layout
9920 (latexParagraphs): layout as layout
9921 (makeLinuxDocFile): layout as layout
9922 (simpleLinuxDocOnePar): layout as layout
9923 (makeDocBookFile): layout as layout
9924 (simpleDocBookOnePar): layout as layout
9925 (getLists): layout as layout
9927 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9929 * CutAndPaste.C (cutSelection): layout as layout
9930 (pasteSelection): layout as layout
9931 (SwitchLayoutsBetweenClasses): layout as layout
9933 * BufferView_pimpl.C (Dispatch): layout as layout
9934 (smartQuote): layout as layout
9936 * BufferView2.C (unlockInset): layout as layout
9938 2002-06-24 André Pönitz <poenitz@gmx.net>
9940 * lyxfunc.C: fix #487
9942 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9946 * lyxfunc.C: remove display_shortcuts, show_banner
9948 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9950 * Buffer_pimpl.C: oops, update on resize
9952 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9959 * BufferView.C: use repaint()
9961 * BufferView_pimpl.h:
9962 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9963 as it's a clearer description. Remove superfluous
9966 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9968 * text.C: fix bug 488. Not ideal, but getting
9969 getWord() to work properly for the insets that
9970 matter is more difficult ...
9972 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9974 * BufferView_pimpl.C:
9977 * lyxfunc.C: remove the six million index lyxfuncs to just
9978 one, and DTRT (bug 458)
9980 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9984 * BufferView_pimpl.h:
9985 * BufferView_pimpl.C: clean up resize() stuff,
9986 and unnecessary updateScreen()s
9988 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9992 * BufferView_pimpl.h:
9993 * BufferView_pimpl.C:
9996 * minibuffer.C: remove focus management of workarea,
9997 not needed. Use screen's greyOut()
9999 2002-06-17 Herbert Voss <voss@lyx.org>
10001 * converter.C: (convert) do not post a message, when converting
10002 fails, let the calling function decide what to do in this case
10004 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10006 * lyxfunc.C: tidy up a little
10008 2002-06-16 <alstrup@diku.dk>
10010 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10011 Got rid of FORMS_H_LOCATION include. Now we are
10014 2002-06-15 LyX Development team <lyx@rilke>
10016 * buffer.[Ch] (sgmlOpenTag):
10017 (sgmlCloseTag): Added support for avoiding pernicious mixed
10018 content. Return number of lines written.
10020 (makeLinuxDocFile):
10021 (makeDocBookFile): Fixed calls to sgml*Tag.
10022 Simple white space clean.
10024 (simpleDocBookOnePar): Simple white space clean.
10026 * tabular.[Ch] (docBook): Renamed to docbook and got another
10027 argument to related with the pernicious mixed content.
10029 (docbookRow): Fixed calls for docbook inset method.
10031 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10033 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10034 so it's X11 independent.
10038 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10040 2002-06-15 Lyx Development team <lyx@electronia>
10042 * intl.h: Renamed getTrans to getTransManager.
10044 2002-06-14 Angus Leeming <leeming@lyx.org>
10046 * Makefile.am: nuke forgotten stl_string_fwd.h.
10048 2002-06-12 Angus Leeming <leeming@lyx.org>
10050 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10052 2002-06-13 Angus Leeming <leeming@lyx.org>
10055 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10057 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10059 * kbmap.C (getiso): add support for cyrillic and greek
10061 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10065 * BufferView_pimpl.h:
10066 * BufferView_pimpl.C: move bogus scrolling logic
10069 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10072 * BufferView_pimpl.C: view->resize() change
10074 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10076 * BufferView_pimpl.C: topCursorVisible
10079 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10083 * lyx_gui.C: move to frontends/
10087 * lyx_main.C: changes from above
10089 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10096 * lyx_main.C: minor tidy
10098 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10100 * BufferView_pimpl.h:
10101 * BufferView_pimpl.C:
10103 * BufferView.C: make painter() const,
10106 * BufferView2.C: use screen() accessor
10109 * lyx_main.C: some minor cleanup
10111 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10113 * BufferView_pimpl.h:
10114 * BufferView_pimpl.C: remove enter/leaveView,
10117 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10122 * BufferView_pimpl.h:
10123 * BufferView_pimpl.C: only construct screen once,
10126 * lyxrc.C: remove pointless comment
10128 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10131 * BufferView.C: remove active() and belowMouse()
10133 * BufferView_pimpl.h:
10134 * BufferView_pimpl.C: use workarea() not workarea_,
10135 and make it use a scoped_ptr instead
10137 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10139 * lyx_gui.C: add debug message on BadWindow
10141 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10143 * sp_spell.C: fdopen is not part of the C++ standard.
10145 * paragraph.C (InsetIterator): use >= instead of ==
10147 2002-06-07 Angus Leeming <leeming@lyx.org>
10149 Fixes needed to compile with Compaq cxx 6.5.
10150 * BufferView_pimpl.C:
10157 * lyxtextclasslist.C:
10162 all c-library variables have been moved into namespace std. Wrap
10163 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10168 Add a using std::abs declaration.
10170 * kbmap.h (modifier_pair):
10171 * paragraph.h (InsetTable, InsetList):
10172 * lyxfont.h (FontBits):
10173 type definition made public.
10175 * bufferlist.C (emergencyWriteAll): the compiler complains that
10176 there is more than one possible lyx::class_fun template to choose from.
10177 I re-named the void specialisation as lyx::void_class_fun.
10179 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10181 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10182 the compiler is is unable to find tostr in write_attribute.
10184 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10186 * buffer.C (sgmlError): hide #warning
10188 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10190 * xtl/*: get rid of xtl, which is not in use anyway
10192 * LyXAction.C (init):
10193 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10194 were unimplemented xtl experimentation
10196 2002-06-04 André Pönitz <poenitz@gmx.net>
10198 * lyxfunc.C: disable array operation on simple formulae
10200 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10202 * converter.C: constify a bit
10204 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10206 * lyx_gui.C: check xforms version correctly
10208 2002-04-30 Herbert Voss <voss@lyx.org>
10210 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10213 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10215 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10216 attempt to register it with a VCS)
10218 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10220 * lyx_main.C (init): honor variables LYX_DIR_13x and
10223 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10227 * lyx_main.C: fix a crash on bad command line,
10228 and give a useful exit status on error
10230 * lyxfunc.C (doImport): allow -i lyx to work
10232 2002-03-30 André Pönitz <poenitz@gmx.net>
10234 * lyxfunc.C: mathed font changes
10236 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10251 * trans_mgr.h: srcdocs, and some minor cleanups
10253 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10255 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10256 call getFont all the time)
10258 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10260 * switch from SigC signals to boost::signals
10262 2002-05-29 André Pönitz <poenitz@gmx.net>
10264 * paragraph_pimpl.C (getChar): don't call size() too often...
10266 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10268 * paragraph_pimpl.C (insertChar): do not try to update tables when
10269 appending (pos == size())
10271 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10272 in order to reduce drastically the number of comparisons needed to
10273 parse a large document
10275 2002-05-29 André Pönitz <poenitz@gmx.net>
10281 * textclasslist.[Ch]:
10282 * sp_ispell.h: whitespace change
10284 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10286 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10287 lyxaction directly now.
10289 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10293 * lyxvc.C: remove unused headers
10295 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10302 * undo_funcs.C: some cleanups. Use shared_ptr
10303 and a template for the undo stacks.
10305 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10307 * BufferView_pimpl.h:
10308 * BufferView_pimpl.C:
10315 * text2.C: use key_state/mouse_state
10317 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10319 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10322 * chset.C: change include order
10323 (loadFile): use boost regex and get rid of LRegex and LSubstring
10325 * Makefile.am (BOOST_LIBS): new variable
10326 (lyx_LDADD): use it
10328 * LaTeX.C: change include order.
10329 (scanAuxFile): use boost regex and get rid of LRegex and
10333 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10338 * FontInfo.C: moved to frontends/xforms/
10341 * FontLoader.C: moved into frontends for GUIIzation
10346 * lyxfunc.C: changes from above
10348 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10350 * LColor.C: remove spurious X include
10352 * BufferView_pimpl.C:
10357 * text2.C: move font metrics to frontends/
10359 2002-05-24 Juergen Vigna <jug@sad.it>
10361 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10362 setting the undo_cursor.
10364 * ParagraphParameters.h: include local includes first.
10366 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10368 * BufferView_pimpl.C:
10369 * BufferView_pimpl.h:
10373 * screen.C: move WorkArea into frontends/
10379 * BufferView2.C: move LyXScreen into frontends/
10383 * lyx_gui.C: move lyxlookup into frontends/xforms/
10385 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10388 * BufferView_pimpl.C:
10398 * bufferview_funcs.C:
10411 * vc-backend.C: move LyX/XFormsView into frontends/
10413 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10425 * text2.C: move Painter to frontends/
10427 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10429 * buffer.C: comment out some some code that depend upon lyx_format
10432 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10433 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10435 * buffer.h (NO_COMPABILITY): turn off compability
10437 * ColorHandler.C: include scoped_array.hpp
10439 * font.C: Use more specific smart_ptr header.
10442 * ShareContainer.h: ditto
10443 * lyx_main.h: ditto
10445 * FontInfo.h: ditto
10446 * BufferView_pimpl.h: ditto
10447 * ColorHandler.h: ditto
10449 * kbmap.C (defkey): change call to shared_ptr::reset
10451 2002-05-21 Juergen Vigna <jug@sad.it>
10453 * buffer.C (insertErtContents): fix to insert ert asis if it is
10454 non empty. Skip it completely if it contains only whitespaces.
10456 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10458 * BufferView_pimpl.C:
10459 * BufferView2.C: clear selection on paste (bug 393)
10461 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10463 * DepTable.C: include ctime
10465 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10467 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10469 2002-05-14 Juergen Vigna <jug@sad.it>
10471 * text.C (breakParagraph): fixed function to honor the keepempty
10472 layout in the right maner and also to permit the right breaking
10473 algorithm on empty or non empyt keepempty paragraphs.
10475 * paragraph.C (breakParagraph): we have to check also if the par
10476 is really empty (!size()) for isempty otherwise we do the wrong
10479 2002-05-10 Juergen Vigna <jug@sad.it>
10481 * buffer.[Ch] : The following are only changes to the ert
10482 compatibility read reading old LaTeX layout and font stuff and
10483 convert it to ERTInsets.
10485 * buffer.h: added isErtInset().
10487 * buffer.C (struct ErtComp): add a fromlayout bool to check
10488 if we're inside a LaTeX layout.
10489 (isErtInset): new helper function.
10490 (insertErtContents): look for other ert insets before this one
10491 and insert the contents there, so that we don't have subsequent
10492 ERT insets with nothing between them. This way we create only one
10493 inset with multiple paragraphs. Also check if we don't insert only
10494 spaces ' ' as they are ignored anyway afterwards in the .tex file
10495 so if we have only spaces we will ignore this latex part in the
10497 (parseSingleLyXformat2Token \\layout): better compatibility when
10498 reading layout-latex stuff.
10499 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10501 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10502 stuff after reading the inset only get the information back from
10505 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10507 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10509 * LaTeXFeatures.C (getBabelOptions): New method.
10511 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10513 * BufferView_pimpl.C (Dispatch): work around missing argument for
10516 2002-05-08 Juergen Vigna <jug@sad.it>
10518 * text.C (leftMargin): handle paragraph leftindent.
10520 * paragraph.C (writeFile): write the new \\leftindent tag.
10521 (validate): handle leftindent code.
10522 (TeXEnvironment): handle paragraphleftindent code again.
10524 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10526 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10527 for paragrap_extra indent code and new token \\leftindent.
10528 (latexParagraphs): handle the leftindent as environment.
10530 * ParameterStruct.h: added leftindent support.
10532 * ParagraphParameters.C (leftIndent): added support functions for
10533 the paragraph left indent.
10535 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10538 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10540 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10543 * text.C (computeBidiTables): No bidi in insetERT.
10545 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10548 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10550 * version.C.in: pre 5
10552 2002-05-02 José Matos <jamatos@fep.up.pt>
10553 * buffer.C (makeDocBookFile): white space changes, add newline to
10555 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10557 * tabular.C (docBook): fix typo.
10559 2002-05-03 Juergen Vigna <jug@sad.it>
10561 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10562 change in LyXText as we can not be sure it was not freed.
10563 (drawOneRow): remove unused code.
10565 * text.C (drawInset): redo the calculation of the need_break_row as
10566 it could have a row which was already freed.
10567 (draw): look at the return value of drawInset and return false if
10568 it also returned false.
10569 (paintRowText): look at the return value of draw and return false if
10570 it also returned false.
10572 * lyxtext.h: added bool return type to drawInset() and draw() so that
10573 if we have a change in the row so that the rowbreak has to be redone
10574 we abort drawing as it will be called again.
10576 2002-05-02 Juergen Vigna <jug@sad.it>
10578 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10579 a change in the maintext also if we're inside an inset.
10580 (Dispatch): set the cursor again after a break line and after the
10581 screen has been updated as it could be we're in a different row.
10583 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10584 to set the cursor behind the pargraph with > size().
10585 (setCursor): check also for the same paragraph when checking where
10586 to put the cursor if we have a NFR inset.
10588 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10589 parts of layout read further up as it still was in the wrong
10592 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10594 * screen.C (drawFromTo): change sine fullRebreak always return
10597 * buffer.C (parseSingleLyXformat2Token): reindent some
10599 * BufferView_pimpl.C (update): change since fullRebreak always
10601 (Dispatch): git rid of the last hardcoded "Standard"s.
10603 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10605 * text2.[Ch] (fullRebreak): make it return void now that we always
10608 2002-04-30 Juergen Vigna <jug@sad.it>
10610 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10611 ert compatibility check for "latex" layout.
10613 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10615 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10616 minipages: use col% instead of p%, and also use the current font.
10617 (makeLaTeXFile): Fix use babel condition.
10618 (parseSingleLyXformat2Token): Correct font when reading old floats.
10620 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10622 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10623 inserting list of floats.
10625 2002-04-25 Herbert Voss <voss@lyx.org>
10627 * MenuBackend.C (expand): don't add the graphics extensions to the
10630 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10632 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10633 non-existing layout, do not complain if it was the default layout
10634 of the original class (bug #342)
10636 2002-04-24 Juergen Vigna <jug@sad.it>
10638 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10639 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10641 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10643 * buffer.C (getBibkeyList): If using \bibliography, return the
10644 option field with the reference itself. Enables us to provide natbib
10645 support when using \bibliography.
10647 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10649 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10651 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10652 natbib is provided by the LaTeX class.
10654 2002-04-23 Juergen Vigna <jug@sad.it>
10656 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10659 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10661 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10663 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10665 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10666 ensuremath around textordmasculine, textordfeminine and
10669 2002-04-19 Juergen Vigna <jug@sad.it>
10671 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10672 reinitializing the buffer otherwise row-dimensions may be wrong.
10673 (update): reset also the selection cursors if they do exits otherwise
10674 their x/y positions may be wrong.
10676 * text2.C (cursorDown): don't enter the inset if we came from a row
10677 above and are one row over the inset.
10679 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10680 really leaving an inset.
10682 2002-04-18 Juergen Vigna <jug@sad.it>
10684 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10685 of the selected paragraph does not have the selected layout also if
10688 * text2.C (setLayout): fixed bug which did not change last selected
10691 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10692 changed the read and substituted \\end_float with \\end_inset!
10694 * BufferView_pimpl.C (cursorPrevious):
10695 (cursorNext): fixed to make it work with rows heigher than the work
10696 area without moving the cursor only the draw of the row.
10697 (workAreaMotionNotify): fix jumping over high rows.
10699 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10701 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10704 2002-04-16 Juergen Vigna <jug@sad.it>
10706 * text2.C (setCursor): set also the irow().
10707 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10709 (cursorDown): support for locking an inset if the x_fix value goes
10710 inside it. That way I can transverse insets too with cursor up/down.
10712 * lyxrow.h: added irow helper function same as other (i) functions.
10714 * BufferView_pimpl.C (cursorPrevious):
10715 (cursorNext): fixed for insets!
10717 2002-04-15 Juergen Vigna <jug@sad.it>
10719 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10720 position otherwise it is wrong in some cases.
10722 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10723 inside the inset before the call.
10725 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10727 * buffer.[Ch] (getBibkeyList): make it const.
10729 2002-04-12 Juergen Vigna <jug@sad.it>
10731 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10733 * text2.C (getCursorX): new helper function
10734 (setCursor): compute also ix_
10735 (setCursorFromCoordinates): set also ix.
10737 * lyxcursor.h: added ix_ and helper functions.
10739 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10741 * buffer.C (insertStringAsLines): dont break paragraph if the this
10742 paragraph is inside an inset which does not permit it!
10744 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10745 also with no chars on this paragraph.
10746 (paintRowText): only paint stuff if it's inside the workarea!
10748 * paragraph.C (breakParagraph): honor keepempty flag and break the
10749 paragraph always below not above.
10751 * BufferView2.C (unlockInset): update the paragraph layout on inset
10752 unlock as we changed paragraph in such a case.
10754 * lyxfind.C (LyXFind): clear the former selection if not found!
10756 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10757 again called in insertChar().
10759 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10760 an inset which uses the whole row!
10761 (rightMargin): ditto.
10762 (insertChar): force a rebreak if we inserted an inset!
10764 2002-03-28 Herbert Voss <voss@lyx.org>
10766 * lyxlength.[Ch]: add inBP() to get the right PS-point
10767 units (BigPoint). With inPixels we have rounding errors
10769 2002-04-11 Juergen Vigna <jug@sad.it>
10771 * text2.C (setCursorFromCoordinates): set iy to the right value.
10772 (setCursor): add check if row->previous exists!
10774 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10775 an old float_type as this was the case in the old code!
10777 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10779 * BufferView2.C (showLockedInsetCursor): use iy
10780 (fitLockedInsetCursor): ditto
10782 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10783 locked insets as there we have the right value now.
10785 * lyxcursor.C: added iy_ variable and iy functions to set to the
10786 baseline of cursor-y of the locked inset.
10788 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10789 (setCursor): fixed for insets which need a full row.
10791 * text.C (rowLastPrintable): don't ignore the last space when before
10792 an inset which needs a full row.
10793 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10794 as last character of a row when before a inset which needs a full row.
10796 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10798 * version.C.in: update date
10800 * text2.C (fullRebreak): try to always return true and see what
10803 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10805 * MenuBackend.C (expand): use Floating::listName
10807 * FloatList.C (FloatList): add listName argument to the built-in
10810 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10811 text associated with the float.
10813 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10815 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10817 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10819 * ShareContainer.h: add a couple of missing typenames.
10821 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10823 * lyxrc.C (getDescription): use _() correctly rather than N_().
10825 2002-03-28 Herbert Voss <voss@lyx.org>
10827 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10828 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10830 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10832 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10833 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10835 2002-03-29 Juergen Vigna <jug@sad.it>
10837 * lyxfunc.C (dispatch): add a missing fitCursor call.
10839 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10840 it was scrolled by a cursor move, so return the bool status.
10842 * BufferView.C (fitCursor): return the bool flag also to the outside
10843 world as this is needed.
10845 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10847 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10848 call the edit() as it is not needed (and wrong) IMO.
10849 (workAreaButtonPress): set the screen_first variable before evt.
10850 unlock the inset as this may change screen_first and then we have
10851 a wrong y position for the click!
10853 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10855 * MenuBackend.C (expand): another translation that I missed
10857 2002-03-28 Juergen Vigna <jug@sad.it>
10859 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10861 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10863 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10865 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10867 * MenuBackend.C (expand): fix export/view/update when there is no
10870 2002-03-27 Herbert Voss <voss@lyx.org>
10872 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10875 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10877 * bufferview_funcs.C (currentState): only show paragraph number
10878 for is DEVEL_VERSION is set.
10880 * lyxfunc.C (dispatch): put warning in INFO channel
10882 * MenuBackend.C (expand): translate the name of floats
10884 * FloatList.C (FloatList): mark the float names for translation
10886 * converter.C (convert): use LibScriptSearch
10888 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10890 * MenuBackend.C (defaults): fix default menu (we might as well get
10893 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10895 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10898 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10900 * lyxvc.C: reorder includes.
10902 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10904 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10907 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10909 * CutAndPaste.C: change layouts earlier on paste
10910 to avoid crashing when calling getFont()
10912 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10914 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10917 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10919 * WorkArea.C: remove 'Pending' debug message.
10921 * most files: ws cleanup
10923 * buffer.[Ch]: ws changes
10925 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10927 2002-03-21 Juergen Vigna <jug@sad.it>
10929 * tabular.C (SetMultiColumn): collapse also the contents of the
10930 cells and set the last border right. Added a Buffer const * param.
10932 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10934 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10937 2002-03-19 Juergen Vigna <jug@sad.it>
10939 * text2.C (clearSelection): reset also xsel_cache.
10941 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10942 where it needs to be called (John tells us to do so too :)
10943 (selectionLost): reset sel_cache.
10945 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10947 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10949 * text2.C (setCursorIntern): put debuging code in INSETS channel
10951 2002-03-19 André Pönitz <poenitz@gmx.net>
10953 * lyxfunc.C: tiny whitespace change
10955 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10957 * ToolbarDefaults.C (init):
10958 * LyXAction.C (init):
10960 * BufferView_pimpl.C (Dispatch):
10961 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10963 2002-03-19 Allan Rae <rae@lyx.org>
10965 * exporter.C (Export): removeAutoInsets before doing anything else.
10966 While I've just introduced a dependency on BufferView this really is
10967 the best place to clean the buffer otherwise you need to cleanup in
10968 a dozen places before calling export or cleanup in a dozen functions
10971 * converter.C (runLaTeX):
10972 (scanLog): Better handling of removeAutoInsets and screen updates.
10974 * lyxfunc.C (dispatch): small whitespace changes
10976 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10978 * WorkArea.C (C_WorkAreaEvent): return a value.
10979 (event_cb): return 1 if we handled the event, 0 otherwise.
10981 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10983 2002-03-18 Juergen Vigna <jug@sad.it>
10985 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10986 (GetAdditionalWidth): ditto.
10987 (RightLine): ditto.
10990 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10991 inset if we're there actually (probably not used right now but this
10992 is the direction to go for unifying code).
10993 (paste): disable code to clear the selection.
10995 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10996 inside an InsetText and move the check further up as it is in the
10999 * text2.C (pasteSelection): set a selection over the pasted text.
11001 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11003 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11004 and libgraphics to build on Cygwin.
11006 2002-03-15 Juergen Vigna <jug@sad.it>
11008 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11009 inserting an Inset into the paragraph. I know this is not the best
11010 fix but we already use current_view in CutAndPaste so we will remove
11011 all of it's using at the same time.
11013 * buffer.C (sgmlError): deactivated function till it is rewritten in
11014 the right mode, now it can create problems.
11016 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11017 before accessing it.
11019 2002-03-14 Juergen Vigna <jug@sad.it>
11021 * undo_funcs.C (textHandleUndo): do the right thing when updating
11022 the inset after the undo/redo.
11024 * text2.C (setCursor): just some testcode for #44 not ready yet.
11026 * undo_funcs.C (textHandleUndo): set the next() and previous()
11027 pointers of the paragraph to 0 before deleting otherwise we have
11028 problems with the Paragraph::[destructor].
11030 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11031 on a paragraph insertion.
11033 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11035 * buffer.C (asciiParagraph): use += operator for char append to
11038 * paragraph.C (getFontSettings): compare >= not just >
11039 (highestFontInRange): ditto
11042 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11044 * paragraph.C: change several algorithm to be more appripriate for
11045 the problem domain. This is lookip in FontList and in the InsetList.
11047 2002-03-13 André Pönitz <poenitz@gmx.net>
11050 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11052 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11057 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11059 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11061 * Painter.C (display): anon helper function, adjust code for this
11063 (pixmap): remove function.
11065 * Painter.h: remove private display variable.
11067 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11069 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11071 * WorkArea.[Ch]: remove figinset_canvas cruft.
11073 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11075 * lyxtextclass.C (operator): add one item cache optimization.
11077 * bufferlist.h: doxy changes
11079 * bufferlist.C: ws changes
11081 * DepTable.[Ch] (ext_exist): place const in the right spot.
11083 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11085 (workAreaExpose): call resizeInsets when the with BufferView changes.
11086 (Dispatch): adjust for protectedBlank removal
11087 (specialChar): call updateInset if the insert went ok.
11089 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11090 specialChar instead.
11092 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11094 * BufferView.h: doxy change
11096 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11098 * lyxtextclass.C (operator[]): remove non-const version
11099 (defaultLayout): remove non-const version
11101 2002-03-12 Juergen Vigna <jug@sad.it>
11103 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11104 did resize the LyXText too.
11106 * buffer.C (readLyXformat2): set layout information on newly allocated
11109 * tabular.C (OldFormatRead): set layout information on the paragraph.
11111 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11113 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11115 2002-03-11 Juergen Vigna <jug@sad.it>
11117 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11119 (resizeCurrentBuffer): force also the insets to resize themselfes.
11120 (moveCursorUpdate): fixed up for InsetText.
11122 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11125 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11126 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11127 value of Dialogs::tooltipsEnabled().
11128 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11130 2002-03-08 Juergen Vigna <jug@sad.it>
11132 * BufferView_pimpl.C (updateInset): update inset inside inset also
11133 if it isn't inside theLockingInset().
11135 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11137 * buffer.C (asciiParagraph): redo some of the word and line length
11139 (getLists): look for Caption instead of caption.
11141 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11143 * buffer.C (Buffer): initialize niceFile to true
11145 (makeLinuxDocFile):
11146 (makeDocBookFile): make sure niceFile is true on exit
11148 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11150 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11152 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11154 * LyXSendto.C: remove.
11155 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11156 * lyx_gui.C: remove now-redundant comment.
11157 * ColorHandler.h: remove forward declaration of class WorkArea.
11158 * lyxfunc.C: remove #include "WorkArea.h".
11160 2002-03-07 Juergen Vigna <jug@sad.it>
11162 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11163 got moved away with the DEPM and also set the inset_owner always
11164 right which before could have been omitted.
11166 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11168 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11169 wanted layout is not found.
11171 2002-03-07 Juergen Vigna <jug@sad.it>
11173 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11175 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11177 * paragraph.C (breakParagraph): use default layout not layout of
11179 (Paragraph): clear ParagraphParameters.
11181 2002-03-06 Juergen Vigna <jug@sad.it>
11183 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11184 otherwise it would not be a valid lenght. Fixed a special case in
11185 the minipage compatibility read where we end the document with a
11188 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11189 was set as it could be 0 for InsetTexts first entry.
11191 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11193 * paragraph.C (writeFile): if layout is empty write out
11194 defaultLayoutName().
11196 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11197 file without named layout we set layout to defaultLayoutName().
11199 2002-03-06 Juergen Vigna <jug@sad.it>
11201 * CutAndPaste.C (copySelection): set layout for new paragraph.
11203 * text.C (prepareToPrint): leave ERT inset left aligned
11204 (leftMargin): don't indent paragraphs inside ERT insets
11206 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11208 * paragraph.C (breakParagraph): dont call clear do the work manually
11210 * paragraph.[Ch] (clear): remove function
11212 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11214 * paragraph.C (Paragraph): dont call clear, the work has already
11217 * lyxtextclass.C (operator): assert if n is empty
11219 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11220 work manually instead.
11222 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11224 * BufferView_pimpl.C: protect selectionLost against text == 0
11226 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11228 * text.C (breakParagraph): fix a setting layout to '0' problem.
11230 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11232 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11233 final location of file, for the included files, and graphics.
11235 2002-03-05 Juergen Vigna <jug@sad.it>
11237 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11239 2002-03-04 Juergen Vigna <jug@sad.it>
11241 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11243 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11244 last column of multicolumn cells.
11245 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11247 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11249 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11250 file if it doesn't go to a temporary file.
11252 * buffer.C (sgmlOpenTag):
11253 (sgmlCloseTag): remove extra newline insertion.
11255 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11257 * text.C (getRowNearY): comment out debug msg
11259 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11261 * text2.C: first -> first_y
11263 * text.C (getRowNearY): add some attemts at a possible
11264 optimization, not working.
11266 * tabular.[Ch]: add BufferParams to several function so that newly
11267 created paragraph can be initialized to he default layotu for the
11270 * tabular-old.C (ReadOld): add buf->params to call of Init
11272 * screen.C: rename text->first to text->first_y
11274 * paragraph.C (breakParagraph): always set layout in the broken
11277 * lyxtextclass.C (Read): remove lowercase
11280 (delete_layout): ditto
11282 * lyxtext.h: rename first -> first_y
11284 * lyxlayout.C (Read): remove lowercase
11287 (obsoleted_by): ditto
11289 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11291 * buffer.C (insertErtContents): add params are to InsetERT
11292 (parseSingleLyXformat2Token): add code to check if a paragraphs
11293 layout really exist.
11294 (parseSingleLyXformat2Token): add params to several inset
11296 (asciiParagraph): remove lowercase, do the layout comparisons with
11299 * BufferView_pimpl.C (cursorNext): first -> first_y
11300 (resizeCurrentBuffer): first -> first_y
11301 (updateScrollbar): first -> first_y
11302 (scrollCB): first -> first_y
11303 (workAreaMotionNotify): first -> first_y
11304 (workAreaButtonPress): first -> first_y
11305 (checkInsetHit): first -> first_y
11306 (cursorPrevious): first -> first_y
11307 (cursorNext): first -> first_y
11308 (Dispatch): add buffer_->params to severl inset contructors
11310 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11312 * lyxlayout.C (Read): remove some debug info that I forgot.
11314 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11315 clean up the code slightly.
11316 (makeLinuxDocFile): ditto
11317 (makeDocBookFile): ditto
11319 * text2.C: layout as string
11321 * text.C: layout as string
11323 * paragraph_pimpl.C: layout as string
11325 * paragraph.[Ch]: layout as string
11327 * lyxtextclasslist.[Ch]: layout as string
11329 * lyxtextclass.[Ch]: layout as string
11331 * lyxtext.h: layout as string
11333 * lyxlayout.[Ch]: layout as string
11335 * lyx_cb.C: layout as string
11337 * bufferview_funcs.C: layout as string
11339 * bufferparams.C: layout as string
11341 * buffer.C: layout as string
11343 * LyXView.[Ch]: layout as string
11345 * LaTeXFeatures.[Ch]: layout as string
11347 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11349 * BufferView_pimpl.C: change current_layout to string, remove
11354 (workAreaButtonRelease): layout as string
11356 * BufferView2.C (unlockInset): adjust
11358 * vspace.C (asLatexCommand): use an explict temp variable.
11360 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11362 * Makefile.am: use FRONTEND_*
11364 2002-03-01 Juergen Vigna <jug@sad.it>
11366 * tabular.C (SetWidthOfMulticolCell): changed to something better
11367 I hope but still work in progress.
11368 (recalculateMulticolumnsOfColumn): renamed function from
11369 recalculateMulticolCells as it is more appropriate now.
11370 (SetWidthOfCell): calculate multicols better.
11372 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11374 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11376 * lyxfunc.C (processKeySym): print sequence also if it is
11377 `deleted' (complete)
11379 * kbsequence.C (print): print sequence even if it is deleted
11380 (complete would be a better word, actually).
11382 * lyxfunc.C (dispatch): print complete options after a prefix key
11384 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11386 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11388 * text2.C (setCharFont): eliminate setCharFont code duplication.
11390 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11392 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11393 LFUN_TABULAR_FEATURE (bug #177)
11395 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11397 * Makefile.am: remove figure.h
11399 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11401 * Bufferview_pimpl.C:
11413 * text2.C: remove #include "lyx_gui_misc.h".
11415 * LaTeX.C: added #include <cstdio>
11417 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11419 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11420 that the paragraph following this one can have.
11422 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11424 * vspace.C (asLatexCommand): fix bogus gcc warning
11426 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11428 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11430 * text2.C (setLayout): get rid of redundant code
11432 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11434 * text2.C (incDepth): make sure depth cannot be increased beyond
11437 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11439 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11440 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11442 * PainterBase.h (image):
11443 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11444 a LyXImage const *.
11446 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11450 * BufferView_pimpl.C:
11451 * BufferView_pimpl.h:
11471 * sp_spell.C: remove fig inset, and the crap house of
11472 cards that follows it
11474 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11479 * os2_errortable.h:
11480 * nt_defines.h: move .h into support/
11482 * vms_defines.h: remove
11484 * WorkArea.C: add space in debug output
11488 * buffer.C: add WITH_WARNINGS
11492 * bufferlist.C: s/retrive/retrieve/, add docs
11501 * chset.C: add docs
11503 * lyxgui.C: add ID to X error handler
11505 * lyxtestclass.c: fix typo
11507 2002-02-26 Juergen Vigna <jug@sad.it>
11509 * tabular_funcs.C (write_attribute): changed so that some default
11510 attributes are not written at all.
11511 (getTokenValue): set default values before trying to read the
11512 value so we have the return value always set as default if we don't
11513 find the token we search for.
11515 * tabular.C (Write): write bools as bools not as strings!
11517 2002-02-22 Juergen Vigna <jug@sad.it>
11519 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11520 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11522 * text.C (leftMargin): don't add an indent for paragraphs inside
11523 tabular cells (fix #208).
11525 2002-02-21 José Matos <jamatos@fep.up.pt>
11527 * tabular.C (docBook): fixed support for long tables.
11529 2002-02-20 Juergen Vigna <jug@sad.it>
11531 * text2.C (getFont): get the drawing font of the Inset if this
11532 paragraph is inside an inset (only important for InsetERT for now).
11534 * buffer.C (insertErtContents): use new lanugage params in ERT
11537 * CutAndPaste.C: commenting out seemingly uneeded code.
11539 2002-02-19 Allan Rae <rae@lyx.org>
11541 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11542 Iterators might be simple to use but they also get invalidated.
11543 (removeAutoInsets): renamed saved cursor tracking variables and added
11544 some comments to clarify what everything does.
11546 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11553 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11554 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11557 * vc-backend.h: remove #include "support/syscall.h"
11561 * converter.C: rearrange #includes in Lars' approved fashion.
11563 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11564 forward declare class Timeout in the header file.
11566 * XFormsView.C: changes due to the above.
11568 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11569 similar to LyXView.
11571 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11572 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11574 2002-02-18 José Matos <jamatos@fep.up.pt>
11576 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11579 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11581 * a lot of small ws changes
11582 * add a lot of using std::XXX
11583 * use std construcs some places where approp.
11584 * use some exisint stuff from lyxfunctional where approp.
11585 * Make file changes to use partial linking (lets test this now...)
11587 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11591 remove #include "support/syscontr.h" as it's redundant. Always has been.
11599 change Systemcalls::System to Systemcalls::Wait and
11600 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11601 No change of functionality, just reflects the stripped down Systemcalls
11604 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11606 * debug.[Ch]: add a GRAPHICS type to the enum.
11608 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11610 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11612 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11615 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11617 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11618 match the changes below.
11620 * text2.C (toggleInset): if there is not editable inset at cursor
11621 position, try to see if cursor is _inside_ a collapsable inset
11624 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11626 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11627 document menu has a nice checkbox
11629 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11631 * lyxlength.C (asLatexString): change PW to output as percent of
11634 * lengthcommon.C: change '%' to 't%'
11636 * lyxfunc.C (dispatch): a few comments from Martin
11638 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11642 * BufferView_pimpl.h:
11643 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11646 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11648 * vspace.C (inPixels): fix compiler warning
11650 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11652 * lyxfunc.C (getStatus): fix status message for disabled commands.
11654 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11656 * BufferView_pimpl.C: fix crash on close buffer
11657 during selection (#227)
11659 2002-01-27 Herbert Voss <voss@lyx.org>
11661 * buffer.C: link old Figure to new graphic inset
11663 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11665 * FontLoader.C (getFontinfo): Change the latex font names in order
11666 to match the names of type1inst.
11668 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11670 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11672 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11673 (extchanged): ditto
11675 (remove_files_with_extension): ditto
11676 (remove_file): ditto
11679 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11680 document is smaller than the work area height. Do not initialize
11681 static variables to 0.
11683 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11685 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11687 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11688 LFUN_LAYOUT_PARAGRAPHS.
11690 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11691 tabular. It is possible to provide a possible cell, which will
11692 typically be the actcell from the corresponding insettabular
11694 * lyxfunc.C (getStatus): small cleanup; disable
11695 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11698 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11700 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11702 * paragraph.C (startTeXParParams):
11703 (endTeXParParams): new methods. The LaTeX code to
11704 start/end paragraph formatting
11705 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11706 empty (fixes bug #200)
11708 * vspace.C (inPixels): adapt to the change below
11709 (inPixels): [later] more cleanups (remove unused variables)
11711 * lyxlength.C (inPixels): change to use a width and a height as
11714 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11716 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11717 Replaced with \paperwidth
11719 * DepTable.C (insert): add std:: qualifier
11721 2002-01-18 Allan Rae <rae@lyx.org>
11723 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11726 * text.C (drawInset): Turned out I didn't know enough about how
11727 rebreaking worked. This fixes most of the redraw problems. I see
11728 an occasional cursor trail when a line is broken now and the cursor
11729 placement can seem out by a few pixels also after a rebreak.
11731 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11733 * buffer.C (parseSingleLyXformat2Token): update because minipage
11734 width is now a LyXLength
11736 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11738 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11741 2002-01-17 Juergen Vigna <jug@sad.it>
11743 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11745 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11746 is set correctly and the inset is updated correctly.
11748 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11750 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11751 the beginning of the loop.
11753 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11755 * lyxrc.C: improve help for use_scalable_fonts
11757 2002-01-17 Allan Rae <rae@lyx.org>
11759 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11761 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11763 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11764 make sure to set their inset_owner to the right value (bug #171)
11766 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11769 * DepTable.C: Implement mtime checking to reduce time spent doing
11772 2002-01-16 Juergen Vigna <jug@sad.it>
11774 * tabular.C (GetAdditionalHeight): one of error fixed.
11776 * lyxrc.C (output): small fix in writing use_pspell.
11778 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11780 * sp_base.h: #include LString.h
11782 2002-01-16 Allan Rae <rae@lyx.org>
11784 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11785 Can someone check this please?
11787 * text.C (drawInset): It was possible that p.row would be removed by
11788 breakAgainOneRow upsetting a few other settings. There may be another
11789 small tweak possible by setting need_break_row = 0 when p.row has been
11790 removed but I don't know enough about the logic here.
11792 2002-01-15 Allan Rae <rae@lyx.org>
11794 * text.C (insertChar): removed conditional truism.
11796 * BufferView2.C (removeAutoInsets): More tweaks.
11797 cur_par_prev could be a stray pointer. Check for trailing empty line
11798 in case last line was cur_par and only had an error inset on it.
11800 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11802 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11805 * vc-backend.C (most methods):
11806 * exporter.C (Export):
11807 * converter.C (convert):
11809 * LyXSendto.C (SendtoApplyCB):
11810 * lyxfunc.C (dispatch):
11814 * lyx_cb.C (AutoSave):
11816 * BufferView_pimpl.C (MenuInsertLyXFile):
11817 * buffer.C (runChktex): use Buffer::filePath().
11819 * buffer.h: rename filename to filename_; rename filepath to
11820 filepath_ and make it private
11821 (filePath): new method
11823 * buffer.C (writeFile): use fileName()
11826 * lyx_main.C (init): fix starting of LyX when the binary is a
11827 link from so,ewhere else.
11829 * minibuffer.C: include <cctype> for isprint
11831 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11833 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11834 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11835 name clash with InsetCollapsable's width function.
11837 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11839 * lastfiles.C: include <iterator>
11841 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11843 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11846 * buffer.C (makeLaTeXFile): ditto.
11847 Also make loop operation more transparent.
11849 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11851 * ToolbarDefaults.C: remove trailing comma closing namespace.
11853 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11855 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11858 * trans.C (Load): comment out unused variable, allowed.
11860 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11862 * minibuffer.[Ch] (append_char): new method to recieve input from the
11863 drop-down completion browser. If a key was pressed, then recieve this
11864 char and append it to the existing string.
11865 (peek_event): modify the positioning data passed to the completion
11866 browser so that it can be placed above the minibuffer rather than below.
11867 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11869 * LyXAction.C (init): alloe error-next for readonly documents.
11871 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11874 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11876 * bufferlist.C (readFile): create the buffer _after_ checking that
11879 * lyxfunc.C (verboseDispatch): fix handling of arguments
11881 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11883 * lyxrc.C: use string::erase() instead of initializing to "".
11886 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11888 * BufferView_pimpl.h:
11889 * BufferView_pimpl.C:
11892 * text2.C: tell X when we have made a selection for copying
11894 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11896 * BufferView_pimpl.C (MenuInsertLyXFile):
11897 * lyxfunc.C (menuNew):
11899 (doImport): add shortcuts to directory buttons
11901 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11904 * lyxfunc.C (setStatusMessage):
11905 (getStatusMessage): new methods
11906 (getStatus):use setStatusMessage instead of setErrorMessage
11907 (dispatch): when function is disabled, set error message here
11908 [instead of in getStatus previously]
11910 * BufferView_pimpl.C (workAreaButtonRelease): update
11911 toolbar/menubar here too.
11913 2002-01-13 Allan Rae <rae@lyx.org>
11915 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11916 Now seems indestructible. Remaining task is to audit all other
11917 code affected by deleteEmptyParagraphMechanism. One small quirk
11918 left is that an empty document with an error in the preamble can
11919 be made to report an error but no error box appears. I don't know
11921 (removeAutoInsets): Improved comments.
11923 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11926 * Thesaurus.C: update for Aiksaurus 0.14
11928 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11930 * text2.C (firstParagraph): removed member function, all uses
11931 replaces with ownerParagraph
11932 (redoParagraphs): here
11933 (updateInset): here
11934 (toggleAppendix): here
11935 * BufferView2.C (insertErrors): here
11936 (setCursorFromRow): here
11938 2002-01-13 Allan Rae <rae@lyx.org>
11940 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11941 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11942 There is still a way to segfault this although you may have to do this
11943 multiple times: Have an InsetERT with an unknown command in it.
11944 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11945 <down-arrow>, <Enter> again, View->DVI, BANG!
11947 * text2.C (setCursor):
11948 (deleteEmptyParagraphMechanism):
11949 * lyxtext.h (setCursor):
11950 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11951 Making use of the return value may help fix other bugs.
11953 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11955 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11957 * LyXView.C (updateMenubar): call MenuBar::update here
11958 (updateToolbar): but not here
11959 (showState): do not update toolbar/menubar
11961 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11962 should need to care about that.
11964 * lyxfunc.C (verboseDispatch): simplify a bit
11965 (getStatus): have a version which takes a pseudoaction, and
11966 another which requires a (kb_action,string).
11968 * LyXAction.C (retrieveActionArg): make it work also when action
11969 is not a pseudo-action.
11970 (getActionName): simplify a bit
11973 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11975 * lyxfunc.C (verboseDispatch): new families of methods with
11976 several ways to specify a command and a bool to indicate whether
11977 the command name and shortcut should be displayed in minibuffer
11978 (eventually, we could extend that to a finer bitmask like
11979 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11980 (dispatch): the pristine dispatch command which just, well,
11981 dispatchs! Note it still sets its result to minibuffer; I'm not
11984 * lyxfunc.h: remove setHintMessage
11986 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11988 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11990 * BufferView_pimpl.C (specialChar): delete new inset if we have
11991 not been able to insert it.
11993 * kbmap.C: revert to using int instead of kb_action, since all we
11994 are dealing with is pseudo-actions.
11996 * LyXAction.C (searchActionArg): change to return int instead of
11997 kb_action, since the result is a pseudoaction.
11999 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12001 * buffer.C (insertErtContents): Fix (partially) the font bug.
12003 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12005 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12006 as the other one is broken on my machine!
12008 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12011 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12013 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12015 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12016 reflect their actual use. Provide compatibility code for older lyxrc
12019 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12021 change names of popup font variables in line with the changes to lyxrc.C
12023 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12025 * buffer.C (asciiParagraph): avoid outputing a word twice after
12028 * lyxrc.C (getDescription): document that document_path and
12029 template_path can be empty.
12031 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12033 * LaTeXFeatures.C (getMacros):
12034 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12036 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12038 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12040 (getPackages): rename feature "floats" to "float". Use an array to
12041 iterate over 'simple' features (i.e. just a \usepackage). Add
12042 handling of "amsmath" (renamed from "amsstyle").
12044 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12046 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12049 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12051 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12052 FuncStaus::FuncStatus & FuncStaus::some_method().
12054 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12056 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12057 of the func_satus stuff. Edited and massaged in various ways by
12060 * lyxfunc.C (getStatus): use FuncStatus
12062 2002-01-08 Juergen Vigna <jug@sad.it>
12064 * text.C (nextBreakPoint): use function Inset::isChar().
12066 * paragraph.C (TeXOnePar): use function
12067 Inset::forceDefaultParagraphs.
12069 * buffer.C (latexParagraphs): use function
12070 Inset::forceDefaultParagraphs.
12072 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12074 * lyx_gui.C (init): set the style of the menu popups to
12075 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12077 2002-01-07 Juergen Vigna <jug@sad.it>
12079 * text.C (setHeightOfRow): small fix
12080 (prepareToPrint): don't look at alignment if we don't have the place
12083 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12085 * box.C: New file. Move the Box methods and functions out of box.h,
12086 following Lars' suggestion.
12088 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12090 * box.h: #include "support/LOstream.h", needed for inlined function.
12093 * lyxtextclasslist.C: added some using std declarations.
12095 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12097 * box.h: make signed dimensions to allow insets wider than
12098 the screen (bug #162)
12100 * BufferView_pimpl.C: add some insetHit debug
12102 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12104 * vc-backend.C: add FIXME
12106 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12108 * lyxfunc.C (getStatus): enable code for showing math font status
12111 2002-01-07 Juergen Vigna <jug@sad.it>
12113 * text.C (nextBreakPoint): removed debug output not needed anymore.
12115 2002-01-06 Juergen Vigna <jug@sad.it>
12117 * text.C (nextBreakPoint): fixed up this function we had this bug
12118 since ever but now hopefully we break row better.
12119 (insertChar): we have to check if an inset is the next char as it
12120 could now happen that a large inset is causing a break.
12122 2002-01-05 Juergen Vigna <jug@sad.it>
12124 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12125 if it doesn't like to be drawed.
12127 2002-01-04 Juergen Vigna <jug@sad.it>
12129 * BufferView2.C (lockInset): forgot to set a cursor.
12131 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12133 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12135 * FormMathsPanel.C:
12138 * form_maths_panel.C:
12139 * form_maths_panel.h:
12140 * form_maths_panel.fd: implemented sub- and super- buttons in math
12143 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12144 (or ^ space) to be used as in TeX (req'd by André).
12146 * lyxfunc.C: Allow ^ and _ again to be used both as
12147 super/subscript (mathed) and as themselves (in text).
12149 2002-01-03 Allan Rae <rae@lyx.org>
12151 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12152 "LyX" or the filename of the current buffer if it has one. This is a
12153 modified form of John Levon's patch.
12155 * XFormsView.C (setWindowTitle): also set icon title.
12157 * LyXView.h (setWindowTitle): signature changed.
12158 * XFormsView.h (setWindowTitle): ditto.
12160 2002-01-02 Juergen Vigna <jug@sad.it>
12162 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12164 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12166 * screen.C (topCursorVisible): introduce a temp var for
12167 text->cursor.row(), handle the case where this row is null. (kindo
12170 * text2.C (setCursor): add a couple of asserts.
12172 * paragraph.h (inset_iterator): add -> operator
12174 * paragraph.[Ch] (autoDeleteInsets): remove member function
12176 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12177 cursor pos correctly and handle inset deletion by itself.
12178 (insertErrors): move iterator declaration out of for expression
12180 * lyxtextclass.C: add <algorithm>
12182 * Makefile.am: added the new files to sources, removed layout.C
12184 * layout.C: removed file
12186 * layout.h: remove LYX_DUMMY_LAYOUT
12188 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12192 * lyxtextclass.[Ch]:
12193 * lyxtextclasslist.[Ch]: new files
12195 * include order changes to a lot of files, also changes because of
12198 2001-12-27 Juergen Vigna <jug@sad.it>
12200 * buffer.C (asciiParagraph): more fixes.
12202 * tabular.C (ascii): make ascii export support export of only the
12203 data separated by a column-delimiter.
12204 (ascii): better support for ascii export.
12206 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12208 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12210 * tabular_funcs.C: use a "using std::getline" instead of the
12211 previous fix from Angus (necessary for cxx + lyxstring)
12213 2001-12-24 Juergen Vigna <jug@sad.it>
12215 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12217 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12218 problems. First check a minipage also if we have some ert-contents
12219 (not only on par->size(), second set the right depth of the paragraph
12220 on the relink to the root-paragraph-list!
12222 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12223 which then did not anymore update the main paragraphs on undo/redo!
12225 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12227 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12228 code. Support all font-changing funcs (even those which are not in
12229 menu currently). Support for reporting font settings in
12230 mathed (disabled until Andre provides a function on mathed's side).
12232 * func_status.h (toggle): small helper function to set toggle
12235 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12237 * tabular_funcs.C: getline -> std::getline
12239 2001-12-21 Juergen Vigna <jug@sad.it>
12241 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12242 accessed and could be 0 (I couldn't generate this but it seems
12245 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12247 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12248 * tabular_funcs.h: here and include iosfwd
12250 2001-12-20 Juergen Vigna <jug@sad.it>
12252 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12253 inside inset but undo_par was.
12255 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12257 * Thesaurus.C: always include <config.h> in sources.
12261 * box.h: do not include <config.h> in header files
12263 * text.C (paintLastRow): remove unused variable
12265 * text.C (transformChar):
12267 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12269 * Painter.C (text):
12270 * font.C (width): rewrite to use uppercase() instead of
12273 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12275 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12277 * lyxfind.C: clean up of find failure position change
12279 2001-12-20 Juergen Vigna <jug@sad.it>
12281 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12283 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12284 (TeXRow): added to LaTeX a single tabular row.
12285 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12286 (Latex): simplified and finally good LT-h/f support.
12287 (various_functions): just small adaptions for LT-h/f support.
12289 * tabular_funcs.[hC]: added and moved here all not classfunctions
12292 2001-12-19 Juergen Vigna <jug@sad.it>
12294 * tabular.[Ch]: better support for longtabular options (not finished
12297 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12299 * text.C (paintLastRow): use the label font instead of the font of
12300 the last character to compute the size of *_BOX. This makes more
12301 sense and avoids a crash with empty paragraphs.
12302 Use Painter::rectangle to draw EMPTY_BOX.
12304 2001-12-19 Juergen Vigna <jug@sad.it>
12306 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12307 the paragraphs if the replaced paragraph is not the first one!
12308 Tried to delete not used paragraphs but does not work yet so for
12309 now it's inside #ifdef's and by default off!
12311 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12313 * MenuBackend.C: include "lyx_main.h" instead of declaring
12314 lastfiles (actually was declared as LastFiles* instead of a
12317 2001-12-17 Juergen Vigna <jug@sad.it>
12319 * tabular.C (AppendColumn): applied John's fix
12321 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12325 * BufferView_pimpl.h:
12326 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12329 * box.h: new start of class for above
12331 * lyxfunc.C: ignore space-only minibuffer dispatches.
12332 Show the command name when it doesn't exist
12334 * minibuffer.C: don't add empty lines to the history
12336 * minibuffer.C: add a space on dropdown completion
12338 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12340 * text.C: fix line above/below drawing in insets
12342 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12344 * lyxlength.C (LyXLength): Initialize private variables.
12346 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12348 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12349 when inserting error insets.
12351 2001-12-13 Juergen Vigna <jug@sad.it>
12353 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12354 actually sometimes the before-paragraph.
12355 (setUndo): don't clear the redostack if we're not actually undoing!
12357 2001-12-06 Juergen Vigna <jug@sad.it>
12359 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12360 and fixed redoing of main paragraph, so we can use it now ;)
12362 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12364 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12366 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12369 2001-12-13 André Pönitz <poenitz@gmx.net>
12372 * undo_func.C: minor cleanup
12374 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12376 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12377 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12378 font in urw-fonts package which is marked as -urw-fontspecific and
12379 does not work (incidentally, changing the encoding in the
12380 fonts.dir of this package to -adobe-fontspecific fixes the
12383 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12384 is a crash when undoing first paragraph (Juergen, please take a
12385 look). THis does not mean the undo fix is wrong, just that it
12388 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12389 the (Paragraph*) version when needed instead of duplicating the
12392 * text.C (workWidth): use Inset::parOwner to find out where the
12393 inset has been inserted. This is a huge performance gain for large
12394 documents with lots of insets. If Inset::parOwner is not set, fall
12395 back on the brute force method
12397 * paragraph_pimpl.C (insertInset):
12398 * paragraph.C (Paragraph):
12399 (cutIntoMinibuffer): set parOwner of insets when
12400 inserting/removing them
12402 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12404 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12410 * mathed/formulabase.C:
12411 * mathed/math_cursor.[Ch]:
12412 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12415 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12417 * lyxlength.[Ch] (operator!=): new function
12419 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12421 * text.C (workWidth): use Inset::parOwner to find out where the
12422 inset has been inserted. This is a huge performance gain for large
12423 documents with lots of insets. If Inset::parOwner is not set, fall
12424 back on the brute force method
12426 * paragraph_pimpl.C (insertInset):
12427 * paragraph.C (Paragraph):
12428 (cutIntoMinibuffer): set parOwner of insets when
12429 inserting/removing them
12431 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12433 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12435 * tabular-old.C (getTokenValue):
12436 * tabular.C (getTokenValue):
12437 (write_attribute): new versions for LyXLength
12438 (everywhere): adjust the use of widths
12440 * tabular.h: change the type of widths from string to LyXLength
12442 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12444 * paragraph.C: fixed missing line number count when exporting
12445 Environments to LaTeX file
12447 * buffer.C: added informational message for checking line numbers.
12449 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12451 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12452 paragraph, do the 'double space' part, but not the 'empty
12455 * text.C (workWidth): small optimization
12456 (getLengthMarkerHeight): use minimal size for negative lengths.
12458 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12460 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12462 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12464 2001-12-11 André Pönitz <poenitz@gmx.net>
12467 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12469 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12471 * text2.C: keep selection on a setFont()
12473 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12475 * lyx_cb.C: another bv->text misuse, from insert label
12477 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12480 * kbsequence.C: re-instate nmodifier mask
12482 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12484 * lyx_main.h: make lyxGUI private.
12486 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12488 * lyxfind.C: place the cursor correctly on failed search
12490 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12492 * text.C (getLengthMarkerHeight): for small heights, the arrows
12493 are not always on top/bottom of the text
12494 (drawLengthMarker): smaller arrows; take the left margin in
12495 account; draw also vfills.
12497 (paintLastRow): remove special code for vfill and standard spaces,
12498 since everything is handled in drawLengthMarker now.
12500 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12502 * buffer.C (insertErtContents): try to handle font and language
12503 interaction a bit better.g
12505 * ColorHandler.C (updateColor): change the hash to cover the whole
12506 LColor enum, ws cleanup
12507 (getGCLinepars): ditto
12508 (getGCLinepars): only lookup in the linecache once.
12510 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12512 * iterators.C (operator++): Make the iterator more robust
12514 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12516 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12518 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12521 * text.C: better added space drawing
12523 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12526 * BufferView2.C: fix layout combo update on inset unlock
12528 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12530 * Makefile.am: don't compile unused files
12532 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12536 * LyXAction.C: remove old LFUN_LAYOUTNO
12538 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12540 * paragraph_pimpl.h:
12541 * paragraph_pimpl.C: isTextAt() doesn't need font param
12543 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12546 * lyxlex.C: little cleanup
12548 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12550 * BufferView_pimpl.C: fix insertAscii for insets
12552 2001-12-05 Juergen Vigna <jug@sad.it>
12554 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12555 set the right font on the "multi" paragraph paste!
12557 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * lyxlength.C: remove out-commented code.
12565 * BufferView_pimpl:
12579 * vc-backend.C: change "while(" to "while ("
12581 * lyxlength.[Ch]: add zero function to check if length is zero or
12583 * lyxgluelength.C: use it
12585 2001-12-05 Allan Rae <rae@lyx.org>
12587 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12588 Works for 2.95.3, from what I understand of Garst's reports this should
12589 work for other g++ versions. We're screwed if the abs(int) definition
12590 changed between bugfix releases of gcc.
12592 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12594 * text.C: fix chapter label offset !
12596 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12599 * text.C: fix hfill at end of line, clean up
12601 2001-12-04 Juergen Vigna <jug@sad.it>
12603 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12604 that we force an update of the inset and it's owners if neccessary.
12606 2001-12-03 Juergen Vigna <jug@sad.it>
12608 * text.C (rowLast): simplified code
12610 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12612 * lyxfunc.C: fix show options on timeout
12614 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12616 * screen.C (topCursorVisible): scroll half a page when the cursor
12617 reached top of bottom of screen
12619 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12621 * minibuffer.C: deactivate on loss of focus
12623 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12625 * vspace.[Ch] (operator!=): add operator.
12627 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12629 * BufferView_pimpl.C: refuse to open an inset when
12630 there's a selection.
12632 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12634 * BufferView_pimpl.C: allow to click on RHS of full row insets
12636 2001-11-30 Juergen Vigna <jug@sad.it>
12638 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12639 insets for undo reasons.
12641 2001-11-28 André Pönitz <poenitz@gmx.net>
12643 * vspace.[Ch]: cosmetical changes
12645 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12655 * kbsequence.C: part re-write of old kb code
12658 * WorkArea.C: remove Lgb_bug_find_hack
12660 2001-11-30 José Matos <jamatos@fep.up.pt>
12662 * buffer.C (makeDocBookFile): add a comment to point a hack.
12663 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12664 Fixed a double write of labels.
12666 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12669 * LaTeX.h Fixed bug in LaTeX class where it would not
12670 re-run latex if no depfiles were changed, but the .dvi was removed.
12672 2001-11-28 André Pönitz <poenitz@gmx.net>
12674 * all the files from the change on 2001/11/26:
12675 use lyx::layout_type instead of LyXTextClass::size_type
12676 use lyx::textclass_type instead of LyXTextClassList::size_type
12678 2001-11-29 Juergen Vigna <jug@sad.it>
12680 * text.C: added support for paragraph::isFreeSpacing()
12682 * buffer.C: same as above
12684 * paragraph.h: inserted isFreeSpacing() function to enable
12685 FreeSpacing inside InsetERT.
12687 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12688 of the paragraph's in the cut/copy buffer to 0!
12690 * text2.C (removeRow): remove the assert as it can!
12692 * lyxtext.h: added helper function firstRow returning firstrow and
12693 made firstrow private again.
12695 * BufferView2.C (lockInset): don't relock if we're already locked!
12697 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12698 the only paragraph.
12699 (removeRow): added Assert::(firstrow)
12701 * debug.C: forgot to add INSETTEXT here.
12703 2001-11-28 Juergen Vigna <jug@sad.it>
12705 * sp_spell.C (initialize): changed error text to more general
12706 spellchecker command use (not only ispell!)
12708 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12710 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12712 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12714 * vspace.C: initialise lyxgluelength on failure
12716 2001-11-28 Allan Rae <rae@lyx.org>
12718 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12719 declaration & definition that looks like a function declaration.
12721 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12723 * BufferView2.C (copy):
12724 (copyEnvironment): do not clear the selection when doing a copy.
12726 * text.C (paintFirstRow): compilation fix
12728 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12730 * tabular.C (Latex): correct line count when writing latex.
12732 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12734 * paragraph_pimpl.h:
12735 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12738 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12742 * LColor.C: change vfillline->added_space
12744 * text.C: add markers and text for added space
12746 * vspace.C: fix comment
12748 2001-11-28 André Pönitz <poenitz@gmx.net>
12750 * paragraph.C: whitespace changes
12751 * all the other files from the change on 2001/11/26:
12752 change *::pos_type into lyx::pos_type
12754 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12756 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12757 language of the document when inserting error insets.
12759 2001-11-26 André Pönitz <poenitz@gmx.net>
12761 * BufferView_pimpl.[Ch]:
12769 * paragraph_pimpl.[Ch]:
12772 * text2.C: reduce header dependencies, introduce type for positions
12774 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12776 * <various>: change to use Alert.h
12778 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12780 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12781 when encountering an unknown token.
12782 (readLyXformat2): Show an error message if there were unknown tokens.
12784 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12787 * BufferView_pimpl.C:
12791 * text2.C: use par->isInset()
12793 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12795 * paragraph_pimpl.h:
12796 * paragraph_pimpl.C: cleanup
12798 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12800 * text2.C (removeRow):
12801 * text.C (setHeightOfRow): remove useless (and costly) call to
12804 2001-11-20 Allan Rae <rae@lyx.org>
12806 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12807 Now need Inset*::checkInsertChar() to return true for appropriate
12808 cases so that the characters in the minibuffer will actually be
12811 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12813 * text.C: change the order of the includes.
12814 (workWidth): initialize it at once.
12815 (workWidth): make maxw unsigned
12816 (setHeightOfRow): remove unused variable (inset)
12817 (selectSelectedWord): remove unused variable (inset)
12818 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12820 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12822 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12823 server is not running.
12825 (closeConnection): add debug info when server is disabled.
12827 * ColorHandler.C (getGCForeground): send debug message to GUI
12830 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12832 * kbmap.C (bind): modify because return conventions of
12833 kb_sequence::parse have changed.
12835 * kbsequence.C (parse): only ignore spaces and not any stupid
12836 control character. This avoids tests like s[i] <= ' ', which are
12837 guaranteed to fail with 8bit characters and signed chars.
12838 Change return code to string::npos when there have been no error
12839 (0 was a bad idea when error is at first character)
12841 2001-11-14 José Matos <jamatos@fep.up.pt>
12844 * buffer.C (simpleDocBookOnePar): removed unused argument.
12846 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12848 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12849 insets which are part of a word. Paragraph::isLetter takes care of
12850 that now. Use Paragraph::isInset to identify insets.
12851 (selectSelectedWord): do not test for hyphenation break.
12853 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12854 that protected spaces are considered as spaces.
12856 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12859 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12862 * lyxserver.C: fix it. and small cleanup.
12864 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12866 * BufferView_pimpl.C: use inline helpers
12869 * LaTeXFeatures.C: fix typos
12872 * Spacing.C: move spacing_string into class
12874 * ToolbarDefaults.C: move stuff into namespace anon
12876 * layout.h: update enum
12878 * lyxfunc.C: use better debug
12880 * minibuffer.h: fix typo
12884 * WorkArea.C: add and use Debug::WORKAREA
12888 * text2.C: code re-organisation, inline helpers
12890 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12892 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12893 std::vector.empty().
12895 2001-11-09 Allan Rae <rae@lyx.org>
12897 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12898 '\n's after tables. Tabular and ERT inset work now makes this no
12901 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12904 * minibuffer.C: fix crash, improve drop-down completion
12906 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12909 * lyxserver.C: invalidate fd's when doing endPipe()
12911 2001-11-08 José Matos <jamatos@fep.up.pt>
12913 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12914 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12917 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12919 2001-11-07 José Matos <jamatos@fep.up.pt>
12922 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12925 * buffer.C (sgmlOpenTag):
12926 * buffer.C (sgmlCloseTag): removed debug info.
12928 * buffer.h (sgmlOpenTag):
12929 * buffer.h (sgmlCloseTag): made public.
12931 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12933 * buffer.C (saveParamsAsDefaults):
12934 * lyx_cb.C (MenuLayoutSave): remove
12936 * LyXAction.C (init):
12938 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12940 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12942 * buffer.C (setPaperStuff): removed from here...
12944 * bufferparams.C (setPaperStuff): ... and moved there.
12946 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12950 * XFormsView.C: add support for drop-down completion
12952 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12954 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12957 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12959 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12962 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12964 * lyx_main.C: change ref to known bugs
12966 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12968 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12969 to work around older babel problems.
12971 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12973 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12975 2001-10-24 Juergen Vigna <jug@sad.it>
12977 * tabular-old.C (ReadOld): below variable changes reflected.
12979 * tabular.[Ch]: added ltType struct for longtable header/footer
12980 defines and changed all instances where they are used. Added
12981 future support for double top/bottom rows.
12983 2001-10-24 José Matos <jamatos@fep.up.pt>
12985 * buffer.h (docbookHandleCaption):
12986 * buffer.C (docbookHandleCaption): removed unused function.
12987 (makeDocBookFile): moved docbook supported version to v4.1.
12989 2001-10-24 José Matos <jamatos@fep.up.pt>
12992 * tabular.C (docbookRow): new function to export docbook code of a row.
12993 (DocBook): now honors the longtable flags.
12995 2001-10-23 José Matos <jamatos@fep.up.pt>
12998 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12999 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13001 * buffer.C (makeLinuxDocFile):
13002 (makeDocBookFile): reworked the preamble, more clean, and with
13003 support for lyx defined entities. Changed the document declaration
13004 to be more XML friendly.
13006 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13007 if we need to output XML that should be done with a filter.
13009 2001-10-22 Juergen Vigna <jug@sad.it>
13011 * sp_pspell.h (class PSpell): add alive function needed in the
13012 controller to see if the spellchecker could be started.
13014 2001-10-22 Juergen Vigna <jug@sad.it>
13016 * buffer.C (insertStringAsLines): modify the font for inserting
13017 chars in certain conditions by calling checkInsertChar(font).
13019 2001-10-19 Juergen Vigna <jug@sad.it>
13021 * text.C (workWidth): use getRow instead of wrong algorithm.
13022 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13024 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13029 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13031 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13033 * text.C (workWidth): do not search for the exact row when
13034 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13035 optimization for big documents.
13037 2001-10-18 Juergen Vigna <jug@sad.it>
13039 * text.C (workWidth): new function with added Inset * parameter.
13041 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13043 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13045 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13046 change return type of getColumnNearX.
13049 * text.C (changeRegionCase): use uppercase/lowercase instead of
13052 (rightMargin): simplify code by factoring out the uses of
13057 (appendParagraph): use Paragraph::size_type
13059 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13061 * vspace.C (asLatexString): add a missing break
13063 2001-10-15 Herbert Voss <voss@perce.de>
13065 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13067 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13069 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13072 2001-10-10 André Pönitz <poenitz@gmx.net>
13074 * lyxfunc.C: removed greek_kb_flag.
13076 2001-10-10 Herbert Voss <voss@perce.de>
13078 * lyx_main.C: delete global string help_lyxdir.
13080 2001-10-09 Herbert Voss <voss@perce.de>
13082 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13084 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13086 * lyx_main.C: added global string help_lyxdir.
13088 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13090 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13092 * lyxrc.C (set_font_norm_type): support iso8859-4
13094 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13096 * LaTeX.C (deplog): add another regex for MikTeX
13098 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13100 * lyxrc.C (set_font_norm_type): support iso8859-3
13102 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13104 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13106 * LaTeXFeatures.C: remove special case of french and index
13108 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13109 before \begin{document}). This solves several incompatibilities.
13111 2001-10-03 Garst Reese <reese@isn.net>
13113 * lyx_cb.C: change CheckTex error msg.
13115 2001-10-03 José Matos <jamatos@fep.up.pt>
13117 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13119 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13121 * .cvsignore: update
13123 * lyx_main.C (commandLineVersionInfo): use new style version info.
13125 * buffer.C (writeFile):
13127 (makeLinuxDocFile):
13128 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13130 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13132 * version.h: update to use stuff in version.C
13134 * version.C.in: new file. Contains version information determined
13135 at compile time. This is a merging of version.h and
13138 2001-10-03 Juergen Vigna <jug@sad.it>
13140 * BufferView_pimpl.C (update): don't change "dirty" status in
13143 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13145 * WorkArea.C (c-tor): re-position version string slightly.
13147 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13149 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13150 revert to previous code.
13152 WorkArea.[Ch]: (show, destroySplash): methods removed.
13154 WorkArea.C: rework code so that it's an amalgam of the codes before and
13155 after the splash screen was moved to WorkArea.
13157 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13160 * vspace.C (inPixels):
13163 * buffer.C (insertStringAsLines):
13164 (asciiParagraph): fix types to be large enough
13166 * lyxlex_pimpl.h: change member status from short to int
13168 * layout.h: fix type of endlabeltype
13171 * kbsequence.C (parse): change return type to string::size_type
13173 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13176 * Bullet.C (bulletSize):
13177 (bulletEntry): do not use short ints as parameters
13179 * BufferView2.C (insertLyXFile): change a char to an int.
13181 * WorkArea.C (WorkArea): remove unneeded floats in computation
13183 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13185 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13187 * paragraph.C (asString): Do not ignore newline/hfill chars when
13188 copying to the clipboard.
13190 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13192 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13193 after a multi-line inset.
13195 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13197 * paragraph.C (validate): Set NeedLyXFootnoteCode
13199 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13201 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13202 and decrease-error to decrease.
13204 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13206 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13207 it more readable (should be equivalent)
13209 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13211 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13213 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13215 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13216 of a cursor (row, etc.) after a character has been deleted
13217 (deleteEmptyParagraphMechanism): call the method above on _all_
13218 cursors held by the LyXText when a double space has been
13221 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13223 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13225 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13227 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13228 background. Use greyOut() and the new show() methods to toggle between
13229 the foreground and background. Add code to remove the splash after
13230 its initial showing.
13232 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13233 (create_forms): no longer call Dialogs::showSplash.
13235 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13237 * .cvsignore: add version_info.h
13239 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13241 * version_info.h.in: new file
13243 * Makefile.am: add version_info.h.in
13245 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13246 version_info.h instead of VERSION_INFO
13248 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13250 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13251 The ERT inset now returns string().
13253 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13255 * lyxtext.h, text.C (selectNextWord): renamed as
13256 selectNextWordToSpellcheck.
13258 * text.C (selectNextWordToSpellcheck): Modified to not select
13259 words inside an ERT inset.
13261 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13263 * lyx_cb.C (MenuLayoutSave): change a bit the question
13265 * sp_base.h: include <sys/types.h>
13267 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13269 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13271 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13273 * several files: fix typos in user-visible strings
13275 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13277 * text2.C (pasteSelection): do not set the selection, since it
13278 will be cleared later. Actually, the intent was to fix the way the
13279 selection was set, but I figured rmoving the code was just as good.
13281 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13283 * FontLoader.C (available): Check if font is available without
13286 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13288 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13290 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13292 * lyxrc.[Ch]: added display_graphics variable and associated code.
13294 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13296 * bufferparams.C (hasClassDefaults): new method. Returns true if
13297 the buffer parameters correspond to known class defaults
13299 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13301 * XFormsView.C (show): set minimum size to the main window.
13303 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13305 * text2.C (copySelection):
13307 * lyxfind.C (LyXReplace):
13308 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13309 LyXText::selectionAsString.
13311 * paragraph.C (asString): add "label" argument to the second form
13313 * text2.C (selectionAsString): add "label" argument and pass it to
13314 Paragraph::asString.
13316 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13318 * lyx_main.C (commandLineHelp): remove version information
13320 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13322 * lyx_main.C: add -version commandline option
13324 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13326 * paragraph.h: make the optional constructor arg required instead.
13327 some modifications to other files because of this.
13329 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13331 * lyxserver.C (C_LyXComm_callback): make it static
13333 * lyx_main.C (error_handler): make it static
13335 * lyx_gui.C (LyX_XErrHandler): make it static
13337 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13339 * WorkArea.C: make the extern "C" methods static.
13341 * Makefile.am (lyx_LDADD): simplify
13343 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13345 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13346 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13348 * LyXAction.C (init):
13349 * lyxfunc.C (dispatch): associated code removal.
13351 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13353 * lyxfont.h (isSymbolFont): shut off warning
13355 * text.C (setHeightOfRow):
13356 (getVisibleRow): fix crash with empty paragraphs which have a
13359 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13361 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13364 2001-09-04 José Matos <jamatos@fep.up.pt>
13367 * tabular.C (docbook): rename docBook method to docbook.
13369 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13371 * Makefile.am: add dependencies to main.o.
13373 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13375 * FontLoader.C (available): Return false if !lyxrc.use_gui
13377 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13379 * FontInfo.C (query):
13380 * converter.C (view):
13381 * importer.C (Import):
13382 * exporter.C (Export): Can not -> cannot.
13384 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13386 * BufferView_pimpl.C: allow to create index inset even if
13389 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13391 * buffer.C (getLists): replace boost::tie code with an explicit pair
13392 as boost::tie can break some compilers.
13394 * iterators.h: Added a std:: declaration to the return type of
13397 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13399 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13402 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13404 * iterators.[Ch]: New files. Provide paragraph iterators.
13406 * buffer.C (changeLanguage): Use paragraph iterators.
13407 (isMultiLingual): ditto
13409 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13411 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13413 * FontLoader.C: Support for cmr font.
13415 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13417 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13418 (available): New method.
13420 * FontInfo.C (getFontname): Use scalable fonts even when
13421 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13424 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13426 * converter.C (Formats::view): reverted! Incorrect fix.
13428 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13430 * converter.C (Formats::view): only output the -paper option
13431 if the dvi viewer is xdvi, thereby fixing bug #233429.
13433 2001-08-23 Herbert Voss <voss@perce>
13435 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13437 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13439 * Spacing.h (Spacing): Set space to Default on in the default
13442 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13444 * vc-backend.h (RCS::versionString): add RCS to version
13445 (CVS::versionString): add CVS to version
13447 * vc-backend.C (scanMaster): do not add CVS to version.
13448 (scanMaster): do not add RCS to version
13450 * lyxvc.C (versionString): new method
13452 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13454 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13456 * Spacing.C (set): initialize fval
13458 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13460 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13463 2001-08-16 Juergen Vigna <jug@sad.it>
13465 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13467 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13469 * BufferView_pimpl.C:
13472 * text2.C: setParagraph takes linespacing now
13474 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13476 * LyxAction.C: add internal LFUN_CITATION_INSERT
13478 * LyXView.C: actually apply fix
13480 * bufferlist.C: fix open non-existent file
13482 * lyxfind.C: fix indentation
13484 * lyxfunc.C: remove unneeded assert, fix typo
13486 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13488 * MenuBackend.C: use "Floatname List"
13490 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13492 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13493 when converting LaTeX layout to insetERT.
13494 Generate a non-collapsed float when reading old float
13496 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13498 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13501 2001-08-13 Juergen Vigna <jug@sad.it>
13503 * text.C (fill): return 0 instead of 20 as this seems to be the more
13506 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13508 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13511 2001-08-13 Juergen Vigna <jug@sad.it>
13513 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13515 (SearchBackward): comment out the unlocking of the inset_owner this
13516 should not be needed!
13518 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13520 * Many files: Remove inherit_language, and add latex_language
13522 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13523 collapsible insets.
13525 2001-08-10 Juergen Vigna <jug@sad.it>
13527 * text.C (prepareToPrint): fixed hfill-width in draw!
13529 * BufferView2.C (selectLastWord): save the selection cursor as this
13530 now is cleared in the function LyXText::clearSelection!
13532 2001-08-08 Juergen Vigna <jug@sad.it>
13534 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13535 BACKSPACE type functions.
13537 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13538 is only cutted from the document but not put in the cut-buffer, where
13539 still the old stuff should be.
13541 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13543 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13545 * tabular.C (SetWidthOfCell): fixed special case where the width
13547 (LeftLine): handle '|' in align_special.
13549 (LeftAlreadyDrawed): ditto
13550 (SetWidthOfCell): ditto
13552 2001-08-07 Juergen Vigna <jug@sad.it>
13554 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13556 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13558 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13559 * lyxlex.[hC]: ditto
13561 2001-08-06 Juergen Vigna <jug@sad.it>
13563 * text.C (getVisibleRow): fix up row clearing a bit.
13565 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13567 * minibuffer.C: make sure the X server sees the changes in the input.
13569 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13571 * paragraph.C (getFont): split into...
13572 (getLabelFont): this
13573 (getLayoutFont): and this
13574 * paragraph_pimpl.C (realizeFont): calling this
13576 * text2.C (getFont): split into...
13577 (getLayoutFont): this
13578 (getLabelFont): and this
13579 (realizeFont): all three calling this
13581 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13584 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13586 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13588 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13590 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13591 layouts from the Quote inset insertion.
13593 2001-08-03 Juergen Vigna <jug@sad.it>
13595 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13597 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13598 only if status not is already CHANGED_IN_DRAW (second level).
13600 * text.C (draw): don't set the need_break_row when inside an
13603 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13605 * buffer.C (parseSingleLyXformat2Token): handle more latex
13608 * bufferview_funcs.[hC]: change function names to
13609 begin with small char, adjust other files.
13611 2001-08-02 André Pönitz <poenitz@gmx.net>
13614 BufferView_pimpl.C: remove broken special code for math-greek
13616 2001-08-02 Juergen Vigna <jug@sad.it>
13618 * BufferView_pimpl.C (update): redone this function so that we
13619 update the text again if there was a CHANGE_IN_DRAW.
13621 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13622 (drawFromTo): added a new internal bool which is used by draw() and
13624 (general): some cursor drawing problems fixed.
13626 2001-08-01 Juergen Vigna <jug@sad.it>
13628 * lyxfind.C (LyXFind): fixed
13629 (SearchForward): ditto
13630 (SearchBackward): ditto
13632 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13633 spurius drawing of the cursor in the main area.
13635 * text2.C (status): small fix which could lead to a segfault!
13636 (clearSelection): remove unneeded BufferView param.
13638 2001-08-01 André Pönitz <poenitz@gmx.net>
13640 * lyxfunc.C: small change due to changed mathed interface
13642 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13644 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13646 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13648 * lyxfunc.c: fail gracefully if file doesn't exist
13653 * BufferView_pimpl.C: IsDirWriteable() proto changed
13655 * LyXView.C: fix updateWindowTitle() to store the last title
13657 2001-07-31 Juergen Vigna <jug@sad.it>
13659 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13660 the font (wrong since using of Paragraph::highestFontInRange).
13662 * paragraph.C (highestFontInRange): added a default_size parameter.
13664 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13665 (setHeightOfRow): reformat
13667 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13669 * converter.[hC] + affected files: move to (inital-char)lowercase
13672 * ParagraphParameters.C (ParagraphParameters): remove commented code
13674 * PainterBase.[Ch]: remove commented code
13676 * LaTeXFeatures.h: add "bool floats" for float.sty
13678 * LaTeXFeatures.C (LaTeXFeatures): init floats
13679 (require): handle float
13680 (getPackages): do it with floats
13682 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13684 * BufferView_pimpl.C (Dispatch): improve handling of
13685 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13687 * commandtags.h: #include lyxfont.h here temporarily to avoid
13690 * bufferlist.h: include LString.h here.
13692 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13694 * text2.C (getStringToIndex): new method.
13696 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13698 * *: Reduced header file dependencies all over.
13700 2001-07-30 Baruch Even <baruch@lyx.org>
13702 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13704 2001-07-29 Baruch Even <baruch@lyx.org>
13706 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13708 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13710 * ParameterStruct.h (endif): add a default constructor to make
13711 sure that all variables is initialized.
13713 * ParagraphParameters.C (ParagraphParameters): adjust
13715 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13717 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13718 index; also, check that there is something to index, and that it
13719 does not span over several paragraphs.
13720 (doubleClick): use WHOLE_WORD_STRICT for double click.
13722 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13724 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13727 2001-07-26 Baruch Even <baruch@lyx.org>
13729 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13730 an InsetFig figure, backwards compatible reading of old figure code.
13732 2001-07-27 Juergen Vigna <jug@sad.it>
13734 * text2.C: font.realize function adaption.
13736 * text.C (draw): add a warnings lyxerr text if needed.
13738 * layout.C: font.realize function adaption.
13740 * language.C: add inherit_language and implement it's handlings
13742 * bufferview_funcs.C (StyleReset): remove language parameter from
13743 font creation (should be language_inherit now).
13745 * bufferparams.C (writeFile): handle ignore_language.
13747 * paragraph.C (getFontSettings): the language has to be resolved
13748 otherwise we have problems in LyXFont!
13750 * lyxfont.C (lyxWriteChanges): added document_language parameter
13751 (update): removed unneeded language parameter
13753 * paragraph.C (validate): fixed wrong output of color-package when
13754 using interface colors for certain fonts in certain environments,
13755 which should not seen as that on the final output.
13757 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13759 * BufferView_pimpl.C:
13764 * LyXAction.C: add thesaurus support
13767 * lyxfind.C: add "once" parameter, for thesaurus, to not
13768 move to the next match
13770 2001-07-26 Juergen Vigna <jug@sad.it>
13772 * lyxfont.C (realize): honor ignore_language too!
13775 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13777 * text.C (draw): one place more for ignore_language to not draw
13780 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13782 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13784 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13786 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13787 the minipage conversion problem.
13789 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13791 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13794 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13796 * BufferView.h: don't forward declare WorkArea
13798 * BufferView.C: don't include WorkArea.h
13800 2001-07-25 André Pönitz <poenitz@gmx.net>
13804 * lyxfunc.C: new LFUN 'math-space'
13806 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13808 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13810 * text2.C (toggleInset): call open/close
13812 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13814 * lyxfunc.C (dispatch): add debug for the disabled case
13816 * font.C (buttonText): make similar to rectText
13818 * buffer.C (readInset): comment out parsing of insetlist and
13821 * PainterBase.C (rectText): small correction
13823 * BufferView_pimpl.C: comment out insettheorem and insetlist
13824 * LyXAction.C: ditto
13825 * commandtags.h: ditto
13827 2001-07-24 Juergen Vigna <jug@sad.it>
13829 * text.C (draw): honor the ignore_language.
13831 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13833 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13835 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13838 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13840 * lyxtext.h: remove unused (and unimplemented) methods
13842 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13844 * text.C (getVisibleRow): honor background color
13847 * Painter.h: remove default color argument for fillRectangle
13849 * text.C (backgroundColor): new method
13851 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13853 * text.C (getVisibleRow): adjust
13855 * font.[Ch] (rectText): new method, metrics
13856 (buttonText): new method, metrics
13858 * PainterBase.[hC]: make rectText and buttonText always draw and take
13861 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13863 * ToolbarDefaults.C (read):
13864 * MenuBackend.C (read): allow escaping in all strings
13866 * BufferView_pimpl.C (insertAndEditInset): new method.
13867 (Dispatch): use insertAndEditInset whenever appropriate.
13869 * BufferView_pimpl.C (insertNote): removed
13871 * BufferView_pimpl.C (smartQuote): new method, moved from
13872 BufferView; if an insetquote cannot be inserted, insert a '"'
13875 * BufferView2.C: remove insertCorrectQuote();
13877 * lyxfunc.C (getStatus): Add support for all remaingin
13878 inset-insert lfuns.
13880 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13882 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13883 command (necessary to pass " as parameter of self-insert.
13885 * text.C (selectWordWhenUnderCursor):
13886 (selectWord): add word_location parameter
13887 (selectWordWhenUnderCursor): same + remove special code for word
13889 (selectNextWord): use kind() to guess type of insetspecialchar,
13892 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13893 (insertErtContents): create ert insets as collapsed.
13894 (readInset): better compatibility code for Info inset.
13896 2001-07-20 Juergen Vigna <jug@sad.it>
13898 * lyxfunc.C (dispatch): use always LyXFind now!
13900 * text2.C (init): add a reinit flag so that the LyXText can be
13901 reinited instead of deleted and reallocated (used in InsetText).
13903 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13909 2001-07-18 Juergen Vigna <jug@sad.it>
13911 * text.C (selectNextWord): handle insets inside inset by calling
13912 always the bv->text functions so that we can go up the_locking_inset!
13914 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13915 in strange locations when inside an inset!
13917 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13918 handling to include insets.
13920 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13922 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13924 * LyXAction.C (init):
13926 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13927 LIGATURE_BREAK, since the name is so stupid.
13929 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13931 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13934 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13936 * sp_form.[Ch]: remove.
13938 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13940 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13943 * src/buffer.C (readInset): ditto.
13945 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13947 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13948 menuSeparator(), endOfSentenceDot(), ldots() and
13949 hyphenationPoint(), which are therefore removed.
13950 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13952 * LyXAction.C (init):
13953 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13955 * paragraph.C (getWord): removed.
13957 * BufferView_pimpl.C (Dispatch): use last word or selection for
13958 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13960 * lyx_main.C (queryUserLyXDir): do not ask before creating
13961 user_dir, except if it has been named explicitely.
13963 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13965 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13966 a document of zero size.
13968 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13970 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13971 approriately in the c-tor and in require().
13972 (getPackages): output the appropriate LaTeX for natbib support.
13974 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13975 variables "use_natbib" and "use_numerical_citations" when reading the
13977 (readInset): read the various natbib cite commands.
13978 (validate): white-space change.
13980 * bufferparams.[Ch]: new variables "bool use_natbib" and
13981 "bool use_numerical_citations".
13982 (writeFile): output them in the LyX file.
13984 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13986 * lyxfunc.C (getStatus): add support for all the inset insertion
13989 * text2.C (insertInset):
13990 * paragraph.C (insetAllowed):
13991 * BufferView_pimpl.C (insertInset): update to take in account the
13992 renaming of insertInsetAllowed
13994 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13996 * text2.C (getInset): new method. returns inset at cursor position.
13998 * BufferView_pimpl.C (Dispatch): changes because of this.
14000 * LyXAction.C (init): rename open-stuff to inset-toggle.
14002 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14004 * text2.C (toggleInset): renamed from openStuff; use
14007 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14009 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14011 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14013 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14015 * buffer.C (readLyXformat2): Add filename to the error dialog
14017 2001-07-18 Juergen Vigna <jug@sad.it>
14019 * tabular.C (GetCellNumber): put an assert here instead of the check!
14021 2001-07-17 Juergen Vigna <jug@sad.it>
14023 * BufferView_pimpl.C (toggleSelection): adapted too.
14025 * text.C (selectNextWord): adapted for use with insets.
14026 (selectSelectedWord): ditto
14028 2001-07-17 Juergen Vigna <jug@sad.it>
14030 * sp_spell.C (PSpell): fix initialitation order.
14032 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14034 * paragraph.C: spacing
14036 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14038 * sp_spell.C: repair language selection for pspell
14040 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14042 * lyxfunc.h: change more methods to begin with lower char.
14044 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14046 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14047 for unknown layouts.
14049 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14051 * buffer.C (readLyXformat2): Generate an error dialog if there are
14054 2001-07-16 Juergen Vigna <jug@sad.it>
14056 * sp_spell.C: always compile ISpell part.
14058 * lyxrc.C: added use_pspell entry and it's handling.
14060 2001-07-13 Juergen Vigna <jug@sad.it>
14062 * sp_spell.C: removed double includes.
14064 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14066 Consistent use of Lsstream.h:
14067 * Lsstream.h: added using std::stringstream for consistencies sake.
14069 * buffer.C: removed using std::stringstream
14071 * lyxfont.C (stateText):
14072 * paragraph.C (asString):
14073 * text.C (selectNextWord, selectSelectedWord):
14074 * text2.C (setCounter):
14075 * vspace.C (asString, asLatexString):
14076 std::ostringstream -> ostringstream.
14078 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14080 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14081 * commandtags.h: add LFUN_HELP_ABOUTLYX
14082 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14084 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14086 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14088 * lyx_gui_misc.C: remove spellchecker
14089 * lyxfunc.C: showSpellchecker
14091 * sp_ispell.h: added
14092 * sp_pspell.h: added
14093 * sp_spell.C: added
14094 * sp_form.[Ch]: removed
14095 * spellchecker.[Ch]: removed
14097 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14099 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14101 (simpleTeXSpecialChars): Simply print the input character without
14102 any special translation if pass_thru is set.
14104 * layout.h: Added bool pass_thru to layout class for being able to
14105 implement pass through of a paragraph for Literate Programming.
14107 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14108 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14109 * layout.C (Read): add "passthru" to list of layout tags and add
14110 code to set the pass_thru boolean when it is read.
14112 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14114 * trans_decl.h: remove allowed from KmodInfo
14116 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14117 remove allowed code
14120 * paragraph_pimpl.C (erase): use boost::prior
14122 * Painter.C (text): use data() instead of c_str() when length is
14124 * WorkArea.C (putClipboard): ditto
14125 * font.h (width): ditto
14127 * BufferView2.C: use it-> instead of (*it). for iterators
14129 * paragraph_pimpl.C: ditto
14130 * paragraph.C: ditto
14131 * minibuffer.C: ditto
14132 * language.C: ditto
14134 * encoding.C: ditto
14135 * counters.C: ditto
14136 * converter.C: ditto
14138 * Variables.C: ditto
14139 * TextCache.C: ditto
14140 * MenuBackend.C: ditto
14141 * LyXAction.C: ditto
14143 * FloatList.C: ditto
14144 * DepTable.C: ditto
14145 * ColorHandler.C (LyXColorHandler): ditto
14147 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14149 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14151 * text2.C (openStuff): reintroduce this method (which had been
14152 nuked in NEW_INSETS frenzy).
14154 * lyxfunc.C (Dispatch): when an action has not been handled, use
14155 its name in the error message, not its number.
14157 * paragraph.C (inInset): change method name to begin with lowercase.
14160 * text2.C: updates because of this.
14162 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14164 * ToolbarDefaults.C (add): add spaces in error message
14166 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14168 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14169 (readLyXformat2): rename return_par to first_par, use lyxlex's
14170 pushToken and remove the manual push handling.
14171 (parseSingleLyXformat2Token): add another ert comp. variable:
14172 in_tabular, rename return_par to first_par. handle newlines better
14174 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14176 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14178 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14180 * text2.C (getParFromID): removed
14182 * buffer.C (getParFromID): new method moved form lyxtext.
14183 * BufferView2.C (insertErrors): adjust
14184 (setCursorFromRow): adjust
14185 * BufferView_pimpl.C (restorePosition): adjust
14186 * lyxfunc.C (Dispatch): adjust
14187 * undo_funcs.C (textUndo): adjust
14189 (textHandleUndo): adjust
14190 (textHandleUndo): adjust
14192 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14194 * buffer.C: up' the LYX_FORMAT
14196 * lyxfont.h: turn NO_LATEX on as default
14198 * buffer.C (insertErtContents): new methods of tex style compability.
14199 (parseSingleLyXformat2Token): use it several places.
14200 * tabular.C (OldFormatRead): and here
14202 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14204 * text2.C: remove some commented code.
14207 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14208 * trans.C: changes because of the above.
14210 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14212 * text2.C (setCounter): Fix counters bug with bibliography layout.
14214 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14216 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14217 own member functions
14218 (simpleTeXSpecialChars): ditto
14220 2001-07-06 Juergen Vigna <jug@sad.it>
14222 * a lot of files: changed the access to LyXText::status and the
14223 call of undo-functions.
14225 * undo.[Ch]: added a inset_id to the undo informations.
14227 * undo_funcs.[Ch]: added and moved here all undo functions.
14229 * lyxtext.h: give the status enum a weight, made status_ a private
14230 variable and made accessor functions for it, removed the whole bunch
14231 of undo-functions as they are now in their own file, make some
14232 functions publically available. Added function ownerParagraph with
14235 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14236 made InInset() a const function, added getParFromID() function.
14238 * buffer.[Ch]: added const version for inset_iterator functions,
14239 added getInsetFromID() function.
14241 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14242 changed undo functions for new version.
14244 2001-07-05 Juergen Vigna <jug@sad.it>
14246 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14247 unknow mechanism does not call the proper constructor but only this
14248 one also if I request the other!?
14250 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14252 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14254 * text2.C (LyXText): use initialization lists.
14256 * lyxtext.h (Selection): initialize set_ and mark_
14257 (init): remove method
14259 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14261 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14263 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14265 * screen.[Ch]: change method names to begin with lowercase
14267 * BufferView_pimpl.C (updateScrollbar): simplify further and
14268 hopefully make it a bit faster.
14270 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14272 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14273 calling directly xforms functions.
14275 * Painter.C (Painter):
14276 * lyx_cb.C (MenuWrite):
14277 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14280 * lyx_gui.C: remove bogus guiruntime extern declaration.
14282 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14284 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14286 (redoDrawingOfParagraph): ditto
14287 (redoParagraphs): ditto
14288 (cutSelection): don't create a object for CutAndPaste use the
14289 static method directly
14290 (pasteSelection): ditto
14292 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14295 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14297 * modifications to some other files because of this.
14299 * Makefile.am (lyx_SOURCES): add XFormsView
14301 * XFormsView.[Ch]: new files
14303 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14304 the main window. Move the gui dependent stuff to XFormsView
14306 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14308 * tabular.C (GetCellInset): update cur_cell also in the row/col
14309 version of this function.
14311 * lyxfunc.C: no need to include figure_form.h here.
14317 * lyxvc.C: no need to include forms.h here.
14319 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14321 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14323 * lyxfunc.C (Dispatch):
14325 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14326 constructor argument.
14328 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14330 * paragraph.C (Paragraph): dont't clear, and just set layout.
14331 (makeSameLayout): use params's copy contructor.
14333 * ParagraphParameters.[Ch] (makeSame): delete method
14335 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14337 * Variables.[Ch]: fix indentation, rename set to isSet
14339 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14341 * lyxfunc.C (Dispatch): fix typo
14343 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14345 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14348 * bufferlist.C: include assert.h for emergencyWrite().
14350 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14352 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14353 give up at last (bug #425202) !
14355 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14361 * spellchecker.C: strip spellchecker options and bring up
14362 preferences tab instead
14364 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14366 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14367 the istringstream constructor
14369 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14371 * paragraph.C (getLayout): fix return value
14373 * paragraph.h: do not declare getLayout as inline.
14375 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14377 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14379 * lyxcursor.h (operator<): new func
14380 (operator>): new func
14381 (operator>=): new func
14382 (operator<=): new func
14384 * text.C (changeCase): use selection.start and selection.end
14385 (changeRegionCase): require from to be <= to. Require par to be a
14388 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14390 2001-06-27 Juergen Vigna <jug@sad.it>
14392 * text.C (cursorLeftOneWord): changed to return the cursor and added
14393 overlay with BufferView * parameter which calls this one.
14395 (selectWord): use new getWord function.
14396 (changeCase): renamed from changeWordCase as and extended to work
14397 also on selections.
14399 * lyxtext.h: added enum word_location
14401 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14402 changeCase as this operates now also on selections.
14404 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14406 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14408 * many files: send debug output to Debug::INFO instead of
14411 * converter.C (View):
14413 (Move): send debug output to Debug::FILES instead of console.
14415 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14417 * lyxfunc.C (getStatus): use func_status
14419 * func_status.h: new header, describing the results of
14420 LyXFunc::getStatus;
14422 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14425 2001-06-25 The LyX Project <jug@sad.it>
14427 * buffer.C (sgmlOpenTag):
14429 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14431 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14433 * text2.C: remove some dead code
14435 * tabular.C (GetCellInset): store the last cell checked (gotten)
14437 * tabular.h: add the helper for the speedup
14439 * lyxtext.h: remove some dead code
14441 2001-06-26 The LyX Project <Asger>
14443 * paragraph.C: Change export to LaTeX of alignment to
14444 \begin{center} and family for better roundtrip work with reLyX.
14446 * Tune the math drawing a bit.
14448 2001-06-25 The LyX Project <Asger>
14450 * LColor.C (LColor): New color for math background. New color
14453 2001-06-25 The LyX Project <jug@sad.it>
14455 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14457 * lyxfunc.C (Open):
14458 * bufferlist.C (newFile): do not restrict to files ending with
14461 * BufferView_pimpl.C (MenuInsertLyXFile):
14463 2001-06-24 The LyX Project <jug@sad.it>
14465 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14468 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14470 * lyxtext.h: rename most methods to begin with a small char.
14471 Lots of changes because of this.
14473 * paragraph.C (Paragraph): do not call fitToSize
14474 (erase): call Pimpl::erase
14475 (insertChar): call Pimpl::insertChar
14476 (insertInset): call Pipl::insertInset
14477 (breakParagraph): do not call fitToSize
14478 (breakParagraphConservative): do not call fitToSize
14479 (fitToSize): remove method
14481 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14483 2001-06-24 The LyX Project <Asger>
14485 * Fix Qt compilation^2
14487 2001-06-24 The LyX Project <jug@sad.it>
14489 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14490 depthHook(getDepth()-1).
14493 * ParagraphParameters.h:
14494 * ParameterStruct.h: change type of depth to unsigned int ==
14495 depth_type. Many adaptations to other files before of that.
14497 2001-06-24 The LyX Project <Asger>
14499 * Fix Qt compilation.
14501 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14503 * paragraph.h: renamed several methods to begin with small letter.
14504 several changes to many parts of the code because of this.
14506 2001-06-23 The LyX Project <jug@sad.it>
14508 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14509 rewritten to discard all double spaces when KeepEmpty is off
14510 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14511 to only handle newlines but not fiddle with spaces and friends.
14513 * lyxfunc.C (MenuNew): when doing 'new from template', use
14514 template_path as default directory
14516 2001-06-23 The LyX Project <Asger>
14518 * Clean-up of header file includes all over
14519 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14521 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14523 * paragraph.h: renamed from lyxparagraph.h
14525 2001-06-23 Asger <lyx@violet.home.sad.it>
14527 * Buffer.h: Removed Buffer::resize
14528 * BufferList.h: Removed BufferList::resize
14529 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14530 the document lazily when we change the width, or the font settings.
14532 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14534 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14536 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14538 * buffer.h: remove out of date comment
14540 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14543 * screen.C: fix "theoretical" GC leak
14545 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14547 * LaTeX.C (scanAuxFile):
14548 (deplog): remove trailing \r when reading stream (useful under
14551 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14553 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14554 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14555 and BufferView::theLockingInset(Inset*), so should use them and not
14556 access bv_->text->the_locking_inset directly.
14558 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14560 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14563 * tex-defs.h: remove old unused file
14565 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14567 * BufferView_pimpl.C: fix typo, remove minibuffer message
14568 when buffer has loaded
14570 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14572 * lyxfunc.C (Dispatch): use stringstream
14573 (MenuNew): use stringstream
14574 (Open): use stringstream
14576 * importer.C (Import): use stringstream
14578 * bufferview_funcs.C (CurrentState): use stringstream
14580 * LaTeX.C (run): use stringstream
14582 * BufferView_pimpl.C (savePosition): use stringstream
14583 (restorePosition): use stringstream
14584 (MenuInsertLyXFile): use stringstream
14586 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14599 * vspace.C: removed // -*- C++ -*- as first line.
14602 * version.h: added // -*- C++ -*- as first line.
14604 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14606 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14608 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14611 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14613 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14616 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14618 * gettext.C: include LString.h even when --disable-nls is on.
14620 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14622 * converter.h (Get): changed argument type from int to
14623 FormatList::size_type to avoid unnecessary conversion.
14625 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14628 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14630 * gettext.h: include LString.h even when --disable-nls is on.
14632 2001-06-07 Juergen Vigna <jug@sad.it>
14634 * text.C (BreakAgain): subst spaces with tabs.
14636 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14637 (resizeInsetsLyXText): set force on resizeLyXText.
14639 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14641 * gettext.h (gettext_init):
14642 (locale_init): use a real definition instead of a macro
14644 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14646 * Bufferview_pimpl.C:
14648 * LColor.C: further lcolor tidies
14650 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14652 * BufferView_pimpl.C (updateScrollbar): simplify.
14654 * BufferView2.C: don't include insets/insetinfo.h, change
14655 prototype for insertInset and call the Pimpl version. let
14656 updateInset call Pimpl version.
14658 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14659 gotoInset to BufferView::Pimpl
14661 2001-06-01 Juergen Vigna <jug@sad.it>
14663 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14664 inside a LockingInset (is the update needed at all?).
14666 2001-05-31 Juergen Vigna <jug@sad.it>
14668 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14669 here not the old one otherwise how should we compare it afterwards
14672 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14677 * FontInfo.C: bring C functions into global namespace when
14680 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14682 * LString.h: make sure config.h has been loaded before LString.h.
14684 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14685 (one for each char read by EatLine!).
14687 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14690 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14692 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14693 to the same as the par we break from
14695 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14697 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14699 * MenuBackend.C (expand): also create menu entries for wide
14700 versions of the floats.
14702 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14704 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14706 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14707 frontends/Makefile.am
14713 * tabular.C (getTokenValue): add std::
14715 * tabular-old.C (getTokenValue): add std::
14716 (getTokenValue): ditto
14717 (getTokenValue): ditto
14719 * screen.C (ToggleSelection): adjust
14721 * lyxtext.h: put selection cursors inside a Selection struct.
14723 * lyxfunc.C (moveCursorUpdate): adjust
14725 * lyxfont.C (latexWriteStartChanges): add std::
14727 * lyxfind.C: adjust
14729 * font.h: delete with(char const *, LyXFont const &)
14731 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14733 * FontInfo.C (getFontname): add std::
14735 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14736 (workAreaButtonPress): adjust
14737 (tripleClick): adjust
14739 (moveCursorUpdate): adjust
14742 * BufferView2.C (gotoInset): adjust
14744 2001-05-30 Juergen Vigna <jug@sad.it>
14746 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14747 to check pspell I add this as default as I now have new pspell
14748 libraries and they seem to use this.
14750 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14752 * text2.C (CutSelection): make the cursor valid before the call to
14755 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14757 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14758 relied on 0 terminated strings and other horrors. Bug found due to
14759 the new assert in lyxstring!
14761 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14764 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14766 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14769 * lyxfunc.C (processKeySym): change method of getting to the
14772 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14773 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14774 * BufferView_pimpl.[Ch]: here as private methods.
14776 2001-05-28 Juergen Vigna <jug@sad.it>
14778 * text.C (SetHeightOfRow): added the update() call again as it is
14779 needed to initialize inset dimensions!
14781 2001-05-16 Juergen Vigna <jug@sad.it>
14783 * text2.C (SetCharFont): Add new function with BufferView * and
14784 bool toggleall parameters for setting insets internal fonts.
14785 (SetFont): Freeze the undo as we may change fonts in Insets and
14786 all this change should be inside only one Undo!
14788 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14789 setting font's in insets as for them we have the SetFont function!
14791 2001-05-15 Juergen Vigna <jug@sad.it>
14793 * text2.C (ClearSelection): to be sure we REALLY don't have any
14796 * tabular.C (TeXCellPreamble): fixed the left border problem for
14799 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14801 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14804 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14806 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14807 LFUN_BREAKPARAGRAPH.
14809 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14810 help test to "internal only", similar for LFUN_INSERT_URL
14812 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14813 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14814 auto_region_delete and deadkeys.
14816 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14819 * LColor.C: remove some dead entries, tidy a little
14821 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14823 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14825 (Dispatch): implement LFUN_ESCAPE
14827 * commandtags.h: add LFUN_ESCAPE
14829 * LyXAction.C (init): add entry for LFUN_ESCAPE
14831 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14832 Remove commented code.
14833 (insertNote): moved here
14834 (open_new_inset): moved here
14836 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14839 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14841 * kbmap.C (findbinding): clean it up and make it work correctly.
14843 * lyx_main.C (init): do not pass argc and argv as parameters
14845 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14847 * buffer.C: fix path for OS/2 & Win32
14851 * lyx_main.C: Added os:: class.
14853 * os2_defines.h: update
14855 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14857 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14858 better by trying again with reduced state.
14860 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14862 * lyxrc.C (read): print error about invalid key sequence only when
14863 debugging (because not all latinX keysyms are known to some X
14866 * kbsequence.C (getiso): add a few std:: qualifiers
14867 (getiso): comment out extra return statement.
14869 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14871 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14873 (Dispatch): enhance the accent inset a bit. (not perfect)
14875 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14877 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14879 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14881 * bufferlist.C (emergencyWrite): fix assert() call
14883 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14885 * text.C (InsertChar): Added trivial patch to only send the "you
14886 can not do multiple spaces this way" message once during a
14889 2001-05-08 Baruch Even <baruch@lyx.org>
14891 * Makefile.am: Changed order of libraries to get LyX to link properly
14892 with the gnome frontend.
14894 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14896 * LaTeXFeatures.h: add a std:: qualifier
14898 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14900 * paragraph.C (String): use stringstream
14902 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14904 * paragraph.C (writeFile): remove footflag arg
14906 * buffer.C (makeLaTeXFile): use stringstream
14907 (latexParagraphs): remove footnot gurba
14909 * LaTeXFeatures.C (getPackages): use stringstream
14910 (getMacros): likewise
14911 (getTClassPreamble): likewise
14912 (getFloatDefinitions): new method
14914 * paragraph.C (writeFile): reindent
14917 * WorkArea.h: revert the xpos + etc changes.
14919 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14921 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14923 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14924 (pasteSelection): likewise
14925 * text2.C (CreateUndo): likewise
14927 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14929 * minibuffer.C (peek_event): temporarily reduce the functionality
14930 of the minibuffer (to allow args on lfuns)
14932 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14933 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14935 * buffer.C (readInset): add compability reading of old float
14936 lists, add reading of new style float list.
14937 (readInset): avoid reevaluation of inscmd.getCmdName()
14938 (getLists): reindent
14940 * MenuBackend.C (MenuItem): implement parsing of
14941 md_floatlistinsert and md_floatinsert.
14942 (expand::LastFiles): move initalizaton of iterators out of loop,
14943 avoid reevaluation.
14944 (expand::Documents): introduce typdedef vector<string> Strings,
14946 (expand::ExportFormats): introduce typedef vector<Format const *>
14947 Formats, and use it.
14948 (expand): implement FloatListInsert and FloatInsert.
14950 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14951 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14952 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14954 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14956 (Dispatch::LFUN_FLOAT_LIST): implement
14958 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14960 * LaTeX.C (run): Fix problem with --export code.
14962 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14964 * BufferView.[Ch] (workarea): removed.
14965 (getClipboard) new method; wrapper for workarea()->getClipboard()
14967 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14970 * WorkArea.h (width, height, xpos, ypos): These methods all
14971 returned the dimensions of the work_area sub-area of WorkArea,
14972 resulting in a position error if the WorkArea were resized. Now
14973 return the dimensions of the entire WorkArea.
14975 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14977 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14979 * LaTeX.C (deplog): correct the syntax of regex reg1
14981 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14983 * undo.C: remove !NEW_INSETS cruft
14985 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14987 * text2.C: remove !NEW_INSETS cruft
14989 * text.C: remove !NEW_INSETS cruft
14991 * tabular.C: remove !NEW_INSETS cruft
14993 * spellchecker.C: remove !NEW_INSETS cruft
14995 * lyxtext.h: remove !NEW_INSETS cruft
14997 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14999 * lyxfunc.C: remove !NEW_INSETS cruft
15001 * lyxfind.C: remove !NEW_INSETS cruft
15003 * lyx_cb.C: remove !NEW_INSETS cruft
15005 * figureForm.C: remove !NEW_INSETS cruft
15007 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15009 * buffer.[Ch]: remove !NEW_INSETS cruft
15011 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15013 * CutAndPaste.C: remove !NEW_INSETS cruft
15015 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15017 * BufferView2.C: remove !NEW_INSETS cruft
15019 * BufferView.h: remove !NEW_INSETS cruft
15021 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15023 * Lsstream.h: include LString.h before the sstream headers to
15024 fix problem with gcc 2.95.3 and lyxstring
15026 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15028 * lyx_main.C: add using directives when needed for C functions
15029 declared in std:: namespace.
15031 2001-04-27 Juergen Vigna <jug@sad.it>
15033 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15034 (SetHeightOfRow): comment out the update call should not be needed!
15036 2001-04-13 Juergen Vigna <jug@sad.it>
15038 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15039 (LyXTabular): tried to minimize operator= operations (and realized
15040 hopfully Lars wish).
15042 2001-04-27 Juergen Vigna <jug@sad.it>
15044 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15046 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15048 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15050 * buffer.C (readInset): hack to make listof algorithm work
15052 * BufferView_pimpl.C: hack to make listof algorithm work
15054 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15056 * LyXAction.C: removed all !NEW_INSETS cruft
15057 (init): moved lfun_item in method
15059 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15061 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15063 * BufferView2.C (theLockingInset): white space.
15065 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15067 * minibuffer.C: include <iostream>
15069 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15071 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15073 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15075 * text.[Ch] (TransposeChars): new method
15077 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15079 * call message directly through LyXView instead of through LyXFunc
15080 * BufferView2.C: adjust
15081 * BufferView_pimpl.C: adjust
15082 * FontLoader.C: adjust
15084 * bufferview_funcs.C: adjust
15085 * converter.C: adjust
15086 * figureForm.C: adjust
15087 * importer.C: adjust
15089 * lyx_gui_misc.C: adjust
15090 * lyxfunc.C: adjust
15093 + more files in subdirs
15095 * lyxparagraph.h (size): move up int file
15098 * adjust all uses of Assert to lyx::Assert.
15100 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15101 lyxfunctional in namespace lyx
15102 * layout.C (hasLayout): ditto
15105 (delete_layout): ditto
15106 (NumberOfClass): ditto
15107 * converter.C (GetFormat): ditto
15112 * bufferlist.C (getFileNames): ditto
15113 (emergencyWriteAll): ditto
15116 * MenuBackend.C (hasSubmenu): ditto
15119 * BufferView_pimpl.C (getInsetByCode): ditto
15121 2001-04-18 Juergen Vigna <jug@sad.it>
15123 * vspace.C (asLatexString): fixed the 100% problem.
15125 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15127 * lyxfunc.C (Dispatch):
15129 * minibuffer.h: add a few std:: qualifiers
15131 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15133 * minibuffer.[Ch]: reimplement so that commands is initiated and
15134 run from lyxfunc, simplified som handling, and made the completion
15135 and history code for complete. wip.
15137 * lyxfunc.C (processKeySym): call message
15138 (miniDispatch): new temporary method
15139 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15140 (LFUN_MESSAGE): implement
15141 (LFUN_MESSAGE_PUSH): implement
15142 (LFUN_MESSAGE_POP): implement
15143 (initMiniBuffer): the initial/defualt minibuffer message.
15145 * lyxfont.[Ch]: inline some more getters
15147 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15149 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15151 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15152 (AutoSave): use LFUN_MESSAGE
15153 (Reconfigure): ditto
15155 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15157 * figureForm.C: use LFUN_MESSAGE
15159 * converter.C (runLaTeX): use LFUN_MESSAGE
15161 * bufferview_funcs.C: use LFUN_MESSAGE
15163 (changeDepth): ditto
15165 * bufferparams.h: use boost::
15167 * bufferlist.h: inherit privately from noncopyable
15169 * bufferlist.C (loadLyXFile): remove some commented code.
15171 * buffer.C (runChktex): use LFUN_MESSAGE
15173 * ShareContainer.h: inherit privately from noncopyable
15175 * ParagraphParameters.[hC] (depth): inline it.
15177 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15179 (message): new method
15180 (messagePush): ditto
15181 (messagePop): ditto
15182 (show): init minibuffer
15183 (showState): direct call
15185 * LaTeX.[Ch]: inherit privately from noncopyable
15186 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15187 instead of WriteStatus.
15189 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15191 * BufferView_pimpl.C (buffer): don't init minibuffer
15192 (workAreaButtonPress): use LFUN_MESSAGE
15193 (workAreaButtonRelease): ditto
15194 (savePosition): ditto
15195 (restorePosition): ditto
15196 (MenuInsertLyXFile): ditto
15197 (workAreaExpose): don't init minibuffer
15198 (update): remove commented code, simplify
15200 * BufferView2.C (openStuff): use LFUN_MESSAGE
15201 (toggleFloat): ditto
15204 (copyEnvironment): ditto
15205 (pasteEnvironment): ditto
15210 (updateInset): remove some commented code
15212 * lastfiles.h: inherit privately from noncopyable
15215 * lyx_main.h: ditto
15217 * lyxlex_pimpl.h: ditto
15219 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15220 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15221 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15223 * LyXAction.h: inherit privately from noncopyable, add methods
15224 func_begin, func_end, returning iterators to the func map.
15226 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15227 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15228 (func_begin): new method
15229 (func_end): new method
15231 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15233 (copySelection): ditto
15234 (pasteSelection): ditto
15236 * BufferView.C: whitespace change
15237 * BufferView.h: inherit privately from noncopyable
15239 2001-04-16 Allan Rae <rae@lyx.org>
15241 * tabular-old.C (l_getline):
15242 * spellchecker.C (sc_check_word):
15243 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15244 an unrecognised preprocessor directive. So ensure they're wrapped.
15246 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15248 * src/exporter.C (Export): Give an error message when path to file
15251 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15253 * LaTeX.C (deplog): Always check that foundfile exists.
15255 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15258 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15260 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15262 * tabular.[Ch] (getLabelList): implement new method
15264 * minibuffer.h: comment ouf setTiimer
15266 * minibuffer.C (ExecutingCB): constify res
15267 (peek_event): constify s
15268 (Set): constify ntext
15269 (Init): constify nicename
15271 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15273 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15274 (savePosition): use two params to Minibuffer::Set
15275 (restorePosition): ditto
15277 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15279 * lyx_main.C: include language.h
15281 * Makefile.am (lyx_main.o): add language.h
15283 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15289 * CutAndPaste.C: include gettext.h
15291 * lyxfont.h: remove old hack with ON and OFF.
15294 * lyxfont.h: do not include language.h...
15299 * bufferview_funcs.C:
15305 * paragraph.C: ... but do it here instead
15307 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15309 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15311 * tabular.C: small reformat
15313 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15316 (BreakParagraph): ditto
15317 (SetOnlyLayout): ditto
15320 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15323 * lastfiles.C: removed most using decl, add std:: where needed
15325 * buffer.C: ws changes
15327 * MenuBackend.C (class compare_format): put into anon namespace
15328 (expand): constify label, names, action, action2
15331 * text.C (SingleWidth): constify font
15332 (IsBoundary): constify rtl2
15333 (GetVisibleRow): constify ww
15335 * LaTeX.C (deplog): constify logfile
15337 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15339 (workAreaExpose): constify widthChange, heightChange
15341 * lyxrow.C (par): moved
15344 * lyxrow.h: as inlines here
15346 * lyxfont.h (shape): moved from lyxfont.C
15347 (emph): moved from lyxfont.C
15349 * lyxfont.C (LyXFont): use initialization list for all
15351 (shape): move to lyxfont.h as inline
15352 (emph): move to lyxfont.h as inline
15355 2001-04-04 Juergen Vigna <jug@sad.it>
15357 * vspace.C: had to include stdio.h for use of sscanf
15359 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15362 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15363 independent of xforms.
15365 2001-04-02 Juergen Vigna <jug@sad.it>
15367 * spellchecker.C: fixed namespace placing!
15369 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15371 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15372 the LyXParagraph * is 0.
15374 2001-03-29 Juergen Vigna <jug@sad.it>
15376 * vspace.C: added support for %, c%, p%, l%.
15377 (stringFromUnit): added helper function.
15378 (asLatexString): changed to give right results for the %-values.
15380 * buffer.C: convert the widthp in a width%.
15382 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15384 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15387 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15388 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15390 * lyx_cb.[Ch]: see above.
15392 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15396 * lyx.[Ch]: replaced by figure_form.[Ch].
15400 * lyxfunc.C: changed headers associated with above changes.
15402 2001-03-27 Juergen Vigna <jug@sad.it>
15404 * BufferView_pimpl.C: set the temporary cursor right!
15406 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15408 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15410 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15412 * LString.h: removed "using std::getline"!
15414 * BufferView_pimpl.C (Dispatch): changes due to changes in
15415 InsetInclude::Params.
15417 * buffer.C (tag_name): removed redundant break statements as they were
15418 producing lots of warnings with my compiler.
15420 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15422 * LString.h: add "using std::getline" when using the real <string>.
15424 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15426 * buffer.C: removed bitset usage.
15427 PAR_TAG moved to an anonymous name space.
15428 (tag_name): new funtion, also in the anonymous namespace.
15429 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15430 (makeDocBookFile): clean code. Completed transition from string arrays
15432 (SimpleDocBookOnePar): code clean.
15434 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15436 * tabular.C: add some comments.
15438 2001-03-22 Juergen Vigna <jug@sad.it>
15440 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15441 compatibility read a bit and fixed bug with minipage in different
15444 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15446 * buffer.C (pop_tag): removed.
15447 (push_tag): removed.
15448 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15449 array replaced with vector. Added support for CDATA sections.
15450 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15452 (makeDocBookFile): XML conformant declaration of CDATA section,
15453 fixed bug related to <emphasis> in the first paragraph char.
15454 (sgmlOpenTag): exclude empty tags.
15455 (sgmlCloseTag): ditto.
15457 * buffer.h (pop_tag): removed.
15458 (push_tag): removed.
15460 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15462 * language.h (Languages): added size_type and size().
15464 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15466 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15467 response on compability reading of minipages. One probliem is that
15468 the old usage of minipages was «flertydig»
15470 * several files here and in subdirs: don't use static at file
15471 scope use anon namespaces instead.
15473 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15475 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15476 LaTeX output. This is necessary for Literate document
15479 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15481 * buffer.C: insert hfill when needed.
15483 * tabular.C (l_getline): use string::erase, small whitespace change.
15485 * BufferView_pimpl.C: try the anon namespace.
15486 * WorkArea.C: ditto
15488 2001-03-16 Juergen Vigna <jug@sad.it>
15490 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15491 otherwise it won't open options-dialogs.
15493 * buffer.C: honor pextraWidth(p) on converting minipages.
15495 * tabular.C (l_getline): changed the functions to strip trailing \r.
15497 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15499 * BufferView_pimpl.C:
15500 * minibuffer..C: added "using SigC::slot" declaration.
15502 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15504 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15510 * paragraph.C: ditto
15512 * lyxtext.h: NO_PEXTRA
15514 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15516 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15517 * ParameterStruct.h: ditto
15518 * ParagraphParameters.h: ditto
15519 * lyxparagraph.h: ditto
15521 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15523 * buffer.C: add compability for minipage alignment.
15524 (latexParagraphs): remove unwanted pextra check.
15526 * several files: remove CXX_WORKING_NAMESPACES
15528 * buffer.C (pop_tag): tie is in namespace boost
15530 * BufferView.h: noncopyable is in namespace boost
15532 * lyx_main.h: ditto
15535 * lastfiles.h: ditto
15536 * bufferlist.h: ditto
15537 * ShareContainer.h: ditto
15539 * LyXAction.h: ditto
15542 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15544 * Merging changes from BRANCH_MVC back into HEAD.
15546 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15548 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15550 * BufferView_pimpl.C: change from intl.C
15554 * Makefile.am: move combox.*
15560 * intl.C: remove dialog (covered by prefs)
15562 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15564 * lyxfunc.C (Dispatch): removed redundant break statement.
15566 2001-03-14 Juergen Vigna <jug@sad.it>
15568 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15570 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15572 * buffer.C: add hack to fix compability reading of minipages.
15574 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15576 * buffer.C (getLists): Cleanup.
15578 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15580 * lyxfont.C (update): don't honor toggleall on font size.
15582 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15586 * Makefile.am: moved to frontends/xforms/
15590 * BufferView_pimpl.C: changes for moved mathpanel
15592 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15594 * gettext.h: fix gettext_init() in --disable-nls
15596 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15598 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15600 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15603 * lyx.h: strip external form
15605 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15607 * BufferView_pimpl.C: add comment, destroySplash()
15609 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15611 * BufferView_pimpl.C:
15615 * lyxfunc.C: use re-worked insetinclude
15617 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15619 * buffer.C: add using std::stringstream.
15621 * lyx_cb.C: readd using std::ios.
15623 * buffer.C: add using std::map.
15625 * BufferView_pimpl.C: add using std::vector.
15627 * ShareContainer.h: add std:: to swap.
15629 * buffer.h: add some typedefs
15630 * buffer.C (getLists): use them
15631 (getLists): renamed from getTocList.
15632 add a counter for the different float types and use it in the
15634 (getLists): use the same counter for the NEW_INSETS and the "non"
15637 * lyx_cb.h: remove unused items, includes, using etc.
15639 * ShareContainer.h: remove some commented code, add more comments
15640 and "documentation".
15642 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15644 * buffer.C (getTocList): make the list also when NEW_INSETS is
15647 * buffer.h: remove TocType
15649 * buffer.C (getTocList): change to return a map<string,
15650 vector<TocItem> >, implement for dynamic number of list.
15652 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15653 * text2.C (PasteSelection): adjust
15654 * CutAndPaste.C (pasteSelection): adjust
15656 * FloatList.C (FloatList): update from the new_insets branch.
15657 * Floating.[Ch]: ditto
15658 * LaTeXFeatures.C: ditto
15660 * lyxlex_pimpl.C: ditto
15662 * paragraph.C (Last): remove when NEW_INSETS is defined.
15664 * other file: changes because of the above.
15666 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15668 * lyxparagraph.h: rename next to next_, previous to previous_,
15669 make them private for NEW_INSETS. Rename Next() to next(),
15670 Previous() to previous().
15672 * other files: changes because of the above.
15674 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15677 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15680 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15682 * main.C (main): pass lyx_localedir to gettext_init().
15684 * gettext.h: remove locale_init and gettext_init macros
15686 * gettext.C (locale_init): new function
15687 (gettext_init): new function
15689 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15692 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15694 * Moved credits to frontends:
15695 * credits.[Ch]: removed
15696 * credits_form.[Ch]: removed
15697 * lyx_gui_misc.C: remove credits stuff
15700 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15702 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15704 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15705 unneeded destructor.
15707 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15708 a standalone pointer again.
15710 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15712 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15718 * ToolbarDefaults.C:
15727 * BufferView_pimpl.C: use new file dialog in GUII
15730 * lyx_cb.C: remove LayoutsCB to Toolbar
15732 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15734 * ShareContainer.h (get): add std:: qualifier
15736 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15738 * ShareContainer.h: define a proper ShareContainer::value_type
15739 type (and use typename to please compaq cxx)
15741 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15743 * lyxparagraph.h: move serveral local vars to
15744 ParameterStruct/ParagraphParameters., use ShareContainer in
15745 FontTable., make vars in FontTable private and add getter and
15748 * paragraph.C: changes because of the above.
15750 * lyxfont.h: remove copy constructor and copy assignment. (the
15751 default ones is ok), move number inside FontBits. move inlines to
15754 * lyxfont.C: add number to initializaton of statics, move several
15755 inlines here. constify several local vars. some whitespace
15756 cleanup. Dont hide outerscope variables.
15758 * Spacing.h: add two new constructors to match the set methods.
15760 * ShareContainer.h: new file, will perhaps be moved to support
15762 * ParameterStruct.h: new file
15764 * ParagraphParameters.h: new file
15766 * ParagraphParameters.C: new file
15768 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15769 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15771 * BufferView_pimpl.C: ParagraphParameter changes.
15772 * buffer.C: Likewise.
15773 * bufferview_funcs.C: Likewise.
15774 * text.C: Likewise.
15775 * text2.C: Likewise.
15777 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15779 * lyxfind.C (LyXReplace): do not redefine default argument in
15781 (IsStringInText): ditto
15782 (SearchForward): ditto
15783 (SearchBackward): ditto
15785 2001-03-06 Juergen Vigna <jug@sad.it>
15787 * lyxfind.C (IsStringInText): put parentes around expressions.
15789 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15791 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15793 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15795 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15797 * stl_string_fwd.h: add comment
15799 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15802 * tabular.C: remove unused DocBook methods
15808 killed DO_USE_DEFAULT_LANGUAGE
15810 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15812 * lyx_gui.C: do not include language.h.
15814 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15815 arguments in function implementation.
15817 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15819 * BufferView_pimpl.C: add <ctime>
15821 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15823 * BufferView_pimpl.C: add using std::find_if
15825 2001-02-27 José Matos <jamatos@fep.up.pt>
15827 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15830 2001-02-11 José Matos <jamatos@fep.up.pt>
15832 * buffer.C (makeDocBookFile): command styles now have a parameter as
15833 "title" by default.
15835 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15837 * layout_forms.[Ch]: removed
15838 * lyx_cb.[Ch]: out character
15839 * lyx_gui.C: out character
15840 * lyx_gui_misc.C: out character
15841 * bufferview_funcs.C: : out character,
15842 added toggleall as parameter in ToggleAndShow
15844 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15846 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15848 * text2.C (SetCurrentFont): Disable number property at boundary.
15850 2001-02-26 Juergen Vigna <jug@sad.it>
15852 * lyxfunc.C (getStatus): added a string argument override function so
15853 that this is correctly called from LyXFunc::Dispatch if it contains a
15854 do_not_use_argument which is used!
15855 (Dispatch): added check for "custom" export and call appropriate func.
15857 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15859 * lyxrc.C: Add language_command_local, language_use_babel and
15860 language_global_options.
15862 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15864 * buffer.C (makeLaTeXFile): Use language_use_babel and
15865 language_global_options.
15867 2001-02-23 Juergen Vigna <jug@sad.it>
15869 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15870 which works with LyXText and putted it inside BufferView. Here now we
15871 only call for that part the BufferView::Dispatch() function.
15873 * BufferView.C (Dispatch): added.
15875 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15876 functions which needs to use a LyXText over from LyXFunc.
15877 (MenuInsertLyXFile): added
15878 (getInsetByCode): added
15879 (moveCursorUpdate): added
15880 (static TEXT): added
15882 2001-02-22 Juergen Vigna <jug@sad.it>
15884 * BufferView_pimpl.C (update): call a status update to see if LyXText
15887 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15889 * vc-backend.C (revert): implement for CVS
15890 (getLog): implement for CVS
15892 2001-02-20 Juergen Vigna <jug@sad.it>
15894 * text2.C (ClearSelection): added BufferView param for inset_owner call
15896 * lyxfunc.C (TEXT): added this function and use it instead of
15897 directly owner->view()-text of getLyXText().
15899 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15901 * src/layout_forms.C: out preamble
15902 * src/layout_forms.h: out preamble
15903 * src/lyx_cb.C: out preamble
15904 * src/lyx_cb.h: out preamble
15905 * src/lyx_gui.C: out preamble
15906 * src/lyx_gui_misc.C: out preamble
15907 * src/lyxfunc.C: connect with guii preamble
15909 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15911 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15913 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15915 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15916 whether to run bibtex.
15918 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15920 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15922 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15924 * Makefile.am (lyx_SOURCES): removed bibforms.h
15926 * vspace.h: doxygen
15928 * text.C (GetVisibleRow): make several local vars const
15930 * tabular.C: small cleanup.
15932 * lyxserver.C (callback): use compare instead of strncmp
15934 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15935 inlines to after class or to paragraph.C
15937 * lyxfont.h: remove friend operator!=
15939 * converter.h: move friend bool operator< to non friend and after
15942 * combox.h: small cleanup
15944 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15945 to inlines after class def.
15947 * buffer.C (pop_tag): use string operations instead of strcmp
15949 * bmtable.c: doxygen, small cleanup
15951 * LaTeX.h: remove friend operator==
15953 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15965 * BufferView_pimpl.C:
15966 * BufferView.[Ch]: remove cruft
15968 2001-02-14 Juergen Vigna <jug@sad.it>
15970 * lyxfunc.C: removed #if 0 unused code
15972 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15974 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15976 * text2.C (SetSelection): added a BufferView * parameter
15978 2001-02-13 Juergen Vigna <jug@sad.it>
15980 * lyxfunc.C (Dispatch): fixed protected blank problem.
15981 * BufferView2.C (protectedBlank): added LyxText * parameter.
15983 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15984 (AppendColumn): same as above for column_info.
15986 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15987 (moveCursorUpdate): use a LyXText param for support of InsetText.
15989 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15990 (tripleClick): ditto
15992 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15994 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15996 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15998 * text2.C (SetSelection): set correct update status if inset_owner
15999 (ToggleFree): ditto
16001 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16003 * tabular.C: remove some commented code.
16005 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16007 * BufferView_pimpl.C: call hideSplash()
16009 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16012 * bibforms.h: remove
16015 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16016 add LFUN_CHILD_CREATE
16018 * counters.h: fix tiny typo
16023 * lyx.C: move splash to frontends/xforms/
16025 * lyx_gui_misc.C: move Include and Bibform to frontends
16027 * lyxvc.h: clarify comment
16029 * vspace.C: tiny housekeeping
16031 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16033 * text.C (PrepareToPrint): RTL Fix.
16035 * paragraph.C (GetUChar): New method.
16036 (String): Use GetUChar.
16038 * buffer.C (asciiParagraph): Use GetUChar.
16040 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16042 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16044 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16047 * buffer.C: rename to getLogName(), handle
16048 build log / latex log nicely
16050 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16053 * MenuBackend.h: remove support for reference menuitem type.
16055 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16057 * BufferView_pimpl.C: housekeeping
16058 * BufferView_pimpl.h:
16063 * minibuffer.h: move Timeout GUI-I
16065 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16067 * lyxrc.C (read): Update converters data-structures.
16069 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16071 * LaTeX.h (operator!=): add operator != for Aux_Info
16073 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16075 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16077 * LaTeXLog.C: deleted, useful code moved to Buffer
16080 * buffer.C: new function getLatexLogName()
16086 * lyxfunc.C: use frontends for LaTeX and VC logs
16088 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16090 * LaTeX.h: yet another std:: that Allan forgot.
16092 * Variables.C (set): renamed from isset(), because this clashes
16093 with some HP-UX macros (grr).
16095 2001-02-06 Allan Rae <rae@lyx.org>
16097 * LaTeX.h: Another bug fix. Missing std:: this time.
16099 2001-02-04 Allan Rae <rae@lyx.org>
16101 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16102 floats problem. I've left it commented out because it's not quite
16103 correct. It should also test that the current object is a table or
16104 figure inset. But I haven't gotten around to figuring out how to do
16105 that. I *think* it'll be something like: "table" == inset.type()
16107 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16110 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16112 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16113 all the citation/databases/styles in the auxilary file.
16114 (run): Rerun latex if there was a babel language error.
16116 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16118 * text.C (Backspace): Preserve the font when changing newline char
16120 (BreakParagraph): If the cursor is before a space, delete the space.
16122 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16124 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16126 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16127 new argument (code).
16128 (ChangeCitationsIfUnique): New method.
16130 * paragraph.C (GetPositionOfInset): Handle bibkey.
16132 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16134 * BufferView_pimpl.h: change type of Position::par_pos to
16135 LyXParagraph::size_type.
16137 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16139 * BufferView_pimpl.C (savePosition, restorePosition): Write
16140 messages to minibuffer.
16142 2001-01-28 José Matos <jamatos@fep.up.pt>
16144 * buffer.C (makeDocBookFile): adds support for document language.
16145 A silly restriction on the name of LatexCommand types where removed.
16146 Added support for CDATA sections, allows to chars unescaped, used
16147 among others in code, to avoid escape < and >.
16149 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16151 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16152 saved positions instrad of a stack. Furthermore, a position is
16153 stored using paragraph id/paragraph position.
16155 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16156 Remove LFUN_REF_BACK.
16158 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16160 * converter.C (dvipdfm_options): New method.
16162 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16164 * vspace.C (isValidLength): Fix for empty input string.
16166 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16168 * LyXAction.C (init): change description of LFUN_FIGURE to
16171 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16173 * LaTeX.C: add using directive
16175 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16177 * MenuBackend.C (expand): Fix the sorting of the formats.
16179 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16181 * lyx_main.C: tiny error message fix
16183 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16185 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16186 calling fl_initialize(). This fixes the problem with ',' as
16187 decimal separator in text files.
16189 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16191 * trans.C (process): Fix the keymap bug.
16193 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16195 * LaTeX.C (scanAuxFiles): New method. Provides support for
16196 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16197 (scanLogFile) Scan for "run BibTeX" messages.
16199 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16200 OT1 font encoding. Also, load the aecompl package if the ae
16203 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16205 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16207 * texrow.C (increasePos): turn two error messages into debug
16210 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16212 * LaTeX.C (scanAux): Handle the \@input macro.
16213 (runBibTeX): Use scanAux().
16215 * language.C (latex_options_): New field.
16217 * LaTeXFeatures.C (getMacros): Add language macros.
16219 * buffer.C (makeLaTeXFile): Small fix.
16221 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16223 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16225 * text2.C: add a using directive.
16227 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16232 * lyxfunc.C: kill LyXBell.
16234 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16236 * text.C (IsBoundary): Remove the error message
16238 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16240 * lyxrc.C (setDefaults): Correct initialization value for
16243 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16245 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16248 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16249 and GotoNextNote().
16251 * src/LyXAction.C: Added reference-next.
16253 * text.C (InsertChar): Use contains instead of strchr.
16255 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16257 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16259 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16260 alignment commands (when needed).
16262 * text.C (InsertChar): Add ':' to number separator chars.