1 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
4 number of InsetOptArgs has already been inserted.
6 * output_latex.C (latexOptArgInsets): new method. This outputs all
7 the optarg insets, up to the limit defined in the layout file.
9 (TeXOnePar): call latexOptArgInsets; correctly update texrow
11 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * paragraph.C (isLetter): remove special spellchecker-related
14 code; return true also for digits
15 (isWord, isKomma): remove
17 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
18 * lyxfind.C (MatchString()): use isLetter instead of isWord
20 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
22 * pariterator.h (operatir=): comment out un-implemented member
25 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
28 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
30 * lyxfont.h: include LColor.h to satisfy concept checks.
32 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
34 * pariterator.h: add typdefs for value_type, difference_type,
35 pointer and reference to satisfy concept checks. Also add default
36 constructor for same reason.
38 * pariterator.C (operator++): add post-increment operator to
39 satisfy concept checks.
41 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
44 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
46 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
47 checks. Also rename base_type to BaseType to follow naming
50 * FloatList.h: include Floating.h to satisfy concept checks.
52 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
54 * lyxfunc.C (getStatus): when the origin of the request is menu or
55 toolbar, and the LyXView does not have focus, do as if there was
58 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
59 FuncRequest to individual entries of LFUN_SEQUENCE
61 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
63 * output_latex.C (TeXOnePar): override runparams.moving_arg
64 according to the needprotect value of the current paragraph (bug
67 * paragraph.C (simpleTeXOnePar): no need to override
68 runparams.moving_args here
70 2004-11-14 John Spray <spray_john@users.sourceforge.net>
72 * vspace.C: fix off-by-one-error, related to fix #1682
74 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
76 * lengthcommon.C: a more general fix for bug 1682
78 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
80 * text.C (backspace): fix crash
82 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
84 * format.[Ch] (getFormatFromFile): new method
85 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
87 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
89 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
91 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
93 * lyxfunc.C (dispatch): remove the verbose argument
94 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
97 * kbmap.C (defkey): set the origin of func to KEYBOARD
99 * MenuBackend.C (MenuItem):
100 * ToolbarBackend.C (add): set the origin of func to UI
102 * funcrequest.[Ch]: add origin member, which indicates which part
103 of LyX requests an action
105 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
107 * converter.C (move): don't lie in the error message
108 * converter.h (isReachable, move): document
110 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
112 * buffer.C: remove unused using lyx::support::atoi
113 * paragraph_funcs.C: ditto
115 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
117 * bufferlist.C (exists): use bind and equal_to instead of
120 * lyxtextclasslist.C (NumberOfClass): ditto
122 * cursor.C (insert): use for_each instead of explicit for loop
124 * bufferlist.C (getFileNames): use std::transform and
125 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
127 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
130 * buffer.C (changeLanguage): use for_each instead of explicit for
132 (hasParWithID): implement using getParFromID
134 * LaTeXFeatures.C: ws change only
136 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
139 * BufferView_pimpl.C (trackChanges): use for_each instead of
142 2004-11-04 André Pönitz <poenitz@gmx.net>
145 * undo.C (textUndoOrRedo): fix crash when creating undo information.
147 * dociterator.C (asDocIterator): use hard assert again.
149 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * lyxlength.C (asLatexString): rewrite so that it does not use
154 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * text3.C (specialChar, dispatch): make sure cursor moves to the
157 right after inserting an inset
159 2004-11-02 José Matos <jamatos@lyx.org>
161 * output_docbook.C (docbook):
162 * paragraph.C (getID):
163 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
164 garantee that the output is always legal.
166 * tabular.C (docbook):
167 * outputprams.[Ch]: remove mixed contents.
169 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
171 * text2.C (setCounter): prevent endless loop
173 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * exporter.C (copyFile): use the mover instead of support::copy()
176 * exporter.C (Export): pass format and latex name to copyFile()
177 * exporter.h (addExternalFile): document
178 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
180 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
182 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
184 2004-10-30 José Matos <jamatos@lyx.org>
186 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
187 text and no inset or font change. This allows to use CDATA
188 sections just for the whole paragraph.
190 2004-10-30 José Matos <jamatos@lyx.org>
192 * paragraph.C (getFirstWord): remove unused variable.
194 2004-10-30 José Matos <jamatos@lyx.org>
196 * paragraph.C (getFirstWord): the content should always be escaped
198 (simpleDocBookOnePar):
199 * output_docbook.C (makeEnvironment): replace reference to CDATA
202 2004-10-30 José Matos <jamatos@lyx.org>
204 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
206 2004-10-30 José Matos <jamatos@lyx.org>
208 * output_docbook.C (makeParagraphs):
209 * paragraph.[Ch] (emptyTag): for docbook and company, if the
210 standard paragraph has only a given type of content drop the wrapper.
212 2004-10-29 José Matos <jamatos@lyx.org>
214 * output_docbook.C (makeEnvironment):
216 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
218 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
220 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
221 (cleanID): sanitize any id.
223 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
225 * buffer.C, lyxlex_pimpl.C:
226 * lyxlex_pimpl.C (setFile):
227 s/getExtFromContents/getFormatFromContents/
229 2004-10-28 José Matos <jamatos@lyx.org>
231 * output_docbook.C (makeEnvironment): move id to broadest possible
234 * sgml.C (openTag): apply substitution of <> for all attributes.
236 2004-10-28 José Matos <jamatos@lyx.org>
238 * buffer.C (makeLinuxDocFile, makeDocBookFile):
239 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
240 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
242 * sgml.[Ch]: new version for open and closeTag for paragraph and
243 for strings. Now they handle the ids of paragraphs.
245 2004-10-26 Angus Leeming <leeming@lyx.org>
247 * Makefile.am: add mover.[Ch].
249 * converter.C (convert, move): use the new Movers to move external
250 files to the temp directory.
252 * lyx_main.C (init): ensure that the global system_movers data
255 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
258 * mover.[Ch]: new files, defining a Mover as a utility to move an
259 external file between directories and, if necessary, manipulate this
260 file using a helper script.
262 2004-10-25 José Matos <jamatos@lyx.org>
264 * output_docbook.C (makeCommand): merge two if's that tested the
267 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
269 * sgml.C (escapeString): fix warning in a better way
271 2004-10-25 José Matos <jamatos@lyx.org>
273 * sgml.C (escapeString): import the require boosts header file for
274 tie, and avoid a signed unsigned comparison.
276 2004-10-25 José Matos <jamatos@lyx.org>
278 * sgml.h: add #include <string>
280 2004-10-25 José Matos <jamatos@lyx.org>
282 * sgml.[Ch] (escapeString): new function to escape all the string.
284 2004-10-24 José Matos <jamatos@lyx.org>
286 * paragraph.[Ch] (getFirstWord): new function to get the first
287 word. Useful for description.
288 (simpleDocBookOnePar): remove depth argument, add another that
289 says where to start the paragraph.
291 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
292 use the new functions to fix cleanly the support for descriptions.
294 2004-10-24 José Matos <jamatos@lyx.org>
296 * buffer.C (makeLinuxDocFile, makeDocBookFile):
297 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
298 * output_linuxdoc.C (linuxdocParagraphs):
299 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
300 add buffer as argument.
302 2004-10-24 José Matos <jamatos@lyx.org>
304 * output_docbook.C (makeEnvironment, searchEnvironment): place
305 CDATA inside paragraphs and fix scope for listitems.
307 2004-10-24 José Matos <jamatos@lyx.org>
309 * output_docbook.C: remove using statement for stack.
311 2004-10-23 José Matos <jamatos@lyx.org>
313 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
314 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
315 docbook. The new scheme is recursive and makes use of iterators, the
316 same as latex export works.
317 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
318 directly with the paragraph contents. This code was moved up to
319 output_docbook.C (docbookParagraphs).
320 * sgml.C (openTag, closeTag): removed unneeded newlines.
321 (closeEnvTags) removed.
323 2004-10-23 André Pönitz <poenitz@gmx.net>
325 * undo.C (textUndoOrRedo):
326 * dociterator.C (asDocIterator): work around crash
328 * cursor.C (getStatus): replace ASSERT by more verbose error message
329 and manual correction of the problem. Should increase stability
330 while providing more sensible information.
332 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
334 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
336 * bufferlist.C (previous, next): new methods
339 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
341 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
343 * buffer.C (makeDocBookFile): add dsssl stylesheet control
344 entities to preamble.
346 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
348 * messages.C (Pimpl): strip off translation context information
350 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
352 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
353 the cursor is correct (bug 1694)
355 2004-10-13 José Matos <jamatos@lyx.org>
357 * output_docbook.C (docbookParagraphs): fix closing tags in the
360 2004-10-09 José Matos <jamatos@lyx.org>
362 * buffer.C: format up to 237.
363 * bufferparams.C (write): use tostr to convert booleans to strings.
365 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
367 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
369 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
371 * LaTeX.C: implement use of babel language in xindy.
373 2004-10-05 José Matos <jamatos@lyx.org>
375 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
376 Add new translators to help reading and writing the lyx file.
378 2004-10-05 José Matos <jamatos@lyx.org>
380 * ParagraphParameters.C (read):
381 * text.C (readParToken): replace nexToken by more appropriate lex
384 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
386 * LaTeX.C (runMakeIndex):
387 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
388 (usually 'makeindex') configurable.
390 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
391 with a variable rather than with a number.
393 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
395 * output_latex.C (TeXOnePar): make sure font setting is the first
396 thing that gets output (and the last at the end). Should fix bug
399 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
401 * pch.h: use proper signal include
403 * LaTeX.h: Use preferred calling of Boost.Signal
406 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
408 * pch.h: dont include <boost/function/function0.hpp>
410 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
412 * paragraph_pimpl.h: remove usage of ShareContainer
414 * paragraph_pimpl.C: remove initialization of ShareContainer.
416 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
420 * BufferView.C (putSelectionAt): change the semantics when
421 backwards == true: now, this just swaps cursor and anchor wrt the
424 * BufferView.h (putSelectionAt): add some documentation
426 * lyxfind.C (findBackwards): rewrite using while(). In particular,
427 make sure backwardChar is done at least once (to avoid getting
429 (findNextChange): use putSelectionAt in the forward direction
430 (operator()): use Paragraph::isWord
432 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
434 * Spacing.C (set): c_str fix
436 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
438 * lyx_cb.C (Reconfigure): quote the name of configure script in
439 case it contains spaces
441 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
445 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
446 (BOOST_LIBS): use top_buildir when looking for the file
448 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
450 * pch.h: do not use include boost/format.hpp, multiple symbols
451 will result (gcc bug)
454 2004-08-23 José Matos <jamatos@lyx.org>
456 * bufferparams.C (readToken): fix reading of the author field.
458 2004-08-20 José Matos <jamatos@lyx.org>
460 * lyxrc.C: remove support/translator.h inclusion since it is not used.
462 2004-08-20 José Matos <jamatos@lyx.org>
464 * lyxlex.[Ch] (findToken): remove function.
466 * ParagraphParameters.C (findToken):
467 * bufferparams.C (findToken): replace call for previous function
468 with local copy. This local function has one more argument, the
469 read string argument.
471 2004-08-16 José Matos <jamatos@lyx.org>
473 * ParagraphParameters.C (write):
474 * Spacing.C (writeFile):
475 * bufferparams.C (writeLaTeX):
476 * lyx_cb.C (Reconfigure):
477 * paragraph.C (write):
478 * tabular.C (write): remove unnecessary space at end of line.
481 2004-08-16 José Matos <jamatos@lyx.org>
483 * text.C (readParagraph): remove debug message.
485 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
487 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
490 * output_plaintext.C (asciiParagraph): set depth correctly
492 * outputparams.h: add member depth
494 * paragraph_funcs.C (ownerPar): remove.
496 * text2.C (setCounter): remove first_pit; comment out some
497 non-working code that uses ownerPar
499 * BufferView.C (getParentLanguage): remove. Not used anymore, and
502 2004-08-16 José Matos <jamatos@lyx.org>
504 * text.C (readParToken, readParagraph, read): report all unknown tokens.
505 For the same level of importance use the same chanel to report problems.
506 (read): add code to deal with \begin_body and \end_body.
509 2004-08-15 José Matos <jamatos@lyx.org>
511 * lyxlex.C (getString): fix comment, buffer::readBody is now
514 * tex-strings.C (string_papersize): Default -> default,
515 Custom -> custom, for consistency with other options.
517 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
521 * Makefile.am: support pch
523 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
525 * text.C (readParToken): remove the static LyXFont variable and
526 pass it as a parameter instead. This fixes a nasty bug where an
527 inset will be inserted with a bad font in some situations
528 (readParagraph): adapt
530 * text2.C (setCounter): reduce number of calls to pars_[pit]
532 * text.C (singleWidth): add an assert, fix a test
534 * rowpainter.C (paintText): reduce number of calls to singleWidth
536 * paragraph.C (isHfill):
539 2004-08-14 André Pönitz <poenitz@gmx.net>
544 * lyxtext.h (several functions): use a Paragraph & argument
547 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
549 * metricsinfo.h: add a new field ltr_pos to PainterInfo
551 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
553 * text.C (singleWidth): remove useless test
555 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
557 * tabular.h: remove bogus comments
559 * tabular.C (getDescentOfRow):
560 (isPartOfMultiColumn): add assertions
562 * lyxlength.C (inPixels): remove #warning
564 2004-08-14 André Pönitz <poenitz@gmx.net>
566 * paragraph.h: inline getChar()
568 * BufferView.h: remove unused declarations
570 2004-08-14 José Matos <jamatos@lyx.org>
572 * Buffer.[Ch] (readDocument): new name for old readBody.
573 * Buffer.C: new file format, new keywords: \begin_document,
574 \begin_header, \begin_body, \end_body.
576 * bufferparams.C (readToken): replace all calls to lex.nextToken
577 by lex.next(). Do the same to eatLine except where really needed.
579 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
580 line when writing to the lyx file.
582 * output_plaintext.C (asciiParagraph): fix Bibliography style
585 * text.C (read): fix end of file handling.
587 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
589 * MenuBackend.C (Menu::operator[]): new method to access
590 individual menu items
591 (Menu::hasFunc): new method. search for an item that corresponds
593 (MenuBackend::specialMenu): new method
594 (MenuBackend::expand): if a special menu has been set, skip
595 entries whose func() appears in this menu
597 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
599 * text3.C: use Debug::DEBUG a bit more
601 * text.C (leftMargin): try to simplify a tiny bit change var x to
602 l_margin. Dont output the wide margins always.
603 (rightMargin): no margin in inner texts
605 * rowpainter.h (nestMargin): new func
606 (changebarMargin): new func
607 (rightMargin): new func
609 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
613 * factory.C (createInset): modify setDrawFrame
615 * cursor.C: use Debug::DEBUG a bit more
617 2004-08-14 André Pönitz <poenitz@gmx.net>
620 * Makefile.am: new files to accomodate an 'external' (x,y)-position
621 cache for all insets in (at least partially) visible (top-level)
624 * BufferView_pimpl.C: reset external coord cache before every update.
625 This means the coord cache only contains valid entries.
627 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
630 * BufferView_pimpl.C (getInsetByCode): move function out of class
631 and change in to a template in anon namespace. Also fix to do what
634 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
637 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
639 (breakParagraph): rename par to par_offset and use a local
640 reference. Add code to keep the language over a rebreak.
641 (breakParagraphConservative): rename par to par_offset, use a
643 (mergeParagraph): ditto
645 (isFirstInSequence): ditto
646 (outerFont): rename pit to par_offset
648 * paragraph.C: ws change
653 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
655 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
658 * paragraph.C (simpleTeXOnePar): when we have a \item with
659 optional argument, enclose the argument with curly brackets (in
660 case it contains a closing square bracket)
664 * text3.C (checkInsetHit): constify
666 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
668 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
671 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
673 Fix toggling of collapsable insets with the mouse (bug 1558)
675 * lyxfunc.C (dispatch): adapt to LCursor changes
677 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
678 make sure that dispatch is not invoked twice
680 * cursor.C (needsUpdate): new method
681 (dispatch): return void
682 (result): new method, to access the DispatchResult of the cursor.
684 2004-08-13 José Matos <jamatos@lyx.org>
686 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
688 2004-08-13 André Pönitz <poenitz@gmx.net>
690 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
692 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
695 2004-08-12 André Pönitz <poenitz@gmx.net>
697 * text3.C: take out the 'cursor right' form insertInset and only
698 do it in those places when it is really needed. Fixes crash on
701 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
703 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
705 * BufferView_pimpl.C (setBuffer): initialize the current font of
706 the underlying LyXText
708 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
710 * kbsequence.C (print): use UI native formatting for menu
713 * text.C (insertChar): call Paragraph::insertChar with a font
716 * paragraph.C (insertInset, insertChar): the version that takes a
717 LyXFont argument is now a wrapper around the other one (the
718 opposite used to be true).
720 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
721 argument. Font setting is done in Paragraph now.
723 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
725 * outputparams.h: add new members intitle and lang.
727 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
728 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
730 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
732 * text3.C (dispatch): remove special handling of button 4 and 5,
733 it is now taken care of in the frontend code.
735 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
737 * Spacing.h: add <string> (STLPort compile fix)
739 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
741 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
743 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
745 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
748 * converter.C (showMessage): inherit from unary_function, make
751 * buffer.C (writeFile): initialize retval
753 * InsetList.h: rename private variable list to list_
754 * InsetList.[Ch]: adjust accordingly.
756 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
758 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
759 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
760 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
761 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
762 * ParagraphParameters.C, LaTeXFeatures.C: replace
763 "support/std_sstream.h" with <sstream>
765 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
767 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
768 * lyxsocket.C (LyXServerSocket): ditto
769 (serverCallback): ditto
771 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
773 * LaTeXFeatures.C: check release date when loading jurabib.
775 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
777 * lyxserver.C (startPipe): call register_socket_callback
778 (endPipe): call unregister_socket_callback
780 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
782 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
783 (LyXServerSocket): register the callback
784 (LyXServerSocket): unregister the callback
785 (fd): delete function
786 (serverCallback): improve error checking and setup the callbacks.
787 (dataCallback): change arg to fd.
788 (writeln): new func (copied fro the client socket) used for server
790 (LyXDataSocket): simplify
791 (~LyXDataSocket): close ann unregiser callback
792 (server): delete function
793 (fd): delete function
794 (readln): small changes, improve some std::string usage
795 (writeln): constify a bit
797 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
799 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
802 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
804 * BufferView_pimpl.C (setBuffer): set the layout combox value only
805 after it has been populated
807 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
809 * text2.C (insertInset): move cursor when inserting inset.
811 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
813 * kbmap.C (findbindings): a couple of new methods. returns a
814 container of kb_sequence objects. The real work is done by the
815 private recursive version
816 (printbindings): uses findbindings to print out a bracketed list
817 of bindings (renamed from findbinding).
819 * MenuBackend.C (binding): use kb_keymap::findbindings
821 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
823 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
825 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
827 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
829 * paragraph.C (isWord): return true on insets that report
832 * text.C (getWord): use Paragraph::isWord to decide what is in a
833 word and what is not; fix bug 1609.
835 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
837 * tex-strings.C: add "none" to string_paperpackages[], fixes
838 off-by-one-error in the paperpackage selection.
841 * tex-strings.[Ch]: char const * string[n]
842 -> char const * const string[]
844 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
846 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
847 command, return early.
849 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
851 * debug.h: add DEBUG to enum and fix size of ANY.
853 * debug.C: add support for Debug::DEBUG
854 (showTags): cast errorTags.level to unsigned int
856 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
857 (redoCurrentBuffer): ditto
858 (updateScrollbar): ditto
859 * cursor.C (dispatch): ditto
860 * text2.C (setLayout): ditto
862 (updateCounters): ditto
864 (deleteEmptyParagraphMechanism): ditto
866 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
868 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
869 annotations to cleanup the Makefile slightly.
871 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
873 * lyxrc.C: do not set user_email to a default value but use empty
874 instead. The entry used to be translated, which does not work
875 since at the point where lyxrc is constructed there is no
876 translation service available
878 * messages.C (getLocaleDir): remove and use directly
879 lyx_localedir() instead
881 2004-06-02 Angus Leeming <leeming@lyx.org>
883 Fix crash caused by dereferencing null pointer 'exportdata' in
884 OutputParams by creating a new ExportData variable on the heap,
885 storing it in a boost::shared_ptr.
886 The crash was triggered when generating an Instant Preview
887 of an external inset.
889 * Makefile.am: add outputparams.C
891 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
892 (c-tor): allocate memory to it.
894 * exporter.C (c-tor): associated changes.
896 2004-06-01 Angus Leeming <leeming@lyx.org>
898 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
899 contains data before calling isInset(0). (Bug 1513.)
901 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
903 * exporter.C (checkOverwrite): new method
904 * exporter.C (copyFile): new method
905 * exporter.C (Export): copy referenced files to the document dir
906 * exporter.[Ch]: new class ExportedFile
907 * exporter.[Ch]: new class ExportData. Contains currently the
908 names of referenced external files
909 * outputparams.h: add exportdata member.
911 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
913 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
916 2004-05-19 Angus Leeming <leeming@lyx.org>
921 * lyxfunc.C: small changes due to the introduction of namespace
922 lyx::frontend and the moving of namespace biblio to lyx::biblio.
924 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
926 * text3.C (dispatch): supress update when only moving the cursor
927 * cursor.C (selHandle): remove commented code
929 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
931 * paragraph.C (startTeXParParams): correct column count
932 * CutAndPaste.C (pasteSelection): remove const_cast
933 * output_docbook.C (docbookParagraphs): remove const_cast
934 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
935 const_cast and return ParagraphList::const_iterator
936 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
937 * output_plaintext.C (writeFileAscii): remove const_cast
938 * paragraph.[Ch] (simpleTeXOnePar): make const
939 * paragraph_funcs.C (outerPar): use const iterators
940 * paragraph_pimpl.C (validate): use const iterators
941 * text.C (setHeightOfRow): use const iterators
943 2004-05-17 Angus Leeming <leeming@lyx.org>
946 * LyXAction.C (init): new LFUN_INSET_REFRESH.
948 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
949 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
950 if the citation engine has changed.
952 2004-05-14 José Matos <jamatos@lyx.org>
954 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
955 if the textclass does not provide it. Have it different for sgml and
957 support the language of document.
958 * output_docbook.C (docbookParagraphs):
959 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
960 first anchor as the id of the paragraph, remove special case code.
961 * sgml.C (escapeChar): escape only < & >.
963 2004-05-14 Angus Leeming <leeming@lyx.org>
965 * bufferparams.h: move biblio::CiteEngine enum here to minimize
966 dependencies on src/frontends/controllers/biblio.h. Define a
967 CiteEngine_enum wrapper class to enable the enum to be forward
970 2004-05-12 Angus Leeming <leeming@lyx.org>
972 * buffer.C: up LYX_FORMAT to 234.
973 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
974 use_numerical_citations with a single biblio::CiteEngine cite_engine
976 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
978 2004-05-13 José Matos <jamatos@lyx.org>
981 * converter.C (Converter, readFlags): add xml member.
982 * outputparams.h: add XML flavor.
983 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
985 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
987 * lyxfunc.C (dispatch):
988 (getStatus): fix handling of LFUN_SEQUENCE
990 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
992 * debug.C (showLevel): do not forget the end-of-line marker
994 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
996 * kbmap.C (read): do not stop parsing a bind file when an error
999 2004-04-29 Angus Leeming <leeming@lyx.org>
1004 * text2.C: wrap a bunch of #warning statements
1005 inside #ifdef WITH_WARNINGS blocks.
1007 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1009 * buffer.C: increment format to 233.
1011 2004-04-28 Angus Leeming <leeming@lyx.org>
1013 * BufferView_pimpl.C:
1016 s/updateToolbar()/updateToolbars()/
1017 s/Toolbar.h/Toolbars.h/
1019 2004-04-28 Angus Leeming <leeming@lyx.org>
1021 * BufferView.[Ch] (c-tor):
1022 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1023 No longer passes these data to the WorkArea generator.
1025 2004-04-28 Angus Leeming <leeming@lyx.org>
1027 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1029 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1031 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1033 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1035 * output_latex.C (TeXEnvironment): make sure that there is a line
1036 break before \end{foo} for the last paragraph of a document
1037 (TeXOnePar): if the paragraph is at the end of the document (or
1038 inset) and the language has to be reset, then make sure that the
1039 line break is _before_ the language command, not after (fixes bug
1040 1225); also make sure that the language reset command is the first
1041 thing after the paragraph (to ensure proper nesting of
1042 environments and thus fix bug 1404)
1044 2004-04-21 John Levon <levon@movementarian.org>
1047 * ToolbarBackend.C: make "name" be a programmatic name
1048 and a gui_name field.
1050 * lyxfunc.C: display the minibuffer on M-x
1052 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1054 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1057 2004-04-19 Angus Leeming <leeming@lyx.org>
1059 * BufferView_pimpl.C (setBuffer): changed preview interface.
1061 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1064 2004-04-19 John Levon <levon@movementarian.org>
1066 * BufferView_pimpl.C:
1067 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1069 2004-04-05 Angus Leeming <leeming@lyx.org>
1071 * text.C (redoParagraphs): add call to updateCounters(), thereby
1072 fixing the missing "Figure #:" label from the caption of a
1075 2004-04-13 Angus Leeming <leeming@lyx.org>
1077 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1078 cursor is clicked out of an inset.
1080 2004-04-13 Angus Leeming <leeming@lyx.org>
1082 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1083 than an InsetOld one.
1085 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1087 * format.[Ch]: add editor to Format
1088 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1089 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1091 2004-04-08 André Pönitz <poenitz@gmx.net>
1093 * metricsinfo.h: remove PainterInfo::width member
1095 2004-04-08 Angus Leeming <leeming@lyx.org>
1097 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1098 "\providecommand" rather than "\newcommand", thereby preventing
1099 clashes with packages that define "\boldsymbol" themselves.
1102 2004-04-08 Angus Leeming <leeming@lyx.org>
1104 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1105 thereby squashing an unnecessary warning.
1107 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1109 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1112 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1114 * BufferView.C (setCursor): call redoParagraph (some insets could
1116 (putSelectionAt): remove the 'double update' trick
1118 * BufferView_pimpl.C (fitCursor): call refreshPar
1119 (workAreaDispatch): remove an uneeded update call
1120 (dispatch): remove some manual update calls
1122 * cursor.[Ch]: remove cached_y_, updatePos
1123 (selHandle): set noUpdate when appropriate
1125 * lyxfunc.C (dispatch): track if we need an update
1127 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1129 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1130 (paintSelection): cheap optimization, do not call cursorX when not
1132 (paintPars): change signature
1135 (paintTextInset): adjust
1139 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1141 * lengthcommon.C: compilation fix: remove explicit array size from
1142 unit_name[] and friends
1144 2004-04-05 Angus Leeming <leeming@lyx.org>
1146 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1148 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1149 present only for the preferences dialog.
1150 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1152 2004-04-05 Angus Leeming <leeming@lyx.org>
1154 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1155 to enable the frontends to export changes to lyxrc correctly.
1157 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1159 2004-04-07 André Pönitz <poenitz@gmx.net>
1161 * cursor.[Ch] (selClear, adjust): remove math
1163 * cursor_slice.C: more agressive assert
1166 * BufferView_pimpl.C: rework mouse event dispatch
1173 2004-04-05 André Pönitz <poenitz@gmx.net>
1175 * cursor.[Ch] (valign, halign...): remove unneeded functions
1177 2004-04-05 Angus Leeming <leeming@lyx.org>
1179 * lyxlength.[Ch] (unit_name et al.): const-correct.
1181 2004-04-05 Angus Leeming <leeming@lyx.org>
1183 * BufferView_pimpl.C:
1192 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1194 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1196 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1198 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1200 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1201 * BufferView_pimpl.[Ch] (getStatus)
1202 * BufferView.[Ch] (getStatus): add
1203 * lyxfunc.C (getStatus): move lfuns handled in
1204 BufferView::dispatch to te function above
1205 * Cursor.C (setSelection): set selection() = true
1207 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1209 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1211 2004-03-31 Angus Leeming <leeming@lyx.org>
1213 * lyxfunc.C (dispatch): Fall through to the generic
1214 Dialogs::show("preamble").
1216 2004-03-31 Angus Leeming <leeming@lyx.org>
1218 * lyxfunc.C (dispatch): Fall through to the generic
1219 Dialogs::show("spellchecker").
1221 2004-03-31 Angus Leeming <leeming@lyx.org>
1223 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1226 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1231 * insetiterator.[Ch]:
1236 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1238 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1240 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1241 insets where we are putting the cursor.
1243 2004-03-31 Angus Leeming <leeming@lyx.org>
1246 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1248 * lyxrc.[Ch] (read, write): overloaded member functions taking
1249 a std::[io]stream arguments.
1251 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1253 2004-03-31 Angus Leeming <leeming@lyx.org>
1255 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1256 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1258 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1259 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1261 2004-03-31 Angus Leeming <leeming@lyx.org>
1263 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1264 the LFUN_ALL_INSETS_TOGGLE code.
1266 2004-03-30 Angus Leeming <leeming@lyx.org>
1268 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1269 has died. Fall through to the generic Dialogs::show("document").
1271 2004-03-30 Angus Leeming <leeming@lyx.org>
1274 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1275 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1277 * lyxfunc.C (getStatus, dispatch): define the actions for these
1278 lfuns. Little more than a cut and pste job from ControlDocument.C
1280 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1282 2004-03-30 Angus Leeming <leeming@lyx.org>
1285 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1286 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1288 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1289 open/closed state of ollapsable insets. Usage:
1291 all-inset-toggle <state> <name>, where
1292 <state> == "open" || "closed" || "toggle" and
1293 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1295 * lyxtext.h, text2.C (toggleInset): removed.
1297 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1298 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1299 now passes LFUN_INSET_TOGGLE to the found inset.
1301 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1302 is now invoked as "all-insets-toggle toggle branch".
1304 2004-03-30 Angus Leeming <leeming@lyx.org>
1308 * pariterator.[Ch]: added/corrected header blurb.
1310 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1312 * dociterator.[Ch]: add an inset_ member
1313 (backwardPos): implemented
1314 (backwardPos, forwardPos): use inset_ when the stack is empty.
1315 (doc_iterator_begin, doc_iterator_end): implemented
1316 * pariterator.[Ch]: adjust, add begin, end
1317 * insetiterator.[Ch]: adjust, add begin, end
1321 * BufferView_pimpl.C:
1322 * CutAndPaste.C: adjust
1324 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1326 * buffer.C: increment file format to 232.
1327 * LaTeXFeatures.C: add bibtopic package.
1328 * bufferparams.[Ch]: param \use_bibtopic.
1330 * lyxrc.[Ch]: add lyxrc bibtex_command
1331 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1333 * buffer.C: increment file format to 231.
1335 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1337 * dociterator.C: implement forwardPar
1338 * iterators.[Ch]: remove, replaced by
1339 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1341 * BufferView_pimpl.C:
1344 * bufferview_funcs.C:
1350 * Makefile.am: adjust
1352 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1354 * CutAndPaste.C (pasteSelection): fix 2 crashes
1355 (eraseSelection): fix a crash
1356 * paragraph_funcs.C: remove a warning
1358 2004-03-28 Angus Leeming <leeming@lyx.org>
1361 * LyXAction.C (init): new LFUN_PRINT.
1363 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1365 2004-03-27 Angus Leeming <leeming@lyx.org>
1368 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1370 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1372 2004-03-27 Angus Leeming <leeming@lyx.org>
1374 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1375 insetlist always contains non-null pointers to insets.
1377 2004-03-26 Angus Leeming <leeming@lyx.org>
1379 * src/BufferView_pimpl.C:
1380 * src/CutAndPaste.C:
1383 * src/output_plaintext.C:
1384 * src/outputparams.h:
1385 * src/paragraph_funcs.C:
1389 * src/frontends/controllers/ControlErrorList.C:
1390 * src/frontends/gtk/FileDialogPrivate.C:
1391 * src/frontends/gtk/GPainter.C:
1392 * src/frontends/gtk/GToolbar.C:
1393 * src/frontends/qt2/QRef.C:
1394 * src/mathed/math_scriptinset.C: squash compiler warnings.
1396 2004-03-26 Angus Leeming <leeming@lyx.org>
1398 * ispell.C (LaunchIspell::start):
1399 * lyx_cb.C (AutoSaveBuffer::start):
1400 invoke run(DontWait) rather than runNonBlocking().
1402 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1404 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1406 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1408 * kbsequence.C (print): adjust
1410 * kbmap.C (printKeySym): rename and change signature
1411 (printKey): use LyXKeySym::print()
1413 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1415 * undo.C: add using std::advance to compile for stlport
1417 2004-03-24 Angus Leeming <leeming@lyx.org>
1419 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1420 it leads to a crash when no buffer is present.
1422 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1423 Martin Vermeer <martin.vermeer@hut.fi>
1425 * lyxfunc.C (dispatch):
1426 * bufferparams.C (readToken): use the new LColor::setColor
1428 * LColor.[Ch] (setColor): new version that takes two strings as
1429 argument and creates a new color entry if necessary
1431 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1433 * buffer.C (makeLaTeXFile): if the main latex file that is
1434 processed is usually a subdocument of some master, then pretend
1435 for a while that it is actually the master
1437 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1439 * buffer.C (getLabelList):
1440 (getBibkeyList): use getMasterBuffer()
1441 (getMasterBuffer): new method. Returns the main document in the
1442 case where one is using included documents.
1444 2004-03-25 André Pönitz <poenitz@gmx.net>
1448 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1450 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1452 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1453 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1455 * ParameterStruct.h: merge with ParagraphParameters
1457 * lyxtext.h: remove LyXText::parOffset() and getPar()
1459 * text3.C: Remove all 'manual' update calls. We do now one per user
1460 interaction which is completely sufficient.
1464 * BufferView_pimpl.C:
1465 * FontIterator.[Ch]:
1467 * ParagraphParameters.[Ch]:
1472 * cursor_slice.[Ch]:
1479 * output_docbook.[Ch]:
1480 * output_latex.[Ch]:
1481 * output_linuxdoc.[Ch]:
1482 * output_plaintext.[Ch]:
1484 * paragraph_funcs.[Ch]:
1485 * paragraph_pimpl.[Ch]:
1493 * frontends/controllers/ControlDocument.C:
1494 * frontends/controllers/ControlErrorList.C:
1495 * frontends/controllers/ControlSpellchecker.C:
1498 * insets/insetbase.h:
1499 * insets/insetbibitem.C:
1500 * insets/insetbox.C:
1501 * insets/insetbranch.C:
1502 * insets/insetcaption.C:
1503 * insets/insetcharstyle.C:
1504 * insets/insetcharstyle.h:
1505 * insets/insetcollapsable.C:
1506 * insets/insetcollapsable.h:
1507 * insets/insetert.C:
1508 * insets/insetfloat.C:
1509 * insets/insetfoot.C:
1510 * insets/insetmarginal.C:
1511 * insets/insetnote.C:
1512 * insets/insetoptarg.C:
1513 * insets/insettabular.C:
1514 * insets/insettext.C:
1515 * insets/insettext.h:
1516 * insets/insetwrap.C:
1517 * mathed/math_mboxinset.C:
1518 * mathed/math_nestinset.C:
1519 * mathed/math_scriptinset.C:
1520 * mathed/math_scriptinset.h:
1523 2004-03-24 Angus Leeming <leeming@lyx.org>
1525 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1526 deal with any child processes that have finished but are waiting to
1527 communicate this fact to the rest of LyX.
1529 2004-03-24 Angus Leeming <leeming@lyx.org>
1531 64-bit compile fixes.
1533 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1534 (c-tor): pass lyx::pos_types rather than ints.
1536 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1539 * text.C (Delete): compile fix.
1540 (getPar): ensure that function declaration is the same as that in
1543 2004-03-23 Angus Leeming <leeming@lyx.org>
1545 * ispell.C (LaunchIspell):
1546 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1547 a boost::shred_ptr rather than a std::auto_ptr.
1549 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1551 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1552 handle LFUN_FILE_INSERT_*
1554 * lyxrc.C (setDefaults, getDescription, output, read):
1555 * lyxrc.h: remove ps_command
1557 2004-03-22 Angus Leeming <leeming@lyx.org>
1559 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1560 Ensure that error_handler is processed once only and that all data
1561 is saved before attempting to output any warning messages.
1563 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1565 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1567 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1569 2004-03-19 André Pönitz <poenitz@gmx.net>
1571 * cursor.[Ch] (reset): take main text inset as argument
1573 * BufferView: adjust
1574 * BufferView_pimpl.C: adjust
1576 * paragraph.[Ch]: fix completely broken operator=()
1578 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1580 * LColor.C (getFromLyXName): make sure that the color name is used
1583 2004-03-17 Angus Leeming <leeming@lyx.org>
1586 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1588 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1589 dialog and to kill a forked process.
1591 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1593 * text2.C (setCursorFromCoordinates): fix font problem
1595 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1597 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1598 bogus "rebuild cursor" code
1600 2004-03-11 André Pönitz <poenitz@gmx.net>
1602 * buffer.[Ch]: use InsetText instead of LyXText as container for
1605 * dociterator.[Ch]: drop the BufferView * member which is not needed
1606 anymore after the change to buffer.C
1608 * paragraph_funcs.C:
1612 * BufferView_pimpl.[Ch]:
1614 * cursor_slice.[Ch]: adjust
1616 * text3.C: fix bug in mathDispatch
1618 2004-03-08 André Pönitz <poenitz@gmx.net>
1620 * undo.[Ch]: use 'StableDocumentIterator' as base for
1623 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1626 * bufferparams.[Ch]: add jurabib support and param.
1628 * LaTeX.C: add FIXME/comment.
1630 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1632 * buffer.C: increment file format to 230.
1634 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1636 * cursor.C (dispatch): avoid infinite loops
1638 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1640 * rowpainter.C (paintSelection): fix x coordinates
1642 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1644 * text.C (rowBreakPoint): fix breaking before displayed insets
1646 2004-03-01 André Pönitz <poenitz@gmx.net>
1648 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1650 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1654 * BufferView_pimpl.C:
1662 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1668 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1669 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1671 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1673 * Bidi.[Ch] (computeTables): const correctness
1674 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1675 fill_hfill, fill_label_hfill and x from Row
1676 * lyxtext.h: prepareToPrint returns a RowMetrics
1677 * rowPainter.C: adjust
1678 * text.C (prepareToPrint): use width, not textWidth. adjust
1679 (redoParagraphInternal, cursorX): adjust
1680 * text2.C (getColumnNearX): adjust
1681 (init): put a default value to the top LyXText::width
1683 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1685 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1687 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1689 * lyxtext.h: add FontIterator class
1691 * text.C (FontIterator, operator*, operator->, operator++): add
1692 (rowBreakPoint, setRowWidth): adjust (fixing a
1695 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1697 * BufferView_pimpl.C (workAreaDispatch): allow also
1698 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1700 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1702 * text.C (rowBreakPoint): fix a bug showing with very large insets
1704 2004-02-25 André Pönitz <poenitz@gmx.net>
1707 * cursor.[Ch]: move some mathed specific code to mathed
1709 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1711 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1712 use_tempdir in preferences
1713 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1715 * lyx_main.C: ensure that tempdir is valid
1716 * lyxlex.h: correct typo
1717 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1718 * paragraph.[Ch] (isMultiLingual): make const
1719 * cursor.[Ch] (openable): make const
1721 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1723 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1725 2004-02-20 André Pönitz <poenitz@gmx.net>
1727 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1729 * cursor.[Ch]: prepare for localized getStatus()
1735 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1737 2004-02-20 André Pönitz <poenitz@gmx.net>
1739 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1741 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1743 * text2.C (setCursorFromCoordinates): switch to absolute coords
1745 (cursorDown): adjust
1746 * text3.C (dispatch): adjust
1748 2004-02-16 André Pönitz <poenitz@gmx.net>
1750 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1753 * cursor_slice.[Ch]: remove unneeded acessor function
1755 * lyxtext.h: rename rtl() to isRTL()
1763 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1765 * rowpainter.C (paintSelection): coord fix
1767 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1769 * Spacing.C: compile fix
1771 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1773 * cursor.C (dispatch): restore current_ before returning
1775 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1777 * text2.C (cursorUp, cursorDown): fix coords
1780 2004-02-12 André Pönitz <poenitz@gmx.net>
1785 * text3.C: add LCursor & parameter to most cursor movement functions
1786 remove usage of LyXText::cursorRow() and cursorPar()
1788 * cursor.[Ch]: add textRow() needed members
1791 * BufferView_pimpl.C:
1794 * BufferView_pimpl.C: adjust
1796 2004-02-11 André Pönitz <poenitz@gmx.net>
1800 * BufferView_pimpl.C: shift undo/redo handling
1802 * cursor.[Ch]: fix mathed crash
1805 * lyxtext.h: move selectionAsText to LCursor
1813 * rowpainter.C: fix excessive drawing
1815 2004-02-06 André Pönitz <poenitz@gmx.net>
1818 * BufferView_pimpl.[Ch]:
1819 * text3.C: move some text specific LFUN handling
1821 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1823 * text3.C (checkInsetHit): adjust coords
1824 * text2.C (getColumnNearX): adjust coords
1825 (edit): adjust coords
1826 * text.C (getRowNearY): add two asserts
1828 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1831 * format.C: add using std::distance to compile on gcc 2.95/stlport
1833 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1835 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1837 2004-02-04 André Pönitz <poenitz@gmx.net>
1839 * BufferView.[Ch] (insertInset):
1840 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1845 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1847 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1848 on the default clause of the switch
1849 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1850 wasn't catched by LCursor::dispatch
1852 2004-02-03 André Pönitz <poenitz@gmx.net>
1855 * cursor.[Ch]: some additional asserts
1857 * undo.[Ch]: remove LyXText dependency in interface
1861 * lyxtext.h (firstPar, lastPar): remove dead functions
1866 * paragraph.[Ch]: adjust
1868 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1870 * lyxfind.C (find): fix argument order in call to ::find
1872 2004-02-02 André Pönitz <poenitz@gmx.net>
1874 * cursor.[Ch]: remove direct access to anchor
1876 * text.C: remove findText() hack
1878 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1880 * iterators.[Ch] (lockPath): remove in favour of...
1881 * BufferView.[Ch] (setCursor): this addition
1882 * BufferView.C (putSelectionAt): adjust
1883 * undo.C (performUndoOrRedo): adjust
1884 * lyxfunc.C (dispatch): adjust
1886 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1888 * iterators.C (lockPath): add a missing slice
1889 * undo.C (performUndoOrRedo): remove redundant positioning code
1891 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1893 * vc-backend.C (scanMaster): ";" -> ';'
1895 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1897 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1898 std::binary_function
1900 * lyxtextclass.C (compare_name): rename to...
1901 (LayoutNamesEqual): ...this
1903 * lyxlex_pimpl.C (compare_tags): inherit from
1904 std::binary_function, put back into anon namespace
1906 * lyxfind.C (MatchString): inherig from std::binary_function
1907 (findChange): use empty() istead of !size()
1909 * format.C (FormatNamesEqual): new functor
1916 * converter.C (compare_Converter): rename to...
1917 (ConverterEqual): ...this, and fixup a bit.
1918 (getConverter): use it, and make function const
1919 (getNumber): use it, and make function const
1923 * bufferlist.C: add using boost::bind
1925 * MenuBackend.C (MenuNamesEqual): new functor
1926 (hasMenu): use it, and make function const
1927 (hasSubmenu): use nested bind to get rid of compare_memfun.
1929 2004-01-30 André Pönitz <poenitz@gmx.net>
1931 * BufferView_pimpl.C:
1934 * cursor_slice.[Ch]:
1937 * paragraph_funcs.C:
1938 * paragraph_funcs.h:
1942 * text3.C: move some of the edit(x,y) handling to the insets
1943 some coordinate changes.
1945 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1947 * text.C: add using statements for std::advance and std::distance
1949 * paragraph.C: add using statement for std::distance
1951 * lyxfind.C: add using statement for std::advance
1953 * cursor.C (region): remove std:: from swap
1954 (openable): use nucleus in stead of operator->
1956 * BufferView.C: add using statements for std::distance and std::swap
1958 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1960 * iterators.C: Remove the pimple, move the needed structures to
1961 the header file. Create accessor for the positions stack.
1962 (asPosIterator): remove function
1964 * PosIterator.C (PosIterator): move constructors to top of file
1965 (PosIterator): reimplement the constructor taking a ParIterator in
1967 (setFrom): new function
1968 (operator!=): inline it
1970 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1972 * lyxfind.C (replaceAll): use std::advance
1974 * iterators.h: inherit from std::iterator.
1976 * PosIterator.C (advance, distance): remove
1977 * PosIterator.h: interit from std::iterator.
1979 2004-01-26 André Pönitz <poenitz@gmx.net>
1982 * BufferView_pimpl.[Ch]:
1986 * bufferview_funcs.C:
1996 * output_linuxdoc.C:
1997 * output_plaintext.C:
1999 * paragraph_funcs.[Ch]:
2000 * paragraph_pimpl.[Ch]:
2006 * text3.C: more IU: dumps most of the rest of the mathcursor
2007 implementation into cursor.[Ch]; "globalize" a bit of it.
2009 2004-01-25 Angus Leeming <leeming@lyx.org>
2011 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2013 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2015 * LaTeXFeatures.h: add nice_ and nice() const
2016 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2018 2004-01-20 André Pönitz <poenitz@gmx.net>
2021 * BufferView_pimpl.C:
2023 * bufferview_funcs.C:
2025 * cursor_slice.[Ch]:
2036 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2037 LCursor and mathcursor parts to LCursor and InsetBase.
2039 2004-01-15 André Pönitz <poenitz@gmx.net>
2041 * cursor_slice.[Ch]: add a few covienience functions
2043 * funcrequest.[Ch]: remove BufferView * member
2045 * BufferView_pimpl.C:
2052 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2054 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2056 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2057 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2059 2004-01-13 André Pönitz <poenitz@gmx.net>
2062 * lyxtext.h: hide cursor and selection anchor behind accessor function
2065 * BufferView_pimpl.[Ch]:
2067 * bufferview_funcs.C:
2077 * cursor_slice.[Ch]: some integer type changes for inset unification
2079 * lyxcursor.[hC]: remove, it's CursorSlice now.
2082 * BufferView_pimpl.[Ch]:
2083 * bufferview_funcs.C:
2089 * textcursor.[Ch]: adjust
2091 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2093 * text2.C (undoSpan): add and use
2094 * text.C (breakParagraph): use undoSpan (fix bug 578)
2097 2004-01-08 Angus Leeming <leeming@lyx.org>
2099 * BufferView_pimpl.C (MenuInsertLyXFile):
2100 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2101 * lyxfunc.C (menuNew, open, doImport):
2102 FileFilterList change to the FileDialog open and save functions.
2104 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2106 * ShareContainer.h: make isEqual and isUnique adaptable
2108 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2110 2004-01-07 Angus Leeming <leeming@lyx.org>
2113 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2115 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2117 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2118 functions replacing find, replace and replaceAll.
2120 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2121 LFUN_WORDFIND(FORWARD|BACKWARD).
2123 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2125 * text.C (breakParagraph): remove an outdated #warning
2127 2004-01-07 André Pönitz <poenitz@gmx.net>
2129 * lyxfind.C: somewhat clearer logic
2131 * text.C: prevent crash in cursorX on unitialized row cache
2133 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2135 * lyxcursor.[Ch] (operator>): add
2136 * textcursor.C (selStart, selEnd): use std::min and std::max
2138 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2140 * Chktex.C: include boost/format.hpp
2142 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2144 * InsetList.C: replace functor MathcIt with adaptable functor
2146 (insetIterator): modify accordingly
2148 * BranchList.h: move the BranchNamesEqual functor here from...
2149 * BranchList.C: ... to here
2151 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2153 (add): replace a finding loop with std::find_if.
2155 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2157 * output_docbook.C: moving LatexParam functionality into
2160 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2162 * buffer.C: increment format to 229.
2164 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2167 * lyx_sty.[Ch]: remove minipageindent_def
2173 * text3.C: remove LFUN_INSET_MINIPAGE
2175 2003-12-28 Angus Leeming <leeming@lyx.org>
2177 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2179 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2181 * text2.C (setParagraph): fix off-by-one crash
2183 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2185 * output_docbook.C: header stuff for AGU
2187 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2189 * text2.C (redoCursor): remove
2192 * BufferView_pimpl.C: remove calls to redoCursor and
2193 setCursor(cursor.par(), cursor.pos()) all around
2195 2003-12-15 Angus Leeming <leeming@lyx.org>
2197 * buffer.C: up the format to 228.
2199 2003-12-15 André Pönitz <poenitz@gmx.net>
2201 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2206 * BufferView_pimpl.C:
2215 2003-12-15 Angus Leeming <leeming@lyx.org>
2217 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2218 than getFromGUIName to manipulate the color.
2220 2003-12-14 Angus Leeming <leeming@lyx.org>
2222 * BranchList.[Ch]: minimize the API.
2223 (Branch::getBranch, getColor): now return a 'const &'.
2224 (Branch::setSelected) now returns a bool set to true if the
2225 selection status changes.
2226 (BranchList::clear, size, getColor, setColor, setSelected,
2227 allBranches, allSelected, separator): removed.
2228 (BranchList::find): new functions, returning the Branch with
2230 (BranchList::add, remove): return a bool indicating that
2231 the operation was successful.
2233 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2234 new InsetBranch::isBranchSlected member function.
2236 * LColor.[Ch]: mimimize the API.
2237 (fill): renamed as addColor and made private.
2238 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2239 versions of these functions taking a string arg have been removed.
2241 * bufferparams.C (readToken):
2242 * lyxfunc.C (dispatch):
2243 * lyxrc.C (read): changes due to the altered BranchList and
2246 * factory.C (createInset, readInset): changes due to altered
2249 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2252 * lyxfunc.C: remove insetminipage. "minipage-insert"
2253 now produces a frameless minipage box inset.
2255 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2257 * textcursor.[Ch] (selStart,selEnd): add new methods
2258 remove selection::start, end, use LyXCursor::operator<
2259 * lyxcursor.[Ch] (operator<): add
2260 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2261 * BufferView.[Ch] (unsetXSel): add
2262 * text2.C (clearSelection): use unsetXSel,adjust
2265 * rowpainter.C: adjust
2266 * bufferview_funcs.C (put_selection_at): adjust
2268 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2270 * BufferView_pimpl.C: small coord. correction
2272 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2274 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2275 dragging over the splash screen.
2277 2003-12-11 Angus Leeming <leeming@lyx.org>
2279 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2280 as it is now handled in LyXText::dispatch.
2282 * text3.C (doInsertInset): remove a level of nesting.
2284 2003-12-11 Angus Leeming <leeming@lyx.org>
2286 * factory.C (createInset): changes due to the changed interface to
2287 InsetCommandMailer::string2params.
2289 2003-12-10 Angus Leeming <leeming@lyx.org>
2291 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2292 'dialog-show-new-inset <inset name>'
2294 2003-12-10 Angus Leeming <leeming@lyx.org>
2296 * buffer.C: up the format to 227.
2298 * factory.C: the box inset is now identified simply by 'Box'.
2300 2003-12-10 Angus Leeming <leeming@lyx.org>
2302 * buffer.C: up the format to 226.
2304 * factory.C: the note inset is now identified simply by 'Note'.
2306 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2308 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2309 when a pit is enough. Standarize a couple of loops.
2311 2003-12-05 Angus Leeming <leeming@lyx.org>
2313 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2314 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2315 data to the re-worked "log" dialog.
2317 2003-12-03 André Pönitz <poenitz@gmx.net>
2323 * paragraph_funcs.C:
2325 * text2.C: use Inset::getText instead of Inset::getParagraph
2327 2003-12-03 André Pönitz <poenitz@gmx.net>
2331 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2332 InsetText::read() as LyXText::read()
2334 2003-12-02 Angus Leeming <leeming@lyx.org>
2336 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2337 type. Add a comment in the implementation that the function uses
2338 the stream's bad() function rather than fail() as the std::streams
2341 2003-12-02 André Pönitz <poenitz@gmx.net>
2343 * lyxlex.[Ch]: make interface more similar to std::stream
2345 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2347 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2349 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2351 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2353 * vspace.[Ch]: remove VSpace::NONE
2355 2003-12-01 André Pönitz <poenitz@gmx.net>
2358 * lyxtext.h: move ParagraphList member to LyXText
2359 rename LyXText::ownerParagraphs to LyXText::paragraph
2362 * bufferview_funcs.C:
2372 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2374 * undo.C: fix cursor positioning
2376 2003-12-01 John Levon <levon@movementarian.org>
2378 * BufferView_pimpl.C: fix a crash on exit with
2381 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2383 * BranchList.C: fix setSelected() method.
2385 2003-11-28 André Pönitz <poenitz@gmx.net>
2387 * ParagraphParameters.[Ch]:
2388 * ParameterStruct.h: remove space above/below from Paragraph to
2391 * BufferView_pimpl.C:
2397 * paragraph_funcs.C:
2403 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2405 * factory.C: Syntax change for CharStyles
2407 2003-11-28 André Pönitz <poenitz@gmx.net>
2412 * buffer.[Ch]: move LyXText member
2414 2003-11-28 André Pönitz <poenitz@gmx.net>
2416 * BufferView.[Ch]: make LyXText * text a private member
2418 * BufferView_pimpl.C:
2429 * output_plaintext.C: cleanup
2431 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2434 * lyxtextclass.[Ch]: parametrize SGML document header
2436 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2439 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2442 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2444 * text2.C (setFont): rework using PosIterator (no more recursive)
2445 (setCharFont): no more needed
2446 (setLayout): no more selection cursors fiddling (done by redoCursor)
2447 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2448 destroy remaining ones)
2450 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2452 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2454 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2457 * text3.C: adjust + re-allow multi par depth changes
2458 * textcursor.C: simplify a bit
2460 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2466 * src/output_docbook.C:
2467 * src/output_latex.C:
2472 * src/text2.C: Introducing a number of tags parametrizing various
2473 XML formats that we may want to support
2475 2003-11-25 André Pönitz <poenitz@gmx.net>
2477 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2479 * lyxtext.h (leftMargin/rightMargin): simplify interface
2486 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2488 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2489 master file to any child files. Fixes bug 546.
2491 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2493 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2495 2003-11-24 André Pönitz <poenitz@gmx.net>
2497 * rowpainter.C: simplification
2499 * text2.C (updateCounters): remove call to redoParagraph on
2500 changed labels as this is far too expensive.
2502 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2504 * converter.C (convert): fix a crash: this function gets
2505 called with buffer == 0 from importer code.
2507 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2509 * text3.C (cursorPrevious): make sure that we do not compare
2510 iterators form different containers.
2513 * rowpainter.C (paintSelection): make sure that we do not compare
2514 iterators from different containers.
2516 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2517 iterators from different ParagraphList containers.
2520 * text2.C (LyXText): change order of initialization slightly
2521 (operator=): new function. copy all variables except cache_par_
2522 (moveUp): make sure that we do not compare iterators from
2523 different ParagraphList constainers.
2526 * text.C (firstPar): new function
2527 (lastPar): new function
2528 (endPar): new function
2530 * lyxtext.h: move things around and group public functions, public
2531 variables, private functions, private variables
2533 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2535 * factory.C: change call to InsetERT constructor to avoid
2536 additional invocation of method status
2537 * text2.C (toggleInset): remove redundant update() call
2538 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2539 instead of a Bufferview pointer
2541 2003-11-21 André Pönitz <poenitz@gmx.net>
2543 * rowpainter.C: simplification
2545 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2547 * text3.C (dispatch): make possible to extend a word/row selection
2550 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2552 * lyxtext.h: x0_,y0_ -> xo_,yo_
2553 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2554 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2555 * rowpainter.C (paintRows): paint full paragraphs
2557 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2559 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2562 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2564 * lyxtext.h: add x0_, y0_
2565 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2566 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2568 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2570 * text2.C (setCursorIntern): move the x_target update here *
2571 * text3.C: change some bv() to true/false in calls to
2572 cursorUp/Down/Right/Left
2573 * cursor.C: use helper function.
2575 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2577 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2578 * paragraph_funcs.[Ch]: correct comment
2579 * rowpainter.C: do not paint selections away from bv->cursor()
2580 Fix a long standing selection painting bug.
2581 * text3.C: generalize mouse-selection code to LyXTexts other that
2583 * textcursor.C: do not use y coords if we can use par offsets
2585 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2587 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2588 cursor position after e.g. inset insert)
2590 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2592 * lyxfind.C (replace): adjust to locking removal + some
2595 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2597 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2600 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2603 * output_docbook.C: XML sanitation: new layout
2604 parameters InnerTag and CommandDepth
2606 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2608 * BufferView_pimpl.C:
2610 * text3.C: Fix the insertion and modification of button-style
2613 2003-11-13 André Pönitz <poenitz@gmx.net>
2615 * InsetList.[Ch]: remove deleteLyXText
2617 * paragraph.[Ch]: cache beginOfBody position
2622 * text3.C: remove superfluous update() calls
2626 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2628 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2629 * BufferView.C (fitLockedInsetCursor): remove
2630 * cursor.[Ch] (getDim): add
2631 * text.C (getRowNearY): add faster version
2632 * text3.C: remove some update calls
2634 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2646 * text3.C: The Character Style /XML short element patch.
2648 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2651 * factory.C: Small step to solving 'unable to insert some insets'
2654 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2656 * cursor.[Ch] (updatePos): new function for updating the y
2657 position of the tip inset
2658 * bufferview_funcs.C (put_selection_at):
2659 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2661 2003-11-11 André Pönitz <poenitz@gmx.net>
2663 * text.C: remove big comment on invalid Paragraph pointers as it is
2666 2003-11-11 André Pönitz <poenitz@gmx.net>
2668 * text_funcs.[Ch]: merge with ...
2676 * Makefile.am: remove text_funcs.[Ch]
2678 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2680 * cursor.C (getPos): return absolute cached y coord
2682 * BufferView_pimpl.C (fitCursor): new simplistic code
2683 (workAreaDispatch): add a fitCursor call
2685 2003-11-10 André Pönitz <poenitz@gmx.net>
2688 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2690 2003-11-10 André Pönitz <poenitz@gmx.net>
2692 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2693 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2694 indicate that the cursor needs to leave an inset
2696 * lyxtext.h: remove inset locking
2698 * cursor.[Ch]: re-implement functionality provided by inset locking
2701 * BufferView_pimpl.[Ch]:
2703 * bufferview_funcs.[Ch]:
2715 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2717 * PosIterator.[Ch]: replace the stack with a vector, add inset
2719 * iterators.[C]: adjust
2721 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2723 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2725 * paragraph_funcs.C (readParToken): put the correct id in the
2726 error item, not the id of the top paragraph
2728 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2730 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2731 * bufferview_funcs.C (put_selection_at): use the above
2733 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2735 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2737 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2739 * output_linuxdoc.h:
2740 * output_plaintext.h:
2742 * output_docbook.h: add #include statements
2744 2003-11-05 José Matos <jamatos@lyx.org>
2746 * output_docbook.[Ch]:
2747 * output_latex.[Ch]:
2748 * output_linuxdoc.[Ch]:
2749 * output_plaintext.[Ch]: New files for output formats.
2750 * output.[Ch]: New file for helper functions.
2753 * paragraph_funcs.[Ch]: output functions moved to new files.
2755 * outputparams.h: rename of latexrunparams.h
2763 * paragraph_funcs.[Ch]:
2764 * paragraph_pimpl.[Ch]:
2765 * tabular.[Ch]: rename ascii to plaintext
2766 and LatexRunParams to OutputParams.
2768 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2770 * iterators.[Ch] (text): require bv argument
2771 * undo.C (recordUndo):
2772 * lyxfunc.C (dispatch):
2773 * bufferview_funcs.C (put_selection_at): adjust
2775 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2777 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2779 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2781 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2784 2003-11-04 André Pönitz <poenitz@gmx.net>
2786 * cursor.[Ch]: restructure
2789 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2791 * iterators.[Ch] (asCursor): remove
2793 * lfuns.h: remove LFUN_INSET_EDIT
2799 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2801 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2803 * lyxfind.[Ch]: complete overhaul
2804 * BufferView_pimpl.C:
2806 * paragraph.[Ch] (insert): add
2808 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2812 * text.C: remove dead spellcheck code
2814 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2816 * dispatchresult.h: add a val setter
2818 * cursor.C (dispatch): use a tempvar for data_[i]
2820 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2822 * PosIterator.[Ch]: compile fix
2824 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2826 * text.C (cursorPar): deactivate the cursor cache
2828 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2830 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2832 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2834 * text3.C (dispatch): adjust for new DisptchResult semantics.
2836 * lyxfunc.C (dispatch): handle update when return from
2837 Cursor::dispatch, adjust for new DispatchResult semantics.
2839 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2840 DispatchResult(true) mean to not update. Add class functions for
2841 setting dispatched and update, as well as reading.
2843 * cursor.C (dispatch): don't handle update here
2845 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2847 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2848 * trans_mgr.C: adjust
2850 * paragraph_funcs.C (readParToken): exception safety
2852 * lyxvc.h: store the vcs pointer in a scoped_ptr
2855 * lyxsocket.C (serverCallback): exception safety
2857 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2859 * ispell.C (clone): make it return a auto_ptr
2861 * factory.C (createInset): exception safety
2862 (readInset): exception safety
2864 * bufferlist.C (newBuffer): exception safety
2866 * Thesaurus.C (Thesaurus): use initialization for aik_
2868 * MenuBackend.C (expandToc): exception safety.
2870 2003-11-03 André Pönitz <poenitz@gmx.net>
2874 * bufferview_funcs.C: remove getInsetFromId()
2877 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2883 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2885 * PosIterator.C (distance, advance): new
2886 * bufferview_funcs.[Ch] (put_selection_at): new
2887 * iterators.[Ch] (lockPath): new
2889 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2891 * iterators.[Ch] (asPosIterator): added
2892 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2893 * PosIterator.[Ch]: added
2895 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2899 * cursor.C (dispatch):
2900 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2902 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2903 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2904 contructor, add a class function dispatched. Remove operator>=
2906 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2908 * debug.C: only use the default constructor for debugstream
2911 * main.C (main): include debug.h and setup the lyxerr streambuf
2914 2003-10-31 José Matos <jamatos@lyx.org>
2916 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2918 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2919 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2920 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2921 * paragraph_pimpl.C (simpleTeXSpecialC):
2922 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2923 add LatexRunParams argument.
2925 * exporter.C (Export): change call accordingly.
2927 * latexrunparams.h: add new member to take care of the other backends.
2928 2003-10-30 José Matos <jamatos@lyx.org>
2930 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2931 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2932 factorise code for paragraph output.
2934 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2937 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2939 * text3.C (dispatch):
2940 * lyxfunc.C (dispatch):
2941 * cursor.C (dispatch):
2942 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2944 * dispatchresult.h: make the dispatch_result_t ctor explicit
2946 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2949 * buffer.C: small refactoring of docbook stuff
2951 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2953 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2956 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2958 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2959 operator dispatch_result_t, and operators for == != and >=
2961 * cursor.C (dispatch): adjust for operator dispatch_result_t
2962 removal. comment out call to update
2964 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2966 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2974 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2977 * dispatchresult.h: new file, DispatchResult broken out of
2980 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2982 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2984 * text.C (rowBreakPoint): put a hack inside #if 0
2986 2003-10-28 André Pönitz <poenitz@gmx.net>
2990 * paragraph_funcs.C:
2993 * text2.C: general cleanup (lots of small stuff)
2995 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2997 * text2.C (cursorEnd): simple fix to the "end key goes to one
2998 before the end on last row" bug
3000 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3002 * text.C (backspace): fix the "zombie characters"
3004 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3006 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3008 2003-10-27 André Pönitz <poenitz@gmx.net>
3010 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3012 * factory.C: handle new InsetPagebreak, InsetLine
3014 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3015 and move handling into new InsetPagebreak, InsetLine
3017 * BufferView_pimpl.C:
3019 * ParagraphParameters.C:
3020 * ParameterStruct.h:
3025 * paragraph_funcs.C:
3026 * paragraph_pimpl.C:
3032 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3035 * lyxrow_funcs.[Ch]:
3041 * text3.C: remove lastPos uses in favour of Row::endpos
3043 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3045 * undo.C (performUndoOrRedo): fix two crashes by setting a
3046 cursor by hand and reordering some calls. Use bv->lockInset instead
3047 of inset->edit because the latter loses cursor information
3049 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3051 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3053 (rowBreakPoint): fix width. change point to point + 1.
3054 Add a missing check.
3056 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3059 * lyxfunc.C: fix (at least partly) the problems
3060 with the Nav menu and headers inside branch insets
3063 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3065 * paragraph.C (getChar): add strong asserts
3067 * lyxrow_funcs.C (lastPos): remove hideous hack
3069 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3070 (fill): adjust to that (avoid an infinite loop)
3072 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3074 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3076 2003-10-23 André Pönitz <poenitz@gmx.net>
3078 * RowList_fwd.h: change list<> to vector<> to gain speed
3079 after suggestion from Alfredo
3081 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3083 * lyxtext.h: move the bidi stuff from here...
3086 * Bidi.[Ch]: ... to here
3088 2003-10-23 André Pönitz <poenitz@gmx.net>
3091 * text.C (isLastRow, isFirstRow): new functions
3093 * paragraph.h: new width cache member
3095 * rowpainter.C: replace RowList::iterator with Row & where possible
3097 * lyxfunc.C: replace several view()->text with a single call
3099 * toc.C: fix 'unused' warning
3101 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3103 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3104 when woring with stream::pos_type
3105 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3107 2003-10-22 André Pönitz <poenitz@gmx.net>
3110 * text.C: use Row & instead of RowList::iterator
3112 * lyxrow.h: rename end() to endpos()
3118 2003-10-22 Angus Leeming <leeming@lyx.org>
3120 * buffer.[Ch] (fully_loaded): new member function, returning true
3121 only when the file has been loaded fully.
3122 Used to prevent the premature generation of previews and by the
3123 citation inset to prevent computation of the natbib-style label.
3125 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3126 templates are all set up.
3128 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3130 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3132 * text.C: fixed an "oops" in the "is a bit silly"
3135 2003-10-21 André Pönitz <poenitz@gmx.net>
3137 * FuncStatus.[Ch]: small stuff, whitespace
3139 * lyxfont.[Ch]: operator<<() for debug reasons
3143 * lyxtext.h: whitespace, spelling
3145 * paragraph.C: naming of variables
3148 * text2.C: small stuff
3151 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3153 * text.C: (1) finish off the inset display() work;
3154 (2) fix the "is a bit silly" bug (accessing char
3157 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3159 * text.C: re-introduce display() for insets, fixing the
3160 various bugs (stretch of line above, math inset
3163 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3165 * text.C (rightMargin): remove spurious semicolon
3167 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3170 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3172 * text3.C: fix one crash due to wrong cursor def
3174 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3176 * vc-backend.C (scanMaster): make the regex static
3178 * LaTeX.C (scanAuxFile): make the regexs static
3180 * text3.C (doInsertInset, dispatch, dispatch):
3181 * text2.C (cursorUp, cursorDown):
3182 * text.C (selectNextWordToSpellcheck):
3183 * BufferView_pimpl.C (dispatch):
3184 * lyxfunc.C (dispatch): localDispatch -> dispatch
3186 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3188 * lyxsocket.C: include <cerrno>
3190 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3192 * lyxfunc.C (dispatch): remove textcache stuff
3194 * bufferlist.C (release): remove textcache stuff
3197 * TextCache.C: delete file
3198 * TextCache.h: delete file
3200 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3202 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3203 delete of the bv_->text.
3204 (resizeCurrentBuffer): remove texcache stuff
3205 (workAreaResize): ditto
3207 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3209 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3212 2003-10-16 André Pönitz <poenitz@gmx.net>
3219 * text3.C: speed up by storing y positions per paragraph plus per-row
3220 offset instead of having a 'full' y position in the row.
3222 2003-10-15 André Pönitz <poenitz@gmx.net>
3226 * undo.[Ch]: make undo aware of inner insets
3228 2003-10-14 Angus Leeming <leeming@lyx.org>
3230 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3231 static member functions LyX::ref() and LyX::cref.
3232 (lastfiles): new accessor functions for the new lastfiles_ member var.
3233 (addLyXView, views_): add a new LyXView to the list of views_.
3234 (updateInset): loop over all LyXViews to call their own updateInset
3235 member function, returning a pointer to the Buffer owning the inset.
3237 * BufferView_pimpl.C (loadLyXFile):
3238 * MenuBackend.C (expandLastfiles):
3239 * bufferlist.C (MenuWrite, QuitLyX):
3240 lastfiles is no longer a global variable.
3241 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3243 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3244 static function. Access through LyX::cref().emergencyCleanup().
3246 2003-10-14 André Pönitz <poenitz@gmx.net>
3248 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3250 * undo.[Ch]: restoring part of 'undo in insets'
3253 * undo_funcs.[Ch]: merge with undo.[Ch]
3255 * tabular.C: small cleansing stuff
3257 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3259 * paragraph_funcs.C (readParToken): report unknown insets as error
3260 boxes. Use the outer paragraph as location (also for unknown
3263 * factory.C (readInset): do not abort on reading an unknown inset.
3264 Eat it and return 0.
3266 2003-10-13 Angus Leeming <leeming@lyx.org>
3268 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3270 * lyxrc.C: displayTranslator is now a function,
3271 declared in GraphicsTypes.h.
3273 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3275 * format.C: new placeholder $$a to pass the socket address.
3277 * bufferlist.[Ch]: new function getBufferFromTmp.
3279 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3280 files in the temporary dir.
3282 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3284 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3286 * Makefile.am: add lyxsocket.[Ch].
3288 * lyx_main.C (error_handler): handle SIGPIPE.
3290 2003-10-13 André Pönitz <poenitz@gmx.net>
3292 * BufferView_pimpl.C:
3297 * undo_funcs.[Ch]: use paroffset_type instead of
3298 ParagraphList::iterators to prevent multiple conversion
3299 (and get a more robust interface)
3301 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3303 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3305 * text3.C (dispatch): ditto
3307 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3309 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3310 move the onlyfile, use onlyfile instead of foundfile in a couple
3313 * DepTable.C (update): flush the error stream a bit more
3315 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3317 * lyxserver.C (callback): adjust
3319 * lyxfunc.C (getStatus): add a missing brace in commented code
3320 (ensureBufferClean): reindent
3321 (dispatch): delete version taking a string
3323 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3325 * LaTeX.C (deplog): move found file handlig from here...
3326 (handleFoundFile): .. to new function here.
3327 (deplog): make sure to discover several files mentioned on the
3330 2003-10-10 André Pönitz <poenitz@gmx.net>
3337 * text3.C: fix some of the tabular crashes
3339 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3341 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3343 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3345 2003-10-09 André Pönitz <poenitz@gmx.net>
3347 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3350 * BufferView_pimpl.C:
3351 * bufferview_funcs.C:
3362 * undo_funcs.C: adjust
3364 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3366 * text2.C (incrementItemDepth): new function, use a backtracking
3367 algorithm to discover the correct item depth.
3368 (resetEnumCounterIfNeeded): new function, use a backtracking
3369 algorithm to discover if counter reset is needed.
3370 (setCounter): use them. Simplify a bit. Add different labels for
3371 different item depths for itemize.
3373 * paragraph.C (Paragraph): remove initialization of enumdepth
3376 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3377 enumerate and itemize. Change the type of itemdepth to signed char.
3379 2003-10-08 André Pönitz <poenitz@gmx.net>
3381 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3386 * tabular.[Ch]: fix crash after 'row-insert'
3388 2003-10-08 Angus Leeming <leeming@lyx.org>
3390 Fix doxygen warnings.
3392 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3393 Remove CutAndPaste:: prefix from header file declaration.
3395 * LColor.h (fill): remove LColor:: prefix from declaration.
3397 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3398 use lyx::depth_type rather than Paragraph::depth_type so that
3399 header file and .C file match.
3401 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3403 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3404 * aspell.C: \file aspell_local.C -> \file aspell.C
3405 * gettext.C: \file gettext.C -> \file src/gettext.C
3406 * gettext.h: \file gettext.h -> \file src/gettext.h
3407 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3408 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3409 * text.C: \file text.C -> \file src/text.C
3411 * toc.C: move comment so that doxygen is not confused.
3413 2003-10-07 Angus Leeming <leeming@lyx.org>
3415 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3417 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3420 * aspell_local.h: add forgotten std::string's.
3422 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3429 * text3.C: The Box patch. Fancybox support, minipage, parbox
3431 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3437 * ParagraphParameters.h:
3447 * lyxtextclasslist.h:
3450 * paragraph_pimpl.C:
3451 * textcursor.h: add <string> and other small fixes to make Lars'
3452 std::string patch compile with STLport.
3454 2003-10-06 Angus Leeming <leeming@lyx.org>
3456 * LColor.h: Add missing #include <string>.
3458 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3460 * All most all file in all subdirs: Make <string> be the prefered
3461 way of getting to std::string, add using declarations.
3463 2003-10-06 André Pönitz <poenitz@gmx.net>
3465 * metricsinfo.C: initialize LyXFont before changing attribute.
3466 (fixes the 'math in \emph is upright' bug)
3468 2003-10-06 André Pönitz <poenitz@gmx.net>
3470 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3472 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3475 * paragraph_pimpl.C: Small fixes to build using STLport
3477 2003-10-02 André Pönitz <poenitz@gmx.net>
3480 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3482 2003-10-01 André Pönitz <poenitz@gmx.net>
3484 * factory.C: assert early
3486 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3488 * lyx_main.C: remove the global debug object
3490 * debug.h: adjust for new debugstream
3492 * debug.C: adjust for new debugstream and keep the global debug
3495 2003-09-22 Angus Leeming <leeming@lyx.org>
3497 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3498 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3499 an incomplete class LyXFont.
3501 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3503 * factory.C: bug fix in branches
3505 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3507 * lyxfunc.C (processKeySym): adjust
3509 (dispatch): change arg name from ev to func, adjust
3510 (sendDispatchMessage): ditto
3512 * lyx_main.C (defaultKeyBindings): adjust keybindings
3513 (deadKeyBindings): ditto
3515 * kbsequence.C (addkey): return a FuncRequest
3517 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3519 * kbmap.C (bind): take a FuncRequest as arg, adjust
3522 (defkey): change to take a FuncRequest as arg, adjust
3523 (findbinding): take a FuncRequest as arg, adjust.
3525 * funcrequest.h (operator=): added
3527 * funcrequest.C (FuncRequest): default kb_action changed from
3528 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3530 * buffer.C (dispatch): simplify
3531 (dispatch): adjust to take a FuncRequest as arg, adjust
3533 * boost.C (assertion_failed): change assertion message slightly
3535 * ToolbarBackend.C (read): simplify
3537 * MenuBackend.C (binding): adjust call to findbinding, add a
3538 message if no binding is found.
3540 (expandToc): correct by adding a empty FuncRequest
3542 * LyXAction.C: include <boost/assert.hpp>
3543 (isPseudoAction): delete function
3544 (LookupFunc): change name to...
3545 (lookupFunc): this. change return type to FuncRequest.
3546 (getActionName): take kb_action as arg, simplify
3547 (funcHasFlag): add an assert, simplify.
3549 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3551 * toc.C (action): return a FuncRequest, simplify
3553 * lyxfunc.C (processKeySym): adjust
3554 (getStatus): delete version that takes an int.
3556 (dispatch): delete version that takes action as int
3558 (sendDispatchMessage): simplify and adjust
3560 * funcrequest.C (getArg): take unsigned int as arg
3562 * ToolbarBackend.C (read): adjust
3563 (add): delete version that takes func as a string.
3564 (getIton): take a FuncRequest as arg
3566 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3569 * MenuBackend.C (MenuItem): add a new construct that only takes a
3570 Kind, simplify the constructor use for submenus.
3572 (expandLastfiles): adjust
3573 (expandDocuments): adjust
3574 (expandFormats): adjust
3575 (expandFloatListInsert): adjust
3576 (expandFloatInsert): adjust
3577 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3579 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3580 Remove class variables lyx_pseudo_map and lyx_arg_map
3582 * LyXAction.C (searchActionArg): delete function
3583 (getPseudoAction): delete function
3584 (retrieveActionArg): delete function
3585 (LookupFunc): make it return kb_action, simplify.
3586 (getActionName): simplify
3588 * factory.C (createInset): fix new bug
3590 2003-09-19 Angus Leeming <leeming@lyx.org>
3592 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3593 masterFilename_ parameter in the include inset.
3595 * factory.C (createInset): changes due to the changes to InsetInclude.
3597 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3599 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3601 2003-09-18 Angus Leeming <leeming@lyx.org>
3604 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3605 Inset::fillWithBibKeys.
3606 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3608 2003-09-18 Angus Leeming <leeming@lyx.org>
3610 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3612 (ctor): pass and store a 'Buffer const &'
3613 (buffer): new member function.
3615 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3616 '*this' to the LaTeXFeatures ctor.
3618 2003-09-18 Angus Leeming <leeming@lyx.org>
3624 * text.C: rename EnumLColor as LColor_color.
3626 2003-09-18 Angus Leeming <leeming@lyx.org>
3628 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3629 remove #include "insets/insetbase.h" from cursor.h.
3631 2003-09-18 Angus Leeming <leeming@lyx.org>
3633 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3634 InsetOld_code to remove #include "inset.h".
3636 * iterators.C: add #include "insets/inset.h"
3638 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3640 * BufferView.C: remove more locking stuff that apparently doesn't
3641 do anything sensible.
3643 2003-09-16 André Pönitz <poenitz@gmx.net>
3646 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3649 2003-09-16 Angus Leeming <leeming@lyx.org>
3651 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3653 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3656 * paragraph.h: remove #include "lyxfont.h". Forward declare
3659 2003-09-16 Angus Leeming <leeming@lyx.org>
3661 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3662 of support/textutils.h.
3663 (isWord): move the contents of support/textutils.h's IsWordChar here.
3669 * text2.C: add #include "paragraph.h".
3672 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3674 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3680 * LaTeX.C: use namespace alias for lyx::support::os
3682 2003-09-16 Angus Leeming <leeming@lyx.org>
3685 * bufferview_funcs.C:
3688 * paragraph_pimpl.C:
3690 * text.C: add #include "LColor.h".
3692 2003-09-16 Angus Leeming <leeming@lyx.org>
3694 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3695 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3697 Store the FontBits::color variable as an int rather than as an
3698 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3701 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3702 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3703 string calls together.
3705 * lyxrc.C: add #include "LColor.h".
3707 2003-09-15 Angus Leeming <leeming@lyx.org>
3709 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3712 2003-09-15 Angus Leeming <leeming@lyx.org>
3714 * LColor.h: add an EnumLColor wrapper for LColor::color.
3716 * lyxfont.[Ch] (color, setColor, realColor):
3717 * lyxtext.h, text.C (backgroundColor):
3718 pass EnumLColor args to/from the functions, rather than LColor::color
3722 * lyxtext.h: forward declare EnumLColor.
3724 * lyx_main.C: add #include "LColor.h".
3726 2003-09-15 Angus Leeming <leeming@lyx.org>
3728 * .cvsignore: add lyx-gtk.
3730 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3735 * ParagraphParameters.C
3739 * bufferview_funcs.C
3749 * vc-backend.C: remove usage of STRCONV
3751 2003-09-15 Angus Leeming <leeming@lyx.org>
3753 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3754 explicitly define the color passed to the painter.
3756 2003-09-15 Angus Leeming <leeming@lyx.org>
3758 * bufferparams.C (BufferParams): reorder member initializers to avoid
3761 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3763 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3764 * text.C (updateRowPositions): remove an unusual nop
3766 2003-09-12 André Pönitz <poenitz@gmx.net>
3768 * BufferView_pimpl.C:
3777 * Counters.[Ch]: finish the 'automatic counters' job
3779 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3781 * aspell.C: include <boost/assert.cpp> (compile fix)
3783 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3785 * boost.C (assertion_failed): use lyx::support::abort instead of
3788 2003-09-10 Angus Leeming <leeming@lyx.org>
3790 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3791 with their _fwd progeny.
3793 2003-09-09 Angus Leeming <leeming@lyx.org>
3795 134 files throughtout the source tree: replace 'using namespace abc;'
3796 directives with the appropriate 'using abc::xyz;' declarations.
3798 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3800 * boost.C (emergencyCleanup): moved here from LAssert.c
3801 (assertion_failed): new function, called by BOOST_ASSERT
3803 * several files: change Assert to BOOST_ASSERT
3805 2003-09-09 Angus Leeming <leeming@lyx.org>
3807 * buffer.[Ch]: Add an Impl class and move Buffer's member
3808 variables into it. As a result move several header files out of
3811 Add header files to lots of .C files all over the tree as a result.
3813 2003-09-09 Angus Leeming <leeming@lyx.org>
3815 * buffer.[Ch]: make Buffer's member variables private. Add
3818 Lots of changes all over the tree as a result.
3820 2003-09-08 Angus Leeming <leeming@lyx.org>
3822 * graph.C: #include <config.h>.
3824 2003-09-08 Angus Leeming <leeming@lyx.org>
3828 * BufferView_pimpl.C:
3857 * toc.C: remove redundant using directives.
3859 2003-09-07 Angus Leeming <leeming@lyx.org>
3861 * LaTeXFeatures.h: remove #include "support/types.h".
3862 * ToolbarBackend.h: remove #include <algorithm>.
3863 * changes.h: remove #include <ctime>.
3864 * debug.h: remove #include <iosfwd>.
3865 * graph.h: remove #include "support/std_string.h".
3866 * lyx_main.h: remove #include <csignal>.
3867 * lyxlex_pimpl.h: remove #include <fstream>.
3868 * sgml.h: remove #include <algorithm>, <utility>.
3869 * toc.h: remove #include "support/std_ostream.h".
3870 Add #include <iosfwd>.
3872 2003-09-07 Angus Leeming <leeming@lyx.org>
3874 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3876 * converter.h: forward declare LatexRunParams.
3877 * encoding.h: remove #include "lyxrc.h".
3878 * lyxtext.h: remove #include "LColor.h".
3879 * lyxtextclass.h: remove #include "support/types.h".
3880 * trans.h: remove #include "tex-accent.h".
3881 * trans_mgr.h: remove #include "tex-accent.h".
3882 * insets/inset.h: remove #include "support/types.h", <vector>.
3883 * insets/insetcollapsable.h: remove #include "LColor.h".
3884 * insets/insetinclude.h: remove #include "dimension.h".
3885 * insets/insetlatexaccent.h: remove #include "dimension.h".
3886 * insets/insetoptarg.h:: remove #include "insettext.h".
3887 * insets/insettext.h: remove #include "dimension.h",
3888 <boost/shared_ptr.hpp>
3890 * insets/renderers.h: add #include "dimension.h".
3891 * insets/updatableinset.h: add #include "support/types.h".
3893 * many .C files: Associated changes.
3895 2003-09-06 Angus Leeming <leeming@lyx.org>
3897 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3898 one, inside testInvariant.
3900 * PrinterParams.C: new file.
3901 * PrinterParams.[Ch]: move the function bodies out of line.
3903 2003-09-06 Angus Leeming <leeming@lyx.org>
3905 * ParagraphParameters.h: forward declare ParameterStruct rather than
3906 including its header file.
3907 (depth): moved out-of-line.
3909 2003-09-06 Angus Leeming <leeming@lyx.org>
3911 * BufferView_pimpl.h:
3914 * lyxfunc.h: forward declare LyXKeySym rather than
3915 #include "frontends/LyXKeySym.h".
3917 * BufferView_pimpl.C:
3920 * lyxfunc.C: associated changes.
3922 2003-09-06 Angus Leeming <leeming@lyx.org>
3924 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3925 As a result, can remove the #include "insets/inset.h" from BufferView.h
3927 2003-09-06 Angus Leeming <leeming@lyx.org>
3929 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3930 As a result, can remove the #include "insets/inset.h" from BufferView.h
3932 2003-09-06 Angus Leeming <leeming@lyx.org>
3938 * bufferview_funcs.C:
3939 * BufferView_pimpl.C:
3944 * ParagraphParameters.C:
3949 * frontends/controllers/ControlDocument.C:
3950 * insets/insetcaption.C: rearrange the #includes into some sort of
3953 * buffer.h: remove #includes ErrorList.h, undo.h
3955 2003-09-06 Angus Leeming <leeming@lyx.org>
3957 * support/types.h: add a 'depth_type' typedef, used to store the
3958 nesting depth of a paragraph.
3961 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3962 defining explicitly.
3965 * paragraph_funcs.h:
3966 * ParagraphParameters.h:
3967 * sgml.h: use lyx::depth_type rather than Paragraph or
3968 ParameterStruct's depth_type.
3971 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3974 * BufferView_pimpl.C:
3976 * ParagraphParameters.C:
3979 * bufferview_funcs.C:
3986 * frontends/LyXView.C:
3987 * frontends/controllers/ControlDocument.C:
3988 * frontends/controllers/ControlErrorList.C:
3989 * insets/insetbibitem.C:
3990 * insets/insetbranch.C:
3991 * insets/insetcaption.C:
3992 * insets/insetcollapsable.C:
3993 * insets/insetenv.C:
3994 * insets/insetert.C:
3995 * insets/insetfloat.C:
3996 * insets/insetfoot.C:
3997 * insets/insetfootlike.C:
3998 * insets/insetnewline.C:
3999 * insets/insetquotes.C:
4000 * insets/insettabular.C:
4001 * insets/insettext.C:
4002 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4004 * frontends/controllers/ControlChanges.C: #include "changes.h".
4006 2003-09-06 Angus Leeming <leeming@lyx.org>
4008 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4009 than #including paragraph.h.
4012 * RowList.h: deleted. Superfluous.
4022 * insets/insettext.h: use ParagraphList_fwd.h rather than
4025 * paragraph.h: don't forward declare ParagraphList.
4028 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4029 rather than ParagraphList.h. paragraph.h is still needed for the
4030 Paragraph::depth_type parameters.
4032 * textcursor.h: enable it to compile stand-alone in light of the
4035 * bufferview_funcs.C:
4047 * frontends/controllers/ControlParagraph.C:
4048 * frontends/controllers/ControlTabular.C:
4049 * insets/insetmarginal.C:
4050 * insets/insetminipage.C:
4051 * insets/insetnote.C:
4052 * insets/insetoptarg.C: add header files needed to compile again.
4054 2003-09-06 Angus Leeming <leeming@lyx.org>
4056 * RowList_fwd.h: new file, forward-declaring Row rather than
4057 #including lyxrow.h.
4062 * insets/insettext.h: use it instead of RowList.h
4064 * bufferview_funcs.C:
4071 * text3.C: #include "RowList.h".
4073 2003-09-05 Angus Leeming <leeming@lyx.org>
4075 * factory.C (createInset):
4076 * vspace.C (c-tor): replace sscanf call with an istringstream.
4077 * ispell.C: re-add missing HP/UX headers.
4078 * lyxserver.C: re-add missing os2 headers.
4080 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4089 * text3.C: re-add missing system headers, needed for 2.95.2.
4091 2003-09-05 Angus Leeming <leeming@lyx.org>
4093 Changes most place everywhere due to the removal of using directives
4094 from support/std_sstream.h.
4096 2003-09-05 Angus Leeming <leeming@lyx.org>
4098 Replace LString.h with support/std_string.h,
4099 Lsstream.h with support/std_sstream.h,
4100 support/LIstream.h with support/std_istream.h,
4101 support/LOstream.h with support/std_ostream.h.
4103 Changes resulting throughout the tree.
4105 2003-09-05 Angus Leeming <leeming@lyx.org>
4107 * sgml.h: ensure that the header file can be compiled stand-alone.
4108 * *.C: strip out redundant #includes. (320 in total.)
4110 2003-09-04 Angus Leeming <leeming@lyx.org>
4112 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4113 here (from getPackages).
4115 * debug.[Ch]: add a new EXTERNAL tag.
4117 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4119 * text2.C (cursorEnd): simplify
4121 (getColumnNearX): adjust
4123 * text.C (computeBidiTables): adjust
4126 * rowpainter.C (paintChars): adjust
4127 (paintSelection): adjust
4128 (paintChangeBar): adjust
4131 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4133 (numberOfSeparators): adjust
4135 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4141 * text3.C: Restricts the mouse click functionality
4142 of insets like bibtex, include, toc and floatlist to the visible
4143 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4144 up the dialogs. Cursor has to be in front of the inset (i.e.
4145 start of row) for this to function.
4147 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4149 * bufferview_funcs.C (currentState): output row information
4151 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4153 * bufferview_funcs.C (currentState): output paragraph position
4155 2003-09-04 Angus Leeming <leeming@lyx.org>
4157 * FloatList.h: move out #include "Floating.h".
4158 * LaTeX.h: move out #include "DepTable.h".
4159 * LyXAction.h: move out #include "funcrequest.h".
4160 * buffer.h: move out #include "author.h", "iterators.h".
4161 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4162 * lyx_main.h: move out #include "errorlist.h".
4163 * lyxfunc.h: move out #include "FuncStatus.h".
4164 * lyxtext: move out #include "lyxcursor.h".
4165 * paragraph_pimpl.h: move out #include "counters.h".
4167 2003-09-03 Angus Leeming <leeming@lyx.org>
4169 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4170 preamble_snippets list, enabling us to add snippets to the preamble
4171 only if the snippet was not there already.
4173 2003-09-04 Angus Leeming <leeming@lyx.org>
4175 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4177 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4182 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4184 * BranchList.C: point fix, earlier forgotten
4186 2003-09-02 Angus Leeming <leeming@lyx.org>
4188 * box.C (contains): renamed from 'contained' after a fantastic
4191 2003-09-02 John Levon <levon@movementarian.org>
4197 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4199 2003-09-02 John Levon <levon@movementarian.org>
4201 * text2.C: simplification of cursorEnd(), including partial
4204 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4206 * buffer.C (readFile): add a space
4208 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4210 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4212 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4214 * buffer.C (readFile): new function, take a filename and a
4215 ParagraphList::iterator
4217 (readFile): adjust, make it private. don't use setStream, make
4218 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4219 always contain the filename.
4221 * BufferView.C (insertLyXFile): simplify and make it work for
4224 2003-08-30 John Levon <levon@movementarian.org>
4226 * Makefile.am: fix dist (from Kayvan)
4228 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4230 * most files: change to use const Buffer refs
4232 2003-08-27 André Pönitz <poenitz@gmx.net>
4234 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4235 on top of ownerPar().
4237 2003-08-27 John Levon <levon@movementarian.org>
4239 * funcrequest.C: properly initialise POD members
4241 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4243 * lyxtext.h (top_y): move top_y from here
4248 * BufferView_pimpl.[Ch]: to here
4249 * frontends/screen.C:
4250 * insets/insettabular.C:
4251 * insets/insettext.C: adjust
4252 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4254 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4257 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4259 2003-08-26 André Pönitz <poenitz@gmx.net>
4261 * paragraph_func.[Ch] (outerPar): new function
4264 * paragraph_funcs.C:
4265 * paragraph_funcs.h:
4266 * paragraph_pimpl.C:
4267 * text2.C: remove Inset::par_owner
4269 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4274 * text2.C: eliminates the needFullRow/display() stuff
4275 altogether, putting the logic in metrics/draw in the insets.
4277 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4279 * text2.C (redoParagraphInternal, redoParagraphs):
4280 * text.C (redoParagraph): add a call to updateRowPositions at the
4281 end of each 'metrics-like' call. Remove all others.
4282 (getRow): remove the 'y-computing' version.
4283 (getRowNearY): do not compute nor return the real y. Solve the
4284 'y < 0' problem and simplify.
4286 2003-08-22 Angus Leeming <leeming@lyx.org>
4288 * *.[Ch]: clean-up of licence and author blurbs.
4289 Also move config.h out of a few .h files and into a few .C files.
4291 2003-08-22 André Pönitz <poenitz@gmx.net>
4293 * lyxrow.[Ch]: add x_ and *fill_ members
4298 * text2.C: adjust/remove prepareToPrint() calls
4300 2003-08-22 André Pönitz <poenitz@gmx.net>
4302 * lyxrow.[Ch]: add end_ member
4304 * lyxrow_funcs.C: use LyXRow::end_
4306 * lyxtext.h (singleWidth): add LyXFont parameter
4309 * text2.C: adjust LyXText::singleWidth() calls
4311 * text.C (redoParagraph): simplify row breaking logic
4314 2003-08-19 André Pönitz <poenitz@gmx.net>
4316 * funcrequest.C: initialize button_ member
4319 * rowpainter.[Ch]: interface consolidation
4321 2003-08-18 André Pönitz <poenitz@gmx.net>
4324 * BufferView_pimpl.C:
4326 * paragraph_funcs.C:
4328 * text3.C: remove LyXScreen::draw() and fitCursor calls
4330 * BranchList.h: remove spurious semicolons
4332 * MenuBackend.C: fix branchlist related crash
4334 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4342 * bufferparams.[Ch]:
4346 * text3.C: implements the 'branch inset'
4347 idea. This allows the output of various versions of a document
4348 from a single source version, selectively outputing or suppressing
4349 output of parts of the text.
4350 This implementation contains a 'branch list editor' in a separate
4351 tab of the document settings dialog. Branches are user definable
4352 and have a "display colour" to distinguish them on-screen.
4354 ColorHandler was somewhat cleaned up.
4355 (1) make possible a dynamically growing LColor list by allowing
4356 the graphic context cache to grow along (vector);
4357 (2) eliminate an IMHO unnecessary step in colour allocation.
4359 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4361 * BufferView_pimpl.C: compile fix
4363 2003-08-15 André Pönitz <poenitz@gmx.net>
4365 * rowpainter.C: remove extra metrics calls
4367 * lyxtext.h: merge the two constructors into a single one,
4368 pass reference to owner's par list
4370 * BufferView_pimpl.C:
4374 2003-08-15 André Pönitz <poenitz@gmx.net>
4376 * lyxrow_funcs.[Ch]:
4379 * paragraph_funcs.C:
4384 * text_funcs.C: split LyXText::rowlist_ into individual
4385 Paragraph::rows_ chunks
4388 * BufferView_pimpl.[Ch]:
4391 * text3.C: remove toggleSelection()
4393 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4395 * bufferlist.C: beautify two alerts (shorter text of buttons)
4396 * buffer.C: Remove redundant ' ' from message
4398 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4399 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4400 rename VALIGN_CENTER to VALIGN_MIDDLE
4402 2003-08-11 André Pönitz <poenitz@gmx.net>
4404 * lyxtext.h (getPar):
4405 * text.C: new function
4407 2003-08-11 André Pönitz <poenitz@gmx.net>
4410 * tracer.[Ch]: remove unneeded files
4412 * InsetList.[Ch]: remove resizeInsetsLyXText()
4417 * text3.C: merge insertParagraphs() and appendParagraph()
4418 remove breakAgain(), update()
4420 * BufferView_pimpl.[Ch]:
4421 * bufferview_funcs.[Ch]:
4425 * tabular.C: adjust after text & InsetList changes.
4427 2003-08-08 André Pönitz <poenitz@gmx.net>
4429 * text.C (insertChar, backspace): replace rowlist fiddling
4430 with rebreak of full par
4433 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4434 checkParagraph, updateInset): removed
4436 2003-08-07 André Pönitz <poenitz@gmx.net>
4439 * text3.C: merge some LFUN handlers, remove dead code
4441 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4443 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4445 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4447 * text2.C (DEPM): fix part of bug 1255 and 1256
4449 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4451 * BufferView_pimpl.C (workAreaDispatch): change to use
4452 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4453 that are no mouse related.
4455 2003-08-05 André Pönitz <poenitz@gmx.net>
4458 * BufferView_pimpl.[Ch]:
4459 * bufferview_funcs.C:
4461 * text3.C: rip out "deep update"
4463 * textcursor.[Ch] (last_sel_cursor): remove unused member
4465 2003-08-04 André Pönitz <poenitz@gmx.net>
4468 * BufferView_pimpl.[Ch]:
4469 * ParagraphParameters.C:
4470 * bufferview_funcs.C:
4476 * text3.C: replace "complicated" BufferView::update(...) calls with
4479 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4481 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4483 * Makefile.am (lyx_SOURCES): add paper.h
4485 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4487 * Makefile.am: move things around so that both lyx-qt and
4488 lyx-xforms can be built (according to --with-frontend). Then lyx
4489 is a symbolic link to lyx-[firstfrontend]
4491 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4493 * Always use std::endl with lyxerr
4495 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4497 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4499 2003-08-01 André Pönitz <poenitz@gmx.net>
4502 * BufferView_pimpl.[Ch]:
4504 * text3.C: merge BufferView::repaint() and BufferView::update()
4506 2003-08-01 José Matos <jamatos@lyx.org>
4508 * buffer.[Ch]: file_format is no longer a buffer data element.
4510 2003-08-01 André Pönitz <poenitz@gmx.net>
4515 * text2.C: make redoParagraph more independent of current cursor
4517 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4519 * text2.C: remove unneeded members
4521 2003-07-30 André Pönitz <poenitz@gmx.net>
4523 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4525 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4526 create a single function...
4528 * paragraph_funcs.C (moveItem): ... here.
4531 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4533 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4535 * LColor.[Ch]: Add comment and greyedout logical colors.
4537 2003-07-30 André Pönitz <poenitz@gmx.net>
4539 * tabular.C: don't use Assert too heavily. This crashes where it
4542 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4544 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4545 is disabled (bug 1232)
4547 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4549 * factory.C: limited 'arg' scope
4551 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4553 * factory.C: fixed Note submenu issues
4555 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4557 * factory.C: submenu for Note/Comment/Greyedout
4559 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4562 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4564 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4567 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4568 greyedout. Patch provided by Jürgen Spitzmüller.
4570 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4572 * kbmap.C (read): fix error message when reading bind files
4574 2003-07-29 Angus Leeming <leeming@lyx.org>
4576 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4577 certainly does not do what it purports to do. I am doing it, and
4578 us, a favour by killing it.
4580 2003-07-28 José Matos <jamatos@lyx.org>
4582 * buffer.C (readBody, do_writeFile):
4583 * paragraph.C(readParagraph): \end_document replaces \the_end.
4585 2003-07-29 André Pönitz <poenitz@gmx.net>
4588 * BufferView_pimpl.[Ch]:
4592 * textcursor.[Ch]: remove toggleToggle & Co
4594 2003-07-28 José Matos <jamatos@fep.up.pt>
4596 * buffer.C (readParagraph):
4597 * params_func (readParToken, readParagraph):
4598 * paragraph.C (write): \layout -> \begin_layout.
4600 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4602 * lyxlex_pimpl.C (setFile): clean up slightly.
4604 * bufferparams.h: add compressed var
4606 * buffer_funcs.C (readFile): adjust for LyXLex change
4607 (newFile): ditto + simplify
4609 * buffer.C (writeFile): handle writing of compressed files
4611 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4612 Check if the file is compressed and set a bufferparm if so.
4614 * Makefile.am (lyx_LDADD): remove explicit -lz
4616 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4618 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4619 makeDocBookFile): put the real LyX version in the first line of
4623 * version.C.in: remove lyx_docversion
4625 * tabular.C (write_attribute): add a template-based version to
4626 write enums properly
4628 2003-07-28 André Pönitz <poenitz@gmx.net>
4633 * text3.C: use doubles again for x-coordinates. They are needed.
4635 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4637 * messages.C (getLocaleDir): use lyx_localedir()
4639 * lyxlex_pimpl.C (setFile): compress stuff
4641 * buffer.C (writeFile): add some compression stuff
4642 (do_writeFile): new func, dont call expliti close... will this
4645 * Makefile.am (lyx_LDADD): add -lz
4647 2003-07-28 José Matos <jamatos@fep.up.pt>
4649 * buffer.C: increment file format.
4650 * paragraph_funcs (readParagraph, readParToken):
4651 * paragraph.C (readParagraph): add \end_layout.
4653 2003-07-27 Angus Leeming <leeming@lyx.org>
4655 * Makefile.am: remove special casing for configure-time setting of
4656 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4658 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4659 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4661 2003-07-26 André Pönitz <poenitz@gmx.net>
4663 * paragraph_func.[Ch]:
4664 * paragraph.C (realizeFont): inline it whereever it is used
4669 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4672 2003-07-26 André Pönitz <poenitz@gmx.net>
4676 * text2.C: get rid of LyXText::need_break_row
4678 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4680 * toc.[Ch]: put namespace toc inside namespace lyx
4682 * MenuBackend.C (expandToc2): adjust for lyx::toc
4685 * lyxfunc.C (dispatch): adjust for lyx::find
4687 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4688 lyx::find instead. Reorganize a bit.
4689 (LyXReplace): rename to replace
4690 (LyXFind): rename to find
4692 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4695 2003-07-26 André Pönitz <poenitz@gmx.net>
4697 * text.C (setHeightOfRow): restrict scope of temporary variable
4699 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4700 code (never has been used?)
4702 2003-07-27 Asger Alstrup <alstrup@local>
4704 * text.C (fill): Optimise algorithm to exploit that we can reuse
4705 the LyXFont for many characters.
4706 (setHeightOfRow): Same thing.
4707 (rowBreakPoint): Same thing.
4709 2003-07-26 Asger Alstrup <alstrup@local>
4711 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4713 * text.C (singleWidth): Spurious font copying in hot-spot
4714 singleWidth avoided. Reorder tests for arabic for efficiency.
4716 * text.C (fill): handle empty paragraphs better.
4718 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4721 * encoding.h: add includes
4723 * lyxrc.C: remove reading of bind files
4725 * lyx_main.C (init): setup bindings and menus only if we have a
4728 * kbmap.C (read): new method. Do the actual reading of bind
4731 * converter.C (dvipdfm_options):
4734 (output): adapt PAPER_* enums.
4736 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4738 * bufferparams.h: remove paper-related enums from there
4740 * paper.h: New file. A trivial header file to hold paper-related
4741 enums. It should later expand to contain many paper-related
4744 * lyxrc.C: declare extern displayTranslator
4746 2003-07-27 José Matos <jamatos@fep.up.pt>
4748 * tabular.[Ch] (linuxdoc): add support for tables and figures
4751 2003-07-27 José Matos <jamatos@fep.up.pt>
4753 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4754 consistency in both functions.
4755 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4757 2003-07-26 Asger Alstrup <alstrup@local>
4759 * rowpainter.C (paintRows): Change algorithm to work directly on
4760 the insets rather than asking every character in the document
4761 whether its an inset.
4763 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4765 * buffer.C (openFileWrite): factorize some code
4767 2003-07-26 Angus Leeming <leeming@lyx.org>
4770 * lyx_main.[Ch]: replace occurances of system_tempdir with
4773 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4775 * rename Inset to InsetOld
4777 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4779 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4780 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4781 which I think is a bit clearer. EDIT is gone, since it was
4782 premature optimisation, and broken for mathed anyway.
4783 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4784 with cursor positioning in insets as well (math insets still do not
4785 work, but that's a different story anyway.) It mysteriously
4786 crashes sometimes with undo in the first paragraph, but I'm fairly
4787 confident that this is a compiler bug.
4789 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4791 * paragraph.C (Paragraph): adjust for new clone return type
4793 (copyIntoMinibuffer): ditto
4795 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4797 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4798 by not having a special case, and always doing a full rebreak of
4799 the document after undo.
4801 2003-07-23 Angus Leeming <leeming@lyx.org>
4803 * factory.C (createInset): InsetExternal::setParams now takes a
4806 2003-07-23 Angus Leeming <leeming@lyx.org>
4808 * factory.C (createInset): changed interface to the external and
4809 graphics mailers' string2params functions.
4811 2003-07-23 Angus Leeming <leeming@lyx.org>
4813 * factory.C (createInset): pass a
4814 Buffer const * parameter to InsetExternalMailer's string2params.
4816 2003-07-22 John Levon <levon@movementarian.org>
4818 * Thesaurus.h: include the right aiksaurus header
4820 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4822 * MenuBackend.C (expand): check menu shortcuts unconditionally
4824 2003-07-21 Angus Leeming <leeming@lyx.org>
4826 * factory.C (createInset): pass a
4827 buffer_path parameter to InsetGraphicsMailer's string2params.
4829 2003-07-21 Angus Leeming <leeming@lyx.org>
4831 * BufferView_pimpl.C (buffer):
4834 * lyxfunc.C (dispatch):
4835 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4836 rather than the grfx shortcut.
4838 2003-07-21 André Pönitz <poenitz@gmx.net>
4840 * rowpainter.C: remove unused variables
4843 * tabular_funcs.h: move to tabular.C
4844 * Makefile.am: adjust
4846 * tabular.[Ch]: basic optical cleaning
4848 * author.h: pass references, not values
4850 2003-07-18 André Pönitz <poenitz@gmx.net>
4858 * text3.C: two-phase drawing for InsetText and InsetTabular
4859 some float -> int changes.
4861 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4863 * lyx_main.C: fix the fix
4865 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4867 * lyx_main.C: fix a crash in batch mode if no files specified
4870 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4872 * format.[Ch] (papersize): moved to BufferParams
4873 * converter.[Ch] (dvips_options): moved to BufferParams
4874 (dvipdfm_options): moved to anon namespace
4875 * bufferparams.[Ch]: added above functions.
4877 2003-07-17 André Pönitz <poenitz@gmx.net>
4881 * text2.C: don't call inset->update() anymore
4883 * metricsinfo.[Ch]: add convenience constructor
4885 2003-07-16 André Pönitz <poenitz@gmx.net>
4890 * text2.C: replace the LyXCursor::irow_ member with
4891 on-demand computation of the value
4893 2003-07-16 John Levon <levon@movementarian.org>
4895 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4897 2003-07-15 André Pönitz <poenitz@gmx.net>
4900 * text2.C: remove no more needed refresh_row
4902 2003-07-15 André Pönitz <poenitz@gmx.net>
4907 * text3.C: refresh_status tristate -> need_update bool
4909 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4911 * lyxtext.h (init): remove reinit argument (act as if always true)
4912 * text2.C: adjust to that
4914 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4916 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4917 * text3.C: use it to delete selections in some cases
4918 (bugs 441, 673, 702, 954).
4920 2003-07-14 André Pönitz <poenitz@gmx.net>
4922 * rowpainter.[Ch]: reduce interface
4924 2003-07-14 André Pönitz <poenitz@gmx.net>
4926 * BufferView_pimpl.C:
4927 * text2.C: adjust after removing unused BufferView * argument
4929 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4931 * text2.C (init): fix a crash fired on resize
4933 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4935 * buffer.[Ch]: added new closing signal
4936 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4937 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4938 BufferView::Pimpl via the closing the signal
4940 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4942 * buffer.[Ch]: take out all bv-related from buffer
4944 * BufferView_pimpl.[Ch]: connect to new signals
4945 * CutAndPaste.C: removed useless asserts
4946 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4949 * lyxfunc.C: moved view-related funciontality from vc here
4950 * paragraph.C: removed outdated comments
4953 2003-07-10 André Pönitz <poenitz@gmx.net>
4955 * BufferView_pimpl.C:
4959 * text2.C: remove InsetText::InnerCache, clean up consequences
4961 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4963 * ispell.C: fix two typos in error messages
4965 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4967 * Extend Note inset to other forms of annotation like Comment
4968 and Greyedout. Right button click gives dialog.
4970 Files modified or added (+):
4974 * ControlNote.[Ch] +
4976 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4977 frontends/controllers
4981 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4983 * aspell.C: add missing namespace lyx::support
4985 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4987 * BufferView.[Ch] (newFile): Add
4988 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4989 * LaTeX.[Ch] (message): added this signal and use it
4990 * buffer.[Ch] (busy, message): added these signals and use them
4991 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4995 * importer.C: use buffer signals instead of direct bv calling
4996 * lyx_cb.[Ch] (ShowMessage): removed
4999 * paragraph_funcs.C:
5000 * text2.C: use buffer signals
5002 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5004 * introduce namespace lyx::graphics
5006 2003-07-02 André Pönitz <poenitz@gmx.net>
5008 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5010 2003-07-01 André Pönitz <poenitz@gmx.net>
5017 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5018 text*.C to text_func.C
5020 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5022 * introduce namespace lyx::support
5024 2003-06-30 André Pönitz <poenitz@gmx.net>
5029 * text.C: re-enable --with-included-string
5031 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5033 * textcursor.C: add <config.h>
5035 * text.C (getWord): remove const from word_location arg
5037 * lyxvc.C (getLogFile): fix const type order
5039 * lyxtext.h: remove const from word_location arg, add arg name
5041 * lyxlayout.h: currect type on labeltype.
5043 * importer.C: correct \file
5045 * converter.C (intToFormat): use std:: on ret val, ws changes
5047 * bufferlist.h: correct \file
5049 * buffer.C (makeLinuxDocFile): fix const type order
5050 (makeDocBookFile): ditto
5051 (fillWithBibKeys): use std:: on stdlib args.
5053 * CutAndPaste.C: fix authors.
5054 (availableSelections): use std:: on return vector
5056 2003-06-27 André Pönitz <poenitz@gmx.net>
5058 * BufferView_pimpl.C:
5059 * bufferview_funcs.C:
5067 * text3.C: remove LyXCursor::row_ member
5070 * text.C: rename fullRebreak() to partialRebreak() and implement
5071 a fullRebreak() that really bereks fully
5073 * textcursor.h: new struct for cursor-related data
5075 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5077 * lyx_main.C (LyX): get full path of document loaded on the
5080 2003-06-26 André Pönitz <poenitz@gmx.net>
5082 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5083 remove unused/broken operator>,<,>=.
5085 * text.C: remove only use of broken operator<= in an Assert().
5087 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5089 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5090 moved errorlist_.clear to showErrorList
5092 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5094 * converter.C (scanLog, runLaTeX):
5095 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5096 move the bv->showErrorList call to the callers
5097 * lyxfunc.C: i.e. here...
5099 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5100 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5101 namespace, the second to...
5102 * buffer_funcs (BufferFormat, parseErrors): added
5103 * errorlist.C (ErrorList(TeXErrors const &)): removed
5105 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5107 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5109 2003-06-24 "Garst R. Reese" <reese@isn.net>
5113 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5115 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5117 * version.C.in: change docversion to 1.4
5119 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5121 * buffer.C: fix a bug just introduced
5123 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5125 * buffer.[Ch]: added the parseError signal and use it, removed
5127 * BufferView.[Ch] (addError): moved to ...
5128 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5129 to the Buffer::parseError signal to catch (guess what) parse errors
5130 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5132 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5134 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5135 ability to create a buffer and to return an existing one from
5136 the list. Moved these functions to...
5137 * buffer_funcs.[Ch]: added
5138 * BufferView.[Ch] (loadLyXFile): added
5139 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5140 job removed from bufferlist::loadLyXFile.
5141 * buffer.C (setReadOnly): make it work without view
5142 (i.e added an if (users))
5144 2003-06-19 Angus Leeming <leeming@lyx.org>
5147 * LyXAction.C (init):
5148 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5149 with LFUN_DIALOG_SHOW <name> <data>.
5151 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5153 * CutAndPaste.C (availableSelections): small compilation fix for
5154 ancient (gcc 2.9x) compilers
5156 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * text3.C (cursorNext): add tmp var
5160 * text2.C (updateCounters): for function calling out of for clause
5161 (replaceSelectionWithString): ditto
5162 (insertStringAsParagraphs): ditto
5163 (getColumnNearX): add tmp var
5164 (setCursorFromCoordinates): add tmp var
5165 (cursorDownParagraph): add tmp var
5166 (deleteEmptyParagraphMechanism): add tmp var
5168 * text.C (insertChar): add tmp var
5170 * rowpainter.C (paintDepthBar): add tmp var
5172 * CutAndPaste.C (availableSelections): potentially check all
5173 paragraphs in a cut to fill the shown strings.
5175 2003-06-18 André Pönitz <poenitz@gmx.net>
5177 * kbmap.[Ch]: use vector<> instead of list<>
5179 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5181 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5182 pasteSelection with index
5184 * text2.C (pasteSelection): modify, call pasteSelection with index
5186 * paragraph.C (asString): reimplement version with no interval to
5187 call the one with interval.
5189 * lyxtext.h: add index arg to pasteSelection
5191 * MenuBackend.C (MenuItem): handle PasteRecent
5192 (Menu::read::Menutags): add md_pasterecent
5194 (expandPasteRecent): new function
5197 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5199 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5201 (availableSelections): new function
5203 2003-06-17 Angus Leeming <leeming@lyx.org>
5205 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5207 2003-06-17 Angus Leeming <leeming@lyx.org>
5210 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5212 * lyxfunc.C (dispatch): invoke it.
5214 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5216 * iterators.C (operator++, ParPosition): reintroduce some
5217 const_cast for the benefit of older compilers.
5219 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5221 * text3.C (dispatch): do not modify clipboard when doing
5222 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5223 LFUN_DELETE_SKIP on a selection selection
5225 2003-06-16 André Pönitz <poenitz@gmx.net>
5231 * tabular.[Ch]: IU of clone() and getLabelList();
5233 2003-06-13 André Pönitz <poenitz@gmx.net>
5235 * tabular.h: compactification
5237 2003-06-12 André Pönitz <poenitz@gmx.net>
5241 * tabular_funcs.h: some renaming plus whitespace
5243 2003-06-12 André Pönitz <poenitz@gmx.net>
5246 * BufferView_pimpl.C:
5252 * toc.C: Return a Paragraph & for ParIterator::operator*()
5254 2003-06-11 John Levon <levon@movementarian.org>
5258 * ToolbarBackend.C: add "Toolbars" section and
5261 2003-06-10 Angus Leeming <leeming@lyx.org>
5264 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5266 * lyxfunc.C (dispatch): invoke it.
5268 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5270 * main.C: protect <ios> with HAVE_IOS
5271 (main): protect sync_with_stdio with HAVE_IOS
5273 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5275 * text2.C (cutSelection): adjust
5276 (pasteSelection): adjust
5278 * messages.C: handle get of empty string
5280 * main.C (main): use sync_with_stdio(false)
5282 * lyxfunc.C (dispatch): adjust
5284 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5285 (WriteAs): remove unneeded BufferView arg.
5287 * bufferparams.h: use correct types on papersize, papersize2 and
5290 * bufferparams.C (readToken): adjust for type
5291 (writeLaTeX): add missing cases to switch.
5293 * bufferlist.C (quitWriteBuffer): adjust
5296 * buffer.C (asciiParagraph): remove some commented code.
5298 * CutAndPaste.C: remove current_view extern variable.
5299 (cutSelection): add BufferParams arg.
5300 (eraseSelection): add BufferParams arg.
5301 (pasteSelection): add Buffer const & arg
5303 2003-06-07 John Levon <levon@movementarian.org>
5306 * paragraph_funcs.C:
5307 * paragraph_pimpl.C:
5311 * paragraph.C: allow InsetERT to freely space lines,
5312 and some consolidation of code
5314 2003-06-06 José Matos <jamatos@fep.up.pt>
5316 * buffer.C (makeDocBookFile): fix bug #821
5318 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5320 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5322 2003-06-04 Angus Leeming <leeming@lyx.org>
5324 * buffer.C: bump format to 224.
5326 2003-06-05 André Pönitz <poenitz@gmx.net>
5328 * text2.C (redoParagraphs): remove two const_cast<>
5330 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5332 * ParagraphList.h: remove last remnants of NO_STD_LIST
5334 2003-06-03 Angus Leeming <leeming@lyx.org>
5336 * factory.C (createInset): small change to the way InsetExternal's params
5339 2003-06-04 André Pönitz <poenitz@gmx.net>
5341 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5343 * paragraph_pimpl.h:
5344 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5346 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5348 * undo_funcs.C: make some simple cases of undo work again
5350 2003-06-03 John Levon <levon@movementarian.org>
5352 * ispell.C: HPUX doesn't have sys/select.h
5355 2003-06-03 John Levon <levon@movementarian.org>
5357 * CutAndPaste.C: update tabular and include inset
5362 * paragraph.C: remove owningBuffer(), don't pass Buffer
5365 * factory.C: insetGraphicsParams changed
5367 2003-06-02 John Levon <levon@movementarian.org>
5373 * text3.C: remove insetparent
5375 2003-06-02 John Levon <levon@movementarian.org>
5378 * buffer.C: fix inset_iterator.end(), move out of line
5381 2003-06-01 John Levon <levon@movementarian.org>
5383 * text3.C: use a proper cut/paste when doing inset
5384 insert (from Jürgen Spitzmüller)
5386 2003-06-01 John Levon <levon@movementarian.org>
5388 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5390 2003-05-30 André Pönitz <poenitz@gmx.net>
5392 * rowpainter.C: unify second drawing phase
5394 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5396 * trans_mgr.C: remove one case of current_view
5398 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5400 * paragraph_funcs.h: remove paragraph.h include
5402 * paragraph.h: delete NO_STD_LIST stuff
5404 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5406 * buffer.h: remove paragraph.h include
5408 * ParagraphList.C: delete file
5410 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5412 * toc.C (getTocList): adjust
5414 * paragraph_pimpl.C (validate): adjust
5416 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5418 * paragraph.C (Paragraph): adjust
5419 (getPositionOfInset): use const_iterator, adjust
5420 (bibitem): use const_iterator, adjust
5421 (setInsetOwner): adjust
5423 * iterators.C (operator++): adjust
5425 * InsetList.[Ch]: Replace selfmade iterator with standard
5426 vector::iterator also introduce const_iterator. Remove getPos,
5427 getInset and setInset from InsetTable. Adjust accordingly.
5429 * BufferView.C (lockInset): adjust
5430 (ChangeInsets): adjust
5432 * tabular.[Ch]: delete commented same_id functions
5434 2003-05-28 John Levon <levon@movementarian.org>
5436 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5438 2003-05-28 André Pönitz <poenitz@gmx.net>
5440 * metricsinfo.[Ch]: remove 'fullredraw' member
5442 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5444 * lyxtextclass.C (operator): remove caching.
5446 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5450 * text2.C (cursorBottom): adjust
5451 (setCounter): use ParagraphList::find, adjust
5453 * text.C (workWidth): use ParagraphList::find, adjust
5455 * lyxcursor.C (LyXCursor): adjust
5457 * buffer.C (inset_iterator): adjust
5459 * ParagraphList.h: make iterator(value_type) private, make
5460 ParagraphList a friend of iterator.
5462 * ParagraphList.C (find): new function
5464 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5466 2003-05-27 André Pönitz <poenitz@gmx.net>
5468 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5470 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5472 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5474 2003-05-26 John Levon <levon@movementarian.org>
5476 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5478 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5480 * remove same_id from function signatures, adjust.
5482 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5484 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5486 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5488 * paragraph.C (Paragraph): get rid of same_ids parameter
5490 * ParagraphList.C (insert): adjust
5493 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5495 * paragraph_funcs.C (breakParagraph): adjust
5496 (breakParagraphConservative): adjust
5498 * buffer.C (readParagraph): adjust
5500 * ParagraphList.C (insert): take a reference instead of a pointer
5503 * paragraph.[Ch] (id): new function
5505 * bufferlist.C (newFile): adjust
5507 * ParagraphList.C (ParagraphList): adjust
5509 (push_back): take a reference instead of a pointer.
5511 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5513 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5516 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5517 set else use old code.
5519 * ParagraphList.C: remove all NO_NEXT code and only compile this
5520 code of NO_STD_LIST is set.
5522 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5524 * BufferView_pimpl.C:
5534 * graphics/GraphicsConverter.C:
5535 * graphics/PreviewLoader.C: header adjustment
5537 2003-05-23 Angus Leeming <leeming@lyx.org>
5539 * LaTeXFeatures.[Ch] (useBabel): new method.
5540 * bufferparams.C (writeLaTeX): use it.
5542 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5544 * ParagraphList.h (set): remove unused function.
5546 2003-05-23 André Pönitz <poenitz@gmx.net>
5549 * BufferView_pimpl.C:
5553 * undo_funcs.C: setUndo reworked
5555 * iterators.[Ch]: add access to topmost ParagraphList
5557 * lyxtext.[Ch] (workWidth): add a const
5559 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5561 * texrow.[Ch] (increasePos): remove function
5562 * exporter.C (export): removed unused var and outdated comment
5564 2003-05-23 Angus Leeming <leeming@lyx.org>
5566 * latexrunparams.h: rename fragile as moving_arg.
5567 * paragraph.C (simpleTeXOnePar): ditto.
5568 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5570 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5572 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5574 (textUndoOrRedo): comment out a currently unused var.
5576 * paragraph.h (NO_NEXT): enable NO_NEXT
5578 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5580 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5582 * exporter.C (Export): adjust for removeAutoInsets removal.
5584 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5586 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5588 * BufferView.[Ch] (removeAutoInsets): delete function
5590 2003-05-22 Angus Leeming <leeming@lyx.org>
5592 * latexrunparams.h: add a free_spacing variable.
5594 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5595 to pass moving_arg, as the data is stored in runparams.fragile.
5597 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5598 to Inset::latexOptional or to simpleTeXOnePar.
5600 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5601 free_spacing arg to Inset::latexOptional.
5603 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5606 2003-05-22 Angus Leeming <leeming@lyx.org>
5608 * latexrunparams.h: add fragile and use_babel variables.
5610 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5611 * buffer.C (makeLaTeXFile): store this returned value in
5612 runparams.use_babel, thus passing it to the inset::latex methods.
5614 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5615 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5617 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5618 longer has a fragile arg, as it is stored in runparams.fragile.
5620 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5621 moving_arg parameter as the data is stored in runparams.fragile.
5623 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5624 a fragile parameter as the data is stored in runparams.fragile.
5626 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5628 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5630 2003-05-22 Angus Leeming <leeming@lyx.org>
5632 * latexrunparams.h: add a 'bool nice' which defaults to false.
5634 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5635 now encapsulated within runparams.
5637 * bufferlist.C (updateIncludedTeXfiles):
5638 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5640 2003-05-22 Angus Leeming <leeming@lyx.org>
5642 * latexrunparams.h: new file containing struct LatexRunParams.
5643 * Makefile.am: add new file.
5645 * LaTeX.[Ch] (c-tor, run):
5646 * buffer.[Ch] (makeLaTeXFile):
5647 * bufferlist.[Ch] (updateIncludedTeXfiles):
5648 * converter.C (convert, scanLog):
5649 * converter.[Ch] (runLaTeX):
5650 * exporter.C (Export):
5651 * paragraph.[Ch] (simpleTeXOnePar):
5652 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5653 * paragraph_funcs.[Ch] (latexParagraphs):
5654 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5655 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5656 pass around a LatexRunParams parameter.
5658 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5660 * paragraph.[Ch]: remove unused constructor
5662 * ParagraphList.C (erase): new function, taking two iterators
5664 2003-05-22 André Pönitz <poenitz@gmx.net>
5666 * undo_funcs.C: remove duplicated code
5668 * iterator.[Ch]: operator=
5670 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5672 * tabular.C (SetMultiColumn): ws changes
5674 * rowpainter.C (paintFirst): get rid of a ->previous
5676 * lyx_cb.C (getPossibleLabel): parlist simplification
5678 * BufferView.C (ChangeInsets): simplify slightly.
5680 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5682 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5683 * lfuns.h: new LFUN_SPACE
5684 * lyxfunc.C: protected space has a new lfun
5685 * paragraph_funcs.C: read new space insets
5687 * factory.C: handle new space insets
5689 2003-05-22 André Pönitz <poenitz@gmx.net>
5692 * BufferView_pimpl.C:
5695 * undo_funcs.C: return a ParIterator from getParFromID.
5697 * iterators.[Ch]: add two const's
5699 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5701 * toc.C (getTocList): adjust
5703 * iterators.[Ch]: rework for parlist
5705 * buffer.C (par_iterator_begin): adjust
5706 (par_iterator_end): adjust
5708 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5710 * BufferView.C (removeAutoInsets): adjust
5711 (ChangeInsets): adjust
5713 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5715 * text.C (top_y): fix bug 1110
5717 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5719 * errorlist.[Ch]: added
5722 * BufferView_pimpl.C:
5723 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5726 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5728 * Makefile.am: ensure that lyx is relinked upon changes to the
5729 various "convenience" libs.
5731 2003-05-20 Angus Leeming <leeming@lyx.org>
5733 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5734 files are compiled in alphabetical order again.
5736 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5738 2003-05-19 Angus Leeming <leeming@lyx.org>
5740 * gettext.[Ch]: remove "char const * _(char const *)".
5742 2003-05-19 André Pönitz <poenitz@gmx.net>
5744 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5753 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5755 2003-05-19 André Pönitz <poenitz@gmx.net>
5759 * lyxtextclass.[Ch]:
5761 * paragraph_funcs.[Ch]:
5763 * text3.C: more insetenv work
5765 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5767 * ParagraphParameters.C (params2string): small bug fixed
5769 2003-05-16 André Pönitz <poenitz@gmx.net>
5772 * bufferview_funcs.C: patch from Kornel Benko to prevent
5773 crash when _(...) is called twice in a statement
5775 2003-05-16 André Pönitz <poenitz@gmx.net>
5782 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5784 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5786 * lyx_main.C (init): remove spurious static_cast
5788 2003-05-14 André Pönitz <poenitz@gmx.net>
5790 * BufferView.C: fix format string
5792 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5794 * BufferView.[Ch] (insertErrors): removed
5795 * BufferView.[Ch] (showErrorList): added
5796 * buffer.C (runChkTeX):
5797 * converter.C (scanLog): call showErrorList instead of inserterrors
5799 2003-05-13 André Pönitz <poenitz@gmx.net>
5801 * BufferView_pimpl.C:
5803 * bufferview_func.C:
5810 * tabular_funcs.h: tostr() from its own header
5812 * ParagraphParameters.C:
5817 * text3.C: STRCONV()
5819 2003-05-12 André Pönitz <poenitz@gmx.net>
5822 * BufferView_pimpl.C:
5826 * ParagraphParameters.C:
5830 * bufferview_funcs.C:
5843 * paragraph_funcs.C:
5847 * text3.C: boost::format -> bformat all over the place
5850 2003-05-09 André Pönitz <poenitz@gmx.net>
5852 * LColor.[Ch]: Pimpl the #include <map> away
5854 2003-05-09 John Levon <levon@movementarian.org>
5856 * bufferlist.C: never remove emergency saves
5858 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5860 * Makefile.am: better lib building
5862 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5864 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5866 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5867 (simpleTeXSpecialChars): adjust
5868 (simpleTeXSpecialChars): adjust
5869 * paragraph.C (simpleTeXOnePar): adjust
5870 * buffer.C (makeLaTeXFile): adjust
5872 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5874 * text2.C (changeDepth): parlist cleanup
5875 (getColumnNearX): ditto
5877 * rowpainter.C (getLabelFont): parlist cleanup
5879 * bufferlist.C (newFile): parlist cleanup
5881 * CutAndPaste.C (eraseSelection): parlist cleanup
5883 * BufferView_pimpl.C (trackChanges): parlist cleanup
5886 * BufferView.C (lockInset): parlist cleanup.
5887 (ChangeInsets): ditto
5889 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5891 * CutAndPaste.h: Update file header.
5893 * CutAndPaste.C: Update file header.
5894 Store the parts cut out of the Document in a limited_stack.
5895 (copySelection): adjust
5896 (pasteSelection): new function, takes the index in the limited stack.
5897 (nrOfParagraphs): adjust
5898 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5899 simplify error inset insertion.
5900 (checkPastePossible): adjust
5902 2003-05-06 John Levon <levon@movementarian.org>
5904 * text2.C: don't cast wrap inset to float
5906 2003-05-05 André Pönitz <poenitz@gmx.net>
5909 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5911 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5912 few naked Paragraph *.
5914 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5916 * bufferparams.C: Output warning if a document with missing
5917 TeX document class is loaded
5918 * exporter.C: Disable TeX exports if the document class is missing
5921 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5922 isTeXClassAvailable()
5924 2003-05-03 John Levon <levon@movementarian.org>
5927 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5928 explicit cursor show/hide
5930 * BufferView_pimpl.h:
5931 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5932 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5934 * lyxfunc.C: hide cursor before dispatching.
5939 * text3.C: remove explicit cursor hides
5941 2003-05-02 André Pönitz <poenitz@gmx.net>
5943 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5946 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5949 * text2.C: tiny whitespace
5951 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5953 * undo_funcs.C: almost only ws changes.
5955 * ParagraphList.C (splice): just return if pl is empty.
5957 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5959 * ParagraphList.C (splice): new function.
5961 * CutAndPaste.C (pasteSelection): use it
5963 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5965 * CutAndPaste.C (pasteSelection): remove the last next and
5966 previous from this file.
5968 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5970 * CutAndPaste.C (pasteSelection): more clean up, user proper
5971 ParagraphList functions for pasteing.
5973 * ParagraphList.C (insert): new function, three arg insert
5975 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5977 * ParagraphList.C (insert): new function, three arg insert
5979 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5982 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5984 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5986 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5988 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5990 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5992 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5993 (copySelection): clean up a bit.
5994 (pasteSelection): use make_pair
5996 * ParagraphList.C (ParagraphList): implement copy constructor
5997 (operator=): implement, base on copy constructor.
6000 * paragraph.C (erase): return a bool
6002 * paragraph_pimpl.C (erasePos): remove function, move contents...
6003 (erase): ... here. Return a bool.
6004 (erase): call erase instead of erasePos.
6006 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6008 * ParagraphList.h: define PitPosPair
6009 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6010 ParagraphList, fix a bug on pasting multiple pars
6011 * text2.C: change interface to C&P
6013 2003-04-30 André Pönitz <poenitz@gmx.net>
6015 * undo_func.C: revert part of yesterday's patch 2
6017 2003-04-30 John Levon <levon@movementarian.org>
6019 * LColor.C: s/tabular/table/
6021 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6023 * text3.C (dispatch): do not convert iterator -> pointer
6024 * undo_funcs.C (setCursorParUndo): ditto
6025 * text_funcs.C (transposeChars): ditto
6027 * text2.C (setLayout): ws changes only
6029 * text.C (breakParagraph): do not convert iterator -> pointer
6031 (acceptChange): ditto
6032 (rejectChange): ditto
6037 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6040 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6042 * text3.C (gotoInset): YABG (yet another bad getChar)
6044 2003-04-29 André Pönitz <poenitz@gmx.net>
6046 * paragraph.h: make operator= private unimplemented as long as
6049 * ParagraphList.C: whitespace
6052 * paragraph_pimpl.[Ch]:
6053 * paragraph_funcs.C:
6055 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6058 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6060 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6062 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6063 * paragraph.[Ch] (erase):
6064 * paragraph_pimpl.[Ch] (erase): change return type and value
6065 * text2.C (cutSelection): some rework
6067 2003-04-28 John Levon <levon@movementarian.org>
6069 * bufferlist.C: changes for unsaved changes dialog
6071 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6073 * bufferlist.C (newFile): set language (messages_) for new
6076 * buffer.C (readFile): ws changes only.
6078 2003-04-28 André Pönitz <poenitz@gmx.net>
6083 * BufferView_pimpl.C:
6084 * BufferView.C: getParFromID related ParagraphList::iterator changes
6086 2003-04-28 André Pönitz <poenitz@gmx.net>
6088 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6091 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6093 * messages.C: remove one more localedir class variable.
6095 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6097 * messages.C (getLocaleDir): singleton generation function
6099 (Messages): add a default constructor.
6101 * main.C (main): do not setup localedir here, do not call
6104 * gettext.C (_): use it.
6105 (gettext_init): delete funciton
6107 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6109 * gettext.C (getLyXMessages): new singleton generating function.
6111 * buffer.C (updateDocLang): adjust
6113 * Makefile.am (messages.o): add target
6114 (main.o): remove target
6116 2003-04-27 John Levon <levon@movementarian.org>
6121 * lyxvc.C: specify cancel button in Alert::prompt
6123 2003-04-26 John Levon <levon@movementarian.org>
6128 * LyXAction.C: add LFUN_INSET_SETTINGS
6130 * lyxfunc.C: don't enable tabular-feature when there's
6131 just any locking inset
6133 2003-04-26 John Levon <levon@movementarian.org>
6135 * bufferlist.C: re-add Cancel to buffer close question
6137 * lyxfunc.C: fix import UI a bit
6139 2003-04-25 John Levon <levon@movementarian.org>
6141 * gettext.C: remove the broken asserts for now
6143 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6145 * messages.C: make case where setlocale cannot comply work better.
6147 * buffer.C (updateDocLang): new function
6148 (changeLanguage): use it
6151 * text2.C (setCounter): use B_ a bit.
6153 * lyxlayout.C (Read): be sure to trim the label strings.
6155 * messages.C (Messages): fix typo in comment
6157 * buffer.C (readFile): set message_ after file is loaded.
6158 (makeDocBookFile): remove double return
6159 (changeLanguage): reset message_ upon language change.
6160 (B_): new func, use this to get translated buffer strings.
6162 * main.C: add myself and Jean Marc as authors.
6164 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6166 * messages.[hC]: pimplify Messages, and three different pimpls to be
6167 used in different circumstances.
6169 * gettext.[Ch]: change for use with new message code.
6171 2003-04-24 André Pönitz <poenitz@gmx.net>
6173 * factory.C: support for eqref
6175 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6177 * messages.[Ch]: add missing char
6179 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6181 * messages.[Ch]: New files
6183 2003-04-18 John Levon <levon@movementarian.org>
6187 * BufferView_pimpl.C:
6191 * text2.C: remove layout-copy/paste (bug 778)
6193 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6195 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6197 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6199 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6200 if they succeed. Act accordingly.
6202 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6204 * text2.C (setCharFont): adjust
6205 (setCounter): adjust
6206 (insertStringAsLines): adjust
6208 * text.C (leftMargin): adjust
6209 (setHeightOfRow): adjust
6211 * rowpainter.C (paintFirst): adjust
6214 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6216 (isFirstInSequence): ditto
6217 (getEndLabel): ditto
6220 * paragraph.C (getParLanguage): comment out some hard stuff.
6222 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6224 (simpleDocBookOnePar): ditto
6225 (makeDocBookFile): use ParagraphList::iterator
6227 * CutAndPaste.C (pasteSelection): adjust
6229 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6231 * text2.C (getFont): adjust
6232 (getLayoutFont): adjust
6233 (getLabelFont): adjust
6235 * paragraph_funcs.C (TeXOnePar): adjust
6237 * buffer.C (simpleLinuxDocOnePar): adjust
6238 (simpleDocBookOnePar): adjust
6240 * CutAndPaste.C (pasteSelection): adjust
6242 * BufferView.C (getEncoding): adjust
6244 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6246 2003-04-16 John Levon <levon@movementarian.org>
6248 * lyxfind.C: use parlist stuff for search/changes
6250 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6252 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6254 * text2.C (deleteEmptyParagraphMechanism): adjust
6256 * text2.[Ch] (ownerParagraph): delete func (both of them
6258 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6260 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6262 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6264 * ParagraphList.C: prepare for NO_NEXT
6266 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6268 * text2.C (getFont): adjust
6269 (getLayoutFont): adjust
6270 (getLabelFont): adjust
6272 * paragraph.C (getFont): adjust
6273 (getLabelFont): adjust
6274 (getLayoutFont): adjust
6276 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6278 2003-04-15 John Levon <levon@movementarian.org>
6282 * lyx_main.C: handle Include in .ui files
6284 2003-04-15 John Levon <levon@movementarian.org>
6286 * MenuBackend.C: make the doc files length shorter
6289 * ToolbarBackend.C: handle toolbar placement flags,
6292 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6294 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6297 * paragraph_funcs.C (TeXOnePar): adjust
6299 * paragraph.C (getLabelFont): add outerfont arg, adjust
6300 (getLayoutFont): ditto
6301 (simpleTeXOnePar): adjust
6303 * paragraph_pimpl.C (realizeFont): delete func
6305 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6307 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6308 row argument, constify cur argument.
6310 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6312 * text2.C (getFont): adjust
6313 (getLayoutFont): adjust
6314 (getLabelFont): adjust
6316 * paragraph_funcs.C (TeXOnePar): adjust
6317 (outerFont): new func...
6318 (realizeFont): ...moved out from here, changed this to facilitate
6321 * paragraph.C (getFont): take outerfont as arg, adjust
6322 (simpleTeXOnePar): add outerfont arg, adjust
6324 * buffer.C (simpleLinuxDocOnePar): adjust
6325 (simpleDocBookOnePar): adjust
6327 * CutAndPaste.C (pasteSelection): adjust
6329 * BufferView.C (getEncoding): adjust
6331 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6333 * text2.C (setCharFont): adjust
6334 (setCounter): adjust
6336 * text.C (leftMargin): adjust
6337 (setHeightOfRow): adjust
6339 * rowpainter.C (paintFirst): adjust
6342 * paragraph_pimpl.C (realizeFont): adjust
6344 * paragraph.C (isFirstInSequence): move from here...
6345 * paragraph_funcs.C (isFirstInSequence): ...to here
6347 * paragraph.C (outerHook): move from here...
6348 * paragraph_funcs.C (outerHook): ...to here
6350 * paragraph.C (depthHook): move from here...
6351 * paragraph_funcs.C (depthHook): ...to here
6353 * paragraph.C (getEndLabel): move from here...
6354 * paragraph_funcs.C (getEndLabel): ...to here
6356 * text2.C (realizeFont): move from here...
6357 * paragraph_funcs.C (realizeFont): ...to here
6359 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6361 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6363 2003-04-14 Angus Leeming <leeming@lyx.org>
6365 * LColor.[Ch]: scrap LColor mathcursor.
6367 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6369 * lyxlex.[Ch] (text): delete function
6370 * trans.C (Load): adjust
6371 * paragraph_funcs.C (readParToken): adjust
6373 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6375 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6376 vector<char> instead of a char[].
6378 * lyxlex_pimpl.C (getString): adjust
6380 (lex): use getString
6384 * lyxlex.C (text): use pimpl_->getString()
6388 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6390 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6391 (makeFontEntriesLayoutSpecific): temp var for par.size()
6392 (setLayout): temp var for ownerParagraphs().end()
6393 (fullRebreak): temp var for rows().end()
6394 (selectionAsString): temp var for boost::next(startpit), realize
6395 that the while really is a regular for loop.
6396 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6397 setCursor in one place.
6398 (setParagraph): temp vr for ownerParagraphs().end()
6399 (updateCounters): make the while loop a for loop
6400 (cutSelection): temp var for ownerParagraphs().end()
6401 (updateInset): make the do {} while() a regular for loop
6402 (getCursorX): use temp vars
6403 (setCurrentFont): use temp vars
6404 (getColumnNearX): use temp vars
6406 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6408 * text.C (transformChar): use temp var for getChar
6409 (computeBidiTables): use temp var for row->par()
6410 (fill): move temp vars for row->par() and pit->layout() earlier in
6412 (labelFill): use temp var for row->par()
6413 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6414 asc and desc, realize that pit never changes and that firstpit is
6415 just a duplicate and not needed. Exchange rit->par() with pit in a
6417 (breakAgain): use a temp var for boost::next(rit)
6418 (breakAgainOneRow): ditto
6419 (breakParagraph): use a temp var for rows().begin()
6420 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6421 (cursorRightOneWord): use temp var for cursor.par() and
6422 cursor.pos(), remove usage of tmpcursor.
6423 (cursorLeftOneWord): use temp var for cursor.par() and
6424 cursor.pos() only set cur at end of function.
6426 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * text.C, text2.C: exchange all usage of Paragraph::next with
6429 boost::next(ParagraphList::iterator)
6431 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6433 * text2.C (cursorTop): simplify implementation
6434 (cursorBottom): ditto
6435 (setParagraph): use ParagraphList::iterator
6436 (setCurrentFont): adjust
6437 (getColumnNearX): adjust
6438 (cursorRight): adjust
6439 (cursorLeft): remove usage of Paragraph::previous
6440 (cursorUpParagraph): ditto
6441 (deleteEmptyParagraphMechanism): slight cleanup
6443 * text.C (isBoundary): take a Paragraph const & instead of a
6445 (addressBreakPoint): ditto
6446 (leftMargin): remove usage of Paragraph::previous.
6447 (setHeightOfRow): ditto
6448 (cursorLeftOneWord): ditto
6449 (selectNextWordToSpellcheck): ditto
6452 (breakParagraph): remove one usage of Paragraph::next
6453 (redoParagraph): ditto
6454 (acceptChange): ditto
6455 (insertChar): adjust
6456 (rowBreakPoint): adjust
6458 * bufferview_funcs.C (toggleAndShow): adjust
6460 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6462 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6463 methods to access it.
6465 * text.C: Added updateRowPositions to compute all row positions.
6466 Make top_y and getRowNearY() to use the cached y position
6468 2003-04-11 John Levon <levon@movementarian.org>
6470 * text.C (rowBreakPoint): reintroduce the labelEnd
6471 checks, code copied from the row fill stuff. Deep voodoo.
6473 * text.C (fill): add a comment and debugging for the
6476 2003-04-11 John Levon <levon@movementarian.org>
6478 * text.C: make sure fullrow insets get wrapped to the next line,
6479 even when they're in a manual label
6481 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * text2.C (insertParagraph): make it take ParagraphList::iterator
6485 (setLayout): make it return ParagraphList::iterator
6486 (redoParagraphs): ditto
6488 (checkParagraph): ditto
6490 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6492 * text2.C: adjust several funcs.
6493 (realizeFont): take a ParagraphList::iterator as arg.
6494 (getLayoutFont): ditto
6495 (getLabelFont): ditto
6496 (setCharFont): ditto
6498 * text.C: adjust several funcs.
6500 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6502 * text.C (selectNextWordToSpellcheck): don't accidentally
6505 2003-04-10 John Levon <levon@movementarian.org>
6507 * ToolbarBackend.C (getIcon): special handling for
6510 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6512 * text2.C (cursorRight): a getChar assert fixed
6514 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6516 * text2.C (getFont): change to take a ParagraphList::iterator
6517 instead of Paragraph*
6518 Adjust several functions.
6520 * text.C (transformChar): change to take a ParagraphList::iterator
6521 instead of Paragraph*
6522 (singleWidth): ditto
6523 Adjust several functions.
6525 * rowpainter.C: adjust several functions
6526 * rowpainter.h:store a ParagraphList::iterator and not a
6530 2003-04-09 John Levon <levon@movementarian.org>
6535 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6536 and the "help" bits as well
6538 2003-04-09 John Levon <levon@movementarian.org>
6541 * ToolbarBackend.C: allow multiple toolbars
6543 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6545 * undo_funcs.C (setCursorParUndo): adjust
6547 * text_funcs.C (transposeChars): adjust
6549 * text3.C (gotoNextInset): adjust
6552 * text2.C (setLayout): adjust
6553 (changeDepth): adjust
6555 (redoParagraphs): adjust
6556 (selectionAsString): adjust
6557 (setParagraph): adjust
6558 (insertInset): adjust
6559 (cutSelection): adjust
6560 (copySelection): adjust
6561 (pasteSelection): adjust
6562 (insertStringAsLines): adjust
6563 (updateInset): adjust
6564 (setCursor): change to take a ParagraphList::iterator parameter
6565 (setCursorIntern): change to take a ParagraphList::iterator parameter
6566 (setCurrentFont): adjust
6567 (cursorLeft): adjust
6568 (cursorRight): adjust
6569 (deleteEmptyParagraphMechanism): adjust
6571 * text.C (breakParagraph): adjust
6572 (insertChar): adjust
6573 (acceptChange): adjust
6574 (rejectChange): adjust
6575 (selectNextWordToSpellcheck): adjust
6576 (changeCase): adjust
6580 * lyxfind.C (SearchForward): adjust
6581 (SearchBackward): adjust
6582 (nextChange): adjust
6584 * lyxcursor.C (par): adjust
6586 * lyxcursor.h: store a ParagraphList::iterator instead of a
6589 * lyx_cb.C (getPossibleLabel): adjust
6591 * bufferview_funcs.C (toggleAndShow): adjust
6593 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6596 * BufferView.C (removeAutoInsets): adjust
6597 (lockedInsetStoreUndo): adjust
6599 2003-04-09 John Levon <levon@movementarian.org>
6601 * ToolbarBackend.C: try icon without argument
6602 if with argument fails
6604 2003-04-08 John Levon <levon@movementarian.org>
6607 * ToolbarBackend.C: add getIcon(), handle tooltip,
6608 and change from "Icon" to "Item".
6610 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6612 * BufferView.C (lockInset): another bad getchar crunched
6614 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6616 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6619 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6621 * lyxfind.C (searchForward, searchBackwards): bug 782
6623 2003-04-07 John Levon <levon@movementarian.org>
6625 * paragraph.C: remove dead comment
6627 * text.C: remove troublesome depth-fiddling code
6628 in leftMargin() and rightMargin() (bug 1017)
6630 * text.C: fix breaking of rows in nested lists
6633 * text2.C (updateCounters): fix up depth values
6636 2003-04-07 John Levon <levon@movementarian.org>
6638 * BufferView_pimpl.C: clear message when doc finishes resizing,
6639 and after a mouse event
6641 * lyxfunc.C: clear message after exiting inset
6643 2003-04-07 John Levon <levon@movementarian.org>
6645 * bufferview_funcs.C: show math status not outside
6646 status in the statusbar
6648 2003-04-07 John Levon <levon@movementarian.org>
6650 * lyxfunc.C: note status changed after a depth change
6652 2003-04-04 Angus Leeming <leeming@lyx.org>
6654 * LaTeX.h: move AuxInfo operator==, != out of line.
6655 Remove LaTeX virtual destructor; nothing derives from it.
6656 Move operator()() out of public area and rename it startscript().
6657 Change protected for private.
6659 2003-04-04 Angus Leeming <leeming@lyx.org>
6662 * text2.C: remove unneeded #includes.
6664 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6666 * text2.C (dEPM): fix the heigth of the next row
6668 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6670 * text.C: squashed an invalid getChar requester + some ws changes
6672 2003-04-03 John Levon <levon@movementarian.org>
6674 * bufferview_funcs.h:
6675 * bufferview_funcs.C:
6678 * text2.C: make getStatus work for the env depth lfuns
6680 2003-04-03 John Levon <levon@movementarian.org>
6682 * bufferview_funcs.h:
6683 * bufferview_funcs.C:
6686 * text2.C: parlistize decDepth(), by merging it with incDepth()
6688 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6690 * lyxrow.h: store a ParagraphList::iterator instead of a
6691 Paragraph* and adjust other class functions to suit.
6693 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6696 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6698 * text2.C (setCursor): do not anchor to cursor row for the time being
6700 2003-04-02 John Levon <levon@movementarian.org>
6707 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6709 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6711 * paragraph.h: make ParagraphList and ParagraphList::iterator
6712 friends of Paragraph.
6714 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6716 * ParagraphList.C: Use the private next_ and previous_ from
6719 2003-04-01 John Levon <levon@movementarian.org>
6723 * Makefile.am: rename, remove defaults gunk
6726 * MenuBackend.C: remove defaults gunk
6729 * Languages.C: remove defaults gunk
6732 * lyx_main.C: error out if files couldn't be found.
6734 2003-04-02 John Levon <levon@movementarian.org>
6736 * text2.C: make incDepth() use parlist
6738 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6740 * undo_funcs.C (firstUndoParagraph): adjust
6742 * text3.C (gotoInset): adjust
6743 (dispatch): adjust, and rewrite loop.
6745 * text2.C (init): adjust, and rewrite loop.
6746 (redoParagraphs): adjust
6747 (updateInset): adjust, and rewrite loop.
6748 (deleteEmptyParagraphMechanism): adjust
6750 * tabular.C (LyXTabular): adjust
6751 (SetMultiColumn): adjust
6754 * lyxtext.[Ch] (ownerParagraph): delete function
6755 (ownerParagraphs): new function returns a ParagraphList.
6757 * BufferView.C (removeAutoInsets): adjust
6758 (insertErrors): adjust
6759 (setCursorFromRow): adjust
6761 2003-04-01 Angus Leeming <leeming@lyx.org>
6763 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6766 2003-04-02 John Levon <levon@movementarian.org>
6772 * text_funcs.C: make transposeChars a free function
6774 * lyxrow_funcs.C: remove wrong comment
6776 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6779 * rowpainter.C: adjust
6784 * lyxrow_funcs. [Ch]: new files
6786 * lyxrow.[Ch]: remove next and previous pointers
6787 (next,previous): remove accessor functions
6788 (isParEnd): move to lyxrow_funcs
6789 (lastPos): move to lyxrow_funcs
6790 (nextRowIsAllInset): move to lyxrow_funcs
6791 (lastPrintablePos): move to lyxrow_funcs
6792 (numberOfSeparators): move to lyxrow_funcs
6793 (numberOfHfills): move to lyxrow_funcs
6794 (numberOfLabelHfills): move to lyxrow_funcs
6795 (hfillExpansion): move to lyxrow_funcs
6799 * bufferview_funcs.C (toggleAndShow): adjust
6801 * RowList.h: Remove class RowList from file leave just a
6804 * RowList.C: delete file
6806 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6809 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6811 * text3.C (cursorPrevious): adjust
6812 (cursorNext): adjust
6815 * text2.C (redoHeightOfParagraph): adjust
6816 (redoDrawingOfParagraph): adjust
6819 * text.C (breakParagraph): adjust
6820 (insertChar): adjust
6823 * rowpainter.C (RowPainter): adjust
6824 (leftMargin): simplify and adjust
6825 (most rowpainter functions): adjust.
6827 * rowpainter.h: store the row as RowList::iterator not as Row*
6829 * lyxcursor.C (row): taka RowList::iterator as arg
6832 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6835 2003-04-01 Angus Leeming <leeming@lyx.org>
6837 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6838 stuff like bool Bool.
6840 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6842 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6845 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6847 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6850 * lyxtext.h (rows): drop one version and leve a const variant that
6851 returns a RowList::iterator.
6853 2003-03-31 Angus Leeming <leeming@lyx.org>
6855 * text.C (fill): ensure that the signature is the same as that in the
6858 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6860 * text2.C (redoParagraphs): adjust
6861 (updateCounters): adjust
6862 (checkParagraph): adjust
6863 (getColumnNearX): adjust and reformat a bit.
6865 * text.C (top_y): adjust
6867 (leftMargin): adjust
6868 (prepareToPrint): adjust
6870 (getRowNearY): adjust
6872 * lyxtext.h: make rowlist_ mutable.
6874 * RowList.h: add const_iterator
6875 * RowList.C: adjust for RowList::const_iterator.
6877 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6880 2003-03-31 John Levon <levon@movementarian.org>
6883 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6885 * lyx_main.C: set default fonts from using lyx_gui funcs
6887 * exporter.C: pdf_mode moved from lyxrc
6890 * lyxfunc.C: changes from above
6892 2003-03-31 John Levon <levon@movementarian.org>
6894 * lyx_main.C: fix to the last fix
6896 2003-03-31 John Levon <levon@movementarian.org>
6898 * bufferlist.C: "Load original" -> "Load Original"
6904 * format.C: more Alert cleanups
6906 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6908 * text2.C (removeParagraph): make it take a RowList::iterator as
6910 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6911 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6913 * text.C (anchor_row): make it take a RowList::iterator as arg,
6915 (computeBidiTables): make it take a const reference to Row instead
6916 of Row pointer, adjust.
6917 (leftMargin): make it take a RowList::iterator as arg, adjust.
6918 (rowBreakPoint): adjust
6919 (breakAgainOneRow): make it take a RowList::iterator as arg,
6921 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6923 * bufferview_funcs.C (toggleAndShow): adjust
6925 2003-03-30 John Levon <levon@movementarian.org>
6929 * boost-inst.C: moved to support
6931 * several files: changes as a result
6933 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6935 * text2.C (LyXText): adjust.
6937 (removeRow): make it take a RowList::iterator as arg, adjust.
6938 (fullRebreak): adjust
6939 (deleteEmptyParagraphMechanism): adjust
6940 (clearPaint): adjust
6943 * text.C (top_y): adjust
6944 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6945 (breakAgain): make it take a RowList::iterator as arg, adjust.
6946 (breakParagraph): adjust
6947 (insertChar): adjust
6950 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6951 need_break_row, and refresh_row.
6953 * text3.C (dispatch): adjust
6955 * text2.C (checkParagraph): adjust
6957 (setCursorFromCoordinates): adjust
6959 * text.C (top_y): adjust
6961 (getRow): make it return a RowList::iterator, adjust
6962 (getRowNearY): make it return a RowList::iterator, adjust
6964 * text2.C (init): adjust
6965 (insertRow): remove function
6966 (insertParagraph): adjust
6967 (redoParagraphs): adjust
6968 (fullRebreak): adjust
6969 (updateCounters): adjust
6971 * text.C (top_y): rewrite to use RowList iterators.
6973 (setHeightOfRow): rewrite to sue RowList iterators.
6974 (appendParagraph): adjust
6975 (breakAgain): adjust
6976 (breakAgainOneRow): adjust
6977 (breakParagraph): adjust
6979 (getRowNearY): adjust, and remove commented code.
6981 * lyxtext.h (firstRow): delete function
6982 (lastRow): delete function
6983 (rows): new function (const and non-const versions.)
6984 (insertRow): delete function
6986 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6988 2003-03-29 John Levon <levon@movementarian.org>
6990 * BufferView_pimpl.C: always update scrollbar top
6991 because pasting text when we're anchored could mean we
6992 miss an update altogether
6994 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6996 * text2.C (init): use rowlist_.end() and not 0.
6997 (insertRow): change to take a RowList::iterator as arg, adjust
6999 (insertParagraph): change to take a RowList::iterator as arg,
7001 (redoParagraphs): remove some debug msgs.
7003 * text.C (appendParagraph): change to take a RowList::iterator
7004 arg, adjust for this.
7005 (breakAgain): add an assert
7006 (breakAgainOneRow): ditto
7008 2003-03-29 John Levon <levon@movementarian.org>
7010 * text2.C: do not clear selection after inc/decDepth
7013 2003-03-29 John Levon <levon@movementarian.org>
7016 * buffer.C: fix broken strerrors according to Lars
7018 2003-03-29 John Levon <levon@movementarian.org>
7020 * converters.C: more Alert cleanups
7022 2003-03-29 John Levon <levon@movementarian.org>
7024 * bufferview_funcs.C: remove pointless Alert
7026 * buffer.C: fix confusing error message when
7027 a template is chmoded 000
7029 2003-03-29 John Levon <levon@movementarian.org>
7033 * BufferView_pimpl.C: Alert fixes
7037 * tabular-old.C: remove unused table compat reading
7039 2003-03-29 John Levon <levon@movementarian.org>
7044 * lyx_cb.C: more Alert cleanups
7046 * lyxfunc.C: don't allow chktex if not latex document
7048 2003-03-29 John Levon <levon@movementarian.org>
7052 * buffer.C: warnings pushed down from support/,
7055 2003-03-29 John Levon <levon@movementarian.org>
7057 * lyxfunc.C: safety check for C-r (revert)
7059 2003-03-29 John Levon <levon@movementarian.org>
7062 * bufferlist.C: several UI fixes using Alert::prompt.
7063 Fix the pointless looping quit code. Fix stupid revert
7068 * lyx_cb.C: use Alert::prompt
7070 * lyx_main.C: remove a silly question
7072 * lyxfunc.C: remove a couple of silly questions,
7075 2003-03-28 John Levon <levon@movementarian.org>
7077 * text2.C: fix bug 974 (End on empty par)
7079 2003-03-28 John Levon <levon@movementarian.org>
7081 * BufferView_pimpl.C:
7083 * lfuns.h: remove do-nothing math greek lfuns
7085 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7087 * lyxgluelength.h (isValidGlueLength): add default arg on
7088 parameter 2. Remove default arg from friend in class.
7090 * lyxlength.h (isValidLength): add default arg on parameter 2.
7091 Remove default arg from friend in class.
7093 * text2.C (LyXText): adjust, initialize refresh_row.
7097 (insertParagraph): adjst
7098 (redoParagraphs): adjust
7099 (fullRebreak): adjust
7100 (updateCounters): adjust
7101 (deleteEmptyParagraphMechanism): first attempt at fixing a
7104 * text.C (top_y): adjust
7105 (setHeightOfRow): adjust
7107 (getRowNearY): adjust
7109 * lyxtext.h: include RowList.h
7110 (~LyXText): not needed anymore, deleted.
7111 (firstRow): modify for RowList
7112 (lastRow): new function
7113 Delete firstrow and lastrow class variables, add a Rowlist
7114 rowlist_ class variable.
7116 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7119 * RowList.C (insert): fix case where it == begin().
7121 2003-03-26 Angus Leeming <leeming@lyx.org>
7123 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7124 the thesaurus dialog.
7126 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7128 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7130 * RowList.[Ch]: new files
7132 * ParagraphList.C (erase): handle the case where it == begin
7135 2003-03-25 John Levon <levon@movementarian.org>
7139 * aspell.C: add new aspell support
7142 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7145 2003-03-25 Angus Leeming <leeming@lyx.org>
7148 * LyXAction.C (init): new LFUN_INSET_INSERT.
7150 * BufferView_pimpl.C (dispatch): split out part of the
7151 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7153 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7156 2003-03-25 Angus Leeming <leeming@lyx.org>
7158 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7160 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7163 * text3.C: remove useless row->height(0)
7165 2003-03-25 John Levon <levon@movementarian.org>
7169 * text3.C: rename the refreshing stuff to better names
7171 2003-03-24 John Levon <levon@movementarian.org>
7173 * BufferView_pimpl.h:
7174 * BufferView_pimpl.C: update layout choice on a mouse
7177 2003-03-23 John Levon <levon@movementarian.org>
7179 * Makefile.am: fix commandtags.h reference
7181 2003-03-22 John Levon <levon@movementarian.org>
7183 * BufferView_pimpl.C:
7188 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7190 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7193 * text.C: take the rtl methods out of line
7195 2003-03-21 André Pönitz <poenitz@gmx.net>
7197 * metricsinfo.[Ch]: new files containing structures to be passed around
7198 during the two-phase-drawing...
7200 2003-03-21 André Pönitz <poenitz@gmx.net>
7202 * lyxtextclass.C: read 'environment' tag.
7204 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7206 * text2.C (removeRow): fix bug 964
7208 2003-03-20 John Levon <levon@movementarian.org>
7212 * text2.C: paint cleanups. Inset::update() dropped font
7215 2003-03-19 John Levon <levon@movementarian.org>
7217 * lyxfunc.C: only fitcursor/markDirty if available()
7219 2003-03-19 John Levon <levon@movementarian.org>
7221 * commandtags.h: rename to ...
7223 * lfuns.h: ... this, and renumber / cleanup
7225 2003-03-19 John Levon <levon@movementarian.org>
7227 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7228 fit the cursor after an lfun
7232 * BufferView_pimpl.h:
7233 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7235 * LyXAction.C: layout-character should have ReadOnly
7237 * ParagraphParameters.C:
7239 * bufferview_funcs.C:
7246 * undo_funcs.C: changes from above
7248 2003-03-18 John Levon <levon@movementarian.org>
7250 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7251 remove it from update()
7253 * lyxfunc.C: update layout choice after an lfun
7255 * text3.C: remove extra updateLayoutChoice()s
7257 2003-03-18 John Levon <levon@movementarian.org>
7259 * text.C: top_y change means full repaint, fix
7260 a drawing bug with cursor movement
7262 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7266 * text2.C: anchor row on setCursor
7268 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7270 * lyxtext.h: remove almost all mutable keywords
7273 * text3.C: remove const keywords accordingly
7275 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7277 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7279 (TeXEnvironment): ditto
7282 2003-03-17 John Levon <levon@movementarian.org>
7284 * text.C (rowBreakPoint): remove attempt to fix displayed
7285 math insets inside a manual label
7287 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7289 * lyxtext.h: remove BufferView* as first arg from almost all class
7291 * other files: adjust.
7293 2003-03-17 John Levon <levon@movementarian.org>
7297 * text2.C: more paint cleanups
7299 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7302 * rowpainter.C: remove "smart" background painting code
7304 2003-03-16 John Levon <levon@movementarian.org>
7309 * text3.C: add helper functions for setting refresh_row/y
7311 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7313 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7314 newline inset which *can* get inserted in the pass_thru layouts.
7315 This is primarily for literate documents.
7317 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7319 * buffer.C: increment LYX_FORMAT to 223
7321 2003-03-14 André Pönitz <poenitz@gmx.net>
7323 * textclass.h: prepare for environment handling, ws changes
7324 * lyxlayout.C: read latexheader and latexfooter tags
7326 2003-03-14 John Levon <levon@movementarian.org>
7328 * text2.C: rewrite ::status() a bit
7330 2003-03-13 John Levon <levon@movementarian.org>
7332 * lyxtext.h: add some docs
7334 2003-03-13 John Levon <levon@movementarian.org>
7339 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7341 2003-03-13 John Levon <levon@movementarian.org>
7343 * text3.C: fix appendix redrawing
7345 2003-03-13 John Levon <levon@movementarian.org>
7347 * text.C (setHeightOfRow):
7349 * rowpainter.C: make appendix mark have the text
7350 "Appendix" so the user knows what it is
7353 * LColor.C: s/appendixline/appendix/ from above
7355 2003-03-13 John Levon <levon@movementarian.org>
7357 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7359 * text.C: fix a getChar(pos) bug properly
7361 2003-03-13 Angus Leeming <leeming@lyx.org>
7364 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7365 Probably only temporary. Let's see how things pan out.
7367 * BufferView.C (unlockInset):
7368 * BufferView_pimpl.C (fitCursor):
7369 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7371 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7372 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7374 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7375 new functions that convert ParagraphParameters to and from a string.
7377 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7378 BufferView::Pimpl's dispatch.
7379 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7381 2003-03-13 André Pönitz <poenitz@gmx.net>
7385 * factory.C: make it aware of InsetEnv
7387 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7389 * text2.C (setCursor): never ask for one past last
7390 (setCursor): add some debugging messages.
7392 * text.C (singleWidth): never ask for one past last
7393 (singleWidth): ditto
7395 (rightMargin): ditto
7396 (rowBreakPoint): ditto
7397 (setHeightOfRow): ditto
7398 (prepareToPrint): ditto
7400 * rowpainter.C (paintBackground): never ask for one past last
7401 (paintText): never ask for one past last
7403 * paragraph_pimpl.C (getChar): make the assert stricter, never
7404 allow the one past last pos to be taken
7406 * paragraph.C (getChar): ws changes only
7408 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7409 (numberOfSeparators): ditto
7410 (numberOfHfills): ditto
7412 2003-03-12 John Levon <levon@movementarian.org>
7418 * paragraph_funcs.C: fix per-buffer authorlists
7420 2003-03-12 John Levon <levon@movementarian.org>
7422 * text.C: fix newline in right address
7424 2003-03-12 Angus Leeming <leeming@lyx.org>
7426 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7427 duplicate those in LyXFunc::dispatch.
7431 * ToolbarDefaults.C:
7432 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7433 Add LFUN_FONTFREE_UPDATE.
7435 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7436 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7438 * bufferview_func.[Ch]: several new functions to facilliate
7439 transfer of data to and from the character dialog.
7441 2003-03-12 John Levon <levon@movementarian.org>
7446 * paragraph_funcs.C:
7447 * paragraph_pimpl.C:
7451 * text3.C: remove META_NEWLINE in favour of an inset
7454 * rowpainter.C: remove paintNewline (done by inset)
7456 2003-03-12 John Levon <levon@movementarian.org>
7458 * paragraph_pimpl.C: complain about bad getChar()s
7459 for a while at least
7461 2003-03-12 John Levon <levon@movementarian.org>
7464 * buffer.C: move paragraph read into a separate function,
7465 a little renaming to reflect that.
7468 * bufferparams.C: remove the author_ids map, not necessary now
7471 * factory.C: moved Buffer::readInset to here
7473 * paragraph_funcs.h:
7474 * paragraph_funcs.C: readParagraph free function moved from
7477 * tabular.C: name change
7479 2003-03-12 John Levon <levon@movementarian.org>
7482 * ParagraphParameters.C: move par params input to
7485 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7486 behave like a normal read from the stream wrt reading
7487 a line vs. a \\token
7489 2003-03-12 John Levon <levon@movementarian.org>
7492 * ParagraphParameters.h:
7493 * ParagraphParameters.C: move output code to a
7496 2003-03-12 John Levon <levon@movementarian.org>
7498 * BufferView.C (insertLyXFile):
7501 * tabular.C: use a parlist iterator for creating the
7504 2003-03-12 John Levon <levon@movementarian.org>
7506 * buffer.C: make current_change static local not
7509 2003-03-12 John Levon <levon@movementarian.org>
7511 * buffer.C: fix insertStringAsLines for change tracking
7513 2003-03-12 John Levon <levon@movementarian.org>
7520 * bufferparams.C: move author list into params. Rename some
7521 functions. Move the header reading into a separate token
7522 loop. Move the header token reading into BufferParams.
7524 2003-03-12 John Levon <levon@movementarian.org>
7526 * changes.C: put debug inside lyxerr.debugging() checks
7528 2003-03-11 André Pönitz <poenitz@gmx.net>
7530 * factory.C: make it aware of InsetHFill
7532 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7534 * buffer.C (latexParagraphs): move function from here...
7535 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7538 2003-03-10 Angus Leeming <leeming@lyx.org>
7540 * LyXAction.C (init): fix bug in poplating array with multiple entries
7541 with the same LFUN (spotted by JMarc).
7543 2003-03-10 John Levon <levon@movementarian.org>
7546 * text2.C: move getColumnNearX() near its
7549 2003-03-10 John Levon <levon@movementarian.org>
7551 * text.C: fix break before a minipage
7553 2003-03-10 John Levon <levon@movementarian.org>
7555 * text.C: fix the last commit
7557 2003-03-09 John Levon <levon@movementarian.org>
7561 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7562 bug 365 (don't break before insets unless needed). Don't
7563 return a value > last under any circumstances.
7565 2003-03-09 Angus Leeming <leeming@lyx.org>
7567 * BufferView_pimpl.C (trackChanges, dispatch): call
7568 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7570 2003-03-09 Angus Leeming <leeming@lyx.org>
7572 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7573 than Dialogs::showAboutlyx().
7575 2003-03-09 Angus Leeming <leeming@lyx.org>
7577 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7578 than Dialogs::showTabularCreate().
7580 2003-03-09 John Levon <levon@movementarian.org>
7584 * text2.C: 3rd arg to nextBreakPoint was always the same.
7587 2003-03-08 John Levon <levon@movementarian.org>
7594 * text2.C: Remove the "main" bit from the "main body"
7597 2003-03-08 John Levon <levon@movementarian.org>
7599 * text.C (leftMargin): The left margin of an empty
7600 manual label paragraph should not include the label width
7603 * text.C (prepareToPrint): don't attempt to measure hfills
7604 for empty manual label paragraphs - the answer should be 0
7606 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * CutAndPaste.C: remove commented code and reindent.
7610 2003-03-08 John Levon <levon@movementarian.org>
7613 * lyxfunc.C: move reloadBuffer()
7616 * BufferView.C: to here
7618 * lyxvc.C: add comment
7621 * vc-backend.C: call bv->reload() to avoid
7622 getStatus() check on MENURELOAD
7624 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7626 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7627 to an old format .dep file.
7629 2003-03-07 Angus Leeming <leeming@lyx.org>
7631 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7632 when the LFUN_MOUSE_RELEASE should have been handled by
7633 inset->localDispatch.
7635 2003-03-07 Angus Leeming <leeming@lyx.org>
7637 * BufferView_pimpl.C (dispatch):
7638 * LyXAction.C (init):
7639 * ToolbarDefaults.C (init):
7641 * lyxfunc.C (getStatus):
7642 remove LFUN_INSET_GRAPHICS.
7644 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7646 2003-03-07 Angus Leeming <leeming@lyx.org>
7649 * LyXAction.C (init):
7650 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7652 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7655 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7657 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7658 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7660 2003-03-07 Angus Leeming <leeming@lyx.org>
7662 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7665 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7667 * ParagraphList.C (front): new function
7670 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7672 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7673 and top_row_offset_. removed var first_y.
7675 * text2.C (LyXText, removeRow):
7677 * BufferView_pimpl.C:
7678 use these methods instead of using first_y
7680 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7682 * text2.C (pasteSelection): adjust for checkPastePossible
7684 * CutAndPaste.C: remove Paragraph * buf and replace with
7685 ParagraphList paragraphs.
7686 (DeleteBuffer): delete
7687 (cutSelection): change the tc type to textclass_type
7688 (copySelection): change the tc type to textclass_type
7689 (copySelection): adjust for ParagraphList
7690 (pasteSelection): change the tc type to textclass_type
7691 (pasteSelection): adjust for Paragraphlist
7692 (nrOfParagraphs): simplify for ParagraphList
7693 (checkPastePossible): simplify for ParagraphList
7694 (checkPastePossible): remove unused arg
7696 * ParagraphList.C (insert): handle the case where there are no
7699 * CutAndPaste.h: make CutAndPaste a namespace.
7701 * text3.C (dispatch): adjust
7703 * text.C (breakParagraph): add a ParagraphList as arg
7705 * paragraph_funcs.C (breakParagraph): change to take a
7706 BufferParams and a ParagraphList as args.
7707 (breakParagraphConservative): ditto
7708 (mergeParagraph): ditto
7709 (TeXDeeper): add a ParagraphList arg
7710 (TeXEnvironment): ditto
7713 * buffer.C (readLyXformat2): adjust
7714 (insertStringAsLines): adjust
7715 (latexParagraphs): adjust
7717 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7718 (cutSelection): adjust
7719 (pasteSelection): adjust
7721 * BufferView_pimpl.C (insertInset): adjust
7723 2003-03-05 Angus Leeming <leeming@lyx.org>
7726 * LyXAction.C (init):
7727 * BufferView_pimpl.C (dispatch):
7728 * lyxfunc.C (getStatus):
7729 remove LFUN_CHILD_INSERT.
7731 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7733 2003-03-05 Angus Leeming <leeming@lyx.org>
7736 * LyXAction.C (init):
7737 * src/factory.C (createInset):
7738 * lyxfunc.C (getStatus):
7739 * text3.C (dispatch):
7740 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7742 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7744 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7746 * ParagraphList.C (insert): handle insert right before end()
7747 (erase): fix cases where it can be first or last paragraph.
7749 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7751 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7752 Paragraph::next and Paragraph::previous
7755 * text.C (breakParagraph): adjust
7757 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7758 BufferParams& as arg.
7759 (breakParagraph): use ParagraphList::insert
7760 (breakParagraphConservative): take a Buffer* instead of a
7761 BufferParams& as arg.
7762 (breakParagraphConservative): use ParagraphList::insert.
7764 * buffer.C (insertStringAsLines): un-const it
7765 (insertStringAsLines): adjust
7767 * ParagraphList.C (insert): new function
7769 * CutAndPaste.C (pasteSelection): adjust
7771 * text.C (backspace): adjust
7773 * tabular.C (SetMultiColumn): adjust
7775 * CutAndPaste.C (cutSelection): adjust
7776 (pasteSelection): adjust
7778 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7779 Buffer const * as arg
7781 * ParagraphList.C (erase): new function
7782 * paragraph_funcs.C (mergeParagraph): use it
7783 (mergeParagraph): make it take a Buffer* instead of a
7784 BufferParams* as arg
7786 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7788 (breakParagraphConservative): ditto
7790 * paragraph.h: remove the breakParagraph friend
7792 * paragraph.C (eraseIntern): new function
7793 (setChange): new function
7795 * paragraph_funcs.C (mergeParagraph): make it take a
7796 ParagraphList::iterator instead of a Paragraph *, adjust
7799 * paragraph.h: move an #endif so that the change tracking stuff
7800 also works in the NO_NEXT case.
7802 2003-03-04 Angus Leeming <leeming@lyx.org>
7805 * LyXAction.C: new LFUN_INSET_MODIFY.
7807 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7808 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7810 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7812 * several files: ws changes only
7814 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7815 (TeXEnvironment): ditto
7818 * buffer.C (makeLaTeXFile): adjust
7819 (latexParagraphs): make it take ParagraphList::iterator as args
7821 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7823 * buffer.C (latexParagraphs): adjust
7825 * paragraph.C (TeXOnePar): move function...
7826 (optArgInset): move function...
7827 (TeXEnvironment): move function...
7828 * paragraph_pimpl.C (TeXDeeper): move function...
7829 * paragraph_funcs.C: ...here
7831 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7833 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7835 * buffer.C (readInset): remove compability code for old Figure and
7838 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7840 * buffer.C: ws changes
7843 * BufferView_pimpl.C: ditto
7846 * bufferlist.h: ditto
7850 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7852 * converter.[Ch]: split into itself +
7855 * Makefile.am: += graph.[Ch] + format.[Ch]
7862 * lyxrc.C: added #include "format.h"
7864 2003-02-27 Angus Leeming <leeming@lyx.org>
7866 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7869 * factory.C (createInset): add "label" to the factory.
7871 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7872 string and do no more.
7874 2003-02-27 Angus Leeming <leeming@lyx.org>
7877 * LyXAction.C (init):
7878 * factory.C (createInset):
7879 * BufferView_pimpl.C (dispatch):
7880 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7882 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7884 * lyxfunc.C (dispatch):
7885 * text3.C (dispatch): pass name to params2string.
7887 2003-02-26 Angus Leeming <leeming@lyx.org>
7889 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7891 Rearrange the ~includes. Strip out the unnecessary ones.
7893 * factory.C (createInset): reformat.
7894 create new insets for the various LFUN_XYZ_APPLY lfuns.
7896 2003-02-26 John Levon <levon@movementarian.org>
7899 * lyxrow.C: add isParStart,isParEnd helpers
7901 * paragraph.h: make isInserted/DeletedText take refs
7903 * paragraph_funcs.h:
7904 * paragraph_funcs.C: remove #if 0'd code
7909 * text.C: use lyxrow helpers above.
7910 Move draw and paint routines to RowPainter.
7911 Make several methods use refs not pointers.
7912 Make backgroundColor() const.
7913 Add markChangeInDraw(), isInInset().
7914 Merge changeRegionCase into changeCase.
7915 Make workWidth() shouldn't-happen code into an Assert.
7918 * rowpainter.C: new class for painting a row.
7921 * vspace.C: make inPixels take a ref
7923 2003-02-26 Angus Leeming <leeming@lyx.org>
7925 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7928 2003-02-25 John Levon <levon@movementarian.org>
7930 * ispell.C: give the forked command a more accurate name
7932 2003-02-22 John Levon <levon@movementarian.org>
7935 * toc.C: make TocItem store an id not a Paragraph *
7938 2003-02-21 Angus Leeming <leeming@lyx.org>
7940 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7941 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7942 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7943 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7944 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7945 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7947 * BufferView_pimpl.C (dispatch):
7948 * LyXAction.C (init):
7949 * factory.C (createInset):
7950 * lyxfunc.C (getStatus, dispatch):
7951 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7953 2003-02-21 Angus Leeming <leeming@lyx.org>
7955 * BufferView_pimpl.C (MenuInsertLyXFile):
7956 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7957 * lyxfunc.C (menuNew, open, doImport):
7958 no longer pass a LyXView & to fileDlg.
7960 2003-02-21 Angus Leeming <leeming@lyx.org>
7962 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7963 * LyXAction.C: change, BIBKEY to BIBITEM.
7964 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7965 Change InsetBibKey to InsetBibitem.
7966 Change BIBKEY_CODE to BIBITEM_CODE.
7967 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7968 * factory.C: replace insetbib.h with insetbibitem.h.
7969 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7970 * paragraph.C: replace insetbib.h with insetbibitem.h.
7971 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7972 Change bibkey() to bibitem().
7973 * text.C: remove insetbib.h.
7974 * text2.C: replace insetbib.h with insetbibitem.h.
7975 change bibkey() to bibitem().
7976 * text3.C: remove insetbib.h.
7977 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7979 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7981 * lyxrc.C (output): enclose user email in quotes (in case there are
7984 2003-02-18 John Levon <levon@movementarian.org>
7986 * buffer.h: add std::
7988 2003-02-17 John Levon <levon@movementarian.org>
7994 * pspell.C: reworking. Especially in ispell, a large
7995 number of clean ups and bug fixes.
7997 * lyxfunc.C: fix revert to behave sensibly
7999 2003-02-17 André Pönitz <poenitz@gmx.net>
8002 * commandtags.h: new LFUN_INSERT_BIBKEY
8012 * paragraph_func.C: remove special bibkey handling
8014 2003-02-17 John Levon <levon@movementarian.org>
8016 * text.C (Delete): fix case where delete at the end of
8017 the very first paragraph would not merge the pars
8019 2003-02-17 John Levon <levon@movementarian.org>
8021 * lyxrow.C: fix lastPrintablePos()
8023 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8025 * bufferparams.C (writeLaTeX): add a std:here
8027 * buffer.C: and remove a using directive there
8029 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8031 * buffer.C (makeLaTeXFile): move the code that generates the
8034 * bufferparams.C (writeLaTeX): ... in this new method
8036 * LaTeXFeatures.C (getEncodingSet): make const
8037 (getLanguages): make const
8039 * MenuBackend.C (binding): returns the binding associated to this
8041 (add): sets the status of each item by calling getStatus. Adds
8043 (read): add support for OptSubMenu
8044 (expand): remove extra separator at the end of expanded menu
8046 2003-02-15 John Levon <levon@movementarian.org>
8049 * BufferView_pimpl.C:
8051 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8052 inset code that had no actual effect. Remove unneeded status
8055 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8057 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8060 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8062 * text.C (drawLengthMarker): also draw an arrow marker for
8063 symbolic lengths (medskip...)
8065 2003-02-14 John Levon <levon@movementarian.org>
8068 * tabular.C: better method names
8070 2003-02-14 John Levon <levon@movementarian.org>
8072 * BufferView_pimpl.C:
8077 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8078 it's a more accurate name. Remove some pointless uses.
8080 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8082 * text2.C (LyXText): change order of initilizers to shut off
8085 2003-02-14 John Levon <levon@movementarian.org>
8087 * buffer.C: use ParIterator for getParFromID()
8091 * paragraph_pimpl.h:
8092 * paragraph_pimpl.C: remove unused getParFromID()
8094 2003-02-14 John Levon <levon@movementarian.org>
8096 * buffer.C: remove some very old #if 0'd parse code
8098 2003-02-13 John Levon <levon@movementarian.org>
8102 * text2.C: move hfillExpansion(), numberOfSeparators(),
8103 rowLast(), rowLastPrintable(), numberofHfills(),
8104 numberOfLabelHfills() ...
8107 * lyxrow.C: ... to member functions here.
8112 * text.C: remove LyXText::beginningOfMainBody(), and call
8113 p->beginningOfMainBody() directly. Move the check for
8114 LABEL_MANUAL into the latter.
8121 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8127 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8128 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8130 2003-02-13 John Levon <levon@movementarian.org>
8132 * CutAndPaste.C: remove debug
8134 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8136 * paragraph.C (asString): remove two unused variables
8138 * lyxtextclass.C (readTitleType):
8140 (LyXTextClass): handle new members titletype_ and titlename_
8142 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8144 2003-02-09 John Levon <levon@movementarian.org>
8147 * buffer.C: replace hand-coded list with a map for the dep clean
8149 2003-02-08 John Levon <levon@movementarian.org>
8151 * LaTeX.C: consolidate code into showRunMessage() helper
8153 2003-02-08 John Levon <levon@movementarian.org>
8158 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8159 and pass the size in explicitly
8161 * BufferView_pimpl.h:
8162 * BufferView_pimpl.C:
8164 * BufferView.C: add getCurrentChange()
8166 * BufferView_pimpl.h:
8167 * BufferView_pimpl.C: handle change lfuns
8169 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8170 for changes. Mark pasted paragraphs as new.
8172 * support/lyxtime.h:
8173 * support/lyxtime.C:
8174 * DepTable.C: abstract time_t as lyx::time_type
8177 * LColor.C: add colours for new text, deleted text, changebars
8179 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8180 package use "usenames" option.
8184 * LyXAction.C: add change lfuns
8188 * author.C: author handling
8191 * buffer.C: add a per-buffer author list, with first entry as
8192 current author. Handle new .lyx tokens for change tracking. Output
8193 author list to .lyx file. Output dvipost stuff to .tex preamble.
8194 Bump lyx format to 222.
8197 * bufferlist.C: add setCurrentAuthor() to reset current author details
8201 * bufferparams.C: add param for tracking
8203 * bufferview_funcs.C: output change info in minibuffer
8207 * changes.C: add change-tracking structure
8210 * debug.C: add CHANGES debug flag
8213 * lyxfind.C: add code for finding the next change piece
8216 * lyxrc.C: add user_name and user_email
8219 * lyxrow.C: add a metric for the top of the text line
8222 * text.C: implement accept/rejectChange()
8225 * text.C: paint changebars. Paint new/deleted text in the chosen
8226 colours. Strike through deleted text.
8230 * paragraph_pimpl.h:
8231 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8232 in the current change to the insert functions. Rework erase to
8233 mark text as deleted, adding an eraseIntern() and a range-based
8234 erase(). Implement per-paragraph change lookup and
8237 * paragraph_funcs.C: Fixup paste for change tracking.
8239 * tabular.C: mark added row/columns as new.
8241 * text.C: fix rowLast() to never return -1. Don't allow
8242 spellchecking of deleted text. Track transpose changes. Don't
8243 allow paragraph break or merge where appropriate.
8245 * text2.C: leave cursor at end of selection after a cut.
8247 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8249 * text.C (getLengthMarkerHeight):
8250 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8251 visible on screen too.
8253 2003-02-07 John Levon <levon@movementarian.org>
8255 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8257 2003-02-05 Angus Leeming <leeming@lyx.org>
8259 * lyxserver.C (read_ready): revert my patch of 11 September last year
8260 as it sends PC cpu through the roof. Presumably this means that
8261 the lyxserver will no longer run on an Alpha...
8263 2003-01-30 Angus Leeming <leeming@lyx.org>
8265 * factory.C (createInset): create an InsetCommandParam of type "index"
8266 and use it to 'do the right thing'.
8268 * text2.C (getStringToIndex): ensure that cursor position is always
8269 reset to the reset_cursor position.
8271 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8273 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8276 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8280 * lyxfunc.C: Output messages with identical spelling, punctuation,
8283 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8285 * MenuBackend.C (expandFormats): List only viewable export formats
8288 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8291 * lyxfunc.C (getStatus): Make sure that formats other than
8292 "fax" can also be disabled
8294 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8296 * text3.C (dispatch): put the lfuns that insert insets in 3
8297 groups, and call doInsertInset with appropriate arguments.
8298 (doInsertInset): new function, that creates an inset and inserts
8299 it according to some boolean parameters.
8301 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8303 * buffer.C (readFile): remember to pass on 'par' when calling
8304 readFile recursively.
8306 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8308 * MenuBackend.C (expandFormats): add "..." to import formats.
8310 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8312 * paragraph.C (asString): Remove XForms RTL hacks.
8314 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8315 * buffer.C: fix typo
8317 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8319 * Makefile.am (LIBS): delete var
8320 (lyx_LDADD): add @LIBS@ here instead.
8322 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8324 * Clarify the meaning of "wheel mouse jump"
8326 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8328 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8331 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8333 * importer.C (Loaders): do not preallocate 3 elements in the
8334 vector, since one ends up with 6 elements otherwise
8336 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8338 * DepTable.C (write): write the file name as last element of the
8339 .dep file (because it may contain spaces)
8340 (read): read info in the right order
8342 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8344 * paragraph_pimpl.C (simpleTeXBlanks):
8345 (simpleTeXSpecialChars):
8346 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8348 * tabular.C (latex): add some missing case statements. Reindent.
8350 * MenuBackend.C (expandToc): remove unused variable.
8352 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8361 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8364 2003-01-05 John Levon <levon@movementarian.org>
8367 * BufferView.C: add getEncoding()
8370 * kbsequence.C: do not store last keypress
8373 * lyxfunc.C: store last keypress here instead. Pass encoding
8376 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8378 * lyx_main.C (init): remove annoying error message when following
8379 symbolic links (bug #780)
8381 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8383 * text.C (insertChar):
8384 * lyxrc.C (getDescription): remove extra spaces
8386 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8388 * lyxrc.C (getDescription): remove extra spaces
8390 2002-12-20 John Levon <levon@movementarian.org>
8392 * text3.C: hack fix for page up/down across tall rows
8394 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8396 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8399 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8401 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8402 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8403 thesaurus is not compiled in
8405 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8407 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8409 2002-12-16 Angus Leeming <leeming@lyx.org>
8412 * lyx_main.C (init): remove override_x_deadkeys stuff.
8414 2002-12-12 John Levon <levon@movementarian.org>
8416 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8417 insert. Only remove shift modifier under strict
8420 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8422 * MenuBackend.C (expandToc): fix crash.
8424 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8426 * MenuBackend.C (expandToc): gettext on float names.
8428 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8430 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8431 implement bool empty() [bug 490]
8433 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8435 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8437 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8439 * several files: ws changes
8441 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8443 * text2.C (setCounter): clean up a bit, use boost.format.
8444 (updateCounters): initialize par upon declaration.
8446 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8447 if the layout exists. We do not just store the layout any more.
8448 (SwitchLayoutsBetweenClasses): use boost.format
8450 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8452 * converter.C (convert): if from and to files are the same, use a
8453 temporary files as intermediary
8455 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8458 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8460 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8462 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8464 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8466 * tabular.C (asciiPrintCell): use string(size, char) instead of
8469 * sgml.C (openTag): fix order of arguments to string constructor
8472 * lyxfunc.C (dispatch): use boost.format
8474 * lots of files: change "c" -> 'c'
8476 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8478 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8480 2002-11-25 Angus Leeming <leeming@lyx.org>
8482 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8484 * lyx_main.C (init): compile fix.
8486 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8488 * lyx_cb.C (start): boost.formatify
8489 do not include <iostream>
8491 * lengthcommon.C: ws only
8493 * boost-inst.C,BoostFormat.h: add more explict instantations
8495 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8497 * lots of files: handle USE_BOOST_FORMAT
8499 2002-11-21 John Levon <levon@movementarian.org>
8501 * pspell.C: fix compile
8503 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8505 * lyxfunc.C (dispatch): use boost::format
8509 * lyxfont.C (stateText): use boost::format
8511 * lyx_main.C (LyX): use boost::format
8513 (queryUserLyXDir): ditto
8516 (typedef boost::function): use the recommened syntax.
8518 * importer.C (Import): use boost::format
8520 * debug.C (showLevel): use boost::format
8522 * converter.C (view): use boost::format
8527 * bufferview_funcs.C (currentState): use boost::format
8529 * bufferlist.C (emergencyWrite): use boost::format
8531 * buffer.C (readLyXformat2): use boost::format
8532 (parseSingleLyXformat2Token): ditto
8534 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8536 * LaTeX.C (run): use boost::format
8538 * Chktex.C (scanLogFile): use boost::format
8540 * BufferView_pimpl.C (savePosition): use boost::format
8541 (restorePosition): ditto
8542 (MenuInsertLyXFile): ditto
8544 * BoostFormat.h: help file for explicit instation.
8546 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8548 * tabular.C (latex): Support for block alignment in fixed width
8551 2002-11-17 John Levon <levon@movementarian.org>
8553 * BufferView_pimpl.C:
8555 * lyxfunc.C: split filedialog into open/save
8557 2002-11-08 Juergen Vigna <jug@sad.it>
8559 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8560 by my last patch (hopefully).
8562 2002-11-08 John Levon <levon@movementarian.org>
8571 * toc.C: ParConstIterator, and use it (from Lars)
8573 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8575 * lyxtextclass.[Ch]: revise and add doxygen comments
8577 2002-11-07 John Levon <levon@movementarian.org>
8579 * text.C: fix progress value for spellchecker
8581 * toc.C: fix navigate menu for insetwrap inside minipage
8583 * paragraph_funcs.C: added FIXME for suspect code
8585 2002-11-07 John Levon <levon@movementarian.org>
8587 * BufferView_pimpl.C: fix redrawing of insets
8590 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8592 * text2.C (updateCounters): fix bug 668
8594 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8596 * text3.C (dispatch): Do not make the buffer dirty when moving the
8599 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8601 * vc-backend.C: STRCONV
8604 * text2.C (setCounter): STRCONV
8606 * paragraph.C (asString): STRCONV
8608 * lyxlength.C (asString): STRCONV
8609 (asLatexString): ditto
8611 * lyxgluelength.C (asString): STRCONV
8612 (asLatexString): ditto
8614 * lyxfunc.C (dispatch): STRCONV
8617 * lyxfont.C (stateText): STRCONV
8619 * importer.C (Import): STRCONV
8621 * counters.C (labelItem): STRCONV
8622 (numberLabel): ditto
8623 (numberLabel): remove unused ostringstream o
8628 * bufferview_funcs.C (currentState): STRCONV
8630 * buffer.C (readFile): STRCONV
8631 (asciiParagraph): ditto
8632 (makeLaTeXFile): ditto
8634 * Spacing.C (writeEnvirBegin): STRCONV
8636 * LaTeXFeatures.C (getLanguages): STRCONV
8637 (getPackages): ditto
8639 (getBabelOptions): ditto
8640 (getTClassPreamble): ditto
8641 (getLyXSGMLEntities): ditto
8642 (getIncludedFiles): ditto
8646 (scanAuxFile): ditto
8649 * LString.h: add the STRCONV macros
8651 * BufferView_pimpl.C (savePosition): STRCONV
8652 (restorePosition): ditto
8653 (MenuInsertLyXFile): ditto
8655 * vc-backend.C (scanMaster): change from submatch[...] to
8658 * funcrequest.C: include config.h
8660 * factory.C: include config.h
8662 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8664 * box.C: include config.h
8666 * LaTeX.C (scanAuxFile): change from submatch[...] to
8670 2002-10-25 Angus Leeming <leeming@lyx.org>
8672 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8674 * ispell.[Ch] (setError): new method.
8675 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8676 Use setError() insetead of goto END.
8678 * lyx_cb.C (AutoSave): move out child process into new class
8681 2002-10-30 John Levon <levon@movementarian.org>
8683 * text3.C: make start appendix undoable
8685 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8687 * lyxlength.C (inPixels): Fix returned value.
8689 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8692 2002-10-24 Angus Leeming <leeming@lyx.org>
8694 * lyxgluelength.h: no need to forward declare BufferParams
8695 or BufferView, so don't.
8697 2002-10-21 John Levon <levon@movementarian.org>
8699 * BufferView.C: menuUndo ->undo, redo
8701 * BufferView.h: document, remove dead, make some methods private
8703 * paragraph_funcs.h:
8704 * paragraph_funcs.C:
8705 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8710 * sgml.C: move sgml open/close tag into sgml.C
8712 * bufferview_funcs.h: unused prototype
8715 * lyxfunc.C: remove unused
8718 * text.C: remove unused
8720 2002-10-21 John Levon <levon@movementarian.org>
8724 * BufferView_pimpl.h:
8725 * BufferView_pimpl.C: fix mouse wheel handling based on
8726 patch from Darren Freeman
8728 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8730 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8732 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8734 * lyxlength.C (inPixels): Fix hanfling of negative length.
8735 Fix LyXLength::MU case.
8737 2002-10-16 John Levon <levon@movementarian.org>
8739 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8741 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8743 * converter.C (view): add support for $$i (file name) and $$p
8744 (file path) for the viewer command. If $$i is not specified, then
8745 it is appended to the command (for compatibility with old syntax)
8747 2002-10-14 Juergen Vigna <jug@sad.it>
8749 * undo_funcs.C (textHandleUndo): alter the order in which the
8750 new undopar is added to the LyXText, as we have to set first
8751 the right prev/next and then add it as otherwise the rebuild of
8752 LyXText is not correct. Also reset the cursor to the right paragraph,
8753 with this IMO we could remove the hack in "redoParagraphs()".
8755 2002-10-09 Angus Leeming <leeming@lyx.org>
8757 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8758 to turn off an optimisation if a new inset is to be inserted.
8760 2002-10-11 André Pönitz <poenitz@gmx.net>
8762 * lyxtext.h: make some functions public to allow access
8763 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8765 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8767 * text3.C (dispatch): when changing layout, avoid an infinite loop
8770 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8772 * lyxrc.C (read): treat a viewer or converter command of "none" as
8775 * MenuBackend.C (expandFormats): for an update, also allow the
8776 formats that are not viewable
8778 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8779 script if it is newer than the lyxrc.defaults in user directory
8781 2002-10-07 André Pönitz <poenitz@gmx.net>
8783 * text.C: Vitaly Lipatov's small i18n fix
8785 2002-09-25 Angus Leeming <leeming@lyx.org>
8787 * ispell.h: doxygen fix.
8789 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8791 * buffer.h (readFile): Add a new argument to the method, to allow
8792 reading of old-format templates.
8794 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8796 * toc.C (getTocList): Get TOC from InsetWrap.
8798 2002-09-16 John Levon <levon@movementarian.org>
8800 * lyxfunc.C: check tabular for cut/copy too
8802 2002-09-12 John Levon <levon@movementarian.org>
8807 * factory.C: add header
8809 * paragraph_funcs.h:
8810 * paragraph_funcs.C: cleanup
8812 2002-09-11 John Levon <levon@movementarian.org>
8814 * PrinterParams.h: odd/even default to true
8816 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8818 * PrinterParams.h: update printer parameters for new xforms dialog
8820 2002-09-11 Angus Leeming <leeming@lyx.org>
8822 * lyxserver.C (read_ready): re-write to make it more transparent
8823 and to make it work in coherent fashion under Tru64 Unix.
8825 2002-09-11 André Pönitz <poenitz@gmx.net>
8829 * text3.C: implement LFUN_WORDSEL
8831 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8833 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8834 make floatlist_ a boost::shared_ptr<FloatList>
8836 * lyxtextclass.C: include FloatList.h
8837 (LyXTextClass): initialize floatlist_
8838 (TextClassTags): add TC_NOFLOAT
8839 (Read): match "nofloat" to TC_NOFLOAT and use it.
8840 (readFloat): modify call to floatlist_
8844 * FloatList.[Ch] (FloatList): remove commented out float
8846 (erase): new function
8848 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8850 * MenuBackend.C (expandToc): fix crash when there is no document
8853 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8855 * many files: Add insetwrap.
8857 2002-09-09 John Levon <levon@movementarian.org>
8859 * text2.C: remove confusing and awkward depth wraparound
8861 2002-09-09 John Levon <levon@movementarian.org>
8863 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8866 * buffer.C: remove getIncludeonlyList()
8869 * lyxfunc.C: remove headers
8871 2002-09-09 Juergen Vigna <jug@sad.it>
8873 * text.C (getColumnNearX): fix form Michael this is most
8874 probably a cut&paste bug.
8876 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8878 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8880 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8881 references, ws changes.
8883 * text2.C (init): update counters after init
8884 (insertParagraph): no need to set counter on idividual paragraphs.
8885 (setCounter): access the counters object in the textclass object
8886 on in the buffer object.
8887 (updateCounters): ditto
8889 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8890 shared_ptr<Counters> to avoid loading counters.h in all
8892 (LyXTextClass): initialize ctrs_
8893 (TextClassTags): add TC_COUNTER, and ...
8894 (Read): use it here.
8895 (CounterTags): new tags
8896 (readCounter): new function
8897 (counters): new funtion
8898 (defaultLayoutName): return a const reference
8900 * counters.C (Counters): remove contructor
8901 (newCounter): remove a couple of unneeded statements.
8902 (newCounter): simplify a bit.
8903 (numberLabel): some small formatting changes.
8905 * buffer.[Ch]: remove all traces of counters, move the Counters
8906 object to the LyXTextClass.
8908 2002-09-06 Alain Castera <castera@in2p3.fr>
8910 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8911 package to set the horizontal alignment on fixed width columns.
8914 * lyx_sty.h: added tabularnewline macro def.
8916 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8918 2002-09-06 John Levon <levon@movementarian.org>
8920 * LyXAction.C: tooltips for sub/superscript
8922 * MenuBackend.C: a bit more verbose
8924 * lyxfunc.C: tiny clean
8926 * undo_funcs.C: document undo_frozen
8928 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8930 * counters.C (Counters): add missing algorithm counter.
8932 * text2.C (setCounter): lookup the counter with layouts latexname
8933 instead of by section number.
8934 (setCounter): use a hackish way to lookup the correct enum
8936 a float name->type change
8937 reset enum couners with counter name directly instead of depth value.
8939 * counters.C (Counters): remove the push_backs, change to use the
8940 float type not the float name.
8941 (labelItem): remove unused string, float name->type change
8943 * counters.h: don't include vector, loose the enums and sects vectors
8945 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8947 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8948 (Read): add float->TC_FLOAT to textclassTags
8949 (Read): and handle it in the switch
8950 (readFloat): new function
8952 * FloatList.C (FloatList): comment out the hardcoded float
8955 * lyxlayout.h: ws change.
8957 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8959 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8961 2002-09-03 Angus Leeming <leeming@lyx.org>
8963 * BufferView_pimpl.h: qualified name is not allowed in member
8964 declaration: WorkArea & Pimpl::workarea() const;
8966 * factory.C: added using std::endl directive.
8968 * text3.C: added using std::find and std::vector directives.
8970 2002-08-29 André Pönitz <poenitz@gmx.net>
8973 * text2.C: remove unused member number_of_rows
8976 * BufferView2.C: remove file, move contents to...
8977 * BufferView.C: ... here
8979 * BufferView_pimpl.C:
8980 * factory.C: move more inset creation to factory
8982 * vspace.C: avoid direct usage of LyXText, ws changes
8985 don't provide direct access to WorkArea, use two simple
8986 acessors haveSelction() and workHeight() instead
8989 2002-08-29 John Levon <levon@movementarian.org>
8991 * BufferView_pimpl.C (dispatch): do not continue when
8994 2002-08-28 André Pönitz <poenitz@gmx.net>
8996 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8999 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9001 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9003 * buffer.C: increment LYX_FORMAT to 221
9005 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9006 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9008 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9010 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9012 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9014 * factory.C (createInset): use LyXTextClass::floats
9016 * MenuBackend.C (expandFloatListInsert):
9017 (expandFloatInsert):
9020 * text2.C (setCounter):
9022 * LaTeXFeatures.C (useFloat):
9023 (getFloatDefinitions):
9025 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9027 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9028 floatlist_, with accessor floats().
9030 * FloatList.h: remove global FloatList
9032 2002-08-26 André Pönitz <poenitz@gmx.net>
9034 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9038 * BufferView_pimpl.C:
9039 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9041 2002-08-25 John Levon <levon@movementarian.org>
9043 * LyXAction.C: fix margin note description
9045 2002-08-24 John Levon <levon@movementarian.org>
9049 * bufferview_funcs.C:
9051 * undo_funcs.C: cleanups
9053 * lyxfunc.C: disable CUT/COPY when no selection
9055 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9057 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9058 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9060 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9061 Add backward compatibility to "mono", "gray" and "no".
9063 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9065 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9066 (and file_format >= 200).
9068 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9070 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9072 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9074 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9076 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9078 * BufferView_pimpl.C:
9085 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9086 inset and code to make it work with the paragraph code. The inset
9087 can be anywhere in the paragraph, but will only do the expected
9088 thing in LaTeX if the layout file contains the parameter line
9090 (or more generally, a nonzero value) for that layout.
9092 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9094 * paragraph.h: remove the declaration of undefined counters class
9097 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9099 * text2.C (setCounter): fixed enumeration mis-count as reported by
9100 Dr. Richard Hawkins.
9102 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9104 * paragraph_funcs.h: remove some unneeded includes
9106 * text.C (backspace): pasteParagraph now in global scipe
9108 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9109 (pasteSelection): ditto
9111 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9112 * paragraph_funcs.C (pasteParagraph): ... here
9114 2002-08-20 André Pönitz <poenitz@gmx.net>
9116 * commandtags.h: new LFUNs for swapping/copying table row/colums
9119 * lyxfunc.C: support for new lfuns
9121 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9124 * buffer.[Ch]: remove NO_COMPABILITY stuff
9126 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9128 * boost.C (throw_exception): new file, with helper function for
9129 boost compiled without exceptions.
9134 * ParameterStruct.h:
9135 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9137 * bufferlist.C (emergencyWriteAll): use boost bind
9139 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9141 * text.C: include paragraph_funcs.h
9142 (breakParagraph): breakParagraph is now in global scope
9144 * paragraph_funcs.[Ch]: new files
9146 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9149 * buffer.C: include paragraph_funcs.h
9150 (insertStringAsLines): breakParagraph is now in global scope
9152 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9155 * CutAndPaste.C: include paragraph_funcs.h
9156 (cutSelection): breakParagraphConservative is now in global scope
9157 (pasteSelection): ditto
9159 * buffer.h: declare oprator== and operator!= for
9160 Buffer::inset_iterator
9162 * bufferlist.C (emergencyWrite): don't use fmt(...)
9164 * text3.C: add using std::endl
9166 * BufferView.C (moveCursorUpdate): remove default arg
9168 2002-08-20 André Pönitz <poenitz@gmx.net>
9170 * buffer.[Ch]: move inline functions to .C
9173 * BufferView_pimpl.C:
9175 * buffer.[Ch]: use improved inset_iterator
9178 * paragraph.[Ch]: write one paragraph at a time
9180 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9182 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9183 style if style is not specified.
9185 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9187 * text2.C (setCounter): when searching for right label for a
9188 caption, make sure to recurse to parent insets (so that a caption
9189 in a minipage in a figure float works) (bug #568)
9191 2002-08-20 André Pönitz <poenitz@gmx.net>
9193 * text3.C: new file for LyXText::dispatch() and helpers
9195 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9197 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9199 2002-08-19 André Pönitz <poenitz@gmx.net>
9202 * text.C: new LyXText::dispatch()
9204 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9206 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9208 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9210 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9213 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9215 * Makefile.am: use $(variables) instead of @substitutions@
9217 2002-08-15 André Pönitz <poenitz@gmx.net>
9220 * BufferView_pimpl.C: streamlining mathed <-> outer world
9224 * LyXAction.C: remove unused LFUN_MATH
9226 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9228 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9230 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9232 * paragraph.C (Paragraph): reformat a bit
9233 (cutIntoMinibuffer): use builtin InsetList function instad of
9237 * buffer.C: include boost/bind.hpp, add using std::for_each
9238 (writeFileAscii): use ParagraphList iterators
9239 (validate): use for_each for validate traversal of paragraphs
9240 (getBibkeyList): use ParagraphList iterators
9241 (resizeInsets): use for_each to resizeInsetsLyXText for all
9243 (getParFromID): use ParagraphList iterators
9245 * BufferView2.C (lockInset): use paragraph list and iterators
9247 2002-08-14 John Levon <levon@movementarian.org>
9249 * lyxserver.C: remove spurious xforms include
9251 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9253 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9255 2002-08-13 André Pönitz <poenitz@gmx.net>
9258 * lyxfunc.C: further cleaning
9260 2002-08-13 André Pönitz <poenitz@gmx.net>
9262 * funcrequest.h: new constructor
9264 * funcrequest.C: move stuff here from .h
9267 * BufferView_pimpl.C:
9270 * lyxfunc.C: subsequent changes
9272 * lyxfunc.h: new view() member function
9274 * lyxfunc.C: subsequent changes
9276 2002-08-13 Angus Leeming <leeming@lyx.org>
9279 * BufferView_pimpl.C:
9287 changes due to the changed LyXView interface that now returns references
9288 to member variables not pointers.
9290 2002-08-13 Angus Leeming <leeming@lyx.org>
9292 * WordLangTuple (word, lang_code): return references to strings,
9297 * lyxtext.h: forward-declare WordLangTuple.
9302 * text.C: #include "WordLangTuple.h".
9305 * text.C: (selectNextWordToSpellcheck): constify return type.
9307 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9313 * paragraph_pimpl.h:
9316 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9318 Made updateCounter always count from start of buffer, and removed
9319 second argument (par).
9320 Reverted floats number display to '#'. Perhaps I'll try again when the
9321 code base is sanitized a bit.
9323 2002-08-12 Angus Leeming <leeming@lyx.org>
9325 * buffer.[Ch] (getLabelList): constify.
9327 2002-08-07 André Pönitz <poenitz@gmx.net>
9329 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9331 * funcrequest.h: extension to keep mouse (x,y) position
9333 2002-08-12 Juergen Vigna <jug@sad.it>
9335 * BufferView2.C (insertErrors): forbid undo when inserting error
9338 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9340 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9342 * ParagraphList.[Ch]: new files
9344 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9346 * BufferView2.C (lockInset): ParagraphList changes
9349 * bufferlist.C: ditto
9353 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9355 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9356 unused class variable counter_,
9358 * paragraph.[Ch] (getFirstCounter): delete unused function
9360 * counters.C: include LAssert.h
9361 (reset): add a new function with no arg, change other version to
9362 not have def. arg and to not allow empty arg.
9364 * text2.C (setCounter): remove empty arg from call to Counters::reset
9366 2002-08-11 John Levon <levon@movementarian.org>
9368 * Makefile.am: add WordLangTuple.h
9370 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9372 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9373 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9375 * insets/insettext.C: InsetList changes
9377 * graphics/GraphicsSupport.C (operator()): InsetList changes
9379 * toc.C (getTocList): InsetList changes
9381 * paragraph_pimpl.[Ch]: InsetList changes
9383 * paragraph.[Ch]: InsetList changes
9385 * buffer.C (inset_iterator): InsetList changes
9386 (setParagraph): ditto
9387 * buffer.h (inset_iterator): ditto
9388 * iterators.C (operator++): ditto
9389 * iterators.h: ditto
9391 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9393 * InsetList.[Ch]: new files, most InsetList handling moved out of
9396 * BufferView2.C (removeAutoInsets): InsetList changes
9398 (ChangeInsets): ditto
9400 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9402 * paragraph_pimpl.h (empty): new function
9404 * paragraph.[Ch] (empty): new function
9406 * other files: use the new Paragraph::empty function
9408 2002-08-09 John Levon <levon@movementarian.org>
9410 * lyxtext.h: remove unused refresh_height
9412 2002-08-09 John Levon <levon@movementarian.org>
9419 * paragraph.C: move sgml char escaping out of paragraph
9422 * paragraph.C: remove id setter
9426 * paragraph_pimpl.C: remove dead tex_code_break_column
9428 * bufferview_funcs.C: small cleanup
9430 * lyxfunc.C: remove dead proto
9432 * lyxtext.h: make some stuff private. Remove some dead stuff.
9434 * lyxgluelength.C: make as[LyX]String() readable
9436 2002-08-08 John Levon <levon@movementarian.org>
9441 * ToolbarDefaults.C:
9444 * toc.C: lyxaction cleanup
9446 2002-08-08 John Levon <levon@movementarian.org>
9448 * BufferView2.C: small cleanup
9451 * lyxfind.C: move unnecessary header into the .C
9453 2002-08-08 John Levon <levon@movementarian.org>
9455 * funcrequest.h: just tedious nonsense
9458 * lyx_main.C: cleanups
9461 * vspace.C: remove dead header lyx_main.h
9463 2002-08-07 Angus Leeming <leeming@lyx.org>
9466 * paragraph_pimpl.h:
9467 Forward declare class Counters in paragraph.h by moving the ctrs member
9468 variable into Paragraph::Pimpl.
9469 (counters): new method, returning a reference to pimpl_->ctrs.
9471 * text2.C: ensuing changes.
9473 2002-08-07 John Levon <levon@movementarian.org>
9475 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9477 * BufferView_pimpl.C: announce X selection on double/triple
9480 * lyx_main.C: use correct bool in batch dispatch
9482 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9484 2002-08-07 André Pönitz <poenitz@gmx.net>
9486 * funcrequest.h: new class to wrap a kb_action and its argument
9489 * BufferView_pimpl[Ch]:
9493 * lyxrc.C: subsequent changes
9496 2002-08-07 John Levon <levon@movementarian.org>
9498 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9499 document options change.
9501 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9506 * makefile.am: move counters functionality over from
9507 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9509 2002-08-06 John Levon <levon@movementarian.org>
9511 * WordLangTuple.h: new file for word + language code tuple
9522 * BufferView2.C: use WordLangTuple
9525 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9527 2002-08-06 John Levon <levon@movementarian.org>
9529 * lyx_main.C: fix cmdline batch handling
9531 2002-08-06 André Pönitz <poenitz@gmx.net>
9533 * lyxrc.C: set default for show_banner to true
9535 2002-08-06 John Levon <levon@movementarian.org>
9537 * pspell.C: fix a crash, and allow new aspell to work
9539 2002-08-06 John Levon <levon@movementarian.org>
9542 * kbmap.C: small cleanup
9545 * vspace.C: add const
9547 2002-08-05 John Levon <levon@movementarian.org>
9549 * LyXAction.C: back to tabular-insert
9551 2002-08-04 John Levon <levon@movementarian.org>
9554 * BufferView.C: cosmetic change
9556 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9566 * BufferView2.C: purge all "Lyx" not "LyX" strings
9569 * lyxcursor.C: attempt to add some documentation
9574 * ToolbarDefaults.C:
9575 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9576 merge with LFUN_TABULAR_INSERT
9583 * pspell.C: split up i/pspell implementations into separate
9584 files, many cleanups
9586 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9588 * text2.C: some cleanup
9590 * lyxfunc.C: don't check for isp_command == "none" any more, it
9591 didn't make any sense
9593 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9598 * makefile.am: move counters functionality over
9599 from text2.C/paragraph.[Ch] to counters.[Ch], and
9601 2002-08-02 John Levon <levon@movementarian.org>
9603 * buffer.C: s/lyxconvert/lyx2lyx/
9605 2002-08-02 Angus Leeming <leeming@lyx.org>
9607 * lyxlex.C: revert John's change as it breaks reading of the user
9610 2002-08-02 Angus Leeming <leeming@lyx.org>
9612 * importer.C (Import):
9613 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9614 changes due to LyXView::view() now returning a boost::shared_ptr.
9616 2002-08-02 John Levon <levon@movementarian.org>
9618 * lyxlex.C: small cleanup
9620 2002-08-02 John Levon <levon@movementarian.org>
9622 * text2.C (status): small cleanup, no logic change
9624 2002-08-01 John Levon <levon@movementarian.org>
9627 * buffer.C (writeFile): don't output alerts, caller
9631 * lyx_cb.C: from above
9633 * lyxfunc.C: allow to open non-existent files
9635 2002-07-31 John Levon <levon@movementarian.org>
9637 * lyxserver.C: don't let incidental errors get
9640 2002-07-30 John Levon <levon@movementarian.org>
9642 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9644 2002-07-30 John Levon <levon@movementarian.org>
9647 * lyxserver.C: remove I/O callback too
9649 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9651 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9654 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9656 * many files: strip,frontStrip -> trim,ltrim,rtrim
9658 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9660 * PrinterParams.h: remove extern containsOnly, and include
9661 support/lstrings.h instead.
9663 * LaTeX.C (scanAuxFile): modify because of strip changes
9665 * buffer.C (makeLaTeXFile): ditto
9666 * bufferparams.C (writeFile): ditt
9667 * lyxfont.C (stateText): ditto
9668 * lyxserver.C (read_ready): ditto
9669 * vc-backend.C (scanMaster): ditto
9671 * BufferView_pimpl.h: ws changes
9673 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9675 2002-07-26 André Pönitz <poenitz@gmx.net>
9677 * kb_sequence.C: remove unnedred usings
9679 2002-07-26 Juergen Vigna <jug@sad.it>
9681 * lyxfind.C (LyXReplace): we have to check better if the returned
9682 text is not of theLockingInset()->getLockingInset().
9684 2002-07-25 Juergen Vigna <jug@sad.it>
9686 * lyxfind.C (LyXReplace): don't replace if we don't get the
9689 * undo_funcs.C (createUndo): remove debugging code.
9691 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9693 * buffer.C (parseSingleLyXformat2Token): Use default placement
9694 when reading old floats.
9696 * FloatList.C (FloatList): Change the default placement of figure
9697 and tables to "tbp".
9699 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9701 * MenuBackend.C: using std::max
9703 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9705 * MenuBackend.C (expandToc):
9706 (expandToc2): code moved from xforms menu frontend. It is now
9707 generic and TOCs are transparent to menu frontends.
9709 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9711 * toc.C (getTocList): protect against buf=0
9713 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9714 Menu as first parameter. Now, this calls itself recursively to
9715 expand a whole tree (this will be useful for TOC handling)
9716 (expandFloatInsert): remove 'wide' version of floats
9718 * MenuBackend.h (submenuname): returns the name of the submenu.
9719 (submenu): returns the submenu itself, provided it has been
9720 created by MenuBackend::expand
9722 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9724 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9725 insets which have noFontChange == true. (bug #172)
9727 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9729 * BufferView_pimpl.C: add connection objects and use them...
9732 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9734 * MenuBackend.C (expandLastfiles):
9737 (expandFloatListInsert):
9738 (expandFloatInsert):
9739 (expand): split expand in parts
9741 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9743 * lyx_gui.C: use lyx_gui::exit()
9745 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9747 * LyXAction.C: show the failing pseudo action
9749 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9751 * buffer.C (readFile): Run the lyxconvert script in order to read
9754 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9758 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9760 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9764 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9766 2002-07-22 Herbert Voss <voss@lyx.org>
9769 * lyxlength.[Ch]: add support for the vertical lengths
9771 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9773 * toc.[Ch]: std:: fixes
9775 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9777 * lyxrc.C: do not include lyx_main.h
9779 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9785 * BufferView2.C: include "lyxlex.h"
9788 * bufferparams.h: do not #include "lyxlex.h"
9790 * lyxtextclasslist.C (Add): remove method
9791 (classlist): renamed to classlist_
9793 * paragraph_pimpl.C:
9797 * bufferview_funcs.C:
9802 * toc.C (getTocList): use BufferParams::getLyXTextClass
9804 * toc.C (getTocList): use InsetFloat::addToToc
9806 * toc.[Ch]: new files, containing helper functions to handle table
9809 * lyxfunc.C (dispatch): no need to remove spaces around command
9811 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9812 first command of the sequence; it is not very clever, but I do not
9813 have a better idea, actually
9815 * LyXAction.C (LookupFunc): make sure to remove space at the
9816 beginning and end of the command
9818 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9820 * MenuBackend.C (getMenubar): new method: return the menubar of
9822 (read): treat differently reading of menu and menubar (in
9823 particular, the menubar has no name now)
9824 (Menu::menubar): remove
9826 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9829 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9831 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9832 a bibitem inset in a RTL paragraph.
9834 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9836 * paragraph_pimpl.C: constify
9838 * BufferView_pimpl.C:
9840 * lyxfunc.C: fix dispatch in a nicer way
9842 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9844 * lyxfunc.C (dispatch):
9845 * BufferView_pimpl.C:
9846 * BufferView_pimpl.h:
9848 * BufferView.h: rename Dispatch() to dispatch()
9850 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9852 * lyxlayout.C (Read): honor DependsOn tag
9854 * lyxlayout.[Ch] (depends_on): new method
9856 * version.C.in: update lyx_docversion
9858 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9860 * paragraph.C (validate): remove from here...
9861 * paragraph_pimpl.C (validate): ... and move here
9862 (isTextAt): make it const
9864 * buffer.C (getLists): ws cleanup
9866 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9868 * language.C (read): Use iso8859-1 encoding in latex_lang
9869 (this prevents LyX from crashing when using iso10646-1 encoding).
9871 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9873 * text2.C (toggleInset): if cursor is inside an inset, close the
9874 inset and leave cursor _after_ it
9876 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9878 * lyxfunc.C: move minibuffer completion handling out of here
9880 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9882 * BufferView_pimpl.C:
9883 * LaTeX.C: fix dispatch calls
9885 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9887 * text.C (drawChars): Fix Arabic text rendering.
9889 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9893 * lyxfunc.C: remove message-push/pop
9897 * lyxfunc.C: rationalise some code by removing verboseDispatch
9898 in favour of a bool argument to dispatch()
9900 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9902 * lyx_main.C (init): make sure to read symlinks as absolute paths
9904 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9907 * lyxfunc.C: no need for commandshortcut to be a member
9909 2002-07-15 André Pönitz <poenitz@gmx.net>
9911 * converter.C: add support for $$s (scripts from lib/scripts dir)
9912 * lyx_main.C: white space
9914 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9918 * lyxrc.C: remove second exit confirmation
9920 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9925 * BufferView_pimpl.h:
9926 * BufferView_pimpl.C:
9927 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9929 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9931 * MenuBackend.C (expand): add numeric shortcuts to document menu
9933 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9935 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9937 * lyxfont.C (setLyXFamily):
9944 * buffer.C (asciiParagraph): use ascii_lowercase
9946 2002-07-15 Mike Fabian <mfabian@suse.de>
9948 * lyxlex_pimpl.C (search_kw):
9949 * lyxlex.C (getLongString):
9950 * converter.h (operator<):
9951 * converter.C (operator<):
9952 * buffer.C (parseSingleLyXformat2Token):
9954 * ToolbarDefaults.C (read):
9955 * MenuBackend.C (checkShortcuts):
9957 * LColor.C (getFromGUIName):
9958 (getFromLyXName): use the compare_ascii_no_case instead of
9959 compare_no_case, because in turkish, 'i' is not the lowercase
9960 version of 'I', and thus turkish locale breaks parsing of tags.
9962 2002-07-16 Angus Leeming <leeming@lyx.org>
9964 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9965 now takes a Buffer const & argument.
9967 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9969 * BufferView.C (resize): check there's a buffer to resize
9971 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9973 * lyxfunc.C: remove dead code
9976 * lyxserver.C: use lyx_guii::set_read_callback
9978 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9980 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9981 an inset in a RTL paragraph.
9983 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9985 * lyxfunc.C: repaint after a font size update
9987 2002-07-15 André Pönitz <poenitz@gmx.net>
9989 * lyxlength.C: inBP should be able to return negative values
9991 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9993 * lyxfunc.C: use lyx_gui::update_fonts()
9995 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9997 * lyxfunc.C: use lyx_gui::update_color()
9999 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10005 * lyxrc.C: remove file->new asks for name option, and let
10006 buffer-new take an argument
10008 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10010 * BufferView_pimpl.C: remove unneeded extra repaint()
10012 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10014 * LyXAction.C: allow command-sequence with NoBuffer
10016 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10018 2002-07-10 Angus Leeming <leeming@lyx.org>
10020 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10022 2002-07-09 Angus Leeming <leeming@lyx.org>
10024 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10026 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10028 * lengthcommon.h: whitespace
10030 * lyxfunc.C: update scrollbar after goto paragraph
10032 * lyxtext.h: factor out page break drawing, and fix it so
10033 page break/added space paints as selected nicely
10035 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10037 * BufferView_pimpl.C: add FIXMEs, clean up a little
10039 2002-07-09 André Pönitz <poenitz@gmx.net>
10041 * lyxfont.[Ch]: support for wasy symbols
10043 2002-07-08 André Pönitz <poenitz@gmx.net>
10045 * BufferView_pimpl.C: apply John's patch for #93.
10047 2002-07-05 Angus Leeming <leeming@lyx.org>
10049 * BufferView_pimpl.C (buffer): generate previews if desired.
10051 * LColor.h: add "preview" to the color enum.
10053 * LColor.C (LColor): add a corresponding entry to the items array.
10055 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10058 2002-07-05 Angus Leeming <leeming@lyx.org>
10060 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10061 The body of the code is now in the method that is passed an ostream &
10062 rather than a file name.
10063 Pass an additional only_preamble parameter, useful for the forthcoming
10066 2002-07-03 André Pönitz <poenitz@gmx.net>
10068 * lyxfunc.C: simplify getStatus() a bit for math stuff
10070 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10072 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10074 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10076 * text.C (changeRegionCase): do not change case of all the
10077 document when region ends at paragraph end (bug #461)
10079 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10081 * paragraph.C (startTeXParParams):
10082 (endTeXParParams): add \protect when necessary
10084 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10086 * BufferView_pimpl.C (workAreaExpose): remove warning
10088 2002-06-27 Angus Leeming <leeming@lyx.org>
10090 * Makefile.am: add lyxlayout_ptr_fwd.h.
10092 2002-06-26 André Pönitz <poenitz@gmx.net>
10094 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10096 2002-06-25 Angus Leeming <leeming@lyx.org>
10098 * lyxfunc.C (dispatch): Comment out the call to
10099 grfx::GCache::changeDisplay. The method no longer exists now that the
10100 pixmap generation part of the graphics loader has been moved into
10103 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10105 * text2.C: layout as layout
10107 * text.C: layout as layout
10109 * tabular.C (OldFormatRead): layout as layout
10111 * paragraph_pimpl.C (TeXDeeper): layout as layout
10112 (realizeFont): layout as layout
10114 * paragraph.C (writeFile): layout as layout
10115 (validate): layout as layout
10116 (getFont): layout as layout
10117 (getLabelFont): layout as layout
10118 (getLayoutFont): layout as layout
10119 (breakParagraph): layout as layout
10120 (stripLeadingSpaces): layout as layout
10121 (getEndLabel): layout as layout
10122 (getMaxDepthAfter): layout as layout
10123 (applyLayout): layout as layout
10124 (TeXOnePar): layout as layout
10125 (simpleTeXOnePar): layout as layout
10126 (TeXEnvironment): layout as layout
10127 (layout): layout as layout
10128 (layout): layout as layout
10130 * lyxtextclass.C (compare_name): new functor to work with
10131 shared_ptr, layout as layout
10132 (Read): layout as layout
10133 (hasLayout): layout as layout
10134 (operator): layout as layout
10135 (delete_layout): layout as layout
10136 (defaultLayout): layout as layout
10138 * lyxlayout_ptr_fwd.h: new file
10140 * lyxlayout.C (Read): layout as layout
10142 * lyx_cb.C (MenuInsertLabel): layout as layout
10144 * bufferlist.C (newFile): layout as layout
10146 * buffer.C (readLyXformat2): layout as layout
10147 (parseSingleLyXformat2Token): layout as layout
10148 (insertStringAsLines): layout as layout
10149 (asciiParagraph): layout as layout
10150 (latexParagraphs): layout as layout
10151 (makeLinuxDocFile): layout as layout
10152 (simpleLinuxDocOnePar): layout as layout
10153 (makeDocBookFile): layout as layout
10154 (simpleDocBookOnePar): layout as layout
10155 (getLists): layout as layout
10157 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10159 * CutAndPaste.C (cutSelection): layout as layout
10160 (pasteSelection): layout as layout
10161 (SwitchLayoutsBetweenClasses): layout as layout
10163 * BufferView_pimpl.C (Dispatch): layout as layout
10164 (smartQuote): layout as layout
10166 * BufferView2.C (unlockInset): layout as layout
10168 2002-06-24 André Pönitz <poenitz@gmx.net>
10170 * lyxfunc.C: fix #487
10172 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10176 * lyxfunc.C: remove display_shortcuts, show_banner
10178 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10180 * Buffer_pimpl.C: oops, update on resize
10182 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10189 * BufferView.C: use repaint()
10191 * BufferView_pimpl.h:
10192 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10193 as it's a clearer description. Remove superfluous
10196 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10198 * text.C: fix bug 488. Not ideal, but getting
10199 getWord() to work properly for the insets that
10200 matter is more difficult ...
10202 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10204 * BufferView_pimpl.C:
10207 * lyxfunc.C: remove the six million index lyxfuncs to just
10208 one, and DTRT (bug 458)
10210 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10214 * BufferView_pimpl.h:
10215 * BufferView_pimpl.C: clean up resize() stuff,
10216 and unnecessary updateScreen()s
10218 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10222 * BufferView_pimpl.h:
10223 * BufferView_pimpl.C:
10226 * minibuffer.C: remove focus management of workarea,
10227 not needed. Use screen's greyOut()
10229 2002-06-17 Herbert Voss <voss@lyx.org>
10231 * converter.C: (convert) do not post a message, when converting
10232 fails, let the calling function decide what to do in this case
10234 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10236 * lyxfunc.C: tidy up a little
10238 2002-06-16 <alstrup@diku.dk>
10240 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10241 Got rid of FORMS_H_LOCATION include. Now we are
10244 2002-06-15 LyX Development team <lyx@rilke>
10246 * buffer.[Ch] (sgmlOpenTag):
10247 (sgmlCloseTag): Added support for avoiding pernicious mixed
10248 content. Return number of lines written.
10250 (makeLinuxDocFile):
10251 (makeDocBookFile): Fixed calls to sgml*Tag.
10252 Simple white space clean.
10254 (simpleDocBookOnePar): Simple white space clean.
10256 * tabular.[Ch] (docBook): Renamed to docbook and got another
10257 argument to related with the pernicious mixed content.
10259 (docbookRow): Fixed calls for docbook inset method.
10261 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10263 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10264 so it's X11 independent.
10268 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10270 2002-06-15 Lyx Development team <lyx@electronia>
10272 * intl.h: Renamed getTrans to getTransManager.
10274 2002-06-14 Angus Leeming <leeming@lyx.org>
10276 * Makefile.am: nuke forgotten stl_string_fwd.h.
10278 2002-06-12 Angus Leeming <leeming@lyx.org>
10280 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10282 2002-06-13 Angus Leeming <leeming@lyx.org>
10285 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10287 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10289 * kbmap.C (getiso): add support for cyrillic and greek
10291 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10295 * BufferView_pimpl.h:
10296 * BufferView_pimpl.C: move bogus scrolling logic
10299 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10302 * BufferView_pimpl.C: view->resize() change
10304 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10306 * BufferView_pimpl.C: topCursorVisible
10309 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10313 * lyx_gui.C: move to frontends/
10317 * lyx_main.C: changes from above
10319 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10326 * lyx_main.C: minor tidy
10328 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10330 * BufferView_pimpl.h:
10331 * BufferView_pimpl.C:
10333 * BufferView.C: make painter() const,
10336 * BufferView2.C: use screen() accessor
10339 * lyx_main.C: some minor cleanup
10341 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10343 * BufferView_pimpl.h:
10344 * BufferView_pimpl.C: remove enter/leaveView,
10347 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10352 * BufferView_pimpl.h:
10353 * BufferView_pimpl.C: only construct screen once,
10356 * lyxrc.C: remove pointless comment
10358 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10361 * BufferView.C: remove active() and belowMouse()
10363 * BufferView_pimpl.h:
10364 * BufferView_pimpl.C: use workarea() not workarea_,
10365 and make it use a scoped_ptr instead
10367 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10369 * lyx_gui.C: add debug message on BadWindow
10371 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10373 * sp_spell.C: fdopen is not part of the C++ standard.
10375 * paragraph.C (InsetIterator): use >= instead of ==
10377 2002-06-07 Angus Leeming <leeming@lyx.org>
10379 Fixes needed to compile with Compaq cxx 6.5.
10380 * BufferView_pimpl.C:
10387 * lyxtextclasslist.C:
10392 all c-library variables have been moved into namespace std. Wrap
10393 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10398 Add a using std::abs declaration.
10400 * kbmap.h (modifier_pair):
10401 * paragraph.h (InsetTable, InsetList):
10402 * lyxfont.h (FontBits):
10403 type definition made public.
10405 * bufferlist.C (emergencyWriteAll): the compiler complains that
10406 there is more than one possible lyx::class_fun template to choose from.
10407 I re-named the void specialisation as lyx::void_class_fun.
10409 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10411 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10412 the compiler is is unable to find tostr in write_attribute.
10414 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10416 * buffer.C (sgmlError): hide #warning
10418 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10420 * xtl/*: get rid of xtl, which is not in use anyway
10422 * LyXAction.C (init):
10423 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10424 were unimplemented xtl experimentation
10426 2002-06-04 André Pönitz <poenitz@gmx.net>
10428 * lyxfunc.C: disable array operation on simple formulae
10430 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10432 * converter.C: constify a bit
10434 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10436 * lyx_gui.C: check xforms version correctly
10438 2002-04-30 Herbert Voss <voss@lyx.org>
10440 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10443 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10445 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10446 attempt to register it with a VCS)
10448 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10450 * lyx_main.C (init): honor variables LYX_DIR_13x and
10453 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10457 * lyx_main.C: fix a crash on bad command line,
10458 and give a useful exit status on error
10460 * lyxfunc.C (doImport): allow -i lyx to work
10462 2002-03-30 André Pönitz <poenitz@gmx.net>
10464 * lyxfunc.C: mathed font changes
10466 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10481 * trans_mgr.h: srcdocs, and some minor cleanups
10483 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10485 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10486 call getFont all the time)
10488 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10490 * switch from SigC signals to boost::signals
10492 2002-05-29 André Pönitz <poenitz@gmx.net>
10494 * paragraph_pimpl.C (getChar): don't call size() too often...
10496 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10498 * paragraph_pimpl.C (insertChar): do not try to update tables when
10499 appending (pos == size())
10501 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10502 in order to reduce drastically the number of comparisons needed to
10503 parse a large document
10505 2002-05-29 André Pönitz <poenitz@gmx.net>
10511 * textclasslist.[Ch]:
10512 * sp_ispell.h: whitespace change
10514 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10516 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10517 lyxaction directly now.
10519 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10523 * lyxvc.C: remove unused headers
10525 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10532 * undo_funcs.C: some cleanups. Use shared_ptr
10533 and a template for the undo stacks.
10535 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10537 * BufferView_pimpl.h:
10538 * BufferView_pimpl.C:
10545 * text2.C: use key_state/mouse_state
10547 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10549 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10552 * chset.C: change include order
10553 (loadFile): use boost regex and get rid of LRegex and LSubstring
10555 * Makefile.am (BOOST_LIBS): new variable
10556 (lyx_LDADD): use it
10558 * LaTeX.C: change include order.
10559 (scanAuxFile): use boost regex and get rid of LRegex and
10563 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10568 * FontInfo.C: moved to frontends/xforms/
10571 * FontLoader.C: moved into frontends for GUIIzation
10576 * lyxfunc.C: changes from above
10578 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10580 * LColor.C: remove spurious X include
10582 * BufferView_pimpl.C:
10587 * text2.C: move font metrics to frontends/
10589 2002-05-24 Juergen Vigna <jug@sad.it>
10591 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10592 setting the undo_cursor.
10594 * ParagraphParameters.h: include local includes first.
10596 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10598 * BufferView_pimpl.C:
10599 * BufferView_pimpl.h:
10603 * screen.C: move WorkArea into frontends/
10609 * BufferView2.C: move LyXScreen into frontends/
10613 * lyx_gui.C: move lyxlookup into frontends/xforms/
10615 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10618 * BufferView_pimpl.C:
10628 * bufferview_funcs.C:
10641 * vc-backend.C: move LyX/XFormsView into frontends/
10643 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10655 * text2.C: move Painter to frontends/
10657 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10659 * buffer.C: comment out some some code that depend upon lyx_format
10662 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10663 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10665 * buffer.h (NO_COMPABILITY): turn off compability
10667 * ColorHandler.C: include scoped_array.hpp
10669 * font.C: Use more specific smart_ptr header.
10672 * ShareContainer.h: ditto
10673 * lyx_main.h: ditto
10675 * FontInfo.h: ditto
10676 * BufferView_pimpl.h: ditto
10677 * ColorHandler.h: ditto
10679 * kbmap.C (defkey): change call to shared_ptr::reset
10681 2002-05-21 Juergen Vigna <jug@sad.it>
10683 * buffer.C (insertErtContents): fix to insert ert asis if it is
10684 non empty. Skip it completely if it contains only whitespaces.
10686 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10688 * BufferView_pimpl.C:
10689 * BufferView2.C: clear selection on paste (bug 393)
10691 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10693 * DepTable.C: include ctime
10695 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10697 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10699 2002-05-14 Juergen Vigna <jug@sad.it>
10701 * text.C (breakParagraph): fixed function to honor the keepempty
10702 layout in the right maner and also to permit the right breaking
10703 algorithm on empty or non empyt keepempty paragraphs.
10705 * paragraph.C (breakParagraph): we have to check also if the par
10706 is really empty (!size()) for isempty otherwise we do the wrong
10709 2002-05-10 Juergen Vigna <jug@sad.it>
10711 * buffer.[Ch] : The following are only changes to the ert
10712 compatibility read reading old LaTeX layout and font stuff and
10713 convert it to ERTInsets.
10715 * buffer.h: added isErtInset().
10717 * buffer.C (struct ErtComp): add a fromlayout bool to check
10718 if we're inside a LaTeX layout.
10719 (isErtInset): new helper function.
10720 (insertErtContents): look for other ert insets before this one
10721 and insert the contents there, so that we don't have subsequent
10722 ERT insets with nothing between them. This way we create only one
10723 inset with multiple paragraphs. Also check if we don't insert only
10724 spaces ' ' as they are ignored anyway afterwards in the .tex file
10725 so if we have only spaces we will ignore this latex part in the
10727 (parseSingleLyXformat2Token \\layout): better compatibility when
10728 reading layout-latex stuff.
10729 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10731 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10732 stuff after reading the inset only get the information back from
10735 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10737 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10739 * LaTeXFeatures.C (getBabelOptions): New method.
10741 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10743 * BufferView_pimpl.C (Dispatch): work around missing argument for
10746 2002-05-08 Juergen Vigna <jug@sad.it>
10748 * text.C (leftMargin): handle paragraph leftindent.
10750 * paragraph.C (writeFile): write the new \\leftindent tag.
10751 (validate): handle leftindent code.
10752 (TeXEnvironment): handle paragraphleftindent code again.
10754 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10756 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10757 for paragrap_extra indent code and new token \\leftindent.
10758 (latexParagraphs): handle the leftindent as environment.
10760 * ParameterStruct.h: added leftindent support.
10762 * ParagraphParameters.C (leftIndent): added support functions for
10763 the paragraph left indent.
10765 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10768 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10770 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10773 * text.C (computeBidiTables): No bidi in insetERT.
10775 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10778 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10780 * version.C.in: pre 5
10782 2002-05-02 José Matos <jamatos@fep.up.pt>
10783 * buffer.C (makeDocBookFile): white space changes, add newline to
10785 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10787 * tabular.C (docBook): fix typo.
10789 2002-05-03 Juergen Vigna <jug@sad.it>
10791 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10792 change in LyXText as we can not be sure it was not freed.
10793 (drawOneRow): remove unused code.
10795 * text.C (drawInset): redo the calculation of the need_break_row as
10796 it could have a row which was already freed.
10797 (draw): look at the return value of drawInset and return false if
10798 it also returned false.
10799 (paintRowText): look at the return value of draw and return false if
10800 it also returned false.
10802 * lyxtext.h: added bool return type to drawInset() and draw() so that
10803 if we have a change in the row so that the rowbreak has to be redone
10804 we abort drawing as it will be called again.
10806 2002-05-02 Juergen Vigna <jug@sad.it>
10808 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10809 a change in the maintext also if we're inside an inset.
10810 (Dispatch): set the cursor again after a break line and after the
10811 screen has been updated as it could be we're in a different row.
10813 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10814 to set the cursor behind the pargraph with > size().
10815 (setCursor): check also for the same paragraph when checking where
10816 to put the cursor if we have a NFR inset.
10818 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10819 parts of layout read further up as it still was in the wrong
10822 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10824 * screen.C (drawFromTo): change sine fullRebreak always return
10827 * buffer.C (parseSingleLyXformat2Token): reindent some
10829 * BufferView_pimpl.C (update): change since fullRebreak always
10831 (Dispatch): git rid of the last hardcoded "Standard"s.
10833 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10835 * text2.[Ch] (fullRebreak): make it return void now that we always
10838 2002-04-30 Juergen Vigna <jug@sad.it>
10840 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10841 ert compatibility check for "latex" layout.
10843 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10845 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10846 minipages: use col% instead of p%, and also use the current font.
10847 (makeLaTeXFile): Fix use babel condition.
10848 (parseSingleLyXformat2Token): Correct font when reading old floats.
10850 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10852 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10853 inserting list of floats.
10855 2002-04-25 Herbert Voss <voss@lyx.org>
10857 * MenuBackend.C (expand): don't add the graphics extensions to the
10860 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10862 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10863 non-existing layout, do not complain if it was the default layout
10864 of the original class (bug #342)
10866 2002-04-24 Juergen Vigna <jug@sad.it>
10868 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10869 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10871 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10873 * buffer.C (getBibkeyList): If using \bibliography, return the
10874 option field with the reference itself. Enables us to provide natbib
10875 support when using \bibliography.
10877 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10879 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10881 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10882 natbib is provided by the LaTeX class.
10884 2002-04-23 Juergen Vigna <jug@sad.it>
10886 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10889 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10891 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10893 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10895 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10896 ensuremath around textordmasculine, textordfeminine and
10899 2002-04-19 Juergen Vigna <jug@sad.it>
10901 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10902 reinitializing the buffer otherwise row-dimensions may be wrong.
10903 (update): reset also the selection cursors if they do exits otherwise
10904 their x/y positions may be wrong.
10906 * text2.C (cursorDown): don't enter the inset if we came from a row
10907 above and are one row over the inset.
10909 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10910 really leaving an inset.
10912 2002-04-18 Juergen Vigna <jug@sad.it>
10914 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10915 of the selected paragraph does not have the selected layout also if
10918 * text2.C (setLayout): fixed bug which did not change last selected
10921 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10922 changed the read and substituted \\end_float with \\end_inset!
10924 * BufferView_pimpl.C (cursorPrevious):
10925 (cursorNext): fixed to make it work with rows heigher than the work
10926 area without moving the cursor only the draw of the row.
10927 (workAreaMotionNotify): fix jumping over high rows.
10929 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10931 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10934 2002-04-16 Juergen Vigna <jug@sad.it>
10936 * text2.C (setCursor): set also the irow().
10937 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10939 (cursorDown): support for locking an inset if the x_fix value goes
10940 inside it. That way I can transverse insets too with cursor up/down.
10942 * lyxrow.h: added irow helper function same as other (i) functions.
10944 * BufferView_pimpl.C (cursorPrevious):
10945 (cursorNext): fixed for insets!
10947 2002-04-15 Juergen Vigna <jug@sad.it>
10949 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10950 position otherwise it is wrong in some cases.
10952 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10953 inside the inset before the call.
10955 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10957 * buffer.[Ch] (getBibkeyList): make it const.
10959 2002-04-12 Juergen Vigna <jug@sad.it>
10961 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10963 * text2.C (getCursorX): new helper function
10964 (setCursor): compute also ix_
10965 (setCursorFromCoordinates): set also ix.
10967 * lyxcursor.h: added ix_ and helper functions.
10969 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10971 * buffer.C (insertStringAsLines): dont break paragraph if the this
10972 paragraph is inside an inset which does not permit it!
10974 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10975 also with no chars on this paragraph.
10976 (paintRowText): only paint stuff if it's inside the workarea!
10978 * paragraph.C (breakParagraph): honor keepempty flag and break the
10979 paragraph always below not above.
10981 * BufferView2.C (unlockInset): update the paragraph layout on inset
10982 unlock as we changed paragraph in such a case.
10984 * lyxfind.C (LyXFind): clear the former selection if not found!
10986 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10987 again called in insertChar().
10989 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10990 an inset which uses the whole row!
10991 (rightMargin): ditto.
10992 (insertChar): force a rebreak if we inserted an inset!
10994 2002-03-28 Herbert Voss <voss@lyx.org>
10996 * lyxlength.[Ch]: add inBP() to get the right PS-point
10997 units (BigPoint). With inPixels we have rounding errors
10999 2002-04-11 Juergen Vigna <jug@sad.it>
11001 * text2.C (setCursorFromCoordinates): set iy to the right value.
11002 (setCursor): add check if row->previous exists!
11004 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11005 an old float_type as this was the case in the old code!
11007 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11009 * BufferView2.C (showLockedInsetCursor): use iy
11010 (fitLockedInsetCursor): ditto
11012 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11013 locked insets as there we have the right value now.
11015 * lyxcursor.C: added iy_ variable and iy functions to set to the
11016 baseline of cursor-y of the locked inset.
11018 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11019 (setCursor): fixed for insets which need a full row.
11021 * text.C (rowLastPrintable): don't ignore the last space when before
11022 an inset which needs a full row.
11023 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11024 as last character of a row when before a inset which needs a full row.
11026 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11028 * version.C.in: update date
11030 * text2.C (fullRebreak): try to always return true and see what
11033 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11035 * MenuBackend.C (expand): use Floating::listName
11037 * FloatList.C (FloatList): add listName argument to the built-in
11040 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11041 text associated with the float.
11043 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11045 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11047 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11049 * ShareContainer.h: add a couple of missing typenames.
11051 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11053 * lyxrc.C (getDescription): use _() correctly rather than N_().
11055 2002-03-28 Herbert Voss <voss@lyx.org>
11057 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11058 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11060 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11062 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11063 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11065 2002-03-29 Juergen Vigna <jug@sad.it>
11067 * lyxfunc.C (dispatch): add a missing fitCursor call.
11069 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11070 it was scrolled by a cursor move, so return the bool status.
11072 * BufferView.C (fitCursor): return the bool flag also to the outside
11073 world as this is needed.
11075 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11077 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11078 call the edit() as it is not needed (and wrong) IMO.
11079 (workAreaButtonPress): set the screen_first variable before evt.
11080 unlock the inset as this may change screen_first and then we have
11081 a wrong y position for the click!
11083 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11085 * MenuBackend.C (expand): another translation that I missed
11087 2002-03-28 Juergen Vigna <jug@sad.it>
11089 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11091 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11093 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11095 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11097 * MenuBackend.C (expand): fix export/view/update when there is no
11100 2002-03-27 Herbert Voss <voss@lyx.org>
11102 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11105 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11107 * bufferview_funcs.C (currentState): only show paragraph number
11108 for is DEVEL_VERSION is set.
11110 * lyxfunc.C (dispatch): put warning in INFO channel
11112 * MenuBackend.C (expand): translate the name of floats
11114 * FloatList.C (FloatList): mark the float names for translation
11116 * converter.C (convert): use LibScriptSearch
11118 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11120 * MenuBackend.C (defaults): fix default menu (we might as well get
11123 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11125 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11128 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11130 * lyxvc.C: reorder includes.
11132 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11134 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11137 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11139 * CutAndPaste.C: change layouts earlier on paste
11140 to avoid crashing when calling getFont()
11142 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11144 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11147 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11149 * WorkArea.C: remove 'Pending' debug message.
11151 * most files: ws cleanup
11153 * buffer.[Ch]: ws changes
11155 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11157 2002-03-21 Juergen Vigna <jug@sad.it>
11159 * tabular.C (SetMultiColumn): collapse also the contents of the
11160 cells and set the last border right. Added a Buffer const * param.
11162 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11164 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11167 2002-03-19 Juergen Vigna <jug@sad.it>
11169 * text2.C (clearSelection): reset also xsel_cache.
11171 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11172 where it needs to be called (John tells us to do so too :)
11173 (selectionLost): reset sel_cache.
11175 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11177 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11179 * text2.C (setCursorIntern): put debuging code in INSETS channel
11181 2002-03-19 André Pönitz <poenitz@gmx.net>
11183 * lyxfunc.C: tiny whitespace change
11185 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11187 * ToolbarDefaults.C (init):
11188 * LyXAction.C (init):
11190 * BufferView_pimpl.C (Dispatch):
11191 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11193 2002-03-19 Allan Rae <rae@lyx.org>
11195 * exporter.C (Export): removeAutoInsets before doing anything else.
11196 While I've just introduced a dependency on BufferView this really is
11197 the best place to clean the buffer otherwise you need to cleanup in
11198 a dozen places before calling export or cleanup in a dozen functions
11201 * converter.C (runLaTeX):
11202 (scanLog): Better handling of removeAutoInsets and screen updates.
11204 * lyxfunc.C (dispatch): small whitespace changes
11206 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11208 * WorkArea.C (C_WorkAreaEvent): return a value.
11209 (event_cb): return 1 if we handled the event, 0 otherwise.
11211 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11213 2002-03-18 Juergen Vigna <jug@sad.it>
11215 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11216 (GetAdditionalWidth): ditto.
11217 (RightLine): ditto.
11220 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11221 inset if we're there actually (probably not used right now but this
11222 is the direction to go for unifying code).
11223 (paste): disable code to clear the selection.
11225 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11226 inside an InsetText and move the check further up as it is in the
11229 * text2.C (pasteSelection): set a selection over the pasted text.
11231 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11233 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11234 and libgraphics to build on Cygwin.
11236 2002-03-15 Juergen Vigna <jug@sad.it>
11238 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11239 inserting an Inset into the paragraph. I know this is not the best
11240 fix but we already use current_view in CutAndPaste so we will remove
11241 all of it's using at the same time.
11243 * buffer.C (sgmlError): deactivated function till it is rewritten in
11244 the right mode, now it can create problems.
11246 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11247 before accessing it.
11249 2002-03-14 Juergen Vigna <jug@sad.it>
11251 * undo_funcs.C (textHandleUndo): do the right thing when updating
11252 the inset after the undo/redo.
11254 * text2.C (setCursor): just some testcode for #44 not ready yet.
11256 * undo_funcs.C (textHandleUndo): set the next() and previous()
11257 pointers of the paragraph to 0 before deleting otherwise we have
11258 problems with the Paragraph::[destructor].
11260 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11261 on a paragraph insertion.
11263 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11265 * buffer.C (asciiParagraph): use += operator for char append to
11268 * paragraph.C (getFontSettings): compare >= not just >
11269 (highestFontInRange): ditto
11272 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11274 * paragraph.C: change several algorithm to be more appripriate for
11275 the problem domain. This is lookip in FontList and in the InsetList.
11277 2002-03-13 André Pönitz <poenitz@gmx.net>
11280 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11282 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11287 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11289 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11291 * Painter.C (display): anon helper function, adjust code for this
11293 (pixmap): remove function.
11295 * Painter.h: remove private display variable.
11297 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11299 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11301 * WorkArea.[Ch]: remove figinset_canvas cruft.
11303 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11305 * lyxtextclass.C (operator): add one item cache optimization.
11307 * bufferlist.h: doxy changes
11309 * bufferlist.C: ws changes
11311 * DepTable.[Ch] (ext_exist): place const in the right spot.
11313 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11315 (workAreaExpose): call resizeInsets when the with BufferView changes.
11316 (Dispatch): adjust for protectedBlank removal
11317 (specialChar): call updateInset if the insert went ok.
11319 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11320 specialChar instead.
11322 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11324 * BufferView.h: doxy change
11326 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11328 * lyxtextclass.C (operator[]): remove non-const version
11329 (defaultLayout): remove non-const version
11331 2002-03-12 Juergen Vigna <jug@sad.it>
11333 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11334 did resize the LyXText too.
11336 * buffer.C (readLyXformat2): set layout information on newly allocated
11339 * tabular.C (OldFormatRead): set layout information on the paragraph.
11341 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11343 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11345 2002-03-11 Juergen Vigna <jug@sad.it>
11347 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11349 (resizeCurrentBuffer): force also the insets to resize themselfes.
11350 (moveCursorUpdate): fixed up for InsetText.
11352 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11355 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11356 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11357 value of Dialogs::tooltipsEnabled().
11358 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11360 2002-03-08 Juergen Vigna <jug@sad.it>
11362 * BufferView_pimpl.C (updateInset): update inset inside inset also
11363 if it isn't inside theLockingInset().
11365 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11367 * buffer.C (asciiParagraph): redo some of the word and line length
11369 (getLists): look for Caption instead of caption.
11371 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11373 * buffer.C (Buffer): initialize niceFile to true
11375 (makeLinuxDocFile):
11376 (makeDocBookFile): make sure niceFile is true on exit
11378 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11380 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11382 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11384 * LyXSendto.C: remove.
11385 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11386 * lyx_gui.C: remove now-redundant comment.
11387 * ColorHandler.h: remove forward declaration of class WorkArea.
11388 * lyxfunc.C: remove #include "WorkArea.h".
11390 2002-03-07 Juergen Vigna <jug@sad.it>
11392 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11393 got moved away with the DEPM and also set the inset_owner always
11394 right which before could have been omitted.
11396 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11398 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11399 wanted layout is not found.
11401 2002-03-07 Juergen Vigna <jug@sad.it>
11403 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11405 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11407 * paragraph.C (breakParagraph): use default layout not layout of
11409 (Paragraph): clear ParagraphParameters.
11411 2002-03-06 Juergen Vigna <jug@sad.it>
11413 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11414 otherwise it would not be a valid lenght. Fixed a special case in
11415 the minipage compatibility read where we end the document with a
11418 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11419 was set as it could be 0 for InsetTexts first entry.
11421 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11423 * paragraph.C (writeFile): if layout is empty write out
11424 defaultLayoutName().
11426 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11427 file without named layout we set layout to defaultLayoutName().
11429 2002-03-06 Juergen Vigna <jug@sad.it>
11431 * CutAndPaste.C (copySelection): set layout for new paragraph.
11433 * text.C (prepareToPrint): leave ERT inset left aligned
11434 (leftMargin): don't indent paragraphs inside ERT insets
11436 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11438 * paragraph.C (breakParagraph): dont call clear do the work manually
11440 * paragraph.[Ch] (clear): remove function
11442 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11444 * paragraph.C (Paragraph): dont call clear, the work has already
11447 * lyxtextclass.C (operator): assert if n is empty
11449 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11450 work manually instead.
11452 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11454 * BufferView_pimpl.C: protect selectionLost against text == 0
11456 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11458 * text.C (breakParagraph): fix a setting layout to '0' problem.
11460 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11462 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11463 final location of file, for the included files, and graphics.
11465 2002-03-05 Juergen Vigna <jug@sad.it>
11467 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11469 2002-03-04 Juergen Vigna <jug@sad.it>
11471 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11473 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11474 last column of multicolumn cells.
11475 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11477 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11479 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11480 file if it doesn't go to a temporary file.
11482 * buffer.C (sgmlOpenTag):
11483 (sgmlCloseTag): remove extra newline insertion.
11485 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11487 * text.C (getRowNearY): comment out debug msg
11489 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11491 * text2.C: first -> first_y
11493 * text.C (getRowNearY): add some attemts at a possible
11494 optimization, not working.
11496 * tabular.[Ch]: add BufferParams to several function so that newly
11497 created paragraph can be initialized to he default layotu for the
11500 * tabular-old.C (ReadOld): add buf->params to call of Init
11502 * screen.C: rename text->first to text->first_y
11504 * paragraph.C (breakParagraph): always set layout in the broken
11507 * lyxtextclass.C (Read): remove lowercase
11510 (delete_layout): ditto
11512 * lyxtext.h: rename first -> first_y
11514 * lyxlayout.C (Read): remove lowercase
11517 (obsoleted_by): ditto
11519 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11521 * buffer.C (insertErtContents): add params are to InsetERT
11522 (parseSingleLyXformat2Token): add code to check if a paragraphs
11523 layout really exist.
11524 (parseSingleLyXformat2Token): add params to several inset
11526 (asciiParagraph): remove lowercase, do the layout comparisons with
11529 * BufferView_pimpl.C (cursorNext): first -> first_y
11530 (resizeCurrentBuffer): first -> first_y
11531 (updateScrollbar): first -> first_y
11532 (scrollCB): first -> first_y
11533 (workAreaMotionNotify): first -> first_y
11534 (workAreaButtonPress): first -> first_y
11535 (checkInsetHit): first -> first_y
11536 (cursorPrevious): first -> first_y
11537 (cursorNext): first -> first_y
11538 (Dispatch): add buffer_->params to severl inset contructors
11540 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11542 * lyxlayout.C (Read): remove some debug info that I forgot.
11544 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11545 clean up the code slightly.
11546 (makeLinuxDocFile): ditto
11547 (makeDocBookFile): ditto
11549 * text2.C: layout as string
11551 * text.C: layout as string
11553 * paragraph_pimpl.C: layout as string
11555 * paragraph.[Ch]: layout as string
11557 * lyxtextclasslist.[Ch]: layout as string
11559 * lyxtextclass.[Ch]: layout as string
11561 * lyxtext.h: layout as string
11563 * lyxlayout.[Ch]: layout as string
11565 * lyx_cb.C: layout as string
11567 * bufferview_funcs.C: layout as string
11569 * bufferparams.C: layout as string
11571 * buffer.C: layout as string
11573 * LyXView.[Ch]: layout as string
11575 * LaTeXFeatures.[Ch]: layout as string
11577 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11579 * BufferView_pimpl.C: change current_layout to string, remove
11584 (workAreaButtonRelease): layout as string
11586 * BufferView2.C (unlockInset): adjust
11588 * vspace.C (asLatexCommand): use an explict temp variable.
11590 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11592 * Makefile.am: use FRONTEND_*
11594 2002-03-01 Juergen Vigna <jug@sad.it>
11596 * tabular.C (SetWidthOfMulticolCell): changed to something better
11597 I hope but still work in progress.
11598 (recalculateMulticolumnsOfColumn): renamed function from
11599 recalculateMulticolCells as it is more appropriate now.
11600 (SetWidthOfCell): calculate multicols better.
11602 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11604 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11606 * lyxfunc.C (processKeySym): print sequence also if it is
11607 `deleted' (complete)
11609 * kbsequence.C (print): print sequence even if it is deleted
11610 (complete would be a better word, actually).
11612 * lyxfunc.C (dispatch): print complete options after a prefix key
11614 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11616 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11618 * text2.C (setCharFont): eliminate setCharFont code duplication.
11620 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11622 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11623 LFUN_TABULAR_FEATURE (bug #177)
11625 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11627 * Makefile.am: remove figure.h
11629 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11631 * Bufferview_pimpl.C:
11643 * text2.C: remove #include "lyx_gui_misc.h".
11645 * LaTeX.C: added #include <cstdio>
11647 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11649 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11650 that the paragraph following this one can have.
11652 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11654 * vspace.C (asLatexCommand): fix bogus gcc warning
11656 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11658 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11660 * text2.C (setLayout): get rid of redundant code
11662 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11664 * text2.C (incDepth): make sure depth cannot be increased beyond
11667 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11669 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11670 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11672 * PainterBase.h (image):
11673 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11674 a LyXImage const *.
11676 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11680 * BufferView_pimpl.C:
11681 * BufferView_pimpl.h:
11701 * sp_spell.C: remove fig inset, and the crap house of
11702 cards that follows it
11704 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11709 * os2_errortable.h:
11710 * nt_defines.h: move .h into support/
11712 * vms_defines.h: remove
11714 * WorkArea.C: add space in debug output
11718 * buffer.C: add WITH_WARNINGS
11722 * bufferlist.C: s/retrive/retrieve/, add docs
11731 * chset.C: add docs
11733 * lyxgui.C: add ID to X error handler
11735 * lyxtestclass.c: fix typo
11737 2002-02-26 Juergen Vigna <jug@sad.it>
11739 * tabular_funcs.C (write_attribute): changed so that some default
11740 attributes are not written at all.
11741 (getTokenValue): set default values before trying to read the
11742 value so we have the return value always set as default if we don't
11743 find the token we search for.
11745 * tabular.C (Write): write bools as bools not as strings!
11747 2002-02-22 Juergen Vigna <jug@sad.it>
11749 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11750 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11752 * text.C (leftMargin): don't add an indent for paragraphs inside
11753 tabular cells (fix #208).
11755 2002-02-21 José Matos <jamatos@fep.up.pt>
11757 * tabular.C (docBook): fixed support for long tables.
11759 2002-02-20 Juergen Vigna <jug@sad.it>
11761 * text2.C (getFont): get the drawing font of the Inset if this
11762 paragraph is inside an inset (only important for InsetERT for now).
11764 * buffer.C (insertErtContents): use new lanugage params in ERT
11767 * CutAndPaste.C: commenting out seemingly uneeded code.
11769 2002-02-19 Allan Rae <rae@lyx.org>
11771 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11772 Iterators might be simple to use but they also get invalidated.
11773 (removeAutoInsets): renamed saved cursor tracking variables and added
11774 some comments to clarify what everything does.
11776 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11783 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11784 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11787 * vc-backend.h: remove #include "support/syscall.h"
11791 * converter.C: rearrange #includes in Lars' approved fashion.
11793 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11794 forward declare class Timeout in the header file.
11796 * XFormsView.C: changes due to the above.
11798 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11799 similar to LyXView.
11801 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11802 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11804 2002-02-18 José Matos <jamatos@fep.up.pt>
11806 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11809 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11811 * a lot of small ws changes
11812 * add a lot of using std::XXX
11813 * use std construcs some places where approp.
11814 * use some exisint stuff from lyxfunctional where approp.
11815 * Make file changes to use partial linking (lets test this now...)
11817 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11821 remove #include "support/syscontr.h" as it's redundant. Always has been.
11829 change Systemcalls::System to Systemcalls::Wait and
11830 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11831 No change of functionality, just reflects the stripped down Systemcalls
11834 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11836 * debug.[Ch]: add a GRAPHICS type to the enum.
11838 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11840 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11842 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11845 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11847 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11848 match the changes below.
11850 * text2.C (toggleInset): if there is not editable inset at cursor
11851 position, try to see if cursor is _inside_ a collapsable inset
11854 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11856 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11857 document menu has a nice checkbox
11859 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11861 * lyxlength.C (asLatexString): change PW to output as percent of
11864 * lengthcommon.C: change '%' to 't%'
11866 * lyxfunc.C (dispatch): a few comments from Martin
11868 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11872 * BufferView_pimpl.h:
11873 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11876 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11878 * vspace.C (inPixels): fix compiler warning
11880 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11882 * lyxfunc.C (getStatus): fix status message for disabled commands.
11884 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11886 * BufferView_pimpl.C: fix crash on close buffer
11887 during selection (#227)
11889 2002-01-27 Herbert Voss <voss@lyx.org>
11891 * buffer.C: link old Figure to new graphic inset
11893 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11895 * FontLoader.C (getFontinfo): Change the latex font names in order
11896 to match the names of type1inst.
11898 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11900 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11902 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11903 (extchanged): ditto
11905 (remove_files_with_extension): ditto
11906 (remove_file): ditto
11909 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11910 document is smaller than the work area height. Do not initialize
11911 static variables to 0.
11913 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11915 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11917 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11918 LFUN_LAYOUT_PARAGRAPHS.
11920 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11921 tabular. It is possible to provide a possible cell, which will
11922 typically be the actcell from the corresponding insettabular
11924 * lyxfunc.C (getStatus): small cleanup; disable
11925 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11928 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11930 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11932 * paragraph.C (startTeXParParams):
11933 (endTeXParParams): new methods. The LaTeX code to
11934 start/end paragraph formatting
11935 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11936 empty (fixes bug #200)
11938 * vspace.C (inPixels): adapt to the change below
11939 (inPixels): [later] more cleanups (remove unused variables)
11941 * lyxlength.C (inPixels): change to use a width and a height as
11944 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11946 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11947 Replaced with \paperwidth
11949 * DepTable.C (insert): add std:: qualifier
11951 2002-01-18 Allan Rae <rae@lyx.org>
11953 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11956 * text.C (drawInset): Turned out I didn't know enough about how
11957 rebreaking worked. This fixes most of the redraw problems. I see
11958 an occasional cursor trail when a line is broken now and the cursor
11959 placement can seem out by a few pixels also after a rebreak.
11961 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11963 * buffer.C (parseSingleLyXformat2Token): update because minipage
11964 width is now a LyXLength
11966 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11968 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11971 2002-01-17 Juergen Vigna <jug@sad.it>
11973 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11975 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11976 is set correctly and the inset is updated correctly.
11978 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11980 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11981 the beginning of the loop.
11983 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11985 * lyxrc.C: improve help for use_scalable_fonts
11987 2002-01-17 Allan Rae <rae@lyx.org>
11989 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11991 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11993 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11994 make sure to set their inset_owner to the right value (bug #171)
11996 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11999 * DepTable.C: Implement mtime checking to reduce time spent doing
12002 2002-01-16 Juergen Vigna <jug@sad.it>
12004 * tabular.C (GetAdditionalHeight): one of error fixed.
12006 * lyxrc.C (output): small fix in writing use_pspell.
12008 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12010 * sp_base.h: #include LString.h
12012 2002-01-16 Allan Rae <rae@lyx.org>
12014 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12015 Can someone check this please?
12017 * text.C (drawInset): It was possible that p.row would be removed by
12018 breakAgainOneRow upsetting a few other settings. There may be another
12019 small tweak possible by setting need_break_row = 0 when p.row has been
12020 removed but I don't know enough about the logic here.
12022 2002-01-15 Allan Rae <rae@lyx.org>
12024 * text.C (insertChar): removed conditional truism.
12026 * BufferView2.C (removeAutoInsets): More tweaks.
12027 cur_par_prev could be a stray pointer. Check for trailing empty line
12028 in case last line was cur_par and only had an error inset on it.
12030 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12032 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12035 * vc-backend.C (most methods):
12036 * exporter.C (Export):
12037 * converter.C (convert):
12039 * LyXSendto.C (SendtoApplyCB):
12040 * lyxfunc.C (dispatch):
12044 * lyx_cb.C (AutoSave):
12046 * BufferView_pimpl.C (MenuInsertLyXFile):
12047 * buffer.C (runChktex): use Buffer::filePath().
12049 * buffer.h: rename filename to filename_; rename filepath to
12050 filepath_ and make it private
12051 (filePath): new method
12053 * buffer.C (writeFile): use fileName()
12056 * lyx_main.C (init): fix starting of LyX when the binary is a
12057 link from so,ewhere else.
12059 * minibuffer.C: include <cctype> for isprint
12061 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12063 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12064 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12065 name clash with InsetCollapsable's width function.
12067 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12069 * lastfiles.C: include <iterator>
12071 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12073 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12076 * buffer.C (makeLaTeXFile): ditto.
12077 Also make loop operation more transparent.
12079 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12081 * ToolbarDefaults.C: remove trailing comma closing namespace.
12083 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12085 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12088 * trans.C (Load): comment out unused variable, allowed.
12090 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12092 * minibuffer.[Ch] (append_char): new method to recieve input from the
12093 drop-down completion browser. If a key was pressed, then recieve this
12094 char and append it to the existing string.
12095 (peek_event): modify the positioning data passed to the completion
12096 browser so that it can be placed above the minibuffer rather than below.
12097 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12099 * LyXAction.C (init): alloe error-next for readonly documents.
12101 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12104 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12106 * bufferlist.C (readFile): create the buffer _after_ checking that
12109 * lyxfunc.C (verboseDispatch): fix handling of arguments
12111 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12113 * lyxrc.C: use string::erase() instead of initializing to "".
12116 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12118 * BufferView_pimpl.h:
12119 * BufferView_pimpl.C:
12122 * text2.C: tell X when we have made a selection for copying
12124 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12126 * BufferView_pimpl.C (MenuInsertLyXFile):
12127 * lyxfunc.C (menuNew):
12129 (doImport): add shortcuts to directory buttons
12131 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12134 * lyxfunc.C (setStatusMessage):
12135 (getStatusMessage): new methods
12136 (getStatus):use setStatusMessage instead of setErrorMessage
12137 (dispatch): when function is disabled, set error message here
12138 [instead of in getStatus previously]
12140 * BufferView_pimpl.C (workAreaButtonRelease): update
12141 toolbar/menubar here too.
12143 2002-01-13 Allan Rae <rae@lyx.org>
12145 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12146 Now seems indestructible. Remaining task is to audit all other
12147 code affected by deleteEmptyParagraphMechanism. One small quirk
12148 left is that an empty document with an error in the preamble can
12149 be made to report an error but no error box appears. I don't know
12151 (removeAutoInsets): Improved comments.
12153 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12156 * Thesaurus.C: update for Aiksaurus 0.14
12158 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12160 * text2.C (firstParagraph): removed member function, all uses
12161 replaces with ownerParagraph
12162 (redoParagraphs): here
12163 (updateInset): here
12164 (toggleAppendix): here
12165 * BufferView2.C (insertErrors): here
12166 (setCursorFromRow): here
12168 2002-01-13 Allan Rae <rae@lyx.org>
12170 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12171 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12172 There is still a way to segfault this although you may have to do this
12173 multiple times: Have an InsetERT with an unknown command in it.
12174 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12175 <down-arrow>, <Enter> again, View->DVI, BANG!
12177 * text2.C (setCursor):
12178 (deleteEmptyParagraphMechanism):
12179 * lyxtext.h (setCursor):
12180 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12181 Making use of the return value may help fix other bugs.
12183 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12185 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12187 * LyXView.C (updateMenubar): call MenuBar::update here
12188 (updateToolbar): but not here
12189 (showState): do not update toolbar/menubar
12191 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12192 should need to care about that.
12194 * lyxfunc.C (verboseDispatch): simplify a bit
12195 (getStatus): have a version which takes a pseudoaction, and
12196 another which requires a (kb_action,string).
12198 * LyXAction.C (retrieveActionArg): make it work also when action
12199 is not a pseudo-action.
12200 (getActionName): simplify a bit
12203 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12205 * lyxfunc.C (verboseDispatch): new families of methods with
12206 several ways to specify a command and a bool to indicate whether
12207 the command name and shortcut should be displayed in minibuffer
12208 (eventually, we could extend that to a finer bitmask like
12209 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12210 (dispatch): the pristine dispatch command which just, well,
12211 dispatchs! Note it still sets its result to minibuffer; I'm not
12214 * lyxfunc.h: remove setHintMessage
12216 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12218 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12220 * BufferView_pimpl.C (specialChar): delete new inset if we have
12221 not been able to insert it.
12223 * kbmap.C: revert to using int instead of kb_action, since all we
12224 are dealing with is pseudo-actions.
12226 * LyXAction.C (searchActionArg): change to return int instead of
12227 kb_action, since the result is a pseudoaction.
12229 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12231 * buffer.C (insertErtContents): Fix (partially) the font bug.
12233 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12235 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12236 as the other one is broken on my machine!
12238 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12241 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12243 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12245 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12246 reflect their actual use. Provide compatibility code for older lyxrc
12249 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12251 change names of popup font variables in line with the changes to lyxrc.C
12253 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12255 * buffer.C (asciiParagraph): avoid outputing a word twice after
12258 * lyxrc.C (getDescription): document that document_path and
12259 template_path can be empty.
12261 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12263 * LaTeXFeatures.C (getMacros):
12264 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12266 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12268 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12270 (getPackages): rename feature "floats" to "float". Use an array to
12271 iterate over 'simple' features (i.e. just a \usepackage). Add
12272 handling of "amsmath" (renamed from "amsstyle").
12274 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12276 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12279 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12281 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12282 FuncStaus::FuncStatus & FuncStaus::some_method().
12284 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12286 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12287 of the func_satus stuff. Edited and massaged in various ways by
12290 * lyxfunc.C (getStatus): use FuncStatus
12292 2002-01-08 Juergen Vigna <jug@sad.it>
12294 * text.C (nextBreakPoint): use function Inset::isChar().
12296 * paragraph.C (TeXOnePar): use function
12297 Inset::forceDefaultParagraphs.
12299 * buffer.C (latexParagraphs): use function
12300 Inset::forceDefaultParagraphs.
12302 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12304 * lyx_gui.C (init): set the style of the menu popups to
12305 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12307 2002-01-07 Juergen Vigna <jug@sad.it>
12309 * text.C (setHeightOfRow): small fix
12310 (prepareToPrint): don't look at alignment if we don't have the place
12313 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12315 * box.C: New file. Move the Box methods and functions out of box.h,
12316 following Lars' suggestion.
12318 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12320 * box.h: #include "support/LOstream.h", needed for inlined function.
12323 * lyxtextclasslist.C: added some using std declarations.
12325 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12327 * box.h: make signed dimensions to allow insets wider than
12328 the screen (bug #162)
12330 * BufferView_pimpl.C: add some insetHit debug
12332 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12334 * vc-backend.C: add FIXME
12336 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12338 * lyxfunc.C (getStatus): enable code for showing math font status
12341 2002-01-07 Juergen Vigna <jug@sad.it>
12343 * text.C (nextBreakPoint): removed debug output not needed anymore.
12345 2002-01-06 Juergen Vigna <jug@sad.it>
12347 * text.C (nextBreakPoint): fixed up this function we had this bug
12348 since ever but now hopefully we break row better.
12349 (insertChar): we have to check if an inset is the next char as it
12350 could now happen that a large inset is causing a break.
12352 2002-01-05 Juergen Vigna <jug@sad.it>
12354 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12355 if it doesn't like to be drawed.
12357 2002-01-04 Juergen Vigna <jug@sad.it>
12359 * BufferView2.C (lockInset): forgot to set a cursor.
12361 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12363 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12365 * FormMathsPanel.C:
12368 * form_maths_panel.C:
12369 * form_maths_panel.h:
12370 * form_maths_panel.fd: implemented sub- and super- buttons in math
12373 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12374 (or ^ space) to be used as in TeX (req'd by André).
12376 * lyxfunc.C: Allow ^ and _ again to be used both as
12377 super/subscript (mathed) and as themselves (in text).
12379 2002-01-03 Allan Rae <rae@lyx.org>
12381 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12382 "LyX" or the filename of the current buffer if it has one. This is a
12383 modified form of John Levon's patch.
12385 * XFormsView.C (setWindowTitle): also set icon title.
12387 * LyXView.h (setWindowTitle): signature changed.
12388 * XFormsView.h (setWindowTitle): ditto.
12390 2002-01-02 Juergen Vigna <jug@sad.it>
12392 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12394 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12396 * screen.C (topCursorVisible): introduce a temp var for
12397 text->cursor.row(), handle the case where this row is null. (kindo
12400 * text2.C (setCursor): add a couple of asserts.
12402 * paragraph.h (inset_iterator): add -> operator
12404 * paragraph.[Ch] (autoDeleteInsets): remove member function
12406 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12407 cursor pos correctly and handle inset deletion by itself.
12408 (insertErrors): move iterator declaration out of for expression
12410 * lyxtextclass.C: add <algorithm>
12412 * Makefile.am: added the new files to sources, removed layout.C
12414 * layout.C: removed file
12416 * layout.h: remove LYX_DUMMY_LAYOUT
12418 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12422 * lyxtextclass.[Ch]:
12423 * lyxtextclasslist.[Ch]: new files
12425 * include order changes to a lot of files, also changes because of
12428 2001-12-27 Juergen Vigna <jug@sad.it>
12430 * buffer.C (asciiParagraph): more fixes.
12432 * tabular.C (ascii): make ascii export support export of only the
12433 data separated by a column-delimiter.
12434 (ascii): better support for ascii export.
12436 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12438 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12440 * tabular_funcs.C: use a "using std::getline" instead of the
12441 previous fix from Angus (necessary for cxx + lyxstring)
12443 2001-12-24 Juergen Vigna <jug@sad.it>
12445 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12447 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12448 problems. First check a minipage also if we have some ert-contents
12449 (not only on par->size(), second set the right depth of the paragraph
12450 on the relink to the root-paragraph-list!
12452 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12453 which then did not anymore update the main paragraphs on undo/redo!
12455 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12457 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12458 code. Support all font-changing funcs (even those which are not in
12459 menu currently). Support for reporting font settings in
12460 mathed (disabled until Andre provides a function on mathed's side).
12462 * func_status.h (toggle): small helper function to set toggle
12465 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12467 * tabular_funcs.C: getline -> std::getline
12469 2001-12-21 Juergen Vigna <jug@sad.it>
12471 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12472 accessed and could be 0 (I couldn't generate this but it seems
12475 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12477 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12478 * tabular_funcs.h: here and include iosfwd
12480 2001-12-20 Juergen Vigna <jug@sad.it>
12482 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12483 inside inset but undo_par was.
12485 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12487 * Thesaurus.C: always include <config.h> in sources.
12491 * box.h: do not include <config.h> in header files
12493 * text.C (paintLastRow): remove unused variable
12495 * text.C (transformChar):
12497 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12499 * Painter.C (text):
12500 * font.C (width): rewrite to use uppercase() instead of
12503 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12505 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12507 * lyxfind.C: clean up of find failure position change
12509 2001-12-20 Juergen Vigna <jug@sad.it>
12511 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12513 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12514 (TeXRow): added to LaTeX a single tabular row.
12515 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12516 (Latex): simplified and finally good LT-h/f support.
12517 (various_functions): just small adaptions for LT-h/f support.
12519 * tabular_funcs.[hC]: added and moved here all not classfunctions
12522 2001-12-19 Juergen Vigna <jug@sad.it>
12524 * tabular.[Ch]: better support for longtabular options (not finished
12527 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12529 * text.C (paintLastRow): use the label font instead of the font of
12530 the last character to compute the size of *_BOX. This makes more
12531 sense and avoids a crash with empty paragraphs.
12532 Use Painter::rectangle to draw EMPTY_BOX.
12534 2001-12-19 Juergen Vigna <jug@sad.it>
12536 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12537 the paragraphs if the replaced paragraph is not the first one!
12538 Tried to delete not used paragraphs but does not work yet so for
12539 now it's inside #ifdef's and by default off!
12541 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12543 * MenuBackend.C: include "lyx_main.h" instead of declaring
12544 lastfiles (actually was declared as LastFiles* instead of a
12547 2001-12-17 Juergen Vigna <jug@sad.it>
12549 * tabular.C (AppendColumn): applied John's fix
12551 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12555 * BufferView_pimpl.h:
12556 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12559 * box.h: new start of class for above
12561 * lyxfunc.C: ignore space-only minibuffer dispatches.
12562 Show the command name when it doesn't exist
12564 * minibuffer.C: don't add empty lines to the history
12566 * minibuffer.C: add a space on dropdown completion
12568 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12570 * text.C: fix line above/below drawing in insets
12572 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12574 * lyxlength.C (LyXLength): Initialize private variables.
12576 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12578 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12579 when inserting error insets.
12581 2001-12-13 Juergen Vigna <jug@sad.it>
12583 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12584 actually sometimes the before-paragraph.
12585 (setUndo): don't clear the redostack if we're not actually undoing!
12587 2001-12-06 Juergen Vigna <jug@sad.it>
12589 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12590 and fixed redoing of main paragraph, so we can use it now ;)
12592 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12594 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12596 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12599 2001-12-13 André Pönitz <poenitz@gmx.net>
12602 * undo_func.C: minor cleanup
12604 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12606 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12607 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12608 font in urw-fonts package which is marked as -urw-fontspecific and
12609 does not work (incidentally, changing the encoding in the
12610 fonts.dir of this package to -adobe-fontspecific fixes the
12613 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12614 is a crash when undoing first paragraph (Juergen, please take a
12615 look). THis does not mean the undo fix is wrong, just that it
12618 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12619 the (Paragraph*) version when needed instead of duplicating the
12622 * text.C (workWidth): use Inset::parOwner to find out where the
12623 inset has been inserted. This is a huge performance gain for large
12624 documents with lots of insets. If Inset::parOwner is not set, fall
12625 back on the brute force method
12627 * paragraph_pimpl.C (insertInset):
12628 * paragraph.C (Paragraph):
12629 (cutIntoMinibuffer): set parOwner of insets when
12630 inserting/removing them
12632 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12634 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12640 * mathed/formulabase.C:
12641 * mathed/math_cursor.[Ch]:
12642 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12645 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12647 * lyxlength.[Ch] (operator!=): new function
12649 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12651 * text.C (workWidth): use Inset::parOwner to find out where the
12652 inset has been inserted. This is a huge performance gain for large
12653 documents with lots of insets. If Inset::parOwner is not set, fall
12654 back on the brute force method
12656 * paragraph_pimpl.C (insertInset):
12657 * paragraph.C (Paragraph):
12658 (cutIntoMinibuffer): set parOwner of insets when
12659 inserting/removing them
12661 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12663 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12665 * tabular-old.C (getTokenValue):
12666 * tabular.C (getTokenValue):
12667 (write_attribute): new versions for LyXLength
12668 (everywhere): adjust the use of widths
12670 * tabular.h: change the type of widths from string to LyXLength
12672 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12674 * paragraph.C: fixed missing line number count when exporting
12675 Environments to LaTeX file
12677 * buffer.C: added informational message for checking line numbers.
12679 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12681 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12682 paragraph, do the 'double space' part, but not the 'empty
12685 * text.C (workWidth): small optimization
12686 (getLengthMarkerHeight): use minimal size for negative lengths.
12688 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12690 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12692 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12694 2001-12-11 André Pönitz <poenitz@gmx.net>
12697 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12699 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12701 * text2.C: keep selection on a setFont()
12703 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12705 * lyx_cb.C: another bv->text misuse, from insert label
12707 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12710 * kbsequence.C: re-instate nmodifier mask
12712 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12714 * lyx_main.h: make lyxGUI private.
12716 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12718 * lyxfind.C: place the cursor correctly on failed search
12720 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12722 * text.C (getLengthMarkerHeight): for small heights, the arrows
12723 are not always on top/bottom of the text
12724 (drawLengthMarker): smaller arrows; take the left margin in
12725 account; draw also vfills.
12727 (paintLastRow): remove special code for vfill and standard spaces,
12728 since everything is handled in drawLengthMarker now.
12730 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12732 * buffer.C (insertErtContents): try to handle font and language
12733 interaction a bit better.g
12735 * ColorHandler.C (updateColor): change the hash to cover the whole
12736 LColor enum, ws cleanup
12737 (getGCLinepars): ditto
12738 (getGCLinepars): only lookup in the linecache once.
12740 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12742 * iterators.C (operator++): Make the iterator more robust
12744 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12746 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12748 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12751 * text.C: better added space drawing
12753 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12756 * BufferView2.C: fix layout combo update on inset unlock
12758 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12760 * Makefile.am: don't compile unused files
12762 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12766 * LyXAction.C: remove old LFUN_LAYOUTNO
12768 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12770 * paragraph_pimpl.h:
12771 * paragraph_pimpl.C: isTextAt() doesn't need font param
12773 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12776 * lyxlex.C: little cleanup
12778 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12780 * BufferView_pimpl.C: fix insertAscii for insets
12782 2001-12-05 Juergen Vigna <jug@sad.it>
12784 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12785 set the right font on the "multi" paragraph paste!
12787 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12793 * lyxlength.C: remove out-commented code.
12795 * BufferView_pimpl:
12809 * vc-backend.C: change "while(" to "while ("
12811 * lyxlength.[Ch]: add zero function to check if length is zero or
12813 * lyxgluelength.C: use it
12815 2001-12-05 Allan Rae <rae@lyx.org>
12817 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12818 Works for 2.95.3, from what I understand of Garst's reports this should
12819 work for other g++ versions. We're screwed if the abs(int) definition
12820 changed between bugfix releases of gcc.
12822 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12824 * text.C: fix chapter label offset !
12826 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12829 * text.C: fix hfill at end of line, clean up
12831 2001-12-04 Juergen Vigna <jug@sad.it>
12833 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12834 that we force an update of the inset and it's owners if neccessary.
12836 2001-12-03 Juergen Vigna <jug@sad.it>
12838 * text.C (rowLast): simplified code
12840 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12842 * lyxfunc.C: fix show options on timeout
12844 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12846 * screen.C (topCursorVisible): scroll half a page when the cursor
12847 reached top of bottom of screen
12849 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12851 * minibuffer.C: deactivate on loss of focus
12853 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12855 * vspace.[Ch] (operator!=): add operator.
12857 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12859 * BufferView_pimpl.C: refuse to open an inset when
12860 there's a selection.
12862 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12864 * BufferView_pimpl.C: allow to click on RHS of full row insets
12866 2001-11-30 Juergen Vigna <jug@sad.it>
12868 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12869 insets for undo reasons.
12871 2001-11-28 André Pönitz <poenitz@gmx.net>
12873 * vspace.[Ch]: cosmetical changes
12875 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12885 * kbsequence.C: part re-write of old kb code
12888 * WorkArea.C: remove Lgb_bug_find_hack
12890 2001-11-30 José Matos <jamatos@fep.up.pt>
12892 * buffer.C (makeDocBookFile): add a comment to point a hack.
12893 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12894 Fixed a double write of labels.
12896 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12899 * LaTeX.h Fixed bug in LaTeX class where it would not
12900 re-run latex if no depfiles were changed, but the .dvi was removed.
12902 2001-11-28 André Pönitz <poenitz@gmx.net>
12904 * all the files from the change on 2001/11/26:
12905 use lyx::layout_type instead of LyXTextClass::size_type
12906 use lyx::textclass_type instead of LyXTextClassList::size_type
12908 2001-11-29 Juergen Vigna <jug@sad.it>
12910 * text.C: added support for paragraph::isFreeSpacing()
12912 * buffer.C: same as above
12914 * paragraph.h: inserted isFreeSpacing() function to enable
12915 FreeSpacing inside InsetERT.
12917 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12918 of the paragraph's in the cut/copy buffer to 0!
12920 * text2.C (removeRow): remove the assert as it can!
12922 * lyxtext.h: added helper function firstRow returning firstrow and
12923 made firstrow private again.
12925 * BufferView2.C (lockInset): don't relock if we're already locked!
12927 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12928 the only paragraph.
12929 (removeRow): added Assert::(firstrow)
12931 * debug.C: forgot to add INSETTEXT here.
12933 2001-11-28 Juergen Vigna <jug@sad.it>
12935 * sp_spell.C (initialize): changed error text to more general
12936 spellchecker command use (not only ispell!)
12938 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12940 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12942 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12944 * vspace.C: initialise lyxgluelength on failure
12946 2001-11-28 Allan Rae <rae@lyx.org>
12948 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12949 declaration & definition that looks like a function declaration.
12951 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12953 * BufferView2.C (copy):
12954 (copyEnvironment): do not clear the selection when doing a copy.
12956 * text.C (paintFirstRow): compilation fix
12958 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12960 * tabular.C (Latex): correct line count when writing latex.
12962 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12964 * paragraph_pimpl.h:
12965 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12968 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12972 * LColor.C: change vfillline->added_space
12974 * text.C: add markers and text for added space
12976 * vspace.C: fix comment
12978 2001-11-28 André Pönitz <poenitz@gmx.net>
12980 * paragraph.C: whitespace changes
12981 * all the other files from the change on 2001/11/26:
12982 change *::pos_type into lyx::pos_type
12984 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12986 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12987 language of the document when inserting error insets.
12989 2001-11-26 André Pönitz <poenitz@gmx.net>
12991 * BufferView_pimpl.[Ch]:
12999 * paragraph_pimpl.[Ch]:
13002 * text2.C: reduce header dependencies, introduce type for positions
13004 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13006 * <various>: change to use Alert.h
13008 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13010 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13011 when encountering an unknown token.
13012 (readLyXformat2): Show an error message if there were unknown tokens.
13014 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13017 * BufferView_pimpl.C:
13021 * text2.C: use par->isInset()
13023 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13025 * paragraph_pimpl.h:
13026 * paragraph_pimpl.C: cleanup
13028 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13030 * text2.C (removeRow):
13031 * text.C (setHeightOfRow): remove useless (and costly) call to
13034 2001-11-20 Allan Rae <rae@lyx.org>
13036 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13037 Now need Inset*::checkInsertChar() to return true for appropriate
13038 cases so that the characters in the minibuffer will actually be
13041 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13043 * text.C: change the order of the includes.
13044 (workWidth): initialize it at once.
13045 (workWidth): make maxw unsigned
13046 (setHeightOfRow): remove unused variable (inset)
13047 (selectSelectedWord): remove unused variable (inset)
13048 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13050 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13052 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13053 server is not running.
13055 (closeConnection): add debug info when server is disabled.
13057 * ColorHandler.C (getGCForeground): send debug message to GUI
13060 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13062 * kbmap.C (bind): modify because return conventions of
13063 kb_sequence::parse have changed.
13065 * kbsequence.C (parse): only ignore spaces and not any stupid
13066 control character. This avoids tests like s[i] <= ' ', which are
13067 guaranteed to fail with 8bit characters and signed chars.
13068 Change return code to string::npos when there have been no error
13069 (0 was a bad idea when error is at first character)
13071 2001-11-14 José Matos <jamatos@fep.up.pt>
13074 * buffer.C (simpleDocBookOnePar): removed unused argument.
13076 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13078 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13079 insets which are part of a word. Paragraph::isLetter takes care of
13080 that now. Use Paragraph::isInset to identify insets.
13081 (selectSelectedWord): do not test for hyphenation break.
13083 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13084 that protected spaces are considered as spaces.
13086 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13089 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13092 * lyxserver.C: fix it. and small cleanup.
13094 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13096 * BufferView_pimpl.C: use inline helpers
13099 * LaTeXFeatures.C: fix typos
13102 * Spacing.C: move spacing_string into class
13104 * ToolbarDefaults.C: move stuff into namespace anon
13106 * layout.h: update enum
13108 * lyxfunc.C: use better debug
13110 * minibuffer.h: fix typo
13114 * WorkArea.C: add and use Debug::WORKAREA
13118 * text2.C: code re-organisation, inline helpers
13120 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13122 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13123 std::vector.empty().
13125 2001-11-09 Allan Rae <rae@lyx.org>
13127 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13128 '\n's after tables. Tabular and ERT inset work now makes this no
13131 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13134 * minibuffer.C: fix crash, improve drop-down completion
13136 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13139 * lyxserver.C: invalidate fd's when doing endPipe()
13141 2001-11-08 José Matos <jamatos@fep.up.pt>
13143 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13144 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13147 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13149 2001-11-07 José Matos <jamatos@fep.up.pt>
13152 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13155 * buffer.C (sgmlOpenTag):
13156 * buffer.C (sgmlCloseTag): removed debug info.
13158 * buffer.h (sgmlOpenTag):
13159 * buffer.h (sgmlCloseTag): made public.
13161 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13163 * buffer.C (saveParamsAsDefaults):
13164 * lyx_cb.C (MenuLayoutSave): remove
13166 * LyXAction.C (init):
13168 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13170 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13172 * buffer.C (setPaperStuff): removed from here...
13174 * bufferparams.C (setPaperStuff): ... and moved there.
13176 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13180 * XFormsView.C: add support for drop-down completion
13182 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13184 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13187 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13189 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13192 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13194 * lyx_main.C: change ref to known bugs
13196 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13198 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13199 to work around older babel problems.
13201 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13203 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13205 2001-10-24 Juergen Vigna <jug@sad.it>
13207 * tabular-old.C (ReadOld): below variable changes reflected.
13209 * tabular.[Ch]: added ltType struct for longtable header/footer
13210 defines and changed all instances where they are used. Added
13211 future support for double top/bottom rows.
13213 2001-10-24 José Matos <jamatos@fep.up.pt>
13215 * buffer.h (docbookHandleCaption):
13216 * buffer.C (docbookHandleCaption): removed unused function.
13217 (makeDocBookFile): moved docbook supported version to v4.1.
13219 2001-10-24 José Matos <jamatos@fep.up.pt>
13222 * tabular.C (docbookRow): new function to export docbook code of a row.
13223 (DocBook): now honors the longtable flags.
13225 2001-10-23 José Matos <jamatos@fep.up.pt>
13228 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13229 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13231 * buffer.C (makeLinuxDocFile):
13232 (makeDocBookFile): reworked the preamble, more clean, and with
13233 support for lyx defined entities. Changed the document declaration
13234 to be more XML friendly.
13236 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13237 if we need to output XML that should be done with a filter.
13239 2001-10-22 Juergen Vigna <jug@sad.it>
13241 * sp_pspell.h (class PSpell): add alive function needed in the
13242 controller to see if the spellchecker could be started.
13244 2001-10-22 Juergen Vigna <jug@sad.it>
13246 * buffer.C (insertStringAsLines): modify the font for inserting
13247 chars in certain conditions by calling checkInsertChar(font).
13249 2001-10-19 Juergen Vigna <jug@sad.it>
13251 * text.C (workWidth): use getRow instead of wrong algorithm.
13252 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13254 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13259 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13261 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13263 * text.C (workWidth): do not search for the exact row when
13264 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13265 optimization for big documents.
13267 2001-10-18 Juergen Vigna <jug@sad.it>
13269 * text.C (workWidth): new function with added Inset * parameter.
13271 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13273 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13275 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13276 change return type of getColumnNearX.
13279 * text.C (changeRegionCase): use uppercase/lowercase instead of
13282 (rightMargin): simplify code by factoring out the uses of
13287 (appendParagraph): use Paragraph::size_type
13289 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13291 * vspace.C (asLatexString): add a missing break
13293 2001-10-15 Herbert Voss <voss@perce.de>
13295 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13297 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13299 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13302 2001-10-10 André Pönitz <poenitz@gmx.net>
13304 * lyxfunc.C: removed greek_kb_flag.
13306 2001-10-10 Herbert Voss <voss@perce.de>
13308 * lyx_main.C: delete global string help_lyxdir.
13310 2001-10-09 Herbert Voss <voss@perce.de>
13312 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13314 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13316 * lyx_main.C: added global string help_lyxdir.
13318 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13320 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13322 * lyxrc.C (set_font_norm_type): support iso8859-4
13324 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13326 * LaTeX.C (deplog): add another regex for MikTeX
13328 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13330 * lyxrc.C (set_font_norm_type): support iso8859-3
13332 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13334 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13336 * LaTeXFeatures.C: remove special case of french and index
13338 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13339 before \begin{document}). This solves several incompatibilities.
13341 2001-10-03 Garst Reese <reese@isn.net>
13343 * lyx_cb.C: change CheckTex error msg.
13345 2001-10-03 José Matos <jamatos@fep.up.pt>
13347 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13349 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13351 * .cvsignore: update
13353 * lyx_main.C (commandLineVersionInfo): use new style version info.
13355 * buffer.C (writeFile):
13357 (makeLinuxDocFile):
13358 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13360 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13362 * version.h: update to use stuff in version.C
13364 * version.C.in: new file. Contains version information determined
13365 at compile time. This is a merging of version.h and
13368 2001-10-03 Juergen Vigna <jug@sad.it>
13370 * BufferView_pimpl.C (update): don't change "dirty" status in
13373 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13375 * WorkArea.C (c-tor): re-position version string slightly.
13377 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13379 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13380 revert to previous code.
13382 WorkArea.[Ch]: (show, destroySplash): methods removed.
13384 WorkArea.C: rework code so that it's an amalgam of the codes before and
13385 after the splash screen was moved to WorkArea.
13387 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13390 * vspace.C (inPixels):
13393 * buffer.C (insertStringAsLines):
13394 (asciiParagraph): fix types to be large enough
13396 * lyxlex_pimpl.h: change member status from short to int
13398 * layout.h: fix type of endlabeltype
13401 * kbsequence.C (parse): change return type to string::size_type
13403 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13406 * Bullet.C (bulletSize):
13407 (bulletEntry): do not use short ints as parameters
13409 * BufferView2.C (insertLyXFile): change a char to an int.
13411 * WorkArea.C (WorkArea): remove unneeded floats in computation
13413 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13415 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13417 * paragraph.C (asString): Do not ignore newline/hfill chars when
13418 copying to the clipboard.
13420 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13422 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13423 after a multi-line inset.
13425 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13427 * paragraph.C (validate): Set NeedLyXFootnoteCode
13429 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13431 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13432 and decrease-error to decrease.
13434 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13436 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13437 it more readable (should be equivalent)
13439 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13441 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13443 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13445 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13446 of a cursor (row, etc.) after a character has been deleted
13447 (deleteEmptyParagraphMechanism): call the method above on _all_
13448 cursors held by the LyXText when a double space has been
13451 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13453 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13455 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13457 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13458 background. Use greyOut() and the new show() methods to toggle between
13459 the foreground and background. Add code to remove the splash after
13460 its initial showing.
13462 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13463 (create_forms): no longer call Dialogs::showSplash.
13465 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13467 * .cvsignore: add version_info.h
13469 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13471 * version_info.h.in: new file
13473 * Makefile.am: add version_info.h.in
13475 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13476 version_info.h instead of VERSION_INFO
13478 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13480 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13481 The ERT inset now returns string().
13483 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13485 * lyxtext.h, text.C (selectNextWord): renamed as
13486 selectNextWordToSpellcheck.
13488 * text.C (selectNextWordToSpellcheck): Modified to not select
13489 words inside an ERT inset.
13491 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13493 * lyx_cb.C (MenuLayoutSave): change a bit the question
13495 * sp_base.h: include <sys/types.h>
13497 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13499 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13501 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13503 * several files: fix typos in user-visible strings
13505 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13507 * text2.C (pasteSelection): do not set the selection, since it
13508 will be cleared later. Actually, the intent was to fix the way the
13509 selection was set, but I figured rmoving the code was just as good.
13511 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13513 * FontLoader.C (available): Check if font is available without
13516 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13518 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13520 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13522 * lyxrc.[Ch]: added display_graphics variable and associated code.
13524 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13526 * bufferparams.C (hasClassDefaults): new method. Returns true if
13527 the buffer parameters correspond to known class defaults
13529 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13531 * XFormsView.C (show): set minimum size to the main window.
13533 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13535 * text2.C (copySelection):
13537 * lyxfind.C (LyXReplace):
13538 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13539 LyXText::selectionAsString.
13541 * paragraph.C (asString): add "label" argument to the second form
13543 * text2.C (selectionAsString): add "label" argument and pass it to
13544 Paragraph::asString.
13546 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13548 * lyx_main.C (commandLineHelp): remove version information
13550 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13552 * lyx_main.C: add -version commandline option
13554 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13556 * paragraph.h: make the optional constructor arg required instead.
13557 some modifications to other files because of this.
13559 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13561 * lyxserver.C (C_LyXComm_callback): make it static
13563 * lyx_main.C (error_handler): make it static
13565 * lyx_gui.C (LyX_XErrHandler): make it static
13567 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13569 * WorkArea.C: make the extern "C" methods static.
13571 * Makefile.am (lyx_LDADD): simplify
13573 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13575 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13576 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13578 * LyXAction.C (init):
13579 * lyxfunc.C (dispatch): associated code removal.
13581 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13583 * lyxfont.h (isSymbolFont): shut off warning
13585 * text.C (setHeightOfRow):
13586 (getVisibleRow): fix crash with empty paragraphs which have a
13589 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13591 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13594 2001-09-04 José Matos <jamatos@fep.up.pt>
13597 * tabular.C (docbook): rename docBook method to docbook.
13599 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13601 * Makefile.am: add dependencies to main.o.
13603 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13605 * FontLoader.C (available): Return false if !lyxrc.use_gui
13607 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13609 * FontInfo.C (query):
13610 * converter.C (view):
13611 * importer.C (Import):
13612 * exporter.C (Export): Can not -> cannot.
13614 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13616 * BufferView_pimpl.C: allow to create index inset even if
13619 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13621 * buffer.C (getLists): replace boost::tie code with an explicit pair
13622 as boost::tie can break some compilers.
13624 * iterators.h: Added a std:: declaration to the return type of
13627 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13629 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13632 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13634 * iterators.[Ch]: New files. Provide paragraph iterators.
13636 * buffer.C (changeLanguage): Use paragraph iterators.
13637 (isMultiLingual): ditto
13639 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13641 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13643 * FontLoader.C: Support for cmr font.
13645 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13647 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13648 (available): New method.
13650 * FontInfo.C (getFontname): Use scalable fonts even when
13651 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13654 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13656 * converter.C (Formats::view): reverted! Incorrect fix.
13658 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13660 * converter.C (Formats::view): only output the -paper option
13661 if the dvi viewer is xdvi, thereby fixing bug #233429.
13663 2001-08-23 Herbert Voss <voss@perce>
13665 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13667 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13669 * Spacing.h (Spacing): Set space to Default on in the default
13672 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13674 * vc-backend.h (RCS::versionString): add RCS to version
13675 (CVS::versionString): add CVS to version
13677 * vc-backend.C (scanMaster): do not add CVS to version.
13678 (scanMaster): do not add RCS to version
13680 * lyxvc.C (versionString): new method
13682 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13684 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13686 * Spacing.C (set): initialize fval
13688 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13690 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13693 2001-08-16 Juergen Vigna <jug@sad.it>
13695 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13697 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13699 * BufferView_pimpl.C:
13702 * text2.C: setParagraph takes linespacing now
13704 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13706 * LyxAction.C: add internal LFUN_CITATION_INSERT
13708 * LyXView.C: actually apply fix
13710 * bufferlist.C: fix open non-existent file
13712 * lyxfind.C: fix indentation
13714 * lyxfunc.C: remove unneeded assert, fix typo
13716 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13718 * MenuBackend.C: use "Floatname List"
13720 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13722 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13723 when converting LaTeX layout to insetERT.
13724 Generate a non-collapsed float when reading old float
13726 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13728 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13731 2001-08-13 Juergen Vigna <jug@sad.it>
13733 * text.C (fill): return 0 instead of 20 as this seems to be the more
13736 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13738 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13741 2001-08-13 Juergen Vigna <jug@sad.it>
13743 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13745 (SearchBackward): comment out the unlocking of the inset_owner this
13746 should not be needed!
13748 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13750 * Many files: Remove inherit_language, and add latex_language
13752 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13753 collapsible insets.
13755 2001-08-10 Juergen Vigna <jug@sad.it>
13757 * text.C (prepareToPrint): fixed hfill-width in draw!
13759 * BufferView2.C (selectLastWord): save the selection cursor as this
13760 now is cleared in the function LyXText::clearSelection!
13762 2001-08-08 Juergen Vigna <jug@sad.it>
13764 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13765 BACKSPACE type functions.
13767 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13768 is only cutted from the document but not put in the cut-buffer, where
13769 still the old stuff should be.
13771 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13773 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13775 * tabular.C (SetWidthOfCell): fixed special case where the width
13777 (LeftLine): handle '|' in align_special.
13779 (LeftAlreadyDrawed): ditto
13780 (SetWidthOfCell): ditto
13782 2001-08-07 Juergen Vigna <jug@sad.it>
13784 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13786 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13788 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13789 * lyxlex.[hC]: ditto
13791 2001-08-06 Juergen Vigna <jug@sad.it>
13793 * text.C (getVisibleRow): fix up row clearing a bit.
13795 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13797 * minibuffer.C: make sure the X server sees the changes in the input.
13799 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13801 * paragraph.C (getFont): split into...
13802 (getLabelFont): this
13803 (getLayoutFont): and this
13804 * paragraph_pimpl.C (realizeFont): calling this
13806 * text2.C (getFont): split into...
13807 (getLayoutFont): this
13808 (getLabelFont): and this
13809 (realizeFont): all three calling this
13811 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13814 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13816 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13818 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13820 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13821 layouts from the Quote inset insertion.
13823 2001-08-03 Juergen Vigna <jug@sad.it>
13825 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13827 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13828 only if status not is already CHANGED_IN_DRAW (second level).
13830 * text.C (draw): don't set the need_break_row when inside an
13833 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13835 * buffer.C (parseSingleLyXformat2Token): handle more latex
13838 * bufferview_funcs.[hC]: change function names to
13839 begin with small char, adjust other files.
13841 2001-08-02 André Pönitz <poenitz@gmx.net>
13844 BufferView_pimpl.C: remove broken special code for math-greek
13846 2001-08-02 Juergen Vigna <jug@sad.it>
13848 * BufferView_pimpl.C (update): redone this function so that we
13849 update the text again if there was a CHANGE_IN_DRAW.
13851 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13852 (drawFromTo): added a new internal bool which is used by draw() and
13854 (general): some cursor drawing problems fixed.
13856 2001-08-01 Juergen Vigna <jug@sad.it>
13858 * lyxfind.C (LyXFind): fixed
13859 (SearchForward): ditto
13860 (SearchBackward): ditto
13862 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13863 spurius drawing of the cursor in the main area.
13865 * text2.C (status): small fix which could lead to a segfault!
13866 (clearSelection): remove unneeded BufferView param.
13868 2001-08-01 André Pönitz <poenitz@gmx.net>
13870 * lyxfunc.C: small change due to changed mathed interface
13872 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13874 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13876 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13878 * lyxfunc.c: fail gracefully if file doesn't exist
13883 * BufferView_pimpl.C: IsDirWriteable() proto changed
13885 * LyXView.C: fix updateWindowTitle() to store the last title
13887 2001-07-31 Juergen Vigna <jug@sad.it>
13889 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13890 the font (wrong since using of Paragraph::highestFontInRange).
13892 * paragraph.C (highestFontInRange): added a default_size parameter.
13894 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13895 (setHeightOfRow): reformat
13897 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13899 * converter.[hC] + affected files: move to (inital-char)lowercase
13902 * ParagraphParameters.C (ParagraphParameters): remove commented code
13904 * PainterBase.[Ch]: remove commented code
13906 * LaTeXFeatures.h: add "bool floats" for float.sty
13908 * LaTeXFeatures.C (LaTeXFeatures): init floats
13909 (require): handle float
13910 (getPackages): do it with floats
13912 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13914 * BufferView_pimpl.C (Dispatch): improve handling of
13915 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13917 * commandtags.h: #include lyxfont.h here temporarily to avoid
13920 * bufferlist.h: include LString.h here.
13922 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13924 * text2.C (getStringToIndex): new method.
13926 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13928 * *: Reduced header file dependencies all over.
13930 2001-07-30 Baruch Even <baruch@lyx.org>
13932 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13934 2001-07-29 Baruch Even <baruch@lyx.org>
13936 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13938 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13940 * ParameterStruct.h (endif): add a default constructor to make
13941 sure that all variables is initialized.
13943 * ParagraphParameters.C (ParagraphParameters): adjust
13945 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13947 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13948 index; also, check that there is something to index, and that it
13949 does not span over several paragraphs.
13950 (doubleClick): use WHOLE_WORD_STRICT for double click.
13952 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13954 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13957 2001-07-26 Baruch Even <baruch@lyx.org>
13959 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13960 an InsetFig figure, backwards compatible reading of old figure code.
13962 2001-07-27 Juergen Vigna <jug@sad.it>
13964 * text2.C: font.realize function adaption.
13966 * text.C (draw): add a warnings lyxerr text if needed.
13968 * layout.C: font.realize function adaption.
13970 * language.C: add inherit_language and implement it's handlings
13972 * bufferview_funcs.C (StyleReset): remove language parameter from
13973 font creation (should be language_inherit now).
13975 * bufferparams.C (writeFile): handle ignore_language.
13977 * paragraph.C (getFontSettings): the language has to be resolved
13978 otherwise we have problems in LyXFont!
13980 * lyxfont.C (lyxWriteChanges): added document_language parameter
13981 (update): removed unneeded language parameter
13983 * paragraph.C (validate): fixed wrong output of color-package when
13984 using interface colors for certain fonts in certain environments,
13985 which should not seen as that on the final output.
13987 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13989 * BufferView_pimpl.C:
13994 * LyXAction.C: add thesaurus support
13997 * lyxfind.C: add "once" parameter, for thesaurus, to not
13998 move to the next match
14000 2001-07-26 Juergen Vigna <jug@sad.it>
14002 * lyxfont.C (realize): honor ignore_language too!
14005 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14007 * text.C (draw): one place more for ignore_language to not draw
14010 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14012 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14014 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14016 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14017 the minipage conversion problem.
14019 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14021 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14024 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14026 * BufferView.h: don't forward declare WorkArea
14028 * BufferView.C: don't include WorkArea.h
14030 2001-07-25 André Pönitz <poenitz@gmx.net>
14034 * lyxfunc.C: new LFUN 'math-space'
14036 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14038 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14040 * text2.C (toggleInset): call open/close
14042 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14044 * lyxfunc.C (dispatch): add debug for the disabled case
14046 * font.C (buttonText): make similar to rectText
14048 * buffer.C (readInset): comment out parsing of insetlist and
14051 * PainterBase.C (rectText): small correction
14053 * BufferView_pimpl.C: comment out insettheorem and insetlist
14054 * LyXAction.C: ditto
14055 * commandtags.h: ditto
14057 2001-07-24 Juergen Vigna <jug@sad.it>
14059 * text.C (draw): honor the ignore_language.
14061 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14063 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14065 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14068 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14070 * lyxtext.h: remove unused (and unimplemented) methods
14072 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14074 * text.C (getVisibleRow): honor background color
14077 * Painter.h: remove default color argument for fillRectangle
14079 * text.C (backgroundColor): new method
14081 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14083 * text.C (getVisibleRow): adjust
14085 * font.[Ch] (rectText): new method, metrics
14086 (buttonText): new method, metrics
14088 * PainterBase.[hC]: make rectText and buttonText always draw and take
14091 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14093 * ToolbarDefaults.C (read):
14094 * MenuBackend.C (read): allow escaping in all strings
14096 * BufferView_pimpl.C (insertAndEditInset): new method.
14097 (Dispatch): use insertAndEditInset whenever appropriate.
14099 * BufferView_pimpl.C (insertNote): removed
14101 * BufferView_pimpl.C (smartQuote): new method, moved from
14102 BufferView; if an insetquote cannot be inserted, insert a '"'
14105 * BufferView2.C: remove insertCorrectQuote();
14107 * lyxfunc.C (getStatus): Add support for all remaingin
14108 inset-insert lfuns.
14110 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14112 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14113 command (necessary to pass " as parameter of self-insert.
14115 * text.C (selectWordWhenUnderCursor):
14116 (selectWord): add word_location parameter
14117 (selectWordWhenUnderCursor): same + remove special code for word
14119 (selectNextWord): use kind() to guess type of insetspecialchar,
14122 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14123 (insertErtContents): create ert insets as collapsed.
14124 (readInset): better compatibility code for Info inset.
14126 2001-07-20 Juergen Vigna <jug@sad.it>
14128 * lyxfunc.C (dispatch): use always LyXFind now!
14130 * text2.C (init): add a reinit flag so that the LyXText can be
14131 reinited instead of deleted and reallocated (used in InsetText).
14133 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14139 2001-07-18 Juergen Vigna <jug@sad.it>
14141 * text.C (selectNextWord): handle insets inside inset by calling
14142 always the bv->text functions so that we can go up the_locking_inset!
14144 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14145 in strange locations when inside an inset!
14147 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14148 handling to include insets.
14150 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14152 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14154 * LyXAction.C (init):
14156 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14157 LIGATURE_BREAK, since the name is so stupid.
14159 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14161 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14164 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14166 * sp_form.[Ch]: remove.
14168 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14170 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14173 * src/buffer.C (readInset): ditto.
14175 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14177 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14178 menuSeparator(), endOfSentenceDot(), ldots() and
14179 hyphenationPoint(), which are therefore removed.
14180 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14182 * LyXAction.C (init):
14183 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14185 * paragraph.C (getWord): removed.
14187 * BufferView_pimpl.C (Dispatch): use last word or selection for
14188 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14190 * lyx_main.C (queryUserLyXDir): do not ask before creating
14191 user_dir, except if it has been named explicitely.
14193 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14195 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14196 a document of zero size.
14198 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14200 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14201 approriately in the c-tor and in require().
14202 (getPackages): output the appropriate LaTeX for natbib support.
14204 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14205 variables "use_natbib" and "use_numerical_citations" when reading the
14207 (readInset): read the various natbib cite commands.
14208 (validate): white-space change.
14210 * bufferparams.[Ch]: new variables "bool use_natbib" and
14211 "bool use_numerical_citations".
14212 (writeFile): output them in the LyX file.
14214 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14216 * lyxfunc.C (getStatus): add support for all the inset insertion
14219 * text2.C (insertInset):
14220 * paragraph.C (insetAllowed):
14221 * BufferView_pimpl.C (insertInset): update to take in account the
14222 renaming of insertInsetAllowed
14224 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14226 * text2.C (getInset): new method. returns inset at cursor position.
14228 * BufferView_pimpl.C (Dispatch): changes because of this.
14230 * LyXAction.C (init): rename open-stuff to inset-toggle.
14232 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14234 * text2.C (toggleInset): renamed from openStuff; use
14237 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14239 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14241 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14243 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14245 * buffer.C (readLyXformat2): Add filename to the error dialog
14247 2001-07-18 Juergen Vigna <jug@sad.it>
14249 * tabular.C (GetCellNumber): put an assert here instead of the check!
14251 2001-07-17 Juergen Vigna <jug@sad.it>
14253 * BufferView_pimpl.C (toggleSelection): adapted too.
14255 * text.C (selectNextWord): adapted for use with insets.
14256 (selectSelectedWord): ditto
14258 2001-07-17 Juergen Vigna <jug@sad.it>
14260 * sp_spell.C (PSpell): fix initialitation order.
14262 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14264 * paragraph.C: spacing
14266 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14268 * sp_spell.C: repair language selection for pspell
14270 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14272 * lyxfunc.h: change more methods to begin with lower char.
14274 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14276 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14277 for unknown layouts.
14279 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14281 * buffer.C (readLyXformat2): Generate an error dialog if there are
14284 2001-07-16 Juergen Vigna <jug@sad.it>
14286 * sp_spell.C: always compile ISpell part.
14288 * lyxrc.C: added use_pspell entry and it's handling.
14290 2001-07-13 Juergen Vigna <jug@sad.it>
14292 * sp_spell.C: removed double includes.
14294 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14296 Consistent use of Lsstream.h:
14297 * Lsstream.h: added using std::stringstream for consistencies sake.
14299 * buffer.C: removed using std::stringstream
14301 * lyxfont.C (stateText):
14302 * paragraph.C (asString):
14303 * text.C (selectNextWord, selectSelectedWord):
14304 * text2.C (setCounter):
14305 * vspace.C (asString, asLatexString):
14306 std::ostringstream -> ostringstream.
14308 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14310 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14311 * commandtags.h: add LFUN_HELP_ABOUTLYX
14312 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14314 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14316 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14318 * lyx_gui_misc.C: remove spellchecker
14319 * lyxfunc.C: showSpellchecker
14321 * sp_ispell.h: added
14322 * sp_pspell.h: added
14323 * sp_spell.C: added
14324 * sp_form.[Ch]: removed
14325 * spellchecker.[Ch]: removed
14327 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14329 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14331 (simpleTeXSpecialChars): Simply print the input character without
14332 any special translation if pass_thru is set.
14334 * layout.h: Added bool pass_thru to layout class for being able to
14335 implement pass through of a paragraph for Literate Programming.
14337 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14338 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14339 * layout.C (Read): add "passthru" to list of layout tags and add
14340 code to set the pass_thru boolean when it is read.
14342 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14344 * trans_decl.h: remove allowed from KmodInfo
14346 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14347 remove allowed code
14350 * paragraph_pimpl.C (erase): use boost::prior
14352 * Painter.C (text): use data() instead of c_str() when length is
14354 * WorkArea.C (putClipboard): ditto
14355 * font.h (width): ditto
14357 * BufferView2.C: use it-> instead of (*it). for iterators
14359 * paragraph_pimpl.C: ditto
14360 * paragraph.C: ditto
14361 * minibuffer.C: ditto
14362 * language.C: ditto
14364 * encoding.C: ditto
14365 * counters.C: ditto
14366 * converter.C: ditto
14368 * Variables.C: ditto
14369 * TextCache.C: ditto
14370 * MenuBackend.C: ditto
14371 * LyXAction.C: ditto
14373 * FloatList.C: ditto
14374 * DepTable.C: ditto
14375 * ColorHandler.C (LyXColorHandler): ditto
14377 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14379 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14381 * text2.C (openStuff): reintroduce this method (which had been
14382 nuked in NEW_INSETS frenzy).
14384 * lyxfunc.C (Dispatch): when an action has not been handled, use
14385 its name in the error message, not its number.
14387 * paragraph.C (inInset): change method name to begin with lowercase.
14390 * text2.C: updates because of this.
14392 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14394 * ToolbarDefaults.C (add): add spaces in error message
14396 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14398 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14399 (readLyXformat2): rename return_par to first_par, use lyxlex's
14400 pushToken and remove the manual push handling.
14401 (parseSingleLyXformat2Token): add another ert comp. variable:
14402 in_tabular, rename return_par to first_par. handle newlines better
14404 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14406 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14408 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14410 * text2.C (getParFromID): removed
14412 * buffer.C (getParFromID): new method moved form lyxtext.
14413 * BufferView2.C (insertErrors): adjust
14414 (setCursorFromRow): adjust
14415 * BufferView_pimpl.C (restorePosition): adjust
14416 * lyxfunc.C (Dispatch): adjust
14417 * undo_funcs.C (textUndo): adjust
14419 (textHandleUndo): adjust
14420 (textHandleUndo): adjust
14422 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14424 * buffer.C: up' the LYX_FORMAT
14426 * lyxfont.h: turn NO_LATEX on as default
14428 * buffer.C (insertErtContents): new methods of tex style compability.
14429 (parseSingleLyXformat2Token): use it several places.
14430 * tabular.C (OldFormatRead): and here
14432 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14434 * text2.C: remove some commented code.
14437 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14438 * trans.C: changes because of the above.
14440 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14442 * text2.C (setCounter): Fix counters bug with bibliography layout.
14444 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14446 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14447 own member functions
14448 (simpleTeXSpecialChars): ditto
14450 2001-07-06 Juergen Vigna <jug@sad.it>
14452 * a lot of files: changed the access to LyXText::status and the
14453 call of undo-functions.
14455 * undo.[Ch]: added a inset_id to the undo informations.
14457 * undo_funcs.[Ch]: added and moved here all undo functions.
14459 * lyxtext.h: give the status enum a weight, made status_ a private
14460 variable and made accessor functions for it, removed the whole bunch
14461 of undo-functions as they are now in their own file, make some
14462 functions publically available. Added function ownerParagraph with
14465 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14466 made InInset() a const function, added getParFromID() function.
14468 * buffer.[Ch]: added const version for inset_iterator functions,
14469 added getInsetFromID() function.
14471 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14472 changed undo functions for new version.
14474 2001-07-05 Juergen Vigna <jug@sad.it>
14476 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14477 unknow mechanism does not call the proper constructor but only this
14478 one also if I request the other!?
14480 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14482 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14484 * text2.C (LyXText): use initialization lists.
14486 * lyxtext.h (Selection): initialize set_ and mark_
14487 (init): remove method
14489 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14491 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14493 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14495 * screen.[Ch]: change method names to begin with lowercase
14497 * BufferView_pimpl.C (updateScrollbar): simplify further and
14498 hopefully make it a bit faster.
14500 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14502 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14503 calling directly xforms functions.
14505 * Painter.C (Painter):
14506 * lyx_cb.C (MenuWrite):
14507 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14510 * lyx_gui.C: remove bogus guiruntime extern declaration.
14512 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14514 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14516 (redoDrawingOfParagraph): ditto
14517 (redoParagraphs): ditto
14518 (cutSelection): don't create a object for CutAndPaste use the
14519 static method directly
14520 (pasteSelection): ditto
14522 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14525 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14527 * modifications to some other files because of this.
14529 * Makefile.am (lyx_SOURCES): add XFormsView
14531 * XFormsView.[Ch]: new files
14533 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14534 the main window. Move the gui dependent stuff to XFormsView
14536 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14538 * tabular.C (GetCellInset): update cur_cell also in the row/col
14539 version of this function.
14541 * lyxfunc.C: no need to include figure_form.h here.
14547 * lyxvc.C: no need to include forms.h here.
14549 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14551 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14553 * lyxfunc.C (Dispatch):
14555 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14556 constructor argument.
14558 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14560 * paragraph.C (Paragraph): dont't clear, and just set layout.
14561 (makeSameLayout): use params's copy contructor.
14563 * ParagraphParameters.[Ch] (makeSame): delete method
14565 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14567 * Variables.[Ch]: fix indentation, rename set to isSet
14569 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14571 * lyxfunc.C (Dispatch): fix typo
14573 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14575 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14578 * bufferlist.C: include assert.h for emergencyWrite().
14580 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14582 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14583 give up at last (bug #425202) !
14585 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14591 * spellchecker.C: strip spellchecker options and bring up
14592 preferences tab instead
14594 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14596 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14597 the istringstream constructor
14599 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14601 * paragraph.C (getLayout): fix return value
14603 * paragraph.h: do not declare getLayout as inline.
14605 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14607 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14609 * lyxcursor.h (operator<): new func
14610 (operator>): new func
14611 (operator>=): new func
14612 (operator<=): new func
14614 * text.C (changeCase): use selection.start and selection.end
14615 (changeRegionCase): require from to be <= to. Require par to be a
14618 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14620 2001-06-27 Juergen Vigna <jug@sad.it>
14622 * text.C (cursorLeftOneWord): changed to return the cursor and added
14623 overlay with BufferView * parameter which calls this one.
14625 (selectWord): use new getWord function.
14626 (changeCase): renamed from changeWordCase as and extended to work
14627 also on selections.
14629 * lyxtext.h: added enum word_location
14631 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14632 changeCase as this operates now also on selections.
14634 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14636 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14638 * many files: send debug output to Debug::INFO instead of
14641 * converter.C (View):
14643 (Move): send debug output to Debug::FILES instead of console.
14645 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14647 * lyxfunc.C (getStatus): use func_status
14649 * func_status.h: new header, describing the results of
14650 LyXFunc::getStatus;
14652 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14655 2001-06-25 The LyX Project <jug@sad.it>
14657 * buffer.C (sgmlOpenTag):
14659 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14661 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14663 * text2.C: remove some dead code
14665 * tabular.C (GetCellInset): store the last cell checked (gotten)
14667 * tabular.h: add the helper for the speedup
14669 * lyxtext.h: remove some dead code
14671 2001-06-26 The LyX Project <Asger>
14673 * paragraph.C: Change export to LaTeX of alignment to
14674 \begin{center} and family for better roundtrip work with reLyX.
14676 * Tune the math drawing a bit.
14678 2001-06-25 The LyX Project <Asger>
14680 * LColor.C (LColor): New color for math background. New color
14683 2001-06-25 The LyX Project <jug@sad.it>
14685 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14687 * lyxfunc.C (Open):
14688 * bufferlist.C (newFile): do not restrict to files ending with
14691 * BufferView_pimpl.C (MenuInsertLyXFile):
14693 2001-06-24 The LyX Project <jug@sad.it>
14695 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14698 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14700 * lyxtext.h: rename most methods to begin with a small char.
14701 Lots of changes because of this.
14703 * paragraph.C (Paragraph): do not call fitToSize
14704 (erase): call Pimpl::erase
14705 (insertChar): call Pimpl::insertChar
14706 (insertInset): call Pipl::insertInset
14707 (breakParagraph): do not call fitToSize
14708 (breakParagraphConservative): do not call fitToSize
14709 (fitToSize): remove method
14711 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14713 2001-06-24 The LyX Project <Asger>
14715 * Fix Qt compilation^2
14717 2001-06-24 The LyX Project <jug@sad.it>
14719 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14720 depthHook(getDepth()-1).
14723 * ParagraphParameters.h:
14724 * ParameterStruct.h: change type of depth to unsigned int ==
14725 depth_type. Many adaptations to other files before of that.
14727 2001-06-24 The LyX Project <Asger>
14729 * Fix Qt compilation.
14731 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14733 * paragraph.h: renamed several methods to begin with small letter.
14734 several changes to many parts of the code because of this.
14736 2001-06-23 The LyX Project <jug@sad.it>
14738 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14739 rewritten to discard all double spaces when KeepEmpty is off
14740 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14741 to only handle newlines but not fiddle with spaces and friends.
14743 * lyxfunc.C (MenuNew): when doing 'new from template', use
14744 template_path as default directory
14746 2001-06-23 The LyX Project <Asger>
14748 * Clean-up of header file includes all over
14749 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14751 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14753 * paragraph.h: renamed from lyxparagraph.h
14755 2001-06-23 Asger <lyx@violet.home.sad.it>
14757 * Buffer.h: Removed Buffer::resize
14758 * BufferList.h: Removed BufferList::resize
14759 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14760 the document lazily when we change the width, or the font settings.
14762 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14764 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14766 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14768 * buffer.h: remove out of date comment
14770 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14773 * screen.C: fix "theoretical" GC leak
14775 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14777 * LaTeX.C (scanAuxFile):
14778 (deplog): remove trailing \r when reading stream (useful under
14781 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14783 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14784 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14785 and BufferView::theLockingInset(Inset*), so should use them and not
14786 access bv_->text->the_locking_inset directly.
14788 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14790 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14793 * tex-defs.h: remove old unused file
14795 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14797 * BufferView_pimpl.C: fix typo, remove minibuffer message
14798 when buffer has loaded
14800 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14802 * lyxfunc.C (Dispatch): use stringstream
14803 (MenuNew): use stringstream
14804 (Open): use stringstream
14806 * importer.C (Import): use stringstream
14808 * bufferview_funcs.C (CurrentState): use stringstream
14810 * LaTeX.C (run): use stringstream
14812 * BufferView_pimpl.C (savePosition): use stringstream
14813 (restorePosition): use stringstream
14814 (MenuInsertLyXFile): use stringstream
14816 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14829 * vspace.C: removed // -*- C++ -*- as first line.
14832 * version.h: added // -*- C++ -*- as first line.
14834 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14836 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14838 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14841 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14843 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14846 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14848 * gettext.C: include LString.h even when --disable-nls is on.
14850 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14852 * converter.h (Get): changed argument type from int to
14853 FormatList::size_type to avoid unnecessary conversion.
14855 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14858 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14860 * gettext.h: include LString.h even when --disable-nls is on.
14862 2001-06-07 Juergen Vigna <jug@sad.it>
14864 * text.C (BreakAgain): subst spaces with tabs.
14866 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14867 (resizeInsetsLyXText): set force on resizeLyXText.
14869 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14871 * gettext.h (gettext_init):
14872 (locale_init): use a real definition instead of a macro
14874 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14876 * Bufferview_pimpl.C:
14878 * LColor.C: further lcolor tidies
14880 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14882 * BufferView_pimpl.C (updateScrollbar): simplify.
14884 * BufferView2.C: don't include insets/insetinfo.h, change
14885 prototype for insertInset and call the Pimpl version. let
14886 updateInset call Pimpl version.
14888 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14889 gotoInset to BufferView::Pimpl
14891 2001-06-01 Juergen Vigna <jug@sad.it>
14893 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14894 inside a LockingInset (is the update needed at all?).
14896 2001-05-31 Juergen Vigna <jug@sad.it>
14898 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14899 here not the old one otherwise how should we compare it afterwards
14902 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14907 * FontInfo.C: bring C functions into global namespace when
14910 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14912 * LString.h: make sure config.h has been loaded before LString.h.
14914 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14915 (one for each char read by EatLine!).
14917 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14920 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14922 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14923 to the same as the par we break from
14925 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14927 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14929 * MenuBackend.C (expand): also create menu entries for wide
14930 versions of the floats.
14932 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14934 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14936 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14937 frontends/Makefile.am
14943 * tabular.C (getTokenValue): add std::
14945 * tabular-old.C (getTokenValue): add std::
14946 (getTokenValue): ditto
14947 (getTokenValue): ditto
14949 * screen.C (ToggleSelection): adjust
14951 * lyxtext.h: put selection cursors inside a Selection struct.
14953 * lyxfunc.C (moveCursorUpdate): adjust
14955 * lyxfont.C (latexWriteStartChanges): add std::
14957 * lyxfind.C: adjust
14959 * font.h: delete with(char const *, LyXFont const &)
14961 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14963 * FontInfo.C (getFontname): add std::
14965 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14966 (workAreaButtonPress): adjust
14967 (tripleClick): adjust
14969 (moveCursorUpdate): adjust
14972 * BufferView2.C (gotoInset): adjust
14974 2001-05-30 Juergen Vigna <jug@sad.it>
14976 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14977 to check pspell I add this as default as I now have new pspell
14978 libraries and they seem to use this.
14980 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14982 * text2.C (CutSelection): make the cursor valid before the call to
14985 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14987 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14988 relied on 0 terminated strings and other horrors. Bug found due to
14989 the new assert in lyxstring!
14991 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14994 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14996 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14999 * lyxfunc.C (processKeySym): change method of getting to the
15002 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15003 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15004 * BufferView_pimpl.[Ch]: here as private methods.
15006 2001-05-28 Juergen Vigna <jug@sad.it>
15008 * text.C (SetHeightOfRow): added the update() call again as it is
15009 needed to initialize inset dimensions!
15011 2001-05-16 Juergen Vigna <jug@sad.it>
15013 * text2.C (SetCharFont): Add new function with BufferView * and
15014 bool toggleall parameters for setting insets internal fonts.
15015 (SetFont): Freeze the undo as we may change fonts in Insets and
15016 all this change should be inside only one Undo!
15018 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15019 setting font's in insets as for them we have the SetFont function!
15021 2001-05-15 Juergen Vigna <jug@sad.it>
15023 * text2.C (ClearSelection): to be sure we REALLY don't have any
15026 * tabular.C (TeXCellPreamble): fixed the left border problem for
15029 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15031 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15034 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15036 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15037 LFUN_BREAKPARAGRAPH.
15039 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15040 help test to "internal only", similar for LFUN_INSERT_URL
15042 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15043 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15044 auto_region_delete and deadkeys.
15046 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15049 * LColor.C: remove some dead entries, tidy a little
15051 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15053 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15055 (Dispatch): implement LFUN_ESCAPE
15057 * commandtags.h: add LFUN_ESCAPE
15059 * LyXAction.C (init): add entry for LFUN_ESCAPE
15061 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15062 Remove commented code.
15063 (insertNote): moved here
15064 (open_new_inset): moved here
15066 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15069 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15071 * kbmap.C (findbinding): clean it up and make it work correctly.
15073 * lyx_main.C (init): do not pass argc and argv as parameters
15075 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15077 * buffer.C: fix path for OS/2 & Win32
15081 * lyx_main.C: Added os:: class.
15083 * os2_defines.h: update
15085 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15087 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15088 better by trying again with reduced state.
15090 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15092 * lyxrc.C (read): print error about invalid key sequence only when
15093 debugging (because not all latinX keysyms are known to some X
15096 * kbsequence.C (getiso): add a few std:: qualifiers
15097 (getiso): comment out extra return statement.
15099 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15101 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15103 (Dispatch): enhance the accent inset a bit. (not perfect)
15105 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15107 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15109 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15111 * bufferlist.C (emergencyWrite): fix assert() call
15113 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15115 * text.C (InsertChar): Added trivial patch to only send the "you
15116 can not do multiple spaces this way" message once during a
15119 2001-05-08 Baruch Even <baruch@lyx.org>
15121 * Makefile.am: Changed order of libraries to get LyX to link properly
15122 with the gnome frontend.
15124 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15126 * LaTeXFeatures.h: add a std:: qualifier
15128 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15130 * paragraph.C (String): use stringstream
15132 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15134 * paragraph.C (writeFile): remove footflag arg
15136 * buffer.C (makeLaTeXFile): use stringstream
15137 (latexParagraphs): remove footnot gurba
15139 * LaTeXFeatures.C (getPackages): use stringstream
15140 (getMacros): likewise
15141 (getTClassPreamble): likewise
15142 (getFloatDefinitions): new method
15144 * paragraph.C (writeFile): reindent
15147 * WorkArea.h: revert the xpos + etc changes.
15149 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15151 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15153 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15154 (pasteSelection): likewise
15155 * text2.C (CreateUndo): likewise
15157 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15159 * minibuffer.C (peek_event): temporarily reduce the functionality
15160 of the minibuffer (to allow args on lfuns)
15162 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15163 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15165 * buffer.C (readInset): add compability reading of old float
15166 lists, add reading of new style float list.
15167 (readInset): avoid reevaluation of inscmd.getCmdName()
15168 (getLists): reindent
15170 * MenuBackend.C (MenuItem): implement parsing of
15171 md_floatlistinsert and md_floatinsert.
15172 (expand::LastFiles): move initalizaton of iterators out of loop,
15173 avoid reevaluation.
15174 (expand::Documents): introduce typdedef vector<string> Strings,
15176 (expand::ExportFormats): introduce typedef vector<Format const *>
15177 Formats, and use it.
15178 (expand): implement FloatListInsert and FloatInsert.
15180 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15181 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15182 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15184 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15186 (Dispatch::LFUN_FLOAT_LIST): implement
15188 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15190 * LaTeX.C (run): Fix problem with --export code.
15192 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15194 * BufferView.[Ch] (workarea): removed.
15195 (getClipboard) new method; wrapper for workarea()->getClipboard()
15197 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15200 * WorkArea.h (width, height, xpos, ypos): These methods all
15201 returned the dimensions of the work_area sub-area of WorkArea,
15202 resulting in a position error if the WorkArea were resized. Now
15203 return the dimensions of the entire WorkArea.
15205 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15207 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15209 * LaTeX.C (deplog): correct the syntax of regex reg1
15211 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15213 * undo.C: remove !NEW_INSETS cruft
15215 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15217 * text2.C: remove !NEW_INSETS cruft
15219 * text.C: remove !NEW_INSETS cruft
15221 * tabular.C: remove !NEW_INSETS cruft
15223 * spellchecker.C: remove !NEW_INSETS cruft
15225 * lyxtext.h: remove !NEW_INSETS cruft
15227 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15229 * lyxfunc.C: remove !NEW_INSETS cruft
15231 * lyxfind.C: remove !NEW_INSETS cruft
15233 * lyx_cb.C: remove !NEW_INSETS cruft
15235 * figureForm.C: remove !NEW_INSETS cruft
15237 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15239 * buffer.[Ch]: remove !NEW_INSETS cruft
15241 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15243 * CutAndPaste.C: remove !NEW_INSETS cruft
15245 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15247 * BufferView2.C: remove !NEW_INSETS cruft
15249 * BufferView.h: remove !NEW_INSETS cruft
15251 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15253 * Lsstream.h: include LString.h before the sstream headers to
15254 fix problem with gcc 2.95.3 and lyxstring
15256 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15258 * lyx_main.C: add using directives when needed for C functions
15259 declared in std:: namespace.
15261 2001-04-27 Juergen Vigna <jug@sad.it>
15263 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15264 (SetHeightOfRow): comment out the update call should not be needed!
15266 2001-04-13 Juergen Vigna <jug@sad.it>
15268 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15269 (LyXTabular): tried to minimize operator= operations (and realized
15270 hopfully Lars wish).
15272 2001-04-27 Juergen Vigna <jug@sad.it>
15274 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15276 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15278 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15280 * buffer.C (readInset): hack to make listof algorithm work
15282 * BufferView_pimpl.C: hack to make listof algorithm work
15284 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15286 * LyXAction.C: removed all !NEW_INSETS cruft
15287 (init): moved lfun_item in method
15289 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15291 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15293 * BufferView2.C (theLockingInset): white space.
15295 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15297 * minibuffer.C: include <iostream>
15299 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15301 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15303 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15305 * text.[Ch] (TransposeChars): new method
15307 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15309 * call message directly through LyXView instead of through LyXFunc
15310 * BufferView2.C: adjust
15311 * BufferView_pimpl.C: adjust
15312 * FontLoader.C: adjust
15314 * bufferview_funcs.C: adjust
15315 * converter.C: adjust
15316 * figureForm.C: adjust
15317 * importer.C: adjust
15319 * lyx_gui_misc.C: adjust
15320 * lyxfunc.C: adjust
15323 + more files in subdirs
15325 * lyxparagraph.h (size): move up int file
15328 * adjust all uses of Assert to lyx::Assert.
15330 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15331 lyxfunctional in namespace lyx
15332 * layout.C (hasLayout): ditto
15335 (delete_layout): ditto
15336 (NumberOfClass): ditto
15337 * converter.C (GetFormat): ditto
15342 * bufferlist.C (getFileNames): ditto
15343 (emergencyWriteAll): ditto
15346 * MenuBackend.C (hasSubmenu): ditto
15349 * BufferView_pimpl.C (getInsetByCode): ditto
15351 2001-04-18 Juergen Vigna <jug@sad.it>
15353 * vspace.C (asLatexString): fixed the 100% problem.
15355 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15357 * lyxfunc.C (Dispatch):
15359 * minibuffer.h: add a few std:: qualifiers
15361 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15363 * minibuffer.[Ch]: reimplement so that commands is initiated and
15364 run from lyxfunc, simplified som handling, and made the completion
15365 and history code for complete. wip.
15367 * lyxfunc.C (processKeySym): call message
15368 (miniDispatch): new temporary method
15369 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15370 (LFUN_MESSAGE): implement
15371 (LFUN_MESSAGE_PUSH): implement
15372 (LFUN_MESSAGE_POP): implement
15373 (initMiniBuffer): the initial/defualt minibuffer message.
15375 * lyxfont.[Ch]: inline some more getters
15377 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15379 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15381 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15382 (AutoSave): use LFUN_MESSAGE
15383 (Reconfigure): ditto
15385 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15387 * figureForm.C: use LFUN_MESSAGE
15389 * converter.C (runLaTeX): use LFUN_MESSAGE
15391 * bufferview_funcs.C: use LFUN_MESSAGE
15393 (changeDepth): ditto
15395 * bufferparams.h: use boost::
15397 * bufferlist.h: inherit privately from noncopyable
15399 * bufferlist.C (loadLyXFile): remove some commented code.
15401 * buffer.C (runChktex): use LFUN_MESSAGE
15403 * ShareContainer.h: inherit privately from noncopyable
15405 * ParagraphParameters.[hC] (depth): inline it.
15407 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15409 (message): new method
15410 (messagePush): ditto
15411 (messagePop): ditto
15412 (show): init minibuffer
15413 (showState): direct call
15415 * LaTeX.[Ch]: inherit privately from noncopyable
15416 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15417 instead of WriteStatus.
15419 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15421 * BufferView_pimpl.C (buffer): don't init minibuffer
15422 (workAreaButtonPress): use LFUN_MESSAGE
15423 (workAreaButtonRelease): ditto
15424 (savePosition): ditto
15425 (restorePosition): ditto
15426 (MenuInsertLyXFile): ditto
15427 (workAreaExpose): don't init minibuffer
15428 (update): remove commented code, simplify
15430 * BufferView2.C (openStuff): use LFUN_MESSAGE
15431 (toggleFloat): ditto
15434 (copyEnvironment): ditto
15435 (pasteEnvironment): ditto
15440 (updateInset): remove some commented code
15442 * lastfiles.h: inherit privately from noncopyable
15445 * lyx_main.h: ditto
15447 * lyxlex_pimpl.h: ditto
15449 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15450 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15451 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15453 * LyXAction.h: inherit privately from noncopyable, add methods
15454 func_begin, func_end, returning iterators to the func map.
15456 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15457 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15458 (func_begin): new method
15459 (func_end): new method
15461 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15463 (copySelection): ditto
15464 (pasteSelection): ditto
15466 * BufferView.C: whitespace change
15467 * BufferView.h: inherit privately from noncopyable
15469 2001-04-16 Allan Rae <rae@lyx.org>
15471 * tabular-old.C (l_getline):
15472 * spellchecker.C (sc_check_word):
15473 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15474 an unrecognised preprocessor directive. So ensure they're wrapped.
15476 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15478 * src/exporter.C (Export): Give an error message when path to file
15481 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15483 * LaTeX.C (deplog): Always check that foundfile exists.
15485 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15488 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15490 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15492 * tabular.[Ch] (getLabelList): implement new method
15494 * minibuffer.h: comment ouf setTiimer
15496 * minibuffer.C (ExecutingCB): constify res
15497 (peek_event): constify s
15498 (Set): constify ntext
15499 (Init): constify nicename
15501 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15503 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15504 (savePosition): use two params to Minibuffer::Set
15505 (restorePosition): ditto
15507 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15509 * lyx_main.C: include language.h
15511 * Makefile.am (lyx_main.o): add language.h
15513 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15519 * CutAndPaste.C: include gettext.h
15521 * lyxfont.h: remove old hack with ON and OFF.
15524 * lyxfont.h: do not include language.h...
15529 * bufferview_funcs.C:
15535 * paragraph.C: ... but do it here instead
15537 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15539 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15541 * tabular.C: small reformat
15543 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15546 (BreakParagraph): ditto
15547 (SetOnlyLayout): ditto
15550 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15553 * lastfiles.C: removed most using decl, add std:: where needed
15555 * buffer.C: ws changes
15557 * MenuBackend.C (class compare_format): put into anon namespace
15558 (expand): constify label, names, action, action2
15561 * text.C (SingleWidth): constify font
15562 (IsBoundary): constify rtl2
15563 (GetVisibleRow): constify ww
15565 * LaTeX.C (deplog): constify logfile
15567 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15569 (workAreaExpose): constify widthChange, heightChange
15571 * lyxrow.C (par): moved
15574 * lyxrow.h: as inlines here
15576 * lyxfont.h (shape): moved from lyxfont.C
15577 (emph): moved from lyxfont.C
15579 * lyxfont.C (LyXFont): use initialization list for all
15581 (shape): move to lyxfont.h as inline
15582 (emph): move to lyxfont.h as inline
15585 2001-04-04 Juergen Vigna <jug@sad.it>
15587 * vspace.C: had to include stdio.h for use of sscanf
15589 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15592 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15593 independent of xforms.
15595 2001-04-02 Juergen Vigna <jug@sad.it>
15597 * spellchecker.C: fixed namespace placing!
15599 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15601 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15602 the LyXParagraph * is 0.
15604 2001-03-29 Juergen Vigna <jug@sad.it>
15606 * vspace.C: added support for %, c%, p%, l%.
15607 (stringFromUnit): added helper function.
15608 (asLatexString): changed to give right results for the %-values.
15610 * buffer.C: convert the widthp in a width%.
15612 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15614 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15617 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15618 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15620 * lyx_cb.[Ch]: see above.
15622 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15626 * lyx.[Ch]: replaced by figure_form.[Ch].
15630 * lyxfunc.C: changed headers associated with above changes.
15632 2001-03-27 Juergen Vigna <jug@sad.it>
15634 * BufferView_pimpl.C: set the temporary cursor right!
15636 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15638 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15640 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15642 * LString.h: removed "using std::getline"!
15644 * BufferView_pimpl.C (Dispatch): changes due to changes in
15645 InsetInclude::Params.
15647 * buffer.C (tag_name): removed redundant break statements as they were
15648 producing lots of warnings with my compiler.
15650 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15652 * LString.h: add "using std::getline" when using the real <string>.
15654 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15656 * buffer.C: removed bitset usage.
15657 PAR_TAG moved to an anonymous name space.
15658 (tag_name): new funtion, also in the anonymous namespace.
15659 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15660 (makeDocBookFile): clean code. Completed transition from string arrays
15662 (SimpleDocBookOnePar): code clean.
15664 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15666 * tabular.C: add some comments.
15668 2001-03-22 Juergen Vigna <jug@sad.it>
15670 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15671 compatibility read a bit and fixed bug with minipage in different
15674 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15676 * buffer.C (pop_tag): removed.
15677 (push_tag): removed.
15678 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15679 array replaced with vector. Added support for CDATA sections.
15680 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15682 (makeDocBookFile): XML conformant declaration of CDATA section,
15683 fixed bug related to <emphasis> in the first paragraph char.
15684 (sgmlOpenTag): exclude empty tags.
15685 (sgmlCloseTag): ditto.
15687 * buffer.h (pop_tag): removed.
15688 (push_tag): removed.
15690 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15692 * language.h (Languages): added size_type and size().
15694 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15696 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15697 response on compability reading of minipages. One probliem is that
15698 the old usage of minipages was «flertydig»
15700 * several files here and in subdirs: don't use static at file
15701 scope use anon namespaces instead.
15703 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15705 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15706 LaTeX output. This is necessary for Literate document
15709 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15711 * buffer.C: insert hfill when needed.
15713 * tabular.C (l_getline): use string::erase, small whitespace change.
15715 * BufferView_pimpl.C: try the anon namespace.
15716 * WorkArea.C: ditto
15718 2001-03-16 Juergen Vigna <jug@sad.it>
15720 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15721 otherwise it won't open options-dialogs.
15723 * buffer.C: honor pextraWidth(p) on converting minipages.
15725 * tabular.C (l_getline): changed the functions to strip trailing \r.
15727 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15729 * BufferView_pimpl.C:
15730 * minibuffer..C: added "using SigC::slot" declaration.
15732 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15734 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15740 * paragraph.C: ditto
15742 * lyxtext.h: NO_PEXTRA
15744 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15746 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15747 * ParameterStruct.h: ditto
15748 * ParagraphParameters.h: ditto
15749 * lyxparagraph.h: ditto
15751 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15753 * buffer.C: add compability for minipage alignment.
15754 (latexParagraphs): remove unwanted pextra check.
15756 * several files: remove CXX_WORKING_NAMESPACES
15758 * buffer.C (pop_tag): tie is in namespace boost
15760 * BufferView.h: noncopyable is in namespace boost
15762 * lyx_main.h: ditto
15765 * lastfiles.h: ditto
15766 * bufferlist.h: ditto
15767 * ShareContainer.h: ditto
15769 * LyXAction.h: ditto
15772 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15774 * Merging changes from BRANCH_MVC back into HEAD.
15776 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15778 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15780 * BufferView_pimpl.C: change from intl.C
15784 * Makefile.am: move combox.*
15790 * intl.C: remove dialog (covered by prefs)
15792 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15794 * lyxfunc.C (Dispatch): removed redundant break statement.
15796 2001-03-14 Juergen Vigna <jug@sad.it>
15798 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15800 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15802 * buffer.C: add hack to fix compability reading of minipages.
15804 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15806 * buffer.C (getLists): Cleanup.
15808 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15810 * lyxfont.C (update): don't honor toggleall on font size.
15812 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15816 * Makefile.am: moved to frontends/xforms/
15820 * BufferView_pimpl.C: changes for moved mathpanel
15822 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15824 * gettext.h: fix gettext_init() in --disable-nls
15826 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15828 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15830 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15833 * lyx.h: strip external form
15835 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15837 * BufferView_pimpl.C: add comment, destroySplash()
15839 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15841 * BufferView_pimpl.C:
15845 * lyxfunc.C: use re-worked insetinclude
15847 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15849 * buffer.C: add using std::stringstream.
15851 * lyx_cb.C: readd using std::ios.
15853 * buffer.C: add using std::map.
15855 * BufferView_pimpl.C: add using std::vector.
15857 * ShareContainer.h: add std:: to swap.
15859 * buffer.h: add some typedefs
15860 * buffer.C (getLists): use them
15861 (getLists): renamed from getTocList.
15862 add a counter for the different float types and use it in the
15864 (getLists): use the same counter for the NEW_INSETS and the "non"
15867 * lyx_cb.h: remove unused items, includes, using etc.
15869 * ShareContainer.h: remove some commented code, add more comments
15870 and "documentation".
15872 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15874 * buffer.C (getTocList): make the list also when NEW_INSETS is
15877 * buffer.h: remove TocType
15879 * buffer.C (getTocList): change to return a map<string,
15880 vector<TocItem> >, implement for dynamic number of list.
15882 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15883 * text2.C (PasteSelection): adjust
15884 * CutAndPaste.C (pasteSelection): adjust
15886 * FloatList.C (FloatList): update from the new_insets branch.
15887 * Floating.[Ch]: ditto
15888 * LaTeXFeatures.C: ditto
15890 * lyxlex_pimpl.C: ditto
15892 * paragraph.C (Last): remove when NEW_INSETS is defined.
15894 * other file: changes because of the above.
15896 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15898 * lyxparagraph.h: rename next to next_, previous to previous_,
15899 make them private for NEW_INSETS. Rename Next() to next(),
15900 Previous() to previous().
15902 * other files: changes because of the above.
15904 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15907 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15910 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15912 * main.C (main): pass lyx_localedir to gettext_init().
15914 * gettext.h: remove locale_init and gettext_init macros
15916 * gettext.C (locale_init): new function
15917 (gettext_init): new function
15919 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15922 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15924 * Moved credits to frontends:
15925 * credits.[Ch]: removed
15926 * credits_form.[Ch]: removed
15927 * lyx_gui_misc.C: remove credits stuff
15930 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15932 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15934 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15935 unneeded destructor.
15937 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15938 a standalone pointer again.
15940 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15942 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15948 * ToolbarDefaults.C:
15957 * BufferView_pimpl.C: use new file dialog in GUII
15960 * lyx_cb.C: remove LayoutsCB to Toolbar
15962 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15964 * ShareContainer.h (get): add std:: qualifier
15966 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15968 * ShareContainer.h: define a proper ShareContainer::value_type
15969 type (and use typename to please compaq cxx)
15971 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15973 * lyxparagraph.h: move serveral local vars to
15974 ParameterStruct/ParagraphParameters., use ShareContainer in
15975 FontTable., make vars in FontTable private and add getter and
15978 * paragraph.C: changes because of the above.
15980 * lyxfont.h: remove copy constructor and copy assignment. (the
15981 default ones is ok), move number inside FontBits. move inlines to
15984 * lyxfont.C: add number to initializaton of statics, move several
15985 inlines here. constify several local vars. some whitespace
15986 cleanup. Dont hide outerscope variables.
15988 * Spacing.h: add two new constructors to match the set methods.
15990 * ShareContainer.h: new file, will perhaps be moved to support
15992 * ParameterStruct.h: new file
15994 * ParagraphParameters.h: new file
15996 * ParagraphParameters.C: new file
15998 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15999 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16001 * BufferView_pimpl.C: ParagraphParameter changes.
16002 * buffer.C: Likewise.
16003 * bufferview_funcs.C: Likewise.
16004 * text.C: Likewise.
16005 * text2.C: Likewise.
16007 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16009 * lyxfind.C (LyXReplace): do not redefine default argument in
16011 (IsStringInText): ditto
16012 (SearchForward): ditto
16013 (SearchBackward): ditto
16015 2001-03-06 Juergen Vigna <jug@sad.it>
16017 * lyxfind.C (IsStringInText): put parentes around expressions.
16019 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16021 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16023 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16025 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16027 * stl_string_fwd.h: add comment
16029 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16032 * tabular.C: remove unused DocBook methods
16038 killed DO_USE_DEFAULT_LANGUAGE
16040 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16042 * lyx_gui.C: do not include language.h.
16044 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16045 arguments in function implementation.
16047 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16049 * BufferView_pimpl.C: add <ctime>
16051 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16053 * BufferView_pimpl.C: add using std::find_if
16055 2001-02-27 José Matos <jamatos@fep.up.pt>
16057 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16060 2001-02-11 José Matos <jamatos@fep.up.pt>
16062 * buffer.C (makeDocBookFile): command styles now have a parameter as
16063 "title" by default.
16065 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16067 * layout_forms.[Ch]: removed
16068 * lyx_cb.[Ch]: out character
16069 * lyx_gui.C: out character
16070 * lyx_gui_misc.C: out character
16071 * bufferview_funcs.C: : out character,
16072 added toggleall as parameter in ToggleAndShow
16074 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16076 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16078 * text2.C (SetCurrentFont): Disable number property at boundary.
16080 2001-02-26 Juergen Vigna <jug@sad.it>
16082 * lyxfunc.C (getStatus): added a string argument override function so
16083 that this is correctly called from LyXFunc::Dispatch if it contains a
16084 do_not_use_argument which is used!
16085 (Dispatch): added check for "custom" export and call appropriate func.
16087 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16089 * lyxrc.C: Add language_command_local, language_use_babel and
16090 language_global_options.
16092 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16094 * buffer.C (makeLaTeXFile): Use language_use_babel and
16095 language_global_options.
16097 2001-02-23 Juergen Vigna <jug@sad.it>
16099 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16100 which works with LyXText and putted it inside BufferView. Here now we
16101 only call for that part the BufferView::Dispatch() function.
16103 * BufferView.C (Dispatch): added.
16105 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16106 functions which needs to use a LyXText over from LyXFunc.
16107 (MenuInsertLyXFile): added
16108 (getInsetByCode): added
16109 (moveCursorUpdate): added
16110 (static TEXT): added
16112 2001-02-22 Juergen Vigna <jug@sad.it>
16114 * BufferView_pimpl.C (update): call a status update to see if LyXText
16117 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16119 * vc-backend.C (revert): implement for CVS
16120 (getLog): implement for CVS
16122 2001-02-20 Juergen Vigna <jug@sad.it>
16124 * text2.C (ClearSelection): added BufferView param for inset_owner call
16126 * lyxfunc.C (TEXT): added this function and use it instead of
16127 directly owner->view()-text of getLyXText().
16129 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16131 * src/layout_forms.C: out preamble
16132 * src/layout_forms.h: out preamble
16133 * src/lyx_cb.C: out preamble
16134 * src/lyx_cb.h: out preamble
16135 * src/lyx_gui.C: out preamble
16136 * src/lyx_gui_misc.C: out preamble
16137 * src/lyxfunc.C: connect with guii preamble
16139 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16141 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16143 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16145 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16146 whether to run bibtex.
16148 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16150 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16152 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16154 * Makefile.am (lyx_SOURCES): removed bibforms.h
16156 * vspace.h: doxygen
16158 * text.C (GetVisibleRow): make several local vars const
16160 * tabular.C: small cleanup.
16162 * lyxserver.C (callback): use compare instead of strncmp
16164 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16165 inlines to after class or to paragraph.C
16167 * lyxfont.h: remove friend operator!=
16169 * converter.h: move friend bool operator< to non friend and after
16172 * combox.h: small cleanup
16174 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16175 to inlines after class def.
16177 * buffer.C (pop_tag): use string operations instead of strcmp
16179 * bmtable.c: doxygen, small cleanup
16181 * LaTeX.h: remove friend operator==
16183 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16195 * BufferView_pimpl.C:
16196 * BufferView.[Ch]: remove cruft
16198 2001-02-14 Juergen Vigna <jug@sad.it>
16200 * lyxfunc.C: removed #if 0 unused code
16202 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16204 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16206 * text2.C (SetSelection): added a BufferView * parameter
16208 2001-02-13 Juergen Vigna <jug@sad.it>
16210 * lyxfunc.C (Dispatch): fixed protected blank problem.
16211 * BufferView2.C (protectedBlank): added LyxText * parameter.
16213 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16214 (AppendColumn): same as above for column_info.
16216 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16217 (moveCursorUpdate): use a LyXText param for support of InsetText.
16219 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16220 (tripleClick): ditto
16222 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16224 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16226 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16228 * text2.C (SetSelection): set correct update status if inset_owner
16229 (ToggleFree): ditto
16231 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16233 * tabular.C: remove some commented code.
16235 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16237 * BufferView_pimpl.C: call hideSplash()
16239 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16242 * bibforms.h: remove
16245 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16246 add LFUN_CHILD_CREATE
16248 * counters.h: fix tiny typo
16253 * lyx.C: move splash to frontends/xforms/
16255 * lyx_gui_misc.C: move Include and Bibform to frontends
16257 * lyxvc.h: clarify comment
16259 * vspace.C: tiny housekeeping
16261 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16263 * text.C (PrepareToPrint): RTL Fix.
16265 * paragraph.C (GetUChar): New method.
16266 (String): Use GetUChar.
16268 * buffer.C (asciiParagraph): Use GetUChar.
16270 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16272 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16274 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16277 * buffer.C: rename to getLogName(), handle
16278 build log / latex log nicely
16280 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16283 * MenuBackend.h: remove support for reference menuitem type.
16285 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16287 * BufferView_pimpl.C: housekeeping
16288 * BufferView_pimpl.h:
16293 * minibuffer.h: move Timeout GUI-I
16295 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16297 * lyxrc.C (read): Update converters data-structures.
16299 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16301 * LaTeX.h (operator!=): add operator != for Aux_Info
16303 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16305 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16307 * LaTeXLog.C: deleted, useful code moved to Buffer
16310 * buffer.C: new function getLatexLogName()
16316 * lyxfunc.C: use frontends for LaTeX and VC logs
16318 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16320 * LaTeX.h: yet another std:: that Allan forgot.
16322 * Variables.C (set): renamed from isset(), because this clashes
16323 with some HP-UX macros (grr).
16325 2001-02-06 Allan Rae <rae@lyx.org>
16327 * LaTeX.h: Another bug fix. Missing std:: this time.
16329 2001-02-04 Allan Rae <rae@lyx.org>
16331 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16332 floats problem. I've left it commented out because it's not quite
16333 correct. It should also test that the current object is a table or
16334 figure inset. But I haven't gotten around to figuring out how to do
16335 that. I *think* it'll be something like: "table" == inset.type()
16337 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16340 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16342 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16343 all the citation/databases/styles in the auxilary file.
16344 (run): Rerun latex if there was a babel language error.
16346 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16348 * text.C (Backspace): Preserve the font when changing newline char
16350 (BreakParagraph): If the cursor is before a space, delete the space.
16352 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16354 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16356 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16357 new argument (code).
16358 (ChangeCitationsIfUnique): New method.
16360 * paragraph.C (GetPositionOfInset): Handle bibkey.
16362 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16364 * BufferView_pimpl.h: change type of Position::par_pos to
16365 LyXParagraph::size_type.
16367 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16369 * BufferView_pimpl.C (savePosition, restorePosition): Write
16370 messages to minibuffer.
16372 2001-01-28 José Matos <jamatos@fep.up.pt>
16374 * buffer.C (makeDocBookFile): adds support for document language.
16375 A silly restriction on the name of LatexCommand types where removed.
16376 Added support for CDATA sections, allows to chars unescaped, used
16377 among others in code, to avoid escape < and >.
16379 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16381 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16382 saved positions instrad of a stack. Furthermore, a position is
16383 stored using paragraph id/paragraph position.
16385 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16386 Remove LFUN_REF_BACK.
16388 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16390 * converter.C (dvipdfm_options): New method.
16392 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16394 * vspace.C (isValidLength): Fix for empty input string.
16396 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16398 * LyXAction.C (init): change description of LFUN_FIGURE to
16401 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16403 * LaTeX.C: add using directive
16405 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16407 * MenuBackend.C (expand): Fix the sorting of the formats.
16409 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16411 * lyx_main.C: tiny error message fix
16413 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16415 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16416 calling fl_initialize(). This fixes the problem with ',' as
16417 decimal separator in text files.
16419 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16421 * trans.C (process): Fix the keymap bug.
16423 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16425 * LaTeX.C (scanAuxFiles): New method. Provides support for
16426 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16427 (scanLogFile) Scan for "run BibTeX" messages.
16429 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16430 OT1 font encoding. Also, load the aecompl package if the ae
16433 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16435 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16437 * texrow.C (increasePos): turn two error messages into debug
16440 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16442 * LaTeX.C (scanAux): Handle the \@input macro.
16443 (runBibTeX): Use scanAux().
16445 * language.C (latex_options_): New field.
16447 * LaTeXFeatures.C (getMacros): Add language macros.
16449 * buffer.C (makeLaTeXFile): Small fix.
16451 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16453 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16455 * text2.C: add a using directive.
16457 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16462 * lyxfunc.C: kill LyXBell.
16464 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16466 * text.C (IsBoundary): Remove the error message
16468 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16470 * lyxrc.C (setDefaults): Correct initialization value for
16473 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16475 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16478 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16479 and GotoNextNote().
16481 * src/LyXAction.C: Added reference-next.
16483 * text.C (InsertChar): Use contains instead of strchr.
16485 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16487 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16489 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16490 alignment commands (when needed).
16492 * text.C (InsertChar): Add ':' to number separator chars.