1 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
4 call BufferView::getStatus if LCursor::getStatus did nothing
5 (setStatusMessage, getStatusMessage): removed.
7 * FuncStatus.C (message): new methods. Used to provide an error
8 message indicating why a command is disabled.
9 (clear, |=, FuncStatus): update for message.
11 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
13 * lyxfunc.C (dispatch): always call sendDispatchMessage
15 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
32 * undo.C: par->pit renaming
35 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
37 * tabular.C (cellstruct): use initialization, store a shared_ptr
38 to insettext instead of the insettext directly, adjust to fit.
39 (operator=): new function
41 (rowstruct): use initialization
42 (columnstruct): use initialization
43 (ltType): use initialization
46 * lyxlength.h (swap): new function
48 * LColor.[Ch] (operator=): use the common semantics
50 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * lyxfind.C (findNextChange): update the bufferview after setting
55 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
57 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
58 number of InsetOptArgs has already been inserted.
60 * output_latex.C (latexOptArgInsets): new method. This outputs all
61 the optarg insets, up to the limit defined in the layout file.
62 (optArgInset): removed
63 (TeXOnePar): call latexOptArgInsets; correctly update texrow
65 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
67 * paragraph.C (isLetter): remove special spellchecker-related
68 code; return true also for digits
69 (isWord, isKomma): remove
71 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
72 * lyxfind.C (MatchString()): use isLetter instead of isWord
74 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
76 * pariterator.h (operatir=): comment out un-implemented member
79 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
82 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
84 * lyxfont.h: include LColor.h to satisfy concept checks.
86 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
88 * pariterator.h: add typdefs for value_type, difference_type,
89 pointer and reference to satisfy concept checks. Also add default
90 constructor for same reason.
92 * pariterator.C (operator++): add post-increment operator to
93 satisfy concept checks.
95 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
98 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
100 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
101 checks. Also rename base_type to BaseType to follow naming
104 * FloatList.h: include Floating.h to satisfy concept checks.
106 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
108 * lyxfunc.C (getStatus): when the origin of the request is menu or
109 toolbar, and the LyXView does not have focus, do as if there was
112 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
113 FuncRequest to individual entries of LFUN_SEQUENCE
115 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * output_latex.C (TeXOnePar): override runparams.moving_arg
118 according to the needprotect value of the current paragraph (bug
121 * paragraph.C (simpleTeXOnePar): no need to override
122 runparams.moving_args here
124 2004-11-14 John Spray <spray_john@users.sourceforge.net>
126 * vspace.C: fix off-by-one-error, related to fix #1682
128 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
130 * lengthcommon.C: a more general fix for bug 1682
132 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
134 * text.C (backspace): fix crash
136 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
138 * format.[Ch] (getFormatFromFile): new method
139 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
141 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
143 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
145 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
147 * lyxfunc.C (dispatch): remove the verbose argument
148 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
151 * kbmap.C (defkey): set the origin of func to KEYBOARD
153 * MenuBackend.C (MenuItem):
154 * ToolbarBackend.C (add): set the origin of func to UI
156 * funcrequest.[Ch]: add origin member, which indicates which part
157 of LyX requests an action
159 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
161 * converter.C (move): don't lie in the error message
162 * converter.h (isReachable, move): document
164 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
166 * buffer.C: remove unused using lyx::support::atoi
167 * paragraph_funcs.C: ditto
169 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
171 * bufferlist.C (exists): use bind and equal_to instead of
174 * lyxtextclasslist.C (NumberOfClass): ditto
176 * cursor.C (insert): use for_each instead of explicit for loop
178 * bufferlist.C (getFileNames): use std::transform and
179 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
181 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
184 * buffer.C (changeLanguage): use for_each instead of explicit for
186 (hasParWithID): implement using getParFromID
188 * LaTeXFeatures.C: ws change only
190 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
193 * BufferView_pimpl.C (trackChanges): use for_each instead of
196 2004-11-04 André Pönitz <poenitz@gmx.net>
199 * undo.C (textUndoOrRedo): fix crash when creating undo information.
201 * dociterator.C (asDocIterator): use hard assert again.
203 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
205 * lyxlength.C (asLatexString): rewrite so that it does not use
208 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
210 * text3.C (specialChar, dispatch): make sure cursor moves to the
211 right after inserting an inset
213 2004-11-02 José Matos <jamatos@lyx.org>
215 * output_docbook.C (docbook):
216 * paragraph.C (getID):
217 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
218 garantee that the output is always legal.
220 * tabular.C (docbook):
221 * outputprams.[Ch]: remove mixed contents.
223 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
225 * text2.C (setCounter): prevent endless loop
227 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
229 * exporter.C (copyFile): use the mover instead of support::copy()
230 * exporter.C (Export): pass format and latex name to copyFile()
231 * exporter.h (addExternalFile): document
232 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
234 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
236 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
238 2004-10-30 José Matos <jamatos@lyx.org>
240 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
241 text and no inset or font change. This allows to use CDATA
242 sections just for the whole paragraph.
244 2004-10-30 José Matos <jamatos@lyx.org>
246 * paragraph.C (getFirstWord): remove unused variable.
248 2004-10-30 José Matos <jamatos@lyx.org>
250 * paragraph.C (getFirstWord): the content should always be escaped
252 (simpleDocBookOnePar):
253 * output_docbook.C (makeEnvironment): replace reference to CDATA
256 2004-10-30 José Matos <jamatos@lyx.org>
258 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
260 2004-10-30 José Matos <jamatos@lyx.org>
262 * output_docbook.C (makeParagraphs):
263 * paragraph.[Ch] (emptyTag): for docbook and company, if the
264 standard paragraph has only a given type of content drop the wrapper.
266 2004-10-29 José Matos <jamatos@lyx.org>
268 * output_docbook.C (makeEnvironment):
270 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
272 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
274 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
275 (cleanID): sanitize any id.
277 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
279 * buffer.C, lyxlex_pimpl.C:
280 * lyxlex_pimpl.C (setFile):
281 s/getExtFromContents/getFormatFromContents/
283 2004-10-28 José Matos <jamatos@lyx.org>
285 * output_docbook.C (makeEnvironment): move id to broadest possible
288 * sgml.C (openTag): apply substitution of <> for all attributes.
290 2004-10-28 José Matos <jamatos@lyx.org>
292 * buffer.C (makeLinuxDocFile, makeDocBookFile):
293 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
294 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
296 * sgml.[Ch]: new version for open and closeTag for paragraph and
297 for strings. Now they handle the ids of paragraphs.
299 2004-10-26 Angus Leeming <leeming@lyx.org>
301 * Makefile.am: add mover.[Ch].
303 * converter.C (convert, move): use the new Movers to move external
304 files to the temp directory.
306 * lyx_main.C (init): ensure that the global system_movers data
309 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
312 * mover.[Ch]: new files, defining a Mover as a utility to move an
313 external file between directories and, if necessary, manipulate this
314 file using a helper script.
316 2004-10-25 José Matos <jamatos@lyx.org>
318 * output_docbook.C (makeCommand): merge two if's that tested the
321 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
323 * sgml.C (escapeString): fix warning in a better way
325 2004-10-25 José Matos <jamatos@lyx.org>
327 * sgml.C (escapeString): import the require boosts header file for
328 tie, and avoid a signed unsigned comparison.
330 2004-10-25 José Matos <jamatos@lyx.org>
332 * sgml.h: add #include <string>
334 2004-10-25 José Matos <jamatos@lyx.org>
336 * sgml.[Ch] (escapeString): new function to escape all the string.
338 2004-10-24 José Matos <jamatos@lyx.org>
340 * paragraph.[Ch] (getFirstWord): new function to get the first
341 word. Useful for description.
342 (simpleDocBookOnePar): remove depth argument, add another that
343 says where to start the paragraph.
345 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
346 use the new functions to fix cleanly the support for descriptions.
348 2004-10-24 José Matos <jamatos@lyx.org>
350 * buffer.C (makeLinuxDocFile, makeDocBookFile):
351 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
352 * output_linuxdoc.C (linuxdocParagraphs):
353 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
354 add buffer as argument.
356 2004-10-24 José Matos <jamatos@lyx.org>
358 * output_docbook.C (makeEnvironment, searchEnvironment): place
359 CDATA inside paragraphs and fix scope for listitems.
361 2004-10-24 José Matos <jamatos@lyx.org>
363 * output_docbook.C: remove using statement for stack.
365 2004-10-23 José Matos <jamatos@lyx.org>
367 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
368 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
369 docbook. The new scheme is recursive and makes use of iterators, the
370 same as latex export works.
371 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
372 directly with the paragraph contents. This code was moved up to
373 output_docbook.C (docbookParagraphs).
374 * sgml.C (openTag, closeTag): removed unneeded newlines.
375 (closeEnvTags) removed.
377 2004-10-23 André Pönitz <poenitz@gmx.net>
379 * undo.C (textUndoOrRedo):
380 * dociterator.C (asDocIterator): work around crash
382 * cursor.C (getStatus): replace ASSERT by more verbose error message
383 and manual correction of the problem. Should increase stability
384 while providing more sensible information.
386 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
388 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
390 * bufferlist.C (previous, next): new methods
393 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
395 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
397 * buffer.C (makeDocBookFile): add dsssl stylesheet control
398 entities to preamble.
400 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
402 * messages.C (Pimpl): strip off translation context information
404 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
407 the cursor is correct (bug 1694)
409 2004-10-13 José Matos <jamatos@lyx.org>
411 * output_docbook.C (docbookParagraphs): fix closing tags in the
414 2004-10-09 José Matos <jamatos@lyx.org>
416 * buffer.C: format up to 237.
417 * bufferparams.C (write): use tostr to convert booleans to strings.
419 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
421 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
423 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
425 * LaTeX.C: implement use of babel language in xindy.
427 2004-10-05 José Matos <jamatos@lyx.org>
429 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
430 Add new translators to help reading and writing the lyx file.
432 2004-10-05 José Matos <jamatos@lyx.org>
434 * ParagraphParameters.C (read):
435 * text.C (readParToken): replace nexToken by more appropriate lex
438 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
440 * LaTeX.C (runMakeIndex):
441 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
442 (usually 'makeindex') configurable.
444 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
445 with a variable rather than with a number.
447 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 * output_latex.C (TeXOnePar): make sure font setting is the first
450 thing that gets output (and the last at the end). Should fix bug
453 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
455 * pch.h: use proper signal include
457 * LaTeX.h: Use preferred calling of Boost.Signal
460 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
462 * pch.h: dont include <boost/function/function0.hpp>
464 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
466 * paragraph_pimpl.h: remove usage of ShareContainer
468 * paragraph_pimpl.C: remove initialization of ShareContainer.
470 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
474 * BufferView.C (putSelectionAt): change the semantics when
475 backwards == true: now, this just swaps cursor and anchor wrt the
478 * BufferView.h (putSelectionAt): add some documentation
480 * lyxfind.C (findBackwards): rewrite using while(). In particular,
481 make sure backwardChar is done at least once (to avoid getting
483 (findNextChange): use putSelectionAt in the forward direction
484 (operator()): use Paragraph::isWord
486 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
488 * Spacing.C (set): c_str fix
490 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
492 * lyx_cb.C (Reconfigure): quote the name of configure script in
493 case it contains spaces
495 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
499 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
500 (BOOST_LIBS): use top_buildir when looking for the file
502 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
504 * pch.h: do not use include boost/format.hpp, multiple symbols
505 will result (gcc bug)
508 2004-08-23 José Matos <jamatos@lyx.org>
510 * bufferparams.C (readToken): fix reading of the author field.
512 2004-08-20 José Matos <jamatos@lyx.org>
514 * lyxrc.C: remove support/translator.h inclusion since it is not used.
516 2004-08-20 José Matos <jamatos@lyx.org>
518 * lyxlex.[Ch] (findToken): remove function.
520 * ParagraphParameters.C (findToken):
521 * bufferparams.C (findToken): replace call for previous function
522 with local copy. This local function has one more argument, the
523 read string argument.
525 2004-08-16 José Matos <jamatos@lyx.org>
527 * ParagraphParameters.C (write):
528 * Spacing.C (writeFile):
529 * bufferparams.C (writeLaTeX):
530 * lyx_cb.C (Reconfigure):
531 * paragraph.C (write):
532 * tabular.C (write): remove unnecessary space at end of line.
535 2004-08-16 José Matos <jamatos@lyx.org>
537 * text.C (readParagraph): remove debug message.
539 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
541 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
544 * output_plaintext.C (asciiParagraph): set depth correctly
546 * outputparams.h: add member depth
548 * paragraph_funcs.C (ownerPar): remove.
550 * text2.C (setCounter): remove first_pit; comment out some
551 non-working code that uses ownerPar
553 * BufferView.C (getParentLanguage): remove. Not used anymore, and
556 2004-08-16 José Matos <jamatos@lyx.org>
558 * text.C (readParToken, readParagraph, read): report all unknown tokens.
559 For the same level of importance use the same chanel to report problems.
560 (read): add code to deal with \begin_body and \end_body.
563 2004-08-15 José Matos <jamatos@lyx.org>
565 * lyxlex.C (getString): fix comment, buffer::readBody is now
568 * tex-strings.C (string_papersize): Default -> default,
569 Custom -> custom, for consistency with other options.
571 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
575 * Makefile.am: support pch
577 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
579 * text.C (readParToken): remove the static LyXFont variable and
580 pass it as a parameter instead. This fixes a nasty bug where an
581 inset will be inserted with a bad font in some situations
582 (readParagraph): adapt
584 * text2.C (setCounter): reduce number of calls to pars_[pit]
586 * text.C (singleWidth): add an assert, fix a test
588 * rowpainter.C (paintText): reduce number of calls to singleWidth
590 * paragraph.C (isHfill):
593 2004-08-14 André Pönitz <poenitz@gmx.net>
598 * lyxtext.h (several functions): use a Paragraph & argument
601 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
603 * metricsinfo.h: add a new field ltr_pos to PainterInfo
605 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
607 * text.C (singleWidth): remove useless test
609 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
611 * tabular.h: remove bogus comments
613 * tabular.C (getDescentOfRow):
614 (isPartOfMultiColumn): add assertions
616 * lyxlength.C (inPixels): remove #warning
618 2004-08-14 André Pönitz <poenitz@gmx.net>
620 * paragraph.h: inline getChar()
622 * BufferView.h: remove unused declarations
624 2004-08-14 José Matos <jamatos@lyx.org>
626 * Buffer.[Ch] (readDocument): new name for old readBody.
627 * Buffer.C: new file format, new keywords: \begin_document,
628 \begin_header, \begin_body, \end_body.
630 * bufferparams.C (readToken): replace all calls to lex.nextToken
631 by lex.next(). Do the same to eatLine except where really needed.
633 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
634 line when writing to the lyx file.
636 * output_plaintext.C (asciiParagraph): fix Bibliography style
639 * text.C (read): fix end of file handling.
641 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
643 * MenuBackend.C (Menu::operator[]): new method to access
644 individual menu items
645 (Menu::hasFunc): new method. search for an item that corresponds
647 (MenuBackend::specialMenu): new method
648 (MenuBackend::expand): if a special menu has been set, skip
649 entries whose func() appears in this menu
651 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
653 * text3.C: use Debug::DEBUG a bit more
655 * text.C (leftMargin): try to simplify a tiny bit change var x to
656 l_margin. Dont output the wide margins always.
657 (rightMargin): no margin in inner texts
659 * rowpainter.h (nestMargin): new func
660 (changebarMargin): new func
661 (rightMargin): new func
663 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
667 * factory.C (createInset): modify setDrawFrame
669 * cursor.C: use Debug::DEBUG a bit more
671 2004-08-14 André Pönitz <poenitz@gmx.net>
674 * Makefile.am: new files to accomodate an 'external' (x,y)-position
675 cache for all insets in (at least partially) visible (top-level)
678 * BufferView_pimpl.C: reset external coord cache before every update.
679 This means the coord cache only contains valid entries.
681 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
684 * BufferView_pimpl.C (getInsetByCode): move function out of class
685 and change in to a template in anon namespace. Also fix to do what
688 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
691 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
693 (breakParagraph): rename par to par_offset and use a local
694 reference. Add code to keep the language over a rebreak.
695 (breakParagraphConservative): rename par to par_offset, use a
697 (mergeParagraph): ditto
699 (isFirstInSequence): ditto
700 (outerFont): rename pit to par_offset
702 * paragraph.C: ws change
707 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
709 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
712 * paragraph.C (simpleTeXOnePar): when we have a \item with
713 optional argument, enclose the argument with curly brackets (in
714 case it contains a closing square bracket)
718 * text3.C (checkInsetHit): constify
720 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
722 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
725 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
727 Fix toggling of collapsable insets with the mouse (bug 1558)
729 * lyxfunc.C (dispatch): adapt to LCursor changes
731 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
732 make sure that dispatch is not invoked twice
734 * cursor.C (needsUpdate): new method
735 (dispatch): return void
736 (result): new method, to access the DispatchResult of the cursor.
738 2004-08-13 José Matos <jamatos@lyx.org>
740 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
742 2004-08-13 André Pönitz <poenitz@gmx.net>
744 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
746 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
749 2004-08-12 André Pönitz <poenitz@gmx.net>
751 * text3.C: take out the 'cursor right' form insertInset and only
752 do it in those places when it is really needed. Fixes crash on
755 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
757 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
759 * BufferView_pimpl.C (setBuffer): initialize the current font of
760 the underlying LyXText
762 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * kbsequence.C (print): use UI native formatting for menu
767 * text.C (insertChar): call Paragraph::insertChar with a font
770 * paragraph.C (insertInset, insertChar): the version that takes a
771 LyXFont argument is now a wrapper around the other one (the
772 opposite used to be true).
774 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
775 argument. Font setting is done in Paragraph now.
777 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
779 * outputparams.h: add new members intitle and lang.
781 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
782 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
784 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
786 * text3.C (dispatch): remove special handling of button 4 and 5,
787 it is now taken care of in the frontend code.
789 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
791 * Spacing.h: add <string> (STLPort compile fix)
793 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
795 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
797 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
799 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
802 * converter.C (showMessage): inherit from unary_function, make
805 * buffer.C (writeFile): initialize retval
807 * InsetList.h: rename private variable list to list_
808 * InsetList.[Ch]: adjust accordingly.
810 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
812 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
813 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
814 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
815 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
816 * ParagraphParameters.C, LaTeXFeatures.C: replace
817 "support/std_sstream.h" with <sstream>
819 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
821 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
822 * lyxsocket.C (LyXServerSocket): ditto
823 (serverCallback): ditto
825 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
827 * LaTeXFeatures.C: check release date when loading jurabib.
829 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
831 * lyxserver.C (startPipe): call register_socket_callback
832 (endPipe): call unregister_socket_callback
834 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
836 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
837 (LyXServerSocket): register the callback
838 (LyXServerSocket): unregister the callback
839 (fd): delete function
840 (serverCallback): improve error checking and setup the callbacks.
841 (dataCallback): change arg to fd.
842 (writeln): new func (copied fro the client socket) used for server
844 (LyXDataSocket): simplify
845 (~LyXDataSocket): close ann unregiser callback
846 (server): delete function
847 (fd): delete function
848 (readln): small changes, improve some std::string usage
849 (writeln): constify a bit
851 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
853 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
856 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
858 * BufferView_pimpl.C (setBuffer): set the layout combox value only
859 after it has been populated
861 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
863 * text2.C (insertInset): move cursor when inserting inset.
865 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
867 * kbmap.C (findbindings): a couple of new methods. returns a
868 container of kb_sequence objects. The real work is done by the
869 private recursive version
870 (printbindings): uses findbindings to print out a bracketed list
871 of bindings (renamed from findbinding).
873 * MenuBackend.C (binding): use kb_keymap::findbindings
875 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
877 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
879 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
881 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
883 * paragraph.C (isWord): return true on insets that report
886 * text.C (getWord): use Paragraph::isWord to decide what is in a
887 word and what is not; fix bug 1609.
889 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
891 * tex-strings.C: add "none" to string_paperpackages[], fixes
892 off-by-one-error in the paperpackage selection.
895 * tex-strings.[Ch]: char const * string[n]
896 -> char const * const string[]
898 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
900 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
901 command, return early.
903 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
905 * debug.h: add DEBUG to enum and fix size of ANY.
907 * debug.C: add support for Debug::DEBUG
908 (showTags): cast errorTags.level to unsigned int
910 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
911 (redoCurrentBuffer): ditto
912 (updateScrollbar): ditto
913 * cursor.C (dispatch): ditto
914 * text2.C (setLayout): ditto
916 (updateCounters): ditto
918 (deleteEmptyParagraphMechanism): ditto
920 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
922 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
923 annotations to cleanup the Makefile slightly.
925 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
927 * lyxrc.C: do not set user_email to a default value but use empty
928 instead. The entry used to be translated, which does not work
929 since at the point where lyxrc is constructed there is no
930 translation service available
932 * messages.C (getLocaleDir): remove and use directly
933 lyx_localedir() instead
935 2004-06-02 Angus Leeming <leeming@lyx.org>
937 Fix crash caused by dereferencing null pointer 'exportdata' in
938 OutputParams by creating a new ExportData variable on the heap,
939 storing it in a boost::shared_ptr.
940 The crash was triggered when generating an Instant Preview
941 of an external inset.
943 * Makefile.am: add outputparams.C
945 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
946 (c-tor): allocate memory to it.
948 * exporter.C (c-tor): associated changes.
950 2004-06-01 Angus Leeming <leeming@lyx.org>
952 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
953 contains data before calling isInset(0). (Bug 1513.)
955 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
957 * exporter.C (checkOverwrite): new method
958 * exporter.C (copyFile): new method
959 * exporter.C (Export): copy referenced files to the document dir
960 * exporter.[Ch]: new class ExportedFile
961 * exporter.[Ch]: new class ExportData. Contains currently the
962 names of referenced external files
963 * outputparams.h: add exportdata member.
965 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
967 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
970 2004-05-19 Angus Leeming <leeming@lyx.org>
975 * lyxfunc.C: small changes due to the introduction of namespace
976 lyx::frontend and the moving of namespace biblio to lyx::biblio.
978 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
980 * text3.C (dispatch): supress update when only moving the cursor
981 * cursor.C (selHandle): remove commented code
983 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
985 * paragraph.C (startTeXParParams): correct column count
986 * CutAndPaste.C (pasteSelection): remove const_cast
987 * output_docbook.C (docbookParagraphs): remove const_cast
988 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
989 const_cast and return ParagraphList::const_iterator
990 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
991 * output_plaintext.C (writeFileAscii): remove const_cast
992 * paragraph.[Ch] (simpleTeXOnePar): make const
993 * paragraph_funcs.C (outerPar): use const iterators
994 * paragraph_pimpl.C (validate): use const iterators
995 * text.C (setHeightOfRow): use const iterators
997 2004-05-17 Angus Leeming <leeming@lyx.org>
1000 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1002 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1003 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1004 if the citation engine has changed.
1006 2004-05-14 José Matos <jamatos@lyx.org>
1008 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1009 if the textclass does not provide it. Have it different for sgml and
1011 support the language of document.
1012 * output_docbook.C (docbookParagraphs):
1013 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1014 first anchor as the id of the paragraph, remove special case code.
1015 * sgml.C (escapeChar): escape only < & >.
1017 2004-05-14 Angus Leeming <leeming@lyx.org>
1019 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1020 dependencies on src/frontends/controllers/biblio.h. Define a
1021 CiteEngine_enum wrapper class to enable the enum to be forward
1024 2004-05-12 Angus Leeming <leeming@lyx.org>
1026 * buffer.C: up LYX_FORMAT to 234.
1027 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1028 use_numerical_citations with a single biblio::CiteEngine cite_engine
1030 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1032 2004-05-13 José Matos <jamatos@lyx.org>
1035 * converter.C (Converter, readFlags): add xml member.
1036 * outputparams.h: add XML flavor.
1037 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1039 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1041 * lyxfunc.C (dispatch):
1042 (getStatus): fix handling of LFUN_SEQUENCE
1044 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1046 * debug.C (showLevel): do not forget the end-of-line marker
1048 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1050 * kbmap.C (read): do not stop parsing a bind file when an error
1053 2004-04-29 Angus Leeming <leeming@lyx.org>
1058 * text2.C: wrap a bunch of #warning statements
1059 inside #ifdef WITH_WARNINGS blocks.
1061 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1063 * buffer.C: increment format to 233.
1065 2004-04-28 Angus Leeming <leeming@lyx.org>
1067 * BufferView_pimpl.C:
1070 s/updateToolbar()/updateToolbars()/
1071 s/Toolbar.h/Toolbars.h/
1073 2004-04-28 Angus Leeming <leeming@lyx.org>
1075 * BufferView.[Ch] (c-tor):
1076 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1077 No longer passes these data to the WorkArea generator.
1079 2004-04-28 Angus Leeming <leeming@lyx.org>
1081 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1083 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1085 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1087 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1089 * output_latex.C (TeXEnvironment): make sure that there is a line
1090 break before \end{foo} for the last paragraph of a document
1091 (TeXOnePar): if the paragraph is at the end of the document (or
1092 inset) and the language has to be reset, then make sure that the
1093 line break is _before_ the language command, not after (fixes bug
1094 1225); also make sure that the language reset command is the first
1095 thing after the paragraph (to ensure proper nesting of
1096 environments and thus fix bug 1404)
1098 2004-04-21 John Levon <levon@movementarian.org>
1101 * ToolbarBackend.C: make "name" be a programmatic name
1102 and a gui_name field.
1104 * lyxfunc.C: display the minibuffer on M-x
1106 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1108 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1111 2004-04-19 Angus Leeming <leeming@lyx.org>
1113 * BufferView_pimpl.C (setBuffer): changed preview interface.
1115 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1118 2004-04-19 John Levon <levon@movementarian.org>
1120 * BufferView_pimpl.C:
1121 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1123 2004-04-05 Angus Leeming <leeming@lyx.org>
1125 * text.C (redoParagraphs): add call to updateCounters(), thereby
1126 fixing the missing "Figure #:" label from the caption of a
1129 2004-04-13 Angus Leeming <leeming@lyx.org>
1131 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1132 cursor is clicked out of an inset.
1134 2004-04-13 Angus Leeming <leeming@lyx.org>
1136 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1137 than an InsetOld one.
1139 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1141 * format.[Ch]: add editor to Format
1142 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1143 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1145 2004-04-08 André Pönitz <poenitz@gmx.net>
1147 * metricsinfo.h: remove PainterInfo::width member
1149 2004-04-08 Angus Leeming <leeming@lyx.org>
1151 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1152 "\providecommand" rather than "\newcommand", thereby preventing
1153 clashes with packages that define "\boldsymbol" themselves.
1156 2004-04-08 Angus Leeming <leeming@lyx.org>
1158 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1159 thereby squashing an unnecessary warning.
1161 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1163 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1166 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1168 * BufferView.C (setCursor): call redoParagraph (some insets could
1170 (putSelectionAt): remove the 'double update' trick
1172 * BufferView_pimpl.C (fitCursor): call refreshPar
1173 (workAreaDispatch): remove an uneeded update call
1174 (dispatch): remove some manual update calls
1176 * cursor.[Ch]: remove cached_y_, updatePos
1177 (selHandle): set noUpdate when appropriate
1179 * lyxfunc.C (dispatch): track if we need an update
1181 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1183 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1184 (paintSelection): cheap optimization, do not call cursorX when not
1186 (paintPars): change signature
1189 (paintTextInset): adjust
1193 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1195 * lengthcommon.C: compilation fix: remove explicit array size from
1196 unit_name[] and friends
1198 2004-04-05 Angus Leeming <leeming@lyx.org>
1200 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1202 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1203 present only for the preferences dialog.
1204 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1206 2004-04-05 Angus Leeming <leeming@lyx.org>
1208 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1209 to enable the frontends to export changes to lyxrc correctly.
1211 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1213 2004-04-07 André Pönitz <poenitz@gmx.net>
1215 * cursor.[Ch] (selClear, adjust): remove math
1217 * cursor_slice.C: more agressive assert
1220 * BufferView_pimpl.C: rework mouse event dispatch
1227 2004-04-05 André Pönitz <poenitz@gmx.net>
1229 * cursor.[Ch] (valign, halign...): remove unneeded functions
1231 2004-04-05 Angus Leeming <leeming@lyx.org>
1233 * lyxlength.[Ch] (unit_name et al.): const-correct.
1235 2004-04-05 Angus Leeming <leeming@lyx.org>
1237 * BufferView_pimpl.C:
1246 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1248 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1250 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1252 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1254 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1255 * BufferView_pimpl.[Ch] (getStatus)
1256 * BufferView.[Ch] (getStatus): add
1257 * lyxfunc.C (getStatus): move lfuns handled in
1258 BufferView::dispatch to te function above
1259 * Cursor.C (setSelection): set selection() = true
1261 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1263 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1265 2004-03-31 Angus Leeming <leeming@lyx.org>
1267 * lyxfunc.C (dispatch): Fall through to the generic
1268 Dialogs::show("preamble").
1270 2004-03-31 Angus Leeming <leeming@lyx.org>
1272 * lyxfunc.C (dispatch): Fall through to the generic
1273 Dialogs::show("spellchecker").
1275 2004-03-31 Angus Leeming <leeming@lyx.org>
1277 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1280 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1285 * insetiterator.[Ch]:
1290 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1292 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1294 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1295 insets where we are putting the cursor.
1297 2004-03-31 Angus Leeming <leeming@lyx.org>
1300 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1302 * lyxrc.[Ch] (read, write): overloaded member functions taking
1303 a std::[io]stream arguments.
1305 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1307 2004-03-31 Angus Leeming <leeming@lyx.org>
1309 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1310 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1312 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1313 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1315 2004-03-31 Angus Leeming <leeming@lyx.org>
1317 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1318 the LFUN_ALL_INSETS_TOGGLE code.
1320 2004-03-30 Angus Leeming <leeming@lyx.org>
1322 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1323 has died. Fall through to the generic Dialogs::show("document").
1325 2004-03-30 Angus Leeming <leeming@lyx.org>
1328 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1329 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1331 * lyxfunc.C (getStatus, dispatch): define the actions for these
1332 lfuns. Little more than a cut and pste job from ControlDocument.C
1334 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1336 2004-03-30 Angus Leeming <leeming@lyx.org>
1339 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1340 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1342 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1343 open/closed state of ollapsable insets. Usage:
1345 all-inset-toggle <state> <name>, where
1346 <state> == "open" || "closed" || "toggle" and
1347 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1349 * lyxtext.h, text2.C (toggleInset): removed.
1351 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1352 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1353 now passes LFUN_INSET_TOGGLE to the found inset.
1355 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1356 is now invoked as "all-insets-toggle toggle branch".
1358 2004-03-30 Angus Leeming <leeming@lyx.org>
1362 * pariterator.[Ch]: added/corrected header blurb.
1364 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1366 * dociterator.[Ch]: add an inset_ member
1367 (backwardPos): implemented
1368 (backwardPos, forwardPos): use inset_ when the stack is empty.
1369 (doc_iterator_begin, doc_iterator_end): implemented
1370 * pariterator.[Ch]: adjust, add begin, end
1371 * insetiterator.[Ch]: adjust, add begin, end
1375 * BufferView_pimpl.C:
1376 * CutAndPaste.C: adjust
1378 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1380 * buffer.C: increment file format to 232.
1381 * LaTeXFeatures.C: add bibtopic package.
1382 * bufferparams.[Ch]: param \use_bibtopic.
1384 * lyxrc.[Ch]: add lyxrc bibtex_command
1385 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1387 * buffer.C: increment file format to 231.
1389 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1391 * dociterator.C: implement forwardPar
1392 * iterators.[Ch]: remove, replaced by
1393 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1395 * BufferView_pimpl.C:
1398 * bufferview_funcs.C:
1404 * Makefile.am: adjust
1406 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1408 * CutAndPaste.C (pasteSelection): fix 2 crashes
1409 (eraseSelection): fix a crash
1410 * paragraph_funcs.C: remove a warning
1412 2004-03-28 Angus Leeming <leeming@lyx.org>
1415 * LyXAction.C (init): new LFUN_PRINT.
1417 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1419 2004-03-27 Angus Leeming <leeming@lyx.org>
1422 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1424 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1426 2004-03-27 Angus Leeming <leeming@lyx.org>
1428 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1429 insetlist always contains non-null pointers to insets.
1431 2004-03-26 Angus Leeming <leeming@lyx.org>
1433 * src/BufferView_pimpl.C:
1434 * src/CutAndPaste.C:
1437 * src/output_plaintext.C:
1438 * src/outputparams.h:
1439 * src/paragraph_funcs.C:
1443 * src/frontends/controllers/ControlErrorList.C:
1444 * src/frontends/gtk/FileDialogPrivate.C:
1445 * src/frontends/gtk/GPainter.C:
1446 * src/frontends/gtk/GToolbar.C:
1447 * src/frontends/qt2/QRef.C:
1448 * src/mathed/math_scriptinset.C: squash compiler warnings.
1450 2004-03-26 Angus Leeming <leeming@lyx.org>
1452 * ispell.C (LaunchIspell::start):
1453 * lyx_cb.C (AutoSaveBuffer::start):
1454 invoke run(DontWait) rather than runNonBlocking().
1456 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1458 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1460 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1462 * kbsequence.C (print): adjust
1464 * kbmap.C (printKeySym): rename and change signature
1465 (printKey): use LyXKeySym::print()
1467 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1469 * undo.C: add using std::advance to compile for stlport
1471 2004-03-24 Angus Leeming <leeming@lyx.org>
1473 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1474 it leads to a crash when no buffer is present.
1476 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1477 Martin Vermeer <martin.vermeer@hut.fi>
1479 * lyxfunc.C (dispatch):
1480 * bufferparams.C (readToken): use the new LColor::setColor
1482 * LColor.[Ch] (setColor): new version that takes two strings as
1483 argument and creates a new color entry if necessary
1485 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1487 * buffer.C (makeLaTeXFile): if the main latex file that is
1488 processed is usually a subdocument of some master, then pretend
1489 for a while that it is actually the master
1491 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1493 * buffer.C (getLabelList):
1494 (getBibkeyList): use getMasterBuffer()
1495 (getMasterBuffer): new method. Returns the main document in the
1496 case where one is using included documents.
1498 2004-03-25 André Pönitz <poenitz@gmx.net>
1502 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1504 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1506 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1507 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1509 * ParameterStruct.h: merge with ParagraphParameters
1511 * lyxtext.h: remove LyXText::parOffset() and getPar()
1513 * text3.C: Remove all 'manual' update calls. We do now one per user
1514 interaction which is completely sufficient.
1518 * BufferView_pimpl.C:
1519 * FontIterator.[Ch]:
1521 * ParagraphParameters.[Ch]:
1526 * cursor_slice.[Ch]:
1533 * output_docbook.[Ch]:
1534 * output_latex.[Ch]:
1535 * output_linuxdoc.[Ch]:
1536 * output_plaintext.[Ch]:
1538 * paragraph_funcs.[Ch]:
1539 * paragraph_pimpl.[Ch]:
1547 * frontends/controllers/ControlDocument.C:
1548 * frontends/controllers/ControlErrorList.C:
1549 * frontends/controllers/ControlSpellchecker.C:
1552 * insets/insetbase.h:
1553 * insets/insetbibitem.C:
1554 * insets/insetbox.C:
1555 * insets/insetbranch.C:
1556 * insets/insetcaption.C:
1557 * insets/insetcharstyle.C:
1558 * insets/insetcharstyle.h:
1559 * insets/insetcollapsable.C:
1560 * insets/insetcollapsable.h:
1561 * insets/insetert.C:
1562 * insets/insetfloat.C:
1563 * insets/insetfoot.C:
1564 * insets/insetmarginal.C:
1565 * insets/insetnote.C:
1566 * insets/insetoptarg.C:
1567 * insets/insettabular.C:
1568 * insets/insettext.C:
1569 * insets/insettext.h:
1570 * insets/insetwrap.C:
1571 * mathed/math_mboxinset.C:
1572 * mathed/math_nestinset.C:
1573 * mathed/math_scriptinset.C:
1574 * mathed/math_scriptinset.h:
1577 2004-03-24 Angus Leeming <leeming@lyx.org>
1579 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1580 deal with any child processes that have finished but are waiting to
1581 communicate this fact to the rest of LyX.
1583 2004-03-24 Angus Leeming <leeming@lyx.org>
1585 64-bit compile fixes.
1587 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1588 (c-tor): pass lyx::pos_types rather than ints.
1590 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1593 * text.C (Delete): compile fix.
1594 (getPar): ensure that function declaration is the same as that in
1597 2004-03-23 Angus Leeming <leeming@lyx.org>
1599 * ispell.C (LaunchIspell):
1600 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1601 a boost::shred_ptr rather than a std::auto_ptr.
1603 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1605 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1606 handle LFUN_FILE_INSERT_*
1608 * lyxrc.C (setDefaults, getDescription, output, read):
1609 * lyxrc.h: remove ps_command
1611 2004-03-22 Angus Leeming <leeming@lyx.org>
1613 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1614 Ensure that error_handler is processed once only and that all data
1615 is saved before attempting to output any warning messages.
1617 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1619 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1621 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1623 2004-03-19 André Pönitz <poenitz@gmx.net>
1625 * cursor.[Ch] (reset): take main text inset as argument
1627 * BufferView: adjust
1628 * BufferView_pimpl.C: adjust
1630 * paragraph.[Ch]: fix completely broken operator=()
1632 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1634 * LColor.C (getFromLyXName): make sure that the color name is used
1637 2004-03-17 Angus Leeming <leeming@lyx.org>
1640 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1642 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1643 dialog and to kill a forked process.
1645 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1647 * text2.C (setCursorFromCoordinates): fix font problem
1649 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1651 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1652 bogus "rebuild cursor" code
1654 2004-03-11 André Pönitz <poenitz@gmx.net>
1656 * buffer.[Ch]: use InsetText instead of LyXText as container for
1659 * dociterator.[Ch]: drop the BufferView * member which is not needed
1660 anymore after the change to buffer.C
1662 * paragraph_funcs.C:
1666 * BufferView_pimpl.[Ch]:
1668 * cursor_slice.[Ch]: adjust
1670 * text3.C: fix bug in mathDispatch
1672 2004-03-08 André Pönitz <poenitz@gmx.net>
1674 * undo.[Ch]: use 'StableDocumentIterator' as base for
1677 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1680 * bufferparams.[Ch]: add jurabib support and param.
1682 * LaTeX.C: add FIXME/comment.
1684 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1686 * buffer.C: increment file format to 230.
1688 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1690 * cursor.C (dispatch): avoid infinite loops
1692 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1694 * rowpainter.C (paintSelection): fix x coordinates
1696 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1698 * text.C (rowBreakPoint): fix breaking before displayed insets
1700 2004-03-01 André Pönitz <poenitz@gmx.net>
1702 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1704 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1708 * BufferView_pimpl.C:
1716 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1722 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1723 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1725 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1727 * Bidi.[Ch] (computeTables): const correctness
1728 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1729 fill_hfill, fill_label_hfill and x from Row
1730 * lyxtext.h: prepareToPrint returns a RowMetrics
1731 * rowPainter.C: adjust
1732 * text.C (prepareToPrint): use width, not textWidth. adjust
1733 (redoParagraphInternal, cursorX): adjust
1734 * text2.C (getColumnNearX): adjust
1735 (init): put a default value to the top LyXText::width
1737 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1739 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1741 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1743 * lyxtext.h: add FontIterator class
1745 * text.C (FontIterator, operator*, operator->, operator++): add
1746 (rowBreakPoint, setRowWidth): adjust (fixing a
1749 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1751 * BufferView_pimpl.C (workAreaDispatch): allow also
1752 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1754 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1756 * text.C (rowBreakPoint): fix a bug showing with very large insets
1758 2004-02-25 André Pönitz <poenitz@gmx.net>
1761 * cursor.[Ch]: move some mathed specific code to mathed
1763 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1765 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1766 use_tempdir in preferences
1767 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1769 * lyx_main.C: ensure that tempdir is valid
1770 * lyxlex.h: correct typo
1771 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1772 * paragraph.[Ch] (isMultiLingual): make const
1773 * cursor.[Ch] (openable): make const
1775 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1777 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1779 2004-02-20 André Pönitz <poenitz@gmx.net>
1781 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1783 * cursor.[Ch]: prepare for localized getStatus()
1789 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1791 2004-02-20 André Pönitz <poenitz@gmx.net>
1793 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1795 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1797 * text2.C (setCursorFromCoordinates): switch to absolute coords
1799 (cursorDown): adjust
1800 * text3.C (dispatch): adjust
1802 2004-02-16 André Pönitz <poenitz@gmx.net>
1804 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1807 * cursor_slice.[Ch]: remove unneeded acessor function
1809 * lyxtext.h: rename rtl() to isRTL()
1817 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1819 * rowpainter.C (paintSelection): coord fix
1821 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1823 * Spacing.C: compile fix
1825 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1827 * cursor.C (dispatch): restore current_ before returning
1829 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1831 * text2.C (cursorUp, cursorDown): fix coords
1834 2004-02-12 André Pönitz <poenitz@gmx.net>
1839 * text3.C: add LCursor & parameter to most cursor movement functions
1840 remove usage of LyXText::cursorRow() and cursorPar()
1842 * cursor.[Ch]: add textRow() needed members
1845 * BufferView_pimpl.C:
1848 * BufferView_pimpl.C: adjust
1850 2004-02-11 André Pönitz <poenitz@gmx.net>
1854 * BufferView_pimpl.C: shift undo/redo handling
1856 * cursor.[Ch]: fix mathed crash
1859 * lyxtext.h: move selectionAsText to LCursor
1867 * rowpainter.C: fix excessive drawing
1869 2004-02-06 André Pönitz <poenitz@gmx.net>
1872 * BufferView_pimpl.[Ch]:
1873 * text3.C: move some text specific LFUN handling
1875 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1877 * text3.C (checkInsetHit): adjust coords
1878 * text2.C (getColumnNearX): adjust coords
1879 (edit): adjust coords
1880 * text.C (getRowNearY): add two asserts
1882 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1885 * format.C: add using std::distance to compile on gcc 2.95/stlport
1887 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1889 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1891 2004-02-04 André Pönitz <poenitz@gmx.net>
1893 * BufferView.[Ch] (insertInset):
1894 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1899 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1901 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1902 on the default clause of the switch
1903 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1904 wasn't catched by LCursor::dispatch
1906 2004-02-03 André Pönitz <poenitz@gmx.net>
1909 * cursor.[Ch]: some additional asserts
1911 * undo.[Ch]: remove LyXText dependency in interface
1915 * lyxtext.h (firstPar, lastPar): remove dead functions
1920 * paragraph.[Ch]: adjust
1922 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1924 * lyxfind.C (find): fix argument order in call to ::find
1926 2004-02-02 André Pönitz <poenitz@gmx.net>
1928 * cursor.[Ch]: remove direct access to anchor
1930 * text.C: remove findText() hack
1932 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1934 * iterators.[Ch] (lockPath): remove in favour of...
1935 * BufferView.[Ch] (setCursor): this addition
1936 * BufferView.C (putSelectionAt): adjust
1937 * undo.C (performUndoOrRedo): adjust
1938 * lyxfunc.C (dispatch): adjust
1940 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1942 * iterators.C (lockPath): add a missing slice
1943 * undo.C (performUndoOrRedo): remove redundant positioning code
1945 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1947 * vc-backend.C (scanMaster): ";" -> ';'
1949 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1951 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1952 std::binary_function
1954 * lyxtextclass.C (compare_name): rename to...
1955 (LayoutNamesEqual): ...this
1957 * lyxlex_pimpl.C (compare_tags): inherit from
1958 std::binary_function, put back into anon namespace
1960 * lyxfind.C (MatchString): inherig from std::binary_function
1961 (findChange): use empty() istead of !size()
1963 * format.C (FormatNamesEqual): new functor
1970 * converter.C (compare_Converter): rename to...
1971 (ConverterEqual): ...this, and fixup a bit.
1972 (getConverter): use it, and make function const
1973 (getNumber): use it, and make function const
1977 * bufferlist.C: add using boost::bind
1979 * MenuBackend.C (MenuNamesEqual): new functor
1980 (hasMenu): use it, and make function const
1981 (hasSubmenu): use nested bind to get rid of compare_memfun.
1983 2004-01-30 André Pönitz <poenitz@gmx.net>
1985 * BufferView_pimpl.C:
1988 * cursor_slice.[Ch]:
1991 * paragraph_funcs.C:
1992 * paragraph_funcs.h:
1996 * text3.C: move some of the edit(x,y) handling to the insets
1997 some coordinate changes.
1999 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2001 * text.C: add using statements for std::advance and std::distance
2003 * paragraph.C: add using statement for std::distance
2005 * lyxfind.C: add using statement for std::advance
2007 * cursor.C (region): remove std:: from swap
2008 (openable): use nucleus in stead of operator->
2010 * BufferView.C: add using statements for std::distance and std::swap
2012 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2014 * iterators.C: Remove the pimple, move the needed structures to
2015 the header file. Create accessor for the positions stack.
2016 (asPosIterator): remove function
2018 * PosIterator.C (PosIterator): move constructors to top of file
2019 (PosIterator): reimplement the constructor taking a ParIterator in
2021 (setFrom): new function
2022 (operator!=): inline it
2024 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2026 * lyxfind.C (replaceAll): use std::advance
2028 * iterators.h: inherit from std::iterator.
2030 * PosIterator.C (advance, distance): remove
2031 * PosIterator.h: interit from std::iterator.
2033 2004-01-26 André Pönitz <poenitz@gmx.net>
2036 * BufferView_pimpl.[Ch]:
2040 * bufferview_funcs.C:
2050 * output_linuxdoc.C:
2051 * output_plaintext.C:
2053 * paragraph_funcs.[Ch]:
2054 * paragraph_pimpl.[Ch]:
2060 * text3.C: more IU: dumps most of the rest of the mathcursor
2061 implementation into cursor.[Ch]; "globalize" a bit of it.
2063 2004-01-25 Angus Leeming <leeming@lyx.org>
2065 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2067 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2069 * LaTeXFeatures.h: add nice_ and nice() const
2070 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2072 2004-01-20 André Pönitz <poenitz@gmx.net>
2075 * BufferView_pimpl.C:
2077 * bufferview_funcs.C:
2079 * cursor_slice.[Ch]:
2090 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2091 LCursor and mathcursor parts to LCursor and InsetBase.
2093 2004-01-15 André Pönitz <poenitz@gmx.net>
2095 * cursor_slice.[Ch]: add a few covienience functions
2097 * funcrequest.[Ch]: remove BufferView * member
2099 * BufferView_pimpl.C:
2106 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2108 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2110 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2111 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2113 2004-01-13 André Pönitz <poenitz@gmx.net>
2116 * lyxtext.h: hide cursor and selection anchor behind accessor function
2119 * BufferView_pimpl.[Ch]:
2121 * bufferview_funcs.C:
2131 * cursor_slice.[Ch]: some integer type changes for inset unification
2133 * lyxcursor.[hC]: remove, it's CursorSlice now.
2136 * BufferView_pimpl.[Ch]:
2137 * bufferview_funcs.C:
2143 * textcursor.[Ch]: adjust
2145 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2147 * text2.C (undoSpan): add and use
2148 * text.C (breakParagraph): use undoSpan (fix bug 578)
2151 2004-01-08 Angus Leeming <leeming@lyx.org>
2153 * BufferView_pimpl.C (MenuInsertLyXFile):
2154 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2155 * lyxfunc.C (menuNew, open, doImport):
2156 FileFilterList change to the FileDialog open and save functions.
2158 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2160 * ShareContainer.h: make isEqual and isUnique adaptable
2162 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2164 2004-01-07 Angus Leeming <leeming@lyx.org>
2167 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2169 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2171 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2172 functions replacing find, replace and replaceAll.
2174 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2175 LFUN_WORDFIND(FORWARD|BACKWARD).
2177 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2179 * text.C (breakParagraph): remove an outdated #warning
2181 2004-01-07 André Pönitz <poenitz@gmx.net>
2183 * lyxfind.C: somewhat clearer logic
2185 * text.C: prevent crash in cursorX on unitialized row cache
2187 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2189 * lyxcursor.[Ch] (operator>): add
2190 * textcursor.C (selStart, selEnd): use std::min and std::max
2192 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2194 * Chktex.C: include boost/format.hpp
2196 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2198 * InsetList.C: replace functor MathcIt with adaptable functor
2200 (insetIterator): modify accordingly
2202 * BranchList.h: move the BranchNamesEqual functor here from...
2203 * BranchList.C: ... to here
2205 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2207 (add): replace a finding loop with std::find_if.
2209 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2211 * output_docbook.C: moving LatexParam functionality into
2214 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2216 * buffer.C: increment format to 229.
2218 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2221 * lyx_sty.[Ch]: remove minipageindent_def
2227 * text3.C: remove LFUN_INSET_MINIPAGE
2229 2003-12-28 Angus Leeming <leeming@lyx.org>
2231 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2233 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2235 * text2.C (setParagraph): fix off-by-one crash
2237 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2239 * output_docbook.C: header stuff for AGU
2241 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2243 * text2.C (redoCursor): remove
2246 * BufferView_pimpl.C: remove calls to redoCursor and
2247 setCursor(cursor.par(), cursor.pos()) all around
2249 2003-12-15 Angus Leeming <leeming@lyx.org>
2251 * buffer.C: up the format to 228.
2253 2003-12-15 André Pönitz <poenitz@gmx.net>
2255 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2260 * BufferView_pimpl.C:
2269 2003-12-15 Angus Leeming <leeming@lyx.org>
2271 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2272 than getFromGUIName to manipulate the color.
2274 2003-12-14 Angus Leeming <leeming@lyx.org>
2276 * BranchList.[Ch]: minimize the API.
2277 (Branch::getBranch, getColor): now return a 'const &'.
2278 (Branch::setSelected) now returns a bool set to true if the
2279 selection status changes.
2280 (BranchList::clear, size, getColor, setColor, setSelected,
2281 allBranches, allSelected, separator): removed.
2282 (BranchList::find): new functions, returning the Branch with
2284 (BranchList::add, remove): return a bool indicating that
2285 the operation was successful.
2287 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2288 new InsetBranch::isBranchSlected member function.
2290 * LColor.[Ch]: mimimize the API.
2291 (fill): renamed as addColor and made private.
2292 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2293 versions of these functions taking a string arg have been removed.
2295 * bufferparams.C (readToken):
2296 * lyxfunc.C (dispatch):
2297 * lyxrc.C (read): changes due to the altered BranchList and
2300 * factory.C (createInset, readInset): changes due to altered
2303 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2306 * lyxfunc.C: remove insetminipage. "minipage-insert"
2307 now produces a frameless minipage box inset.
2309 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2311 * textcursor.[Ch] (selStart,selEnd): add new methods
2312 remove selection::start, end, use LyXCursor::operator<
2313 * lyxcursor.[Ch] (operator<): add
2314 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2315 * BufferView.[Ch] (unsetXSel): add
2316 * text2.C (clearSelection): use unsetXSel,adjust
2319 * rowpainter.C: adjust
2320 * bufferview_funcs.C (put_selection_at): adjust
2322 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2324 * BufferView_pimpl.C: small coord. correction
2326 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2328 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2329 dragging over the splash screen.
2331 2003-12-11 Angus Leeming <leeming@lyx.org>
2333 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2334 as it is now handled in LyXText::dispatch.
2336 * text3.C (doInsertInset): remove a level of nesting.
2338 2003-12-11 Angus Leeming <leeming@lyx.org>
2340 * factory.C (createInset): changes due to the changed interface to
2341 InsetCommandMailer::string2params.
2343 2003-12-10 Angus Leeming <leeming@lyx.org>
2345 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2346 'dialog-show-new-inset <inset name>'
2348 2003-12-10 Angus Leeming <leeming@lyx.org>
2350 * buffer.C: up the format to 227.
2352 * factory.C: the box inset is now identified simply by 'Box'.
2354 2003-12-10 Angus Leeming <leeming@lyx.org>
2356 * buffer.C: up the format to 226.
2358 * factory.C: the note inset is now identified simply by 'Note'.
2360 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2362 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2363 when a pit is enough. Standarize a couple of loops.
2365 2003-12-05 Angus Leeming <leeming@lyx.org>
2367 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2368 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2369 data to the re-worked "log" dialog.
2371 2003-12-03 André Pönitz <poenitz@gmx.net>
2377 * paragraph_funcs.C:
2379 * text2.C: use Inset::getText instead of Inset::getParagraph
2381 2003-12-03 André Pönitz <poenitz@gmx.net>
2385 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2386 InsetText::read() as LyXText::read()
2388 2003-12-02 Angus Leeming <leeming@lyx.org>
2390 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2391 type. Add a comment in the implementation that the function uses
2392 the stream's bad() function rather than fail() as the std::streams
2395 2003-12-02 André Pönitz <poenitz@gmx.net>
2397 * lyxlex.[Ch]: make interface more similar to std::stream
2399 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2401 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2403 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2405 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2407 * vspace.[Ch]: remove VSpace::NONE
2409 2003-12-01 André Pönitz <poenitz@gmx.net>
2412 * lyxtext.h: move ParagraphList member to LyXText
2413 rename LyXText::ownerParagraphs to LyXText::paragraph
2416 * bufferview_funcs.C:
2426 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2428 * undo.C: fix cursor positioning
2430 2003-12-01 John Levon <levon@movementarian.org>
2432 * BufferView_pimpl.C: fix a crash on exit with
2435 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2437 * BranchList.C: fix setSelected() method.
2439 2003-11-28 André Pönitz <poenitz@gmx.net>
2441 * ParagraphParameters.[Ch]:
2442 * ParameterStruct.h: remove space above/below from Paragraph to
2445 * BufferView_pimpl.C:
2451 * paragraph_funcs.C:
2457 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2459 * factory.C: Syntax change for CharStyles
2461 2003-11-28 André Pönitz <poenitz@gmx.net>
2466 * buffer.[Ch]: move LyXText member
2468 2003-11-28 André Pönitz <poenitz@gmx.net>
2470 * BufferView.[Ch]: make LyXText * text a private member
2472 * BufferView_pimpl.C:
2483 * output_plaintext.C: cleanup
2485 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2488 * lyxtextclass.[Ch]: parametrize SGML document header
2490 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2493 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2496 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2498 * text2.C (setFont): rework using PosIterator (no more recursive)
2499 (setCharFont): no more needed
2500 (setLayout): no more selection cursors fiddling (done by redoCursor)
2501 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2502 destroy remaining ones)
2504 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2506 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2508 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2511 * text3.C: adjust + re-allow multi par depth changes
2512 * textcursor.C: simplify a bit
2514 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2520 * src/output_docbook.C:
2521 * src/output_latex.C:
2526 * src/text2.C: Introducing a number of tags parametrizing various
2527 XML formats that we may want to support
2529 2003-11-25 André Pönitz <poenitz@gmx.net>
2531 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2533 * lyxtext.h (leftMargin/rightMargin): simplify interface
2540 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2542 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2543 master file to any child files. Fixes bug 546.
2545 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2547 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2549 2003-11-24 André Pönitz <poenitz@gmx.net>
2551 * rowpainter.C: simplification
2553 * text2.C (updateCounters): remove call to redoParagraph on
2554 changed labels as this is far too expensive.
2556 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2558 * converter.C (convert): fix a crash: this function gets
2559 called with buffer == 0 from importer code.
2561 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2563 * text3.C (cursorPrevious): make sure that we do not compare
2564 iterators form different containers.
2567 * rowpainter.C (paintSelection): make sure that we do not compare
2568 iterators from different containers.
2570 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2571 iterators from different ParagraphList containers.
2574 * text2.C (LyXText): change order of initialization slightly
2575 (operator=): new function. copy all variables except cache_par_
2576 (moveUp): make sure that we do not compare iterators from
2577 different ParagraphList constainers.
2580 * text.C (firstPar): new function
2581 (lastPar): new function
2582 (endPar): new function
2584 * lyxtext.h: move things around and group public functions, public
2585 variables, private functions, private variables
2587 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2589 * factory.C: change call to InsetERT constructor to avoid
2590 additional invocation of method status
2591 * text2.C (toggleInset): remove redundant update() call
2592 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2593 instead of a Bufferview pointer
2595 2003-11-21 André Pönitz <poenitz@gmx.net>
2597 * rowpainter.C: simplification
2599 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2601 * text3.C (dispatch): make possible to extend a word/row selection
2604 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2606 * lyxtext.h: x0_,y0_ -> xo_,yo_
2607 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2608 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2609 * rowpainter.C (paintRows): paint full paragraphs
2611 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2613 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2616 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2618 * lyxtext.h: add x0_, y0_
2619 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2620 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2622 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2624 * text2.C (setCursorIntern): move the x_target update here *
2625 * text3.C: change some bv() to true/false in calls to
2626 cursorUp/Down/Right/Left
2627 * cursor.C: use helper function.
2629 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2631 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2632 * paragraph_funcs.[Ch]: correct comment
2633 * rowpainter.C: do not paint selections away from bv->cursor()
2634 Fix a long standing selection painting bug.
2635 * text3.C: generalize mouse-selection code to LyXTexts other that
2637 * textcursor.C: do not use y coords if we can use par offsets
2639 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2641 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2642 cursor position after e.g. inset insert)
2644 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2646 * lyxfind.C (replace): adjust to locking removal + some
2649 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2651 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2654 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2657 * output_docbook.C: XML sanitation: new layout
2658 parameters InnerTag and CommandDepth
2660 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2662 * BufferView_pimpl.C:
2664 * text3.C: Fix the insertion and modification of button-style
2667 2003-11-13 André Pönitz <poenitz@gmx.net>
2669 * InsetList.[Ch]: remove deleteLyXText
2671 * paragraph.[Ch]: cache beginOfBody position
2676 * text3.C: remove superfluous update() calls
2680 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2682 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2683 * BufferView.C (fitLockedInsetCursor): remove
2684 * cursor.[Ch] (getDim): add
2685 * text.C (getRowNearY): add faster version
2686 * text3.C: remove some update calls
2688 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2700 * text3.C: The Character Style /XML short element patch.
2702 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2705 * factory.C: Small step to solving 'unable to insert some insets'
2708 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2710 * cursor.[Ch] (updatePos): new function for updating the y
2711 position of the tip inset
2712 * bufferview_funcs.C (put_selection_at):
2713 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2715 2003-11-11 André Pönitz <poenitz@gmx.net>
2717 * text.C: remove big comment on invalid Paragraph pointers as it is
2720 2003-11-11 André Pönitz <poenitz@gmx.net>
2722 * text_funcs.[Ch]: merge with ...
2730 * Makefile.am: remove text_funcs.[Ch]
2732 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2734 * cursor.C (getPos): return absolute cached y coord
2736 * BufferView_pimpl.C (fitCursor): new simplistic code
2737 (workAreaDispatch): add a fitCursor call
2739 2003-11-10 André Pönitz <poenitz@gmx.net>
2742 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2744 2003-11-10 André Pönitz <poenitz@gmx.net>
2746 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2747 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2748 indicate that the cursor needs to leave an inset
2750 * lyxtext.h: remove inset locking
2752 * cursor.[Ch]: re-implement functionality provided by inset locking
2755 * BufferView_pimpl.[Ch]:
2757 * bufferview_funcs.[Ch]:
2769 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2771 * PosIterator.[Ch]: replace the stack with a vector, add inset
2773 * iterators.[C]: adjust
2775 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2777 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2779 * paragraph_funcs.C (readParToken): put the correct id in the
2780 error item, not the id of the top paragraph
2782 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2784 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2785 * bufferview_funcs.C (put_selection_at): use the above
2787 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2789 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2791 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2793 * output_linuxdoc.h:
2794 * output_plaintext.h:
2796 * output_docbook.h: add #include statements
2798 2003-11-05 José Matos <jamatos@lyx.org>
2800 * output_docbook.[Ch]:
2801 * output_latex.[Ch]:
2802 * output_linuxdoc.[Ch]:
2803 * output_plaintext.[Ch]: New files for output formats.
2804 * output.[Ch]: New file for helper functions.
2807 * paragraph_funcs.[Ch]: output functions moved to new files.
2809 * outputparams.h: rename of latexrunparams.h
2817 * paragraph_funcs.[Ch]:
2818 * paragraph_pimpl.[Ch]:
2819 * tabular.[Ch]: rename ascii to plaintext
2820 and LatexRunParams to OutputParams.
2822 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2824 * iterators.[Ch] (text): require bv argument
2825 * undo.C (recordUndo):
2826 * lyxfunc.C (dispatch):
2827 * bufferview_funcs.C (put_selection_at): adjust
2829 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2831 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2833 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2835 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2838 2003-11-04 André Pönitz <poenitz@gmx.net>
2840 * cursor.[Ch]: restructure
2843 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2845 * iterators.[Ch] (asCursor): remove
2847 * lfuns.h: remove LFUN_INSET_EDIT
2853 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2855 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2857 * lyxfind.[Ch]: complete overhaul
2858 * BufferView_pimpl.C:
2860 * paragraph.[Ch] (insert): add
2862 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2866 * text.C: remove dead spellcheck code
2868 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2870 * dispatchresult.h: add a val setter
2872 * cursor.C (dispatch): use a tempvar for data_[i]
2874 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2876 * PosIterator.[Ch]: compile fix
2878 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2880 * text.C (cursorPar): deactivate the cursor cache
2882 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2884 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2886 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2888 * text3.C (dispatch): adjust for new DisptchResult semantics.
2890 * lyxfunc.C (dispatch): handle update when return from
2891 Cursor::dispatch, adjust for new DispatchResult semantics.
2893 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2894 DispatchResult(true) mean to not update. Add class functions for
2895 setting dispatched and update, as well as reading.
2897 * cursor.C (dispatch): don't handle update here
2899 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2901 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2902 * trans_mgr.C: adjust
2904 * paragraph_funcs.C (readParToken): exception safety
2906 * lyxvc.h: store the vcs pointer in a scoped_ptr
2909 * lyxsocket.C (serverCallback): exception safety
2911 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2913 * ispell.C (clone): make it return a auto_ptr
2915 * factory.C (createInset): exception safety
2916 (readInset): exception safety
2918 * bufferlist.C (newBuffer): exception safety
2920 * Thesaurus.C (Thesaurus): use initialization for aik_
2922 * MenuBackend.C (expandToc): exception safety.
2924 2003-11-03 André Pönitz <poenitz@gmx.net>
2928 * bufferview_funcs.C: remove getInsetFromId()
2931 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2937 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2939 * PosIterator.C (distance, advance): new
2940 * bufferview_funcs.[Ch] (put_selection_at): new
2941 * iterators.[Ch] (lockPath): new
2943 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2945 * iterators.[Ch] (asPosIterator): added
2946 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2947 * PosIterator.[Ch]: added
2949 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2953 * cursor.C (dispatch):
2954 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2956 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2957 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2958 contructor, add a class function dispatched. Remove operator>=
2960 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2962 * debug.C: only use the default constructor for debugstream
2965 * main.C (main): include debug.h and setup the lyxerr streambuf
2968 2003-10-31 José Matos <jamatos@lyx.org>
2970 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2972 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2973 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2974 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2975 * paragraph_pimpl.C (simpleTeXSpecialC):
2976 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2977 add LatexRunParams argument.
2979 * exporter.C (Export): change call accordingly.
2981 * latexrunparams.h: add new member to take care of the other backends.
2982 2003-10-30 José Matos <jamatos@lyx.org>
2984 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2985 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2986 factorise code for paragraph output.
2988 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2991 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * text3.C (dispatch):
2994 * lyxfunc.C (dispatch):
2995 * cursor.C (dispatch):
2996 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2998 * dispatchresult.h: make the dispatch_result_t ctor explicit
3000 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3003 * buffer.C: small refactoring of docbook stuff
3005 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3007 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3010 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3012 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3013 operator dispatch_result_t, and operators for == != and >=
3015 * cursor.C (dispatch): adjust for operator dispatch_result_t
3016 removal. comment out call to update
3018 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3020 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3028 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3031 * dispatchresult.h: new file, DispatchResult broken out of
3034 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3036 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3038 * text.C (rowBreakPoint): put a hack inside #if 0
3040 2003-10-28 André Pönitz <poenitz@gmx.net>
3044 * paragraph_funcs.C:
3047 * text2.C: general cleanup (lots of small stuff)
3049 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3051 * text2.C (cursorEnd): simple fix to the "end key goes to one
3052 before the end on last row" bug
3054 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3056 * text.C (backspace): fix the "zombie characters"
3058 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3060 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3062 2003-10-27 André Pönitz <poenitz@gmx.net>
3064 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3066 * factory.C: handle new InsetPagebreak, InsetLine
3068 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3069 and move handling into new InsetPagebreak, InsetLine
3071 * BufferView_pimpl.C:
3073 * ParagraphParameters.C:
3074 * ParameterStruct.h:
3079 * paragraph_funcs.C:
3080 * paragraph_pimpl.C:
3086 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3089 * lyxrow_funcs.[Ch]:
3095 * text3.C: remove lastPos uses in favour of Row::endpos
3097 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3099 * undo.C (performUndoOrRedo): fix two crashes by setting a
3100 cursor by hand and reordering some calls. Use bv->lockInset instead
3101 of inset->edit because the latter loses cursor information
3103 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3105 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3107 (rowBreakPoint): fix width. change point to point + 1.
3108 Add a missing check.
3110 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3113 * lyxfunc.C: fix (at least partly) the problems
3114 with the Nav menu and headers inside branch insets
3117 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3119 * paragraph.C (getChar): add strong asserts
3121 * lyxrow_funcs.C (lastPos): remove hideous hack
3123 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3124 (fill): adjust to that (avoid an infinite loop)
3126 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3128 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3130 2003-10-23 André Pönitz <poenitz@gmx.net>
3132 * RowList_fwd.h: change list<> to vector<> to gain speed
3133 after suggestion from Alfredo
3135 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3137 * lyxtext.h: move the bidi stuff from here...
3140 * Bidi.[Ch]: ... to here
3142 2003-10-23 André Pönitz <poenitz@gmx.net>
3145 * text.C (isLastRow, isFirstRow): new functions
3147 * paragraph.h: new width cache member
3149 * rowpainter.C: replace RowList::iterator with Row & where possible
3151 * lyxfunc.C: replace several view()->text with a single call
3153 * toc.C: fix 'unused' warning
3155 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3157 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3158 when woring with stream::pos_type
3159 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3161 2003-10-22 André Pönitz <poenitz@gmx.net>
3164 * text.C: use Row & instead of RowList::iterator
3166 * lyxrow.h: rename end() to endpos()
3172 2003-10-22 Angus Leeming <leeming@lyx.org>
3174 * buffer.[Ch] (fully_loaded): new member function, returning true
3175 only when the file has been loaded fully.
3176 Used to prevent the premature generation of previews and by the
3177 citation inset to prevent computation of the natbib-style label.
3179 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3180 templates are all set up.
3182 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3184 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3186 * text.C: fixed an "oops" in the "is a bit silly"
3189 2003-10-21 André Pönitz <poenitz@gmx.net>
3191 * FuncStatus.[Ch]: small stuff, whitespace
3193 * lyxfont.[Ch]: operator<<() for debug reasons
3197 * lyxtext.h: whitespace, spelling
3199 * paragraph.C: naming of variables
3202 * text2.C: small stuff
3205 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3207 * text.C: (1) finish off the inset display() work;
3208 (2) fix the "is a bit silly" bug (accessing char
3211 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3213 * text.C: re-introduce display() for insets, fixing the
3214 various bugs (stretch of line above, math inset
3217 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3219 * text.C (rightMargin): remove spurious semicolon
3221 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3224 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3226 * text3.C: fix one crash due to wrong cursor def
3228 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3230 * vc-backend.C (scanMaster): make the regex static
3232 * LaTeX.C (scanAuxFile): make the regexs static
3234 * text3.C (doInsertInset, dispatch, dispatch):
3235 * text2.C (cursorUp, cursorDown):
3236 * text.C (selectNextWordToSpellcheck):
3237 * BufferView_pimpl.C (dispatch):
3238 * lyxfunc.C (dispatch): localDispatch -> dispatch
3240 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3242 * lyxsocket.C: include <cerrno>
3244 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3246 * lyxfunc.C (dispatch): remove textcache stuff
3248 * bufferlist.C (release): remove textcache stuff
3251 * TextCache.C: delete file
3252 * TextCache.h: delete file
3254 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3256 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3257 delete of the bv_->text.
3258 (resizeCurrentBuffer): remove texcache stuff
3259 (workAreaResize): ditto
3261 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3263 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3266 2003-10-16 André Pönitz <poenitz@gmx.net>
3273 * text3.C: speed up by storing y positions per paragraph plus per-row
3274 offset instead of having a 'full' y position in the row.
3276 2003-10-15 André Pönitz <poenitz@gmx.net>
3280 * undo.[Ch]: make undo aware of inner insets
3282 2003-10-14 Angus Leeming <leeming@lyx.org>
3284 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3285 static member functions LyX::ref() and LyX::cref.
3286 (lastfiles): new accessor functions for the new lastfiles_ member var.
3287 (addLyXView, views_): add a new LyXView to the list of views_.
3288 (updateInset): loop over all LyXViews to call their own updateInset
3289 member function, returning a pointer to the Buffer owning the inset.
3291 * BufferView_pimpl.C (loadLyXFile):
3292 * MenuBackend.C (expandLastfiles):
3293 * bufferlist.C (MenuWrite, QuitLyX):
3294 lastfiles is no longer a global variable.
3295 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3297 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3298 static function. Access through LyX::cref().emergencyCleanup().
3300 2003-10-14 André Pönitz <poenitz@gmx.net>
3302 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3304 * undo.[Ch]: restoring part of 'undo in insets'
3307 * undo_funcs.[Ch]: merge with undo.[Ch]
3309 * tabular.C: small cleansing stuff
3311 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3313 * paragraph_funcs.C (readParToken): report unknown insets as error
3314 boxes. Use the outer paragraph as location (also for unknown
3317 * factory.C (readInset): do not abort on reading an unknown inset.
3318 Eat it and return 0.
3320 2003-10-13 Angus Leeming <leeming@lyx.org>
3322 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3324 * lyxrc.C: displayTranslator is now a function,
3325 declared in GraphicsTypes.h.
3327 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3329 * format.C: new placeholder $$a to pass the socket address.
3331 * bufferlist.[Ch]: new function getBufferFromTmp.
3333 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3334 files in the temporary dir.
3336 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3338 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3340 * Makefile.am: add lyxsocket.[Ch].
3342 * lyx_main.C (error_handler): handle SIGPIPE.
3344 2003-10-13 André Pönitz <poenitz@gmx.net>
3346 * BufferView_pimpl.C:
3351 * undo_funcs.[Ch]: use paroffset_type instead of
3352 ParagraphList::iterators to prevent multiple conversion
3353 (and get a more robust interface)
3355 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3357 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3359 * text3.C (dispatch): ditto
3361 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3363 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3364 move the onlyfile, use onlyfile instead of foundfile in a couple
3367 * DepTable.C (update): flush the error stream a bit more
3369 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3371 * lyxserver.C (callback): adjust
3373 * lyxfunc.C (getStatus): add a missing brace in commented code
3374 (ensureBufferClean): reindent
3375 (dispatch): delete version taking a string
3377 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3379 * LaTeX.C (deplog): move found file handlig from here...
3380 (handleFoundFile): .. to new function here.
3381 (deplog): make sure to discover several files mentioned on the
3384 2003-10-10 André Pönitz <poenitz@gmx.net>
3391 * text3.C: fix some of the tabular crashes
3393 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3395 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3397 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3399 2003-10-09 André Pönitz <poenitz@gmx.net>
3401 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3404 * BufferView_pimpl.C:
3405 * bufferview_funcs.C:
3416 * undo_funcs.C: adjust
3418 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * text2.C (incrementItemDepth): new function, use a backtracking
3421 algorithm to discover the correct item depth.
3422 (resetEnumCounterIfNeeded): new function, use a backtracking
3423 algorithm to discover if counter reset is needed.
3424 (setCounter): use them. Simplify a bit. Add different labels for
3425 different item depths for itemize.
3427 * paragraph.C (Paragraph): remove initialization of enumdepth
3430 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3431 enumerate and itemize. Change the type of itemdepth to signed char.
3433 2003-10-08 André Pönitz <poenitz@gmx.net>
3435 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3440 * tabular.[Ch]: fix crash after 'row-insert'
3442 2003-10-08 Angus Leeming <leeming@lyx.org>
3444 Fix doxygen warnings.
3446 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3447 Remove CutAndPaste:: prefix from header file declaration.
3449 * LColor.h (fill): remove LColor:: prefix from declaration.
3451 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3452 use lyx::depth_type rather than Paragraph::depth_type so that
3453 header file and .C file match.
3455 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3457 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3458 * aspell.C: \file aspell_local.C -> \file aspell.C
3459 * gettext.C: \file gettext.C -> \file src/gettext.C
3460 * gettext.h: \file gettext.h -> \file src/gettext.h
3461 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3462 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3463 * text.C: \file text.C -> \file src/text.C
3465 * toc.C: move comment so that doxygen is not confused.
3467 2003-10-07 Angus Leeming <leeming@lyx.org>
3469 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3471 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3474 * aspell_local.h: add forgotten std::string's.
3476 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3483 * text3.C: The Box patch. Fancybox support, minipage, parbox
3485 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3491 * ParagraphParameters.h:
3501 * lyxtextclasslist.h:
3504 * paragraph_pimpl.C:
3505 * textcursor.h: add <string> and other small fixes to make Lars'
3506 std::string patch compile with STLport.
3508 2003-10-06 Angus Leeming <leeming@lyx.org>
3510 * LColor.h: Add missing #include <string>.
3512 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3514 * All most all file in all subdirs: Make <string> be the prefered
3515 way of getting to std::string, add using declarations.
3517 2003-10-06 André Pönitz <poenitz@gmx.net>
3519 * metricsinfo.C: initialize LyXFont before changing attribute.
3520 (fixes the 'math in \emph is upright' bug)
3522 2003-10-06 André Pönitz <poenitz@gmx.net>
3524 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3526 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3529 * paragraph_pimpl.C: Small fixes to build using STLport
3531 2003-10-02 André Pönitz <poenitz@gmx.net>
3534 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3536 2003-10-01 André Pönitz <poenitz@gmx.net>
3538 * factory.C: assert early
3540 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3542 * lyx_main.C: remove the global debug object
3544 * debug.h: adjust for new debugstream
3546 * debug.C: adjust for new debugstream and keep the global debug
3549 2003-09-22 Angus Leeming <leeming@lyx.org>
3551 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3552 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3553 an incomplete class LyXFont.
3555 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3557 * factory.C: bug fix in branches
3559 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3561 * lyxfunc.C (processKeySym): adjust
3563 (dispatch): change arg name from ev to func, adjust
3564 (sendDispatchMessage): ditto
3566 * lyx_main.C (defaultKeyBindings): adjust keybindings
3567 (deadKeyBindings): ditto
3569 * kbsequence.C (addkey): return a FuncRequest
3571 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3573 * kbmap.C (bind): take a FuncRequest as arg, adjust
3576 (defkey): change to take a FuncRequest as arg, adjust
3577 (findbinding): take a FuncRequest as arg, adjust.
3579 * funcrequest.h (operator=): added
3581 * funcrequest.C (FuncRequest): default kb_action changed from
3582 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3584 * buffer.C (dispatch): simplify
3585 (dispatch): adjust to take a FuncRequest as arg, adjust
3587 * boost.C (assertion_failed): change assertion message slightly
3589 * ToolbarBackend.C (read): simplify
3591 * MenuBackend.C (binding): adjust call to findbinding, add a
3592 message if no binding is found.
3594 (expandToc): correct by adding a empty FuncRequest
3596 * LyXAction.C: include <boost/assert.hpp>
3597 (isPseudoAction): delete function
3598 (LookupFunc): change name to...
3599 (lookupFunc): this. change return type to FuncRequest.
3600 (getActionName): take kb_action as arg, simplify
3601 (funcHasFlag): add an assert, simplify.
3603 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3605 * toc.C (action): return a FuncRequest, simplify
3607 * lyxfunc.C (processKeySym): adjust
3608 (getStatus): delete version that takes an int.
3610 (dispatch): delete version that takes action as int
3612 (sendDispatchMessage): simplify and adjust
3614 * funcrequest.C (getArg): take unsigned int as arg
3616 * ToolbarBackend.C (read): adjust
3617 (add): delete version that takes func as a string.
3618 (getIton): take a FuncRequest as arg
3620 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3623 * MenuBackend.C (MenuItem): add a new construct that only takes a
3624 Kind, simplify the constructor use for submenus.
3626 (expandLastfiles): adjust
3627 (expandDocuments): adjust
3628 (expandFormats): adjust
3629 (expandFloatListInsert): adjust
3630 (expandFloatInsert): adjust
3631 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3633 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3634 Remove class variables lyx_pseudo_map and lyx_arg_map
3636 * LyXAction.C (searchActionArg): delete function
3637 (getPseudoAction): delete function
3638 (retrieveActionArg): delete function
3639 (LookupFunc): make it return kb_action, simplify.
3640 (getActionName): simplify
3642 * factory.C (createInset): fix new bug
3644 2003-09-19 Angus Leeming <leeming@lyx.org>
3646 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3647 masterFilename_ parameter in the include inset.
3649 * factory.C (createInset): changes due to the changes to InsetInclude.
3651 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3653 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3655 2003-09-18 Angus Leeming <leeming@lyx.org>
3658 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3659 Inset::fillWithBibKeys.
3660 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3662 2003-09-18 Angus Leeming <leeming@lyx.org>
3664 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3666 (ctor): pass and store a 'Buffer const &'
3667 (buffer): new member function.
3669 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3670 '*this' to the LaTeXFeatures ctor.
3672 2003-09-18 Angus Leeming <leeming@lyx.org>
3678 * text.C: rename EnumLColor as LColor_color.
3680 2003-09-18 Angus Leeming <leeming@lyx.org>
3682 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3683 remove #include "insets/insetbase.h" from cursor.h.
3685 2003-09-18 Angus Leeming <leeming@lyx.org>
3687 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3688 InsetOld_code to remove #include "inset.h".
3690 * iterators.C: add #include "insets/inset.h"
3692 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3694 * BufferView.C: remove more locking stuff that apparently doesn't
3695 do anything sensible.
3697 2003-09-16 André Pönitz <poenitz@gmx.net>
3700 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3703 2003-09-16 Angus Leeming <leeming@lyx.org>
3705 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3707 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3710 * paragraph.h: remove #include "lyxfont.h". Forward declare
3713 2003-09-16 Angus Leeming <leeming@lyx.org>
3715 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3716 of support/textutils.h.
3717 (isWord): move the contents of support/textutils.h's IsWordChar here.
3723 * text2.C: add #include "paragraph.h".
3726 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3728 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * LaTeX.C: use namespace alias for lyx::support::os
3736 2003-09-16 Angus Leeming <leeming@lyx.org>
3739 * bufferview_funcs.C:
3742 * paragraph_pimpl.C:
3744 * text.C: add #include "LColor.h".
3746 2003-09-16 Angus Leeming <leeming@lyx.org>
3748 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3749 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3751 Store the FontBits::color variable as an int rather than as an
3752 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3755 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3756 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3757 string calls together.
3759 * lyxrc.C: add #include "LColor.h".
3761 2003-09-15 Angus Leeming <leeming@lyx.org>
3763 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3766 2003-09-15 Angus Leeming <leeming@lyx.org>
3768 * LColor.h: add an EnumLColor wrapper for LColor::color.
3770 * lyxfont.[Ch] (color, setColor, realColor):
3771 * lyxtext.h, text.C (backgroundColor):
3772 pass EnumLColor args to/from the functions, rather than LColor::color
3776 * lyxtext.h: forward declare EnumLColor.
3778 * lyx_main.C: add #include "LColor.h".
3780 2003-09-15 Angus Leeming <leeming@lyx.org>
3782 * .cvsignore: add lyx-gtk.
3784 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3789 * ParagraphParameters.C
3793 * bufferview_funcs.C
3803 * vc-backend.C: remove usage of STRCONV
3805 2003-09-15 Angus Leeming <leeming@lyx.org>
3807 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3808 explicitly define the color passed to the painter.
3810 2003-09-15 Angus Leeming <leeming@lyx.org>
3812 * bufferparams.C (BufferParams): reorder member initializers to avoid
3815 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3817 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3818 * text.C (updateRowPositions): remove an unusual nop
3820 2003-09-12 André Pönitz <poenitz@gmx.net>
3822 * BufferView_pimpl.C:
3831 * Counters.[Ch]: finish the 'automatic counters' job
3833 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3835 * aspell.C: include <boost/assert.cpp> (compile fix)
3837 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3839 * boost.C (assertion_failed): use lyx::support::abort instead of
3842 2003-09-10 Angus Leeming <leeming@lyx.org>
3844 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3845 with their _fwd progeny.
3847 2003-09-09 Angus Leeming <leeming@lyx.org>
3849 134 files throughtout the source tree: replace 'using namespace abc;'
3850 directives with the appropriate 'using abc::xyz;' declarations.
3852 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3854 * boost.C (emergencyCleanup): moved here from LAssert.c
3855 (assertion_failed): new function, called by BOOST_ASSERT
3857 * several files: change Assert to BOOST_ASSERT
3859 2003-09-09 Angus Leeming <leeming@lyx.org>
3861 * buffer.[Ch]: Add an Impl class and move Buffer's member
3862 variables into it. As a result move several header files out of
3865 Add header files to lots of .C files all over the tree as a result.
3867 2003-09-09 Angus Leeming <leeming@lyx.org>
3869 * buffer.[Ch]: make Buffer's member variables private. Add
3872 Lots of changes all over the tree as a result.
3874 2003-09-08 Angus Leeming <leeming@lyx.org>
3876 * graph.C: #include <config.h>.
3878 2003-09-08 Angus Leeming <leeming@lyx.org>
3882 * BufferView_pimpl.C:
3911 * toc.C: remove redundant using directives.
3913 2003-09-07 Angus Leeming <leeming@lyx.org>
3915 * LaTeXFeatures.h: remove #include "support/types.h".
3916 * ToolbarBackend.h: remove #include <algorithm>.
3917 * changes.h: remove #include <ctime>.
3918 * debug.h: remove #include <iosfwd>.
3919 * graph.h: remove #include "support/std_string.h".
3920 * lyx_main.h: remove #include <csignal>.
3921 * lyxlex_pimpl.h: remove #include <fstream>.
3922 * sgml.h: remove #include <algorithm>, <utility>.
3923 * toc.h: remove #include "support/std_ostream.h".
3924 Add #include <iosfwd>.
3926 2003-09-07 Angus Leeming <leeming@lyx.org>
3928 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3930 * converter.h: forward declare LatexRunParams.
3931 * encoding.h: remove #include "lyxrc.h".
3932 * lyxtext.h: remove #include "LColor.h".
3933 * lyxtextclass.h: remove #include "support/types.h".
3934 * trans.h: remove #include "tex-accent.h".
3935 * trans_mgr.h: remove #include "tex-accent.h".
3936 * insets/inset.h: remove #include "support/types.h", <vector>.
3937 * insets/insetcollapsable.h: remove #include "LColor.h".
3938 * insets/insetinclude.h: remove #include "dimension.h".
3939 * insets/insetlatexaccent.h: remove #include "dimension.h".
3940 * insets/insetoptarg.h:: remove #include "insettext.h".
3941 * insets/insettext.h: remove #include "dimension.h",
3942 <boost/shared_ptr.hpp>
3944 * insets/renderers.h: add #include "dimension.h".
3945 * insets/updatableinset.h: add #include "support/types.h".
3947 * many .C files: Associated changes.
3949 2003-09-06 Angus Leeming <leeming@lyx.org>
3951 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3952 one, inside testInvariant.
3954 * PrinterParams.C: new file.
3955 * PrinterParams.[Ch]: move the function bodies out of line.
3957 2003-09-06 Angus Leeming <leeming@lyx.org>
3959 * ParagraphParameters.h: forward declare ParameterStruct rather than
3960 including its header file.
3961 (depth): moved out-of-line.
3963 2003-09-06 Angus Leeming <leeming@lyx.org>
3965 * BufferView_pimpl.h:
3968 * lyxfunc.h: forward declare LyXKeySym rather than
3969 #include "frontends/LyXKeySym.h".
3971 * BufferView_pimpl.C:
3974 * lyxfunc.C: associated changes.
3976 2003-09-06 Angus Leeming <leeming@lyx.org>
3978 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3979 As a result, can remove the #include "insets/inset.h" from BufferView.h
3981 2003-09-06 Angus Leeming <leeming@lyx.org>
3983 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3984 As a result, can remove the #include "insets/inset.h" from BufferView.h
3986 2003-09-06 Angus Leeming <leeming@lyx.org>
3992 * bufferview_funcs.C:
3993 * BufferView_pimpl.C:
3998 * ParagraphParameters.C:
4003 * frontends/controllers/ControlDocument.C:
4004 * insets/insetcaption.C: rearrange the #includes into some sort of
4007 * buffer.h: remove #includes ErrorList.h, undo.h
4009 2003-09-06 Angus Leeming <leeming@lyx.org>
4011 * support/types.h: add a 'depth_type' typedef, used to store the
4012 nesting depth of a paragraph.
4015 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4016 defining explicitly.
4019 * paragraph_funcs.h:
4020 * ParagraphParameters.h:
4021 * sgml.h: use lyx::depth_type rather than Paragraph or
4022 ParameterStruct's depth_type.
4025 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4028 * BufferView_pimpl.C:
4030 * ParagraphParameters.C:
4033 * bufferview_funcs.C:
4040 * frontends/LyXView.C:
4041 * frontends/controllers/ControlDocument.C:
4042 * frontends/controllers/ControlErrorList.C:
4043 * insets/insetbibitem.C:
4044 * insets/insetbranch.C:
4045 * insets/insetcaption.C:
4046 * insets/insetcollapsable.C:
4047 * insets/insetenv.C:
4048 * insets/insetert.C:
4049 * insets/insetfloat.C:
4050 * insets/insetfoot.C:
4051 * insets/insetfootlike.C:
4052 * insets/insetnewline.C:
4053 * insets/insetquotes.C:
4054 * insets/insettabular.C:
4055 * insets/insettext.C:
4056 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4058 * frontends/controllers/ControlChanges.C: #include "changes.h".
4060 2003-09-06 Angus Leeming <leeming@lyx.org>
4062 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4063 than #including paragraph.h.
4066 * RowList.h: deleted. Superfluous.
4076 * insets/insettext.h: use ParagraphList_fwd.h rather than
4079 * paragraph.h: don't forward declare ParagraphList.
4082 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4083 rather than ParagraphList.h. paragraph.h is still needed for the
4084 Paragraph::depth_type parameters.
4086 * textcursor.h: enable it to compile stand-alone in light of the
4089 * bufferview_funcs.C:
4101 * frontends/controllers/ControlParagraph.C:
4102 * frontends/controllers/ControlTabular.C:
4103 * insets/insetmarginal.C:
4104 * insets/insetminipage.C:
4105 * insets/insetnote.C:
4106 * insets/insetoptarg.C: add header files needed to compile again.
4108 2003-09-06 Angus Leeming <leeming@lyx.org>
4110 * RowList_fwd.h: new file, forward-declaring Row rather than
4111 #including lyxrow.h.
4116 * insets/insettext.h: use it instead of RowList.h
4118 * bufferview_funcs.C:
4125 * text3.C: #include "RowList.h".
4127 2003-09-05 Angus Leeming <leeming@lyx.org>
4129 * factory.C (createInset):
4130 * vspace.C (c-tor): replace sscanf call with an istringstream.
4131 * ispell.C: re-add missing HP/UX headers.
4132 * lyxserver.C: re-add missing os2 headers.
4134 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4143 * text3.C: re-add missing system headers, needed for 2.95.2.
4145 2003-09-05 Angus Leeming <leeming@lyx.org>
4147 Changes most place everywhere due to the removal of using directives
4148 from support/std_sstream.h.
4150 2003-09-05 Angus Leeming <leeming@lyx.org>
4152 Replace LString.h with support/std_string.h,
4153 Lsstream.h with support/std_sstream.h,
4154 support/LIstream.h with support/std_istream.h,
4155 support/LOstream.h with support/std_ostream.h.
4157 Changes resulting throughout the tree.
4159 2003-09-05 Angus Leeming <leeming@lyx.org>
4161 * sgml.h: ensure that the header file can be compiled stand-alone.
4162 * *.C: strip out redundant #includes. (320 in total.)
4164 2003-09-04 Angus Leeming <leeming@lyx.org>
4166 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4167 here (from getPackages).
4169 * debug.[Ch]: add a new EXTERNAL tag.
4171 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4173 * text2.C (cursorEnd): simplify
4175 (getColumnNearX): adjust
4177 * text.C (computeBidiTables): adjust
4180 * rowpainter.C (paintChars): adjust
4181 (paintSelection): adjust
4182 (paintChangeBar): adjust
4185 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4187 (numberOfSeparators): adjust
4189 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4195 * text3.C: Restricts the mouse click functionality
4196 of insets like bibtex, include, toc and floatlist to the visible
4197 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4198 up the dialogs. Cursor has to be in front of the inset (i.e.
4199 start of row) for this to function.
4201 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4203 * bufferview_funcs.C (currentState): output row information
4205 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4207 * bufferview_funcs.C (currentState): output paragraph position
4209 2003-09-04 Angus Leeming <leeming@lyx.org>
4211 * FloatList.h: move out #include "Floating.h".
4212 * LaTeX.h: move out #include "DepTable.h".
4213 * LyXAction.h: move out #include "funcrequest.h".
4214 * buffer.h: move out #include "author.h", "iterators.h".
4215 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4216 * lyx_main.h: move out #include "errorlist.h".
4217 * lyxfunc.h: move out #include "FuncStatus.h".
4218 * lyxtext: move out #include "lyxcursor.h".
4219 * paragraph_pimpl.h: move out #include "counters.h".
4221 2003-09-03 Angus Leeming <leeming@lyx.org>
4223 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4224 preamble_snippets list, enabling us to add snippets to the preamble
4225 only if the snippet was not there already.
4227 2003-09-04 Angus Leeming <leeming@lyx.org>
4229 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4231 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4233 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4236 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4238 * BranchList.C: point fix, earlier forgotten
4240 2003-09-02 Angus Leeming <leeming@lyx.org>
4242 * box.C (contains): renamed from 'contained' after a fantastic
4245 2003-09-02 John Levon <levon@movementarian.org>
4251 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4253 2003-09-02 John Levon <levon@movementarian.org>
4255 * text2.C: simplification of cursorEnd(), including partial
4258 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4260 * buffer.C (readFile): add a space
4262 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4264 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4266 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4268 * buffer.C (readFile): new function, take a filename and a
4269 ParagraphList::iterator
4271 (readFile): adjust, make it private. don't use setStream, make
4272 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4273 always contain the filename.
4275 * BufferView.C (insertLyXFile): simplify and make it work for
4278 2003-08-30 John Levon <levon@movementarian.org>
4280 * Makefile.am: fix dist (from Kayvan)
4282 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4284 * most files: change to use const Buffer refs
4286 2003-08-27 André Pönitz <poenitz@gmx.net>
4288 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4289 on top of ownerPar().
4291 2003-08-27 John Levon <levon@movementarian.org>
4293 * funcrequest.C: properly initialise POD members
4295 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4297 * lyxtext.h (top_y): move top_y from here
4302 * BufferView_pimpl.[Ch]: to here
4303 * frontends/screen.C:
4304 * insets/insettabular.C:
4305 * insets/insettext.C: adjust
4306 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4308 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4311 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4313 2003-08-26 André Pönitz <poenitz@gmx.net>
4315 * paragraph_func.[Ch] (outerPar): new function
4318 * paragraph_funcs.C:
4319 * paragraph_funcs.h:
4320 * paragraph_pimpl.C:
4321 * text2.C: remove Inset::par_owner
4323 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4328 * text2.C: eliminates the needFullRow/display() stuff
4329 altogether, putting the logic in metrics/draw in the insets.
4331 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4333 * text2.C (redoParagraphInternal, redoParagraphs):
4334 * text.C (redoParagraph): add a call to updateRowPositions at the
4335 end of each 'metrics-like' call. Remove all others.
4336 (getRow): remove the 'y-computing' version.
4337 (getRowNearY): do not compute nor return the real y. Solve the
4338 'y < 0' problem and simplify.
4340 2003-08-22 Angus Leeming <leeming@lyx.org>
4342 * *.[Ch]: clean-up of licence and author blurbs.
4343 Also move config.h out of a few .h files and into a few .C files.
4345 2003-08-22 André Pönitz <poenitz@gmx.net>
4347 * lyxrow.[Ch]: add x_ and *fill_ members
4352 * text2.C: adjust/remove prepareToPrint() calls
4354 2003-08-22 André Pönitz <poenitz@gmx.net>
4356 * lyxrow.[Ch]: add end_ member
4358 * lyxrow_funcs.C: use LyXRow::end_
4360 * lyxtext.h (singleWidth): add LyXFont parameter
4363 * text2.C: adjust LyXText::singleWidth() calls
4365 * text.C (redoParagraph): simplify row breaking logic
4368 2003-08-19 André Pönitz <poenitz@gmx.net>
4370 * funcrequest.C: initialize button_ member
4373 * rowpainter.[Ch]: interface consolidation
4375 2003-08-18 André Pönitz <poenitz@gmx.net>
4378 * BufferView_pimpl.C:
4380 * paragraph_funcs.C:
4382 * text3.C: remove LyXScreen::draw() and fitCursor calls
4384 * BranchList.h: remove spurious semicolons
4386 * MenuBackend.C: fix branchlist related crash
4388 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4396 * bufferparams.[Ch]:
4400 * text3.C: implements the 'branch inset'
4401 idea. This allows the output of various versions of a document
4402 from a single source version, selectively outputing or suppressing
4403 output of parts of the text.
4404 This implementation contains a 'branch list editor' in a separate
4405 tab of the document settings dialog. Branches are user definable
4406 and have a "display colour" to distinguish them on-screen.
4408 ColorHandler was somewhat cleaned up.
4409 (1) make possible a dynamically growing LColor list by allowing
4410 the graphic context cache to grow along (vector);
4411 (2) eliminate an IMHO unnecessary step in colour allocation.
4413 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4415 * BufferView_pimpl.C: compile fix
4417 2003-08-15 André Pönitz <poenitz@gmx.net>
4419 * rowpainter.C: remove extra metrics calls
4421 * lyxtext.h: merge the two constructors into a single one,
4422 pass reference to owner's par list
4424 * BufferView_pimpl.C:
4428 2003-08-15 André Pönitz <poenitz@gmx.net>
4430 * lyxrow_funcs.[Ch]:
4433 * paragraph_funcs.C:
4438 * text_funcs.C: split LyXText::rowlist_ into individual
4439 Paragraph::rows_ chunks
4442 * BufferView_pimpl.[Ch]:
4445 * text3.C: remove toggleSelection()
4447 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4449 * bufferlist.C: beautify two alerts (shorter text of buttons)
4450 * buffer.C: Remove redundant ' ' from message
4452 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4453 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4454 rename VALIGN_CENTER to VALIGN_MIDDLE
4456 2003-08-11 André Pönitz <poenitz@gmx.net>
4458 * lyxtext.h (getPar):
4459 * text.C: new function
4461 2003-08-11 André Pönitz <poenitz@gmx.net>
4464 * tracer.[Ch]: remove unneeded files
4466 * InsetList.[Ch]: remove resizeInsetsLyXText()
4471 * text3.C: merge insertParagraphs() and appendParagraph()
4472 remove breakAgain(), update()
4474 * BufferView_pimpl.[Ch]:
4475 * bufferview_funcs.[Ch]:
4479 * tabular.C: adjust after text & InsetList changes.
4481 2003-08-08 André Pönitz <poenitz@gmx.net>
4483 * text.C (insertChar, backspace): replace rowlist fiddling
4484 with rebreak of full par
4487 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4488 checkParagraph, updateInset): removed
4490 2003-08-07 André Pönitz <poenitz@gmx.net>
4493 * text3.C: merge some LFUN handlers, remove dead code
4495 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4497 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4499 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4501 * text2.C (DEPM): fix part of bug 1255 and 1256
4503 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4505 * BufferView_pimpl.C (workAreaDispatch): change to use
4506 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4507 that are no mouse related.
4509 2003-08-05 André Pönitz <poenitz@gmx.net>
4512 * BufferView_pimpl.[Ch]:
4513 * bufferview_funcs.C:
4515 * text3.C: rip out "deep update"
4517 * textcursor.[Ch] (last_sel_cursor): remove unused member
4519 2003-08-04 André Pönitz <poenitz@gmx.net>
4522 * BufferView_pimpl.[Ch]:
4523 * ParagraphParameters.C:
4524 * bufferview_funcs.C:
4530 * text3.C: replace "complicated" BufferView::update(...) calls with
4533 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4535 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4537 * Makefile.am (lyx_SOURCES): add paper.h
4539 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4541 * Makefile.am: move things around so that both lyx-qt and
4542 lyx-xforms can be built (according to --with-frontend). Then lyx
4543 is a symbolic link to lyx-[firstfrontend]
4545 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4547 * Always use std::endl with lyxerr
4549 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4551 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4553 2003-08-01 André Pönitz <poenitz@gmx.net>
4556 * BufferView_pimpl.[Ch]:
4558 * text3.C: merge BufferView::repaint() and BufferView::update()
4560 2003-08-01 José Matos <jamatos@lyx.org>
4562 * buffer.[Ch]: file_format is no longer a buffer data element.
4564 2003-08-01 André Pönitz <poenitz@gmx.net>
4569 * text2.C: make redoParagraph more independent of current cursor
4571 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4573 * text2.C: remove unneeded members
4575 2003-07-30 André Pönitz <poenitz@gmx.net>
4577 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4579 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4580 create a single function...
4582 * paragraph_funcs.C (moveItem): ... here.
4585 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4587 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4589 * LColor.[Ch]: Add comment and greyedout logical colors.
4591 2003-07-30 André Pönitz <poenitz@gmx.net>
4593 * tabular.C: don't use Assert too heavily. This crashes where it
4596 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4598 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4599 is disabled (bug 1232)
4601 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4603 * factory.C: limited 'arg' scope
4605 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4607 * factory.C: fixed Note submenu issues
4609 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4611 * factory.C: submenu for Note/Comment/Greyedout
4613 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4616 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4618 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4621 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4622 greyedout. Patch provided by Jürgen Spitzmüller.
4624 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4626 * kbmap.C (read): fix error message when reading bind files
4628 2003-07-29 Angus Leeming <leeming@lyx.org>
4630 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4631 certainly does not do what it purports to do. I am doing it, and
4632 us, a favour by killing it.
4634 2003-07-28 José Matos <jamatos@lyx.org>
4636 * buffer.C (readBody, do_writeFile):
4637 * paragraph.C(readParagraph): \end_document replaces \the_end.
4639 2003-07-29 André Pönitz <poenitz@gmx.net>
4642 * BufferView_pimpl.[Ch]:
4646 * textcursor.[Ch]: remove toggleToggle & Co
4648 2003-07-28 José Matos <jamatos@fep.up.pt>
4650 * buffer.C (readParagraph):
4651 * params_func (readParToken, readParagraph):
4652 * paragraph.C (write): \layout -> \begin_layout.
4654 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4656 * lyxlex_pimpl.C (setFile): clean up slightly.
4658 * bufferparams.h: add compressed var
4660 * buffer_funcs.C (readFile): adjust for LyXLex change
4661 (newFile): ditto + simplify
4663 * buffer.C (writeFile): handle writing of compressed files
4665 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4666 Check if the file is compressed and set a bufferparm if so.
4668 * Makefile.am (lyx_LDADD): remove explicit -lz
4670 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4672 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4673 makeDocBookFile): put the real LyX version in the first line of
4677 * version.C.in: remove lyx_docversion
4679 * tabular.C (write_attribute): add a template-based version to
4680 write enums properly
4682 2003-07-28 André Pönitz <poenitz@gmx.net>
4687 * text3.C: use doubles again for x-coordinates. They are needed.
4689 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4691 * messages.C (getLocaleDir): use lyx_localedir()
4693 * lyxlex_pimpl.C (setFile): compress stuff
4695 * buffer.C (writeFile): add some compression stuff
4696 (do_writeFile): new func, dont call expliti close... will this
4699 * Makefile.am (lyx_LDADD): add -lz
4701 2003-07-28 José Matos <jamatos@fep.up.pt>
4703 * buffer.C: increment file format.
4704 * paragraph_funcs (readParagraph, readParToken):
4705 * paragraph.C (readParagraph): add \end_layout.
4707 2003-07-27 Angus Leeming <leeming@lyx.org>
4709 * Makefile.am: remove special casing for configure-time setting of
4710 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4712 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4713 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4715 2003-07-26 André Pönitz <poenitz@gmx.net>
4717 * paragraph_func.[Ch]:
4718 * paragraph.C (realizeFont): inline it whereever it is used
4723 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4726 2003-07-26 André Pönitz <poenitz@gmx.net>
4730 * text2.C: get rid of LyXText::need_break_row
4732 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4734 * toc.[Ch]: put namespace toc inside namespace lyx
4736 * MenuBackend.C (expandToc2): adjust for lyx::toc
4739 * lyxfunc.C (dispatch): adjust for lyx::find
4741 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4742 lyx::find instead. Reorganize a bit.
4743 (LyXReplace): rename to replace
4744 (LyXFind): rename to find
4746 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4749 2003-07-26 André Pönitz <poenitz@gmx.net>
4751 * text.C (setHeightOfRow): restrict scope of temporary variable
4753 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4754 code (never has been used?)
4756 2003-07-27 Asger Alstrup <alstrup@local>
4758 * text.C (fill): Optimise algorithm to exploit that we can reuse
4759 the LyXFont for many characters.
4760 (setHeightOfRow): Same thing.
4761 (rowBreakPoint): Same thing.
4763 2003-07-26 Asger Alstrup <alstrup@local>
4765 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4767 * text.C (singleWidth): Spurious font copying in hot-spot
4768 singleWidth avoided. Reorder tests for arabic for efficiency.
4770 * text.C (fill): handle empty paragraphs better.
4772 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4775 * encoding.h: add includes
4777 * lyxrc.C: remove reading of bind files
4779 * lyx_main.C (init): setup bindings and menus only if we have a
4782 * kbmap.C (read): new method. Do the actual reading of bind
4785 * converter.C (dvipdfm_options):
4788 (output): adapt PAPER_* enums.
4790 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4792 * bufferparams.h: remove paper-related enums from there
4794 * paper.h: New file. A trivial header file to hold paper-related
4795 enums. It should later expand to contain many paper-related
4798 * lyxrc.C: declare extern displayTranslator
4800 2003-07-27 José Matos <jamatos@fep.up.pt>
4802 * tabular.[Ch] (linuxdoc): add support for tables and figures
4805 2003-07-27 José Matos <jamatos@fep.up.pt>
4807 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4808 consistency in both functions.
4809 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4811 2003-07-26 Asger Alstrup <alstrup@local>
4813 * rowpainter.C (paintRows): Change algorithm to work directly on
4814 the insets rather than asking every character in the document
4815 whether its an inset.
4817 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4819 * buffer.C (openFileWrite): factorize some code
4821 2003-07-26 Angus Leeming <leeming@lyx.org>
4824 * lyx_main.[Ch]: replace occurances of system_tempdir with
4827 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4829 * rename Inset to InsetOld
4831 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4833 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4834 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4835 which I think is a bit clearer. EDIT is gone, since it was
4836 premature optimisation, and broken for mathed anyway.
4837 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4838 with cursor positioning in insets as well (math insets still do not
4839 work, but that's a different story anyway.) It mysteriously
4840 crashes sometimes with undo in the first paragraph, but I'm fairly
4841 confident that this is a compiler bug.
4843 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4845 * paragraph.C (Paragraph): adjust for new clone return type
4847 (copyIntoMinibuffer): ditto
4849 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4851 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4852 by not having a special case, and always doing a full rebreak of
4853 the document after undo.
4855 2003-07-23 Angus Leeming <leeming@lyx.org>
4857 * factory.C (createInset): InsetExternal::setParams now takes a
4860 2003-07-23 Angus Leeming <leeming@lyx.org>
4862 * factory.C (createInset): changed interface to the external and
4863 graphics mailers' string2params functions.
4865 2003-07-23 Angus Leeming <leeming@lyx.org>
4867 * factory.C (createInset): pass a
4868 Buffer const * parameter to InsetExternalMailer's string2params.
4870 2003-07-22 John Levon <levon@movementarian.org>
4872 * Thesaurus.h: include the right aiksaurus header
4874 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4876 * MenuBackend.C (expand): check menu shortcuts unconditionally
4878 2003-07-21 Angus Leeming <leeming@lyx.org>
4880 * factory.C (createInset): pass a
4881 buffer_path parameter to InsetGraphicsMailer's string2params.
4883 2003-07-21 Angus Leeming <leeming@lyx.org>
4885 * BufferView_pimpl.C (buffer):
4888 * lyxfunc.C (dispatch):
4889 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4890 rather than the grfx shortcut.
4892 2003-07-21 André Pönitz <poenitz@gmx.net>
4894 * rowpainter.C: remove unused variables
4897 * tabular_funcs.h: move to tabular.C
4898 * Makefile.am: adjust
4900 * tabular.[Ch]: basic optical cleaning
4902 * author.h: pass references, not values
4904 2003-07-18 André Pönitz <poenitz@gmx.net>
4912 * text3.C: two-phase drawing for InsetText and InsetTabular
4913 some float -> int changes.
4915 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4917 * lyx_main.C: fix the fix
4919 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4921 * lyx_main.C: fix a crash in batch mode if no files specified
4924 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4926 * format.[Ch] (papersize): moved to BufferParams
4927 * converter.[Ch] (dvips_options): moved to BufferParams
4928 (dvipdfm_options): moved to anon namespace
4929 * bufferparams.[Ch]: added above functions.
4931 2003-07-17 André Pönitz <poenitz@gmx.net>
4935 * text2.C: don't call inset->update() anymore
4937 * metricsinfo.[Ch]: add convenience constructor
4939 2003-07-16 André Pönitz <poenitz@gmx.net>
4944 * text2.C: replace the LyXCursor::irow_ member with
4945 on-demand computation of the value
4947 2003-07-16 John Levon <levon@movementarian.org>
4949 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4951 2003-07-15 André Pönitz <poenitz@gmx.net>
4954 * text2.C: remove no more needed refresh_row
4956 2003-07-15 André Pönitz <poenitz@gmx.net>
4961 * text3.C: refresh_status tristate -> need_update bool
4963 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4965 * lyxtext.h (init): remove reinit argument (act as if always true)
4966 * text2.C: adjust to that
4968 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4970 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4971 * text3.C: use it to delete selections in some cases
4972 (bugs 441, 673, 702, 954).
4974 2003-07-14 André Pönitz <poenitz@gmx.net>
4976 * rowpainter.[Ch]: reduce interface
4978 2003-07-14 André Pönitz <poenitz@gmx.net>
4980 * BufferView_pimpl.C:
4981 * text2.C: adjust after removing unused BufferView * argument
4983 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4985 * text2.C (init): fix a crash fired on resize
4987 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4989 * buffer.[Ch]: added new closing signal
4990 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4991 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4992 BufferView::Pimpl via the closing the signal
4994 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4996 * buffer.[Ch]: take out all bv-related from buffer
4998 * BufferView_pimpl.[Ch]: connect to new signals
4999 * CutAndPaste.C: removed useless asserts
5000 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5003 * lyxfunc.C: moved view-related funciontality from vc here
5004 * paragraph.C: removed outdated comments
5007 2003-07-10 André Pönitz <poenitz@gmx.net>
5009 * BufferView_pimpl.C:
5013 * text2.C: remove InsetText::InnerCache, clean up consequences
5015 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5017 * ispell.C: fix two typos in error messages
5019 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5021 * Extend Note inset to other forms of annotation like Comment
5022 and Greyedout. Right button click gives dialog.
5024 Files modified or added (+):
5028 * ControlNote.[Ch] +
5030 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5031 frontends/controllers
5035 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5037 * aspell.C: add missing namespace lyx::support
5039 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5041 * BufferView.[Ch] (newFile): Add
5042 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5043 * LaTeX.[Ch] (message): added this signal and use it
5044 * buffer.[Ch] (busy, message): added these signals and use them
5045 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5049 * importer.C: use buffer signals instead of direct bv calling
5050 * lyx_cb.[Ch] (ShowMessage): removed
5053 * paragraph_funcs.C:
5054 * text2.C: use buffer signals
5056 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5058 * introduce namespace lyx::graphics
5060 2003-07-02 André Pönitz <poenitz@gmx.net>
5062 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5064 2003-07-01 André Pönitz <poenitz@gmx.net>
5071 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5072 text*.C to text_func.C
5074 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5076 * introduce namespace lyx::support
5078 2003-06-30 André Pönitz <poenitz@gmx.net>
5083 * text.C: re-enable --with-included-string
5085 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5087 * textcursor.C: add <config.h>
5089 * text.C (getWord): remove const from word_location arg
5091 * lyxvc.C (getLogFile): fix const type order
5093 * lyxtext.h: remove const from word_location arg, add arg name
5095 * lyxlayout.h: currect type on labeltype.
5097 * importer.C: correct \file
5099 * converter.C (intToFormat): use std:: on ret val, ws changes
5101 * bufferlist.h: correct \file
5103 * buffer.C (makeLinuxDocFile): fix const type order
5104 (makeDocBookFile): ditto
5105 (fillWithBibKeys): use std:: on stdlib args.
5107 * CutAndPaste.C: fix authors.
5108 (availableSelections): use std:: on return vector
5110 2003-06-27 André Pönitz <poenitz@gmx.net>
5112 * BufferView_pimpl.C:
5113 * bufferview_funcs.C:
5121 * text3.C: remove LyXCursor::row_ member
5124 * text.C: rename fullRebreak() to partialRebreak() and implement
5125 a fullRebreak() that really bereks fully
5127 * textcursor.h: new struct for cursor-related data
5129 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5131 * lyx_main.C (LyX): get full path of document loaded on the
5134 2003-06-26 André Pönitz <poenitz@gmx.net>
5136 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5137 remove unused/broken operator>,<,>=.
5139 * text.C: remove only use of broken operator<= in an Assert().
5141 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5143 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5144 moved errorlist_.clear to showErrorList
5146 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5148 * converter.C (scanLog, runLaTeX):
5149 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5150 move the bv->showErrorList call to the callers
5151 * lyxfunc.C: i.e. here...
5153 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5154 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5155 namespace, the second to...
5156 * buffer_funcs (BufferFormat, parseErrors): added
5157 * errorlist.C (ErrorList(TeXErrors const &)): removed
5159 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5161 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5163 2003-06-24 "Garst R. Reese" <reese@isn.net>
5167 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5169 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5171 * version.C.in: change docversion to 1.4
5173 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5175 * buffer.C: fix a bug just introduced
5177 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5179 * buffer.[Ch]: added the parseError signal and use it, removed
5181 * BufferView.[Ch] (addError): moved to ...
5182 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5183 to the Buffer::parseError signal to catch (guess what) parse errors
5184 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5186 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5188 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5189 ability to create a buffer and to return an existing one from
5190 the list. Moved these functions to...
5191 * buffer_funcs.[Ch]: added
5192 * BufferView.[Ch] (loadLyXFile): added
5193 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5194 job removed from bufferlist::loadLyXFile.
5195 * buffer.C (setReadOnly): make it work without view
5196 (i.e added an if (users))
5198 2003-06-19 Angus Leeming <leeming@lyx.org>
5201 * LyXAction.C (init):
5202 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5203 with LFUN_DIALOG_SHOW <name> <data>.
5205 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5207 * CutAndPaste.C (availableSelections): small compilation fix for
5208 ancient (gcc 2.9x) compilers
5210 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * text3.C (cursorNext): add tmp var
5214 * text2.C (updateCounters): for function calling out of for clause
5215 (replaceSelectionWithString): ditto
5216 (insertStringAsParagraphs): ditto
5217 (getColumnNearX): add tmp var
5218 (setCursorFromCoordinates): add tmp var
5219 (cursorDownParagraph): add tmp var
5220 (deleteEmptyParagraphMechanism): add tmp var
5222 * text.C (insertChar): add tmp var
5224 * rowpainter.C (paintDepthBar): add tmp var
5226 * CutAndPaste.C (availableSelections): potentially check all
5227 paragraphs in a cut to fill the shown strings.
5229 2003-06-18 André Pönitz <poenitz@gmx.net>
5231 * kbmap.[Ch]: use vector<> instead of list<>
5233 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5235 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5236 pasteSelection with index
5238 * text2.C (pasteSelection): modify, call pasteSelection with index
5240 * paragraph.C (asString): reimplement version with no interval to
5241 call the one with interval.
5243 * lyxtext.h: add index arg to pasteSelection
5245 * MenuBackend.C (MenuItem): handle PasteRecent
5246 (Menu::read::Menutags): add md_pasterecent
5248 (expandPasteRecent): new function
5251 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5253 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5255 (availableSelections): new function
5257 2003-06-17 Angus Leeming <leeming@lyx.org>
5259 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5261 2003-06-17 Angus Leeming <leeming@lyx.org>
5264 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5266 * lyxfunc.C (dispatch): invoke it.
5268 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5270 * iterators.C (operator++, ParPosition): reintroduce some
5271 const_cast for the benefit of older compilers.
5273 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5275 * text3.C (dispatch): do not modify clipboard when doing
5276 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5277 LFUN_DELETE_SKIP on a selection selection
5279 2003-06-16 André Pönitz <poenitz@gmx.net>
5285 * tabular.[Ch]: IU of clone() and getLabelList();
5287 2003-06-13 André Pönitz <poenitz@gmx.net>
5289 * tabular.h: compactification
5291 2003-06-12 André Pönitz <poenitz@gmx.net>
5295 * tabular_funcs.h: some renaming plus whitespace
5297 2003-06-12 André Pönitz <poenitz@gmx.net>
5300 * BufferView_pimpl.C:
5306 * toc.C: Return a Paragraph & for ParIterator::operator*()
5308 2003-06-11 John Levon <levon@movementarian.org>
5312 * ToolbarBackend.C: add "Toolbars" section and
5315 2003-06-10 Angus Leeming <leeming@lyx.org>
5318 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5320 * lyxfunc.C (dispatch): invoke it.
5322 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5324 * main.C: protect <ios> with HAVE_IOS
5325 (main): protect sync_with_stdio with HAVE_IOS
5327 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5329 * text2.C (cutSelection): adjust
5330 (pasteSelection): adjust
5332 * messages.C: handle get of empty string
5334 * main.C (main): use sync_with_stdio(false)
5336 * lyxfunc.C (dispatch): adjust
5338 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5339 (WriteAs): remove unneeded BufferView arg.
5341 * bufferparams.h: use correct types on papersize, papersize2 and
5344 * bufferparams.C (readToken): adjust for type
5345 (writeLaTeX): add missing cases to switch.
5347 * bufferlist.C (quitWriteBuffer): adjust
5350 * buffer.C (asciiParagraph): remove some commented code.
5352 * CutAndPaste.C: remove current_view extern variable.
5353 (cutSelection): add BufferParams arg.
5354 (eraseSelection): add BufferParams arg.
5355 (pasteSelection): add Buffer const & arg
5357 2003-06-07 John Levon <levon@movementarian.org>
5360 * paragraph_funcs.C:
5361 * paragraph_pimpl.C:
5365 * paragraph.C: allow InsetERT to freely space lines,
5366 and some consolidation of code
5368 2003-06-06 José Matos <jamatos@fep.up.pt>
5370 * buffer.C (makeDocBookFile): fix bug #821
5372 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5374 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5376 2003-06-04 Angus Leeming <leeming@lyx.org>
5378 * buffer.C: bump format to 224.
5380 2003-06-05 André Pönitz <poenitz@gmx.net>
5382 * text2.C (redoParagraphs): remove two const_cast<>
5384 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5386 * ParagraphList.h: remove last remnants of NO_STD_LIST
5388 2003-06-03 Angus Leeming <leeming@lyx.org>
5390 * factory.C (createInset): small change to the way InsetExternal's params
5393 2003-06-04 André Pönitz <poenitz@gmx.net>
5395 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5397 * paragraph_pimpl.h:
5398 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5400 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5402 * undo_funcs.C: make some simple cases of undo work again
5404 2003-06-03 John Levon <levon@movementarian.org>
5406 * ispell.C: HPUX doesn't have sys/select.h
5409 2003-06-03 John Levon <levon@movementarian.org>
5411 * CutAndPaste.C: update tabular and include inset
5416 * paragraph.C: remove owningBuffer(), don't pass Buffer
5419 * factory.C: insetGraphicsParams changed
5421 2003-06-02 John Levon <levon@movementarian.org>
5427 * text3.C: remove insetparent
5429 2003-06-02 John Levon <levon@movementarian.org>
5432 * buffer.C: fix inset_iterator.end(), move out of line
5435 2003-06-01 John Levon <levon@movementarian.org>
5437 * text3.C: use a proper cut/paste when doing inset
5438 insert (from Jürgen Spitzmüller)
5440 2003-06-01 John Levon <levon@movementarian.org>
5442 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5444 2003-05-30 André Pönitz <poenitz@gmx.net>
5446 * rowpainter.C: unify second drawing phase
5448 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5450 * trans_mgr.C: remove one case of current_view
5452 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5454 * paragraph_funcs.h: remove paragraph.h include
5456 * paragraph.h: delete NO_STD_LIST stuff
5458 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5460 * buffer.h: remove paragraph.h include
5462 * ParagraphList.C: delete file
5464 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5466 * toc.C (getTocList): adjust
5468 * paragraph_pimpl.C (validate): adjust
5470 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5472 * paragraph.C (Paragraph): adjust
5473 (getPositionOfInset): use const_iterator, adjust
5474 (bibitem): use const_iterator, adjust
5475 (setInsetOwner): adjust
5477 * iterators.C (operator++): adjust
5479 * InsetList.[Ch]: Replace selfmade iterator with standard
5480 vector::iterator also introduce const_iterator. Remove getPos,
5481 getInset and setInset from InsetTable. Adjust accordingly.
5483 * BufferView.C (lockInset): adjust
5484 (ChangeInsets): adjust
5486 * tabular.[Ch]: delete commented same_id functions
5488 2003-05-28 John Levon <levon@movementarian.org>
5490 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5492 2003-05-28 André Pönitz <poenitz@gmx.net>
5494 * metricsinfo.[Ch]: remove 'fullredraw' member
5496 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5498 * lyxtextclass.C (operator): remove caching.
5500 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5504 * text2.C (cursorBottom): adjust
5505 (setCounter): use ParagraphList::find, adjust
5507 * text.C (workWidth): use ParagraphList::find, adjust
5509 * lyxcursor.C (LyXCursor): adjust
5511 * buffer.C (inset_iterator): adjust
5513 * ParagraphList.h: make iterator(value_type) private, make
5514 ParagraphList a friend of iterator.
5516 * ParagraphList.C (find): new function
5518 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5520 2003-05-27 André Pönitz <poenitz@gmx.net>
5522 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5524 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5526 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5528 2003-05-26 John Levon <levon@movementarian.org>
5530 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5532 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5534 * remove same_id from function signatures, adjust.
5536 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5538 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5540 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5542 * paragraph.C (Paragraph): get rid of same_ids parameter
5544 * ParagraphList.C (insert): adjust
5547 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5549 * paragraph_funcs.C (breakParagraph): adjust
5550 (breakParagraphConservative): adjust
5552 * buffer.C (readParagraph): adjust
5554 * ParagraphList.C (insert): take a reference instead of a pointer
5557 * paragraph.[Ch] (id): new function
5559 * bufferlist.C (newFile): adjust
5561 * ParagraphList.C (ParagraphList): adjust
5563 (push_back): take a reference instead of a pointer.
5565 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5567 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5570 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5571 set else use old code.
5573 * ParagraphList.C: remove all NO_NEXT code and only compile this
5574 code of NO_STD_LIST is set.
5576 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5578 * BufferView_pimpl.C:
5588 * graphics/GraphicsConverter.C:
5589 * graphics/PreviewLoader.C: header adjustment
5591 2003-05-23 Angus Leeming <leeming@lyx.org>
5593 * LaTeXFeatures.[Ch] (useBabel): new method.
5594 * bufferparams.C (writeLaTeX): use it.
5596 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5598 * ParagraphList.h (set): remove unused function.
5600 2003-05-23 André Pönitz <poenitz@gmx.net>
5603 * BufferView_pimpl.C:
5607 * undo_funcs.C: setUndo reworked
5609 * iterators.[Ch]: add access to topmost ParagraphList
5611 * lyxtext.[Ch] (workWidth): add a const
5613 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5615 * texrow.[Ch] (increasePos): remove function
5616 * exporter.C (export): removed unused var and outdated comment
5618 2003-05-23 Angus Leeming <leeming@lyx.org>
5620 * latexrunparams.h: rename fragile as moving_arg.
5621 * paragraph.C (simpleTeXOnePar): ditto.
5622 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5624 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5626 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5628 (textUndoOrRedo): comment out a currently unused var.
5630 * paragraph.h (NO_NEXT): enable NO_NEXT
5632 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5634 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5636 * exporter.C (Export): adjust for removeAutoInsets removal.
5638 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5640 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5642 * BufferView.[Ch] (removeAutoInsets): delete function
5644 2003-05-22 Angus Leeming <leeming@lyx.org>
5646 * latexrunparams.h: add a free_spacing variable.
5648 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5649 to pass moving_arg, as the data is stored in runparams.fragile.
5651 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5652 to Inset::latexOptional or to simpleTeXOnePar.
5654 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5655 free_spacing arg to Inset::latexOptional.
5657 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5660 2003-05-22 Angus Leeming <leeming@lyx.org>
5662 * latexrunparams.h: add fragile and use_babel variables.
5664 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5665 * buffer.C (makeLaTeXFile): store this returned value in
5666 runparams.use_babel, thus passing it to the inset::latex methods.
5668 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5669 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5671 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5672 longer has a fragile arg, as it is stored in runparams.fragile.
5674 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5675 moving_arg parameter as the data is stored in runparams.fragile.
5677 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5678 a fragile parameter as the data is stored in runparams.fragile.
5680 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5684 2003-05-22 Angus Leeming <leeming@lyx.org>
5686 * latexrunparams.h: add a 'bool nice' which defaults to false.
5688 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5689 now encapsulated within runparams.
5691 * bufferlist.C (updateIncludedTeXfiles):
5692 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5694 2003-05-22 Angus Leeming <leeming@lyx.org>
5696 * latexrunparams.h: new file containing struct LatexRunParams.
5697 * Makefile.am: add new file.
5699 * LaTeX.[Ch] (c-tor, run):
5700 * buffer.[Ch] (makeLaTeXFile):
5701 * bufferlist.[Ch] (updateIncludedTeXfiles):
5702 * converter.C (convert, scanLog):
5703 * converter.[Ch] (runLaTeX):
5704 * exporter.C (Export):
5705 * paragraph.[Ch] (simpleTeXOnePar):
5706 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5707 * paragraph_funcs.[Ch] (latexParagraphs):
5708 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5709 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5710 pass around a LatexRunParams parameter.
5712 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * paragraph.[Ch]: remove unused constructor
5716 * ParagraphList.C (erase): new function, taking two iterators
5718 2003-05-22 André Pönitz <poenitz@gmx.net>
5720 * undo_funcs.C: remove duplicated code
5722 * iterator.[Ch]: operator=
5724 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * tabular.C (SetMultiColumn): ws changes
5728 * rowpainter.C (paintFirst): get rid of a ->previous
5730 * lyx_cb.C (getPossibleLabel): parlist simplification
5732 * BufferView.C (ChangeInsets): simplify slightly.
5734 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5736 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5737 * lfuns.h: new LFUN_SPACE
5738 * lyxfunc.C: protected space has a new lfun
5739 * paragraph_funcs.C: read new space insets
5741 * factory.C: handle new space insets
5743 2003-05-22 André Pönitz <poenitz@gmx.net>
5746 * BufferView_pimpl.C:
5749 * undo_funcs.C: return a ParIterator from getParFromID.
5751 * iterators.[Ch]: add two const's
5753 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5755 * toc.C (getTocList): adjust
5757 * iterators.[Ch]: rework for parlist
5759 * buffer.C (par_iterator_begin): adjust
5760 (par_iterator_end): adjust
5762 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5764 * BufferView.C (removeAutoInsets): adjust
5765 (ChangeInsets): adjust
5767 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5769 * text.C (top_y): fix bug 1110
5771 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5773 * errorlist.[Ch]: added
5776 * BufferView_pimpl.C:
5777 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5780 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5782 * Makefile.am: ensure that lyx is relinked upon changes to the
5783 various "convenience" libs.
5785 2003-05-20 Angus Leeming <leeming@lyx.org>
5787 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5788 files are compiled in alphabetical order again.
5790 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5792 2003-05-19 Angus Leeming <leeming@lyx.org>
5794 * gettext.[Ch]: remove "char const * _(char const *)".
5796 2003-05-19 André Pönitz <poenitz@gmx.net>
5798 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5807 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5809 2003-05-19 André Pönitz <poenitz@gmx.net>
5813 * lyxtextclass.[Ch]:
5815 * paragraph_funcs.[Ch]:
5817 * text3.C: more insetenv work
5819 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5821 * ParagraphParameters.C (params2string): small bug fixed
5823 2003-05-16 André Pönitz <poenitz@gmx.net>
5826 * bufferview_funcs.C: patch from Kornel Benko to prevent
5827 crash when _(...) is called twice in a statement
5829 2003-05-16 André Pönitz <poenitz@gmx.net>
5836 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5838 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5840 * lyx_main.C (init): remove spurious static_cast
5842 2003-05-14 André Pönitz <poenitz@gmx.net>
5844 * BufferView.C: fix format string
5846 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5848 * BufferView.[Ch] (insertErrors): removed
5849 * BufferView.[Ch] (showErrorList): added
5850 * buffer.C (runChkTeX):
5851 * converter.C (scanLog): call showErrorList instead of inserterrors
5853 2003-05-13 André Pönitz <poenitz@gmx.net>
5855 * BufferView_pimpl.C:
5857 * bufferview_func.C:
5864 * tabular_funcs.h: tostr() from its own header
5866 * ParagraphParameters.C:
5871 * text3.C: STRCONV()
5873 2003-05-12 André Pönitz <poenitz@gmx.net>
5876 * BufferView_pimpl.C:
5880 * ParagraphParameters.C:
5884 * bufferview_funcs.C:
5897 * paragraph_funcs.C:
5901 * text3.C: boost::format -> bformat all over the place
5904 2003-05-09 André Pönitz <poenitz@gmx.net>
5906 * LColor.[Ch]: Pimpl the #include <map> away
5908 2003-05-09 John Levon <levon@movementarian.org>
5910 * bufferlist.C: never remove emergency saves
5912 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5914 * Makefile.am: better lib building
5916 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5918 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5920 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5921 (simpleTeXSpecialChars): adjust
5922 (simpleTeXSpecialChars): adjust
5923 * paragraph.C (simpleTeXOnePar): adjust
5924 * buffer.C (makeLaTeXFile): adjust
5926 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5928 * text2.C (changeDepth): parlist cleanup
5929 (getColumnNearX): ditto
5931 * rowpainter.C (getLabelFont): parlist cleanup
5933 * bufferlist.C (newFile): parlist cleanup
5935 * CutAndPaste.C (eraseSelection): parlist cleanup
5937 * BufferView_pimpl.C (trackChanges): parlist cleanup
5940 * BufferView.C (lockInset): parlist cleanup.
5941 (ChangeInsets): ditto
5943 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5945 * CutAndPaste.h: Update file header.
5947 * CutAndPaste.C: Update file header.
5948 Store the parts cut out of the Document in a limited_stack.
5949 (copySelection): adjust
5950 (pasteSelection): new function, takes the index in the limited stack.
5951 (nrOfParagraphs): adjust
5952 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5953 simplify error inset insertion.
5954 (checkPastePossible): adjust
5956 2003-05-06 John Levon <levon@movementarian.org>
5958 * text2.C: don't cast wrap inset to float
5960 2003-05-05 André Pönitz <poenitz@gmx.net>
5963 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5965 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5966 few naked Paragraph *.
5968 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5970 * bufferparams.C: Output warning if a document with missing
5971 TeX document class is loaded
5972 * exporter.C: Disable TeX exports if the document class is missing
5975 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5976 isTeXClassAvailable()
5978 2003-05-03 John Levon <levon@movementarian.org>
5981 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5982 explicit cursor show/hide
5984 * BufferView_pimpl.h:
5985 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5986 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5988 * lyxfunc.C: hide cursor before dispatching.
5993 * text3.C: remove explicit cursor hides
5995 2003-05-02 André Pönitz <poenitz@gmx.net>
5997 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6000 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6003 * text2.C: tiny whitespace
6005 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6007 * undo_funcs.C: almost only ws changes.
6009 * ParagraphList.C (splice): just return if pl is empty.
6011 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6013 * ParagraphList.C (splice): new function.
6015 * CutAndPaste.C (pasteSelection): use it
6017 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6019 * CutAndPaste.C (pasteSelection): remove the last next and
6020 previous from this file.
6022 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * CutAndPaste.C (pasteSelection): more clean up, user proper
6025 ParagraphList functions for pasteing.
6027 * ParagraphList.C (insert): new function, three arg insert
6029 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6031 * ParagraphList.C (insert): new function, three arg insert
6033 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6036 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6038 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6040 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6044 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6046 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6047 (copySelection): clean up a bit.
6048 (pasteSelection): use make_pair
6050 * ParagraphList.C (ParagraphList): implement copy constructor
6051 (operator=): implement, base on copy constructor.
6054 * paragraph.C (erase): return a bool
6056 * paragraph_pimpl.C (erasePos): remove function, move contents...
6057 (erase): ... here. Return a bool.
6058 (erase): call erase instead of erasePos.
6060 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6062 * ParagraphList.h: define PitPosPair
6063 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6064 ParagraphList, fix a bug on pasting multiple pars
6065 * text2.C: change interface to C&P
6067 2003-04-30 André Pönitz <poenitz@gmx.net>
6069 * undo_func.C: revert part of yesterday's patch 2
6071 2003-04-30 John Levon <levon@movementarian.org>
6073 * LColor.C: s/tabular/table/
6075 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6077 * text3.C (dispatch): do not convert iterator -> pointer
6078 * undo_funcs.C (setCursorParUndo): ditto
6079 * text_funcs.C (transposeChars): ditto
6081 * text2.C (setLayout): ws changes only
6083 * text.C (breakParagraph): do not convert iterator -> pointer
6085 (acceptChange): ditto
6086 (rejectChange): ditto
6091 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6094 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6096 * text3.C (gotoInset): YABG (yet another bad getChar)
6098 2003-04-29 André Pönitz <poenitz@gmx.net>
6100 * paragraph.h: make operator= private unimplemented as long as
6103 * ParagraphList.C: whitespace
6106 * paragraph_pimpl.[Ch]:
6107 * paragraph_funcs.C:
6109 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6112 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6114 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6116 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6117 * paragraph.[Ch] (erase):
6118 * paragraph_pimpl.[Ch] (erase): change return type and value
6119 * text2.C (cutSelection): some rework
6121 2003-04-28 John Levon <levon@movementarian.org>
6123 * bufferlist.C: changes for unsaved changes dialog
6125 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6127 * bufferlist.C (newFile): set language (messages_) for new
6130 * buffer.C (readFile): ws changes only.
6132 2003-04-28 André Pönitz <poenitz@gmx.net>
6137 * BufferView_pimpl.C:
6138 * BufferView.C: getParFromID related ParagraphList::iterator changes
6140 2003-04-28 André Pönitz <poenitz@gmx.net>
6142 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6145 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6147 * messages.C: remove one more localedir class variable.
6149 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6151 * messages.C (getLocaleDir): singleton generation function
6153 (Messages): add a default constructor.
6155 * main.C (main): do not setup localedir here, do not call
6158 * gettext.C (_): use it.
6159 (gettext_init): delete funciton
6161 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6163 * gettext.C (getLyXMessages): new singleton generating function.
6165 * buffer.C (updateDocLang): adjust
6167 * Makefile.am (messages.o): add target
6168 (main.o): remove target
6170 2003-04-27 John Levon <levon@movementarian.org>
6175 * lyxvc.C: specify cancel button in Alert::prompt
6177 2003-04-26 John Levon <levon@movementarian.org>
6182 * LyXAction.C: add LFUN_INSET_SETTINGS
6184 * lyxfunc.C: don't enable tabular-feature when there's
6185 just any locking inset
6187 2003-04-26 John Levon <levon@movementarian.org>
6189 * bufferlist.C: re-add Cancel to buffer close question
6191 * lyxfunc.C: fix import UI a bit
6193 2003-04-25 John Levon <levon@movementarian.org>
6195 * gettext.C: remove the broken asserts for now
6197 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6199 * messages.C: make case where setlocale cannot comply work better.
6201 * buffer.C (updateDocLang): new function
6202 (changeLanguage): use it
6205 * text2.C (setCounter): use B_ a bit.
6207 * lyxlayout.C (Read): be sure to trim the label strings.
6209 * messages.C (Messages): fix typo in comment
6211 * buffer.C (readFile): set message_ after file is loaded.
6212 (makeDocBookFile): remove double return
6213 (changeLanguage): reset message_ upon language change.
6214 (B_): new func, use this to get translated buffer strings.
6216 * main.C: add myself and Jean Marc as authors.
6218 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6220 * messages.[hC]: pimplify Messages, and three different pimpls to be
6221 used in different circumstances.
6223 * gettext.[Ch]: change for use with new message code.
6225 2003-04-24 André Pönitz <poenitz@gmx.net>
6227 * factory.C: support for eqref
6229 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6231 * messages.[Ch]: add missing char
6233 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6235 * messages.[Ch]: New files
6237 2003-04-18 John Levon <levon@movementarian.org>
6241 * BufferView_pimpl.C:
6245 * text2.C: remove layout-copy/paste (bug 778)
6247 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6249 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6251 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6253 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6254 if they succeed. Act accordingly.
6256 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6258 * text2.C (setCharFont): adjust
6259 (setCounter): adjust
6260 (insertStringAsLines): adjust
6262 * text.C (leftMargin): adjust
6263 (setHeightOfRow): adjust
6265 * rowpainter.C (paintFirst): adjust
6268 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6270 (isFirstInSequence): ditto
6271 (getEndLabel): ditto
6274 * paragraph.C (getParLanguage): comment out some hard stuff.
6276 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6278 (simpleDocBookOnePar): ditto
6279 (makeDocBookFile): use ParagraphList::iterator
6281 * CutAndPaste.C (pasteSelection): adjust
6283 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * text2.C (getFont): adjust
6286 (getLayoutFont): adjust
6287 (getLabelFont): adjust
6289 * paragraph_funcs.C (TeXOnePar): adjust
6291 * buffer.C (simpleLinuxDocOnePar): adjust
6292 (simpleDocBookOnePar): adjust
6294 * CutAndPaste.C (pasteSelection): adjust
6296 * BufferView.C (getEncoding): adjust
6298 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6300 2003-04-16 John Levon <levon@movementarian.org>
6302 * lyxfind.C: use parlist stuff for search/changes
6304 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6306 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6308 * text2.C (deleteEmptyParagraphMechanism): adjust
6310 * text2.[Ch] (ownerParagraph): delete func (both of them
6312 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6314 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6316 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6318 * ParagraphList.C: prepare for NO_NEXT
6320 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6322 * text2.C (getFont): adjust
6323 (getLayoutFont): adjust
6324 (getLabelFont): adjust
6326 * paragraph.C (getFont): adjust
6327 (getLabelFont): adjust
6328 (getLayoutFont): adjust
6330 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6332 2003-04-15 John Levon <levon@movementarian.org>
6336 * lyx_main.C: handle Include in .ui files
6338 2003-04-15 John Levon <levon@movementarian.org>
6340 * MenuBackend.C: make the doc files length shorter
6343 * ToolbarBackend.C: handle toolbar placement flags,
6346 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6348 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6351 * paragraph_funcs.C (TeXOnePar): adjust
6353 * paragraph.C (getLabelFont): add outerfont arg, adjust
6354 (getLayoutFont): ditto
6355 (simpleTeXOnePar): adjust
6357 * paragraph_pimpl.C (realizeFont): delete func
6359 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6361 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6362 row argument, constify cur argument.
6364 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6366 * text2.C (getFont): adjust
6367 (getLayoutFont): adjust
6368 (getLabelFont): adjust
6370 * paragraph_funcs.C (TeXOnePar): adjust
6371 (outerFont): new func...
6372 (realizeFont): ...moved out from here, changed this to facilitate
6375 * paragraph.C (getFont): take outerfont as arg, adjust
6376 (simpleTeXOnePar): add outerfont arg, adjust
6378 * buffer.C (simpleLinuxDocOnePar): adjust
6379 (simpleDocBookOnePar): adjust
6381 * CutAndPaste.C (pasteSelection): adjust
6383 * BufferView.C (getEncoding): adjust
6385 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6387 * text2.C (setCharFont): adjust
6388 (setCounter): adjust
6390 * text.C (leftMargin): adjust
6391 (setHeightOfRow): adjust
6393 * rowpainter.C (paintFirst): adjust
6396 * paragraph_pimpl.C (realizeFont): adjust
6398 * paragraph.C (isFirstInSequence): move from here...
6399 * paragraph_funcs.C (isFirstInSequence): ...to here
6401 * paragraph.C (outerHook): move from here...
6402 * paragraph_funcs.C (outerHook): ...to here
6404 * paragraph.C (depthHook): move from here...
6405 * paragraph_funcs.C (depthHook): ...to here
6407 * paragraph.C (getEndLabel): move from here...
6408 * paragraph_funcs.C (getEndLabel): ...to here
6410 * text2.C (realizeFont): move from here...
6411 * paragraph_funcs.C (realizeFont): ...to here
6413 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6415 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6417 2003-04-14 Angus Leeming <leeming@lyx.org>
6419 * LColor.[Ch]: scrap LColor mathcursor.
6421 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6423 * lyxlex.[Ch] (text): delete function
6424 * trans.C (Load): adjust
6425 * paragraph_funcs.C (readParToken): adjust
6427 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6429 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6430 vector<char> instead of a char[].
6432 * lyxlex_pimpl.C (getString): adjust
6434 (lex): use getString
6438 * lyxlex.C (text): use pimpl_->getString()
6442 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6444 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6445 (makeFontEntriesLayoutSpecific): temp var for par.size()
6446 (setLayout): temp var for ownerParagraphs().end()
6447 (fullRebreak): temp var for rows().end()
6448 (selectionAsString): temp var for boost::next(startpit), realize
6449 that the while really is a regular for loop.
6450 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6451 setCursor in one place.
6452 (setParagraph): temp vr for ownerParagraphs().end()
6453 (updateCounters): make the while loop a for loop
6454 (cutSelection): temp var for ownerParagraphs().end()
6455 (updateInset): make the do {} while() a regular for loop
6456 (getCursorX): use temp vars
6457 (setCurrentFont): use temp vars
6458 (getColumnNearX): use temp vars
6460 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6462 * text.C (transformChar): use temp var for getChar
6463 (computeBidiTables): use temp var for row->par()
6464 (fill): move temp vars for row->par() and pit->layout() earlier in
6466 (labelFill): use temp var for row->par()
6467 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6468 asc and desc, realize that pit never changes and that firstpit is
6469 just a duplicate and not needed. Exchange rit->par() with pit in a
6471 (breakAgain): use a temp var for boost::next(rit)
6472 (breakAgainOneRow): ditto
6473 (breakParagraph): use a temp var for rows().begin()
6474 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6475 (cursorRightOneWord): use temp var for cursor.par() and
6476 cursor.pos(), remove usage of tmpcursor.
6477 (cursorLeftOneWord): use temp var for cursor.par() and
6478 cursor.pos() only set cur at end of function.
6480 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6482 * text.C, text2.C: exchange all usage of Paragraph::next with
6483 boost::next(ParagraphList::iterator)
6485 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6487 * text2.C (cursorTop): simplify implementation
6488 (cursorBottom): ditto
6489 (setParagraph): use ParagraphList::iterator
6490 (setCurrentFont): adjust
6491 (getColumnNearX): adjust
6492 (cursorRight): adjust
6493 (cursorLeft): remove usage of Paragraph::previous
6494 (cursorUpParagraph): ditto
6495 (deleteEmptyParagraphMechanism): slight cleanup
6497 * text.C (isBoundary): take a Paragraph const & instead of a
6499 (addressBreakPoint): ditto
6500 (leftMargin): remove usage of Paragraph::previous.
6501 (setHeightOfRow): ditto
6502 (cursorLeftOneWord): ditto
6503 (selectNextWordToSpellcheck): ditto
6506 (breakParagraph): remove one usage of Paragraph::next
6507 (redoParagraph): ditto
6508 (acceptChange): ditto
6509 (insertChar): adjust
6510 (rowBreakPoint): adjust
6512 * bufferview_funcs.C (toggleAndShow): adjust
6514 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6516 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6517 methods to access it.
6519 * text.C: Added updateRowPositions to compute all row positions.
6520 Make top_y and getRowNearY() to use the cached y position
6522 2003-04-11 John Levon <levon@movementarian.org>
6524 * text.C (rowBreakPoint): reintroduce the labelEnd
6525 checks, code copied from the row fill stuff. Deep voodoo.
6527 * text.C (fill): add a comment and debugging for the
6530 2003-04-11 John Levon <levon@movementarian.org>
6532 * text.C: make sure fullrow insets get wrapped to the next line,
6533 even when they're in a manual label
6535 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6537 * text2.C (insertParagraph): make it take ParagraphList::iterator
6539 (setLayout): make it return ParagraphList::iterator
6540 (redoParagraphs): ditto
6542 (checkParagraph): ditto
6544 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6546 * text2.C: adjust several funcs.
6547 (realizeFont): take a ParagraphList::iterator as arg.
6548 (getLayoutFont): ditto
6549 (getLabelFont): ditto
6550 (setCharFont): ditto
6552 * text.C: adjust several funcs.
6554 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6556 * text.C (selectNextWordToSpellcheck): don't accidentally
6559 2003-04-10 John Levon <levon@movementarian.org>
6561 * ToolbarBackend.C (getIcon): special handling for
6564 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6566 * text2.C (cursorRight): a getChar assert fixed
6568 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6570 * text2.C (getFont): change to take a ParagraphList::iterator
6571 instead of Paragraph*
6572 Adjust several functions.
6574 * text.C (transformChar): change to take a ParagraphList::iterator
6575 instead of Paragraph*
6576 (singleWidth): ditto
6577 Adjust several functions.
6579 * rowpainter.C: adjust several functions
6580 * rowpainter.h:store a ParagraphList::iterator and not a
6584 2003-04-09 John Levon <levon@movementarian.org>
6589 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6590 and the "help" bits as well
6592 2003-04-09 John Levon <levon@movementarian.org>
6595 * ToolbarBackend.C: allow multiple toolbars
6597 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6599 * undo_funcs.C (setCursorParUndo): adjust
6601 * text_funcs.C (transposeChars): adjust
6603 * text3.C (gotoNextInset): adjust
6606 * text2.C (setLayout): adjust
6607 (changeDepth): adjust
6609 (redoParagraphs): adjust
6610 (selectionAsString): adjust
6611 (setParagraph): adjust
6612 (insertInset): adjust
6613 (cutSelection): adjust
6614 (copySelection): adjust
6615 (pasteSelection): adjust
6616 (insertStringAsLines): adjust
6617 (updateInset): adjust
6618 (setCursor): change to take a ParagraphList::iterator parameter
6619 (setCursorIntern): change to take a ParagraphList::iterator parameter
6620 (setCurrentFont): adjust
6621 (cursorLeft): adjust
6622 (cursorRight): adjust
6623 (deleteEmptyParagraphMechanism): adjust
6625 * text.C (breakParagraph): adjust
6626 (insertChar): adjust
6627 (acceptChange): adjust
6628 (rejectChange): adjust
6629 (selectNextWordToSpellcheck): adjust
6630 (changeCase): adjust
6634 * lyxfind.C (SearchForward): adjust
6635 (SearchBackward): adjust
6636 (nextChange): adjust
6638 * lyxcursor.C (par): adjust
6640 * lyxcursor.h: store a ParagraphList::iterator instead of a
6643 * lyx_cb.C (getPossibleLabel): adjust
6645 * bufferview_funcs.C (toggleAndShow): adjust
6647 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6650 * BufferView.C (removeAutoInsets): adjust
6651 (lockedInsetStoreUndo): adjust
6653 2003-04-09 John Levon <levon@movementarian.org>
6655 * ToolbarBackend.C: try icon without argument
6656 if with argument fails
6658 2003-04-08 John Levon <levon@movementarian.org>
6661 * ToolbarBackend.C: add getIcon(), handle tooltip,
6662 and change from "Icon" to "Item".
6664 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6666 * BufferView.C (lockInset): another bad getchar crunched
6668 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6670 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6673 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6675 * lyxfind.C (searchForward, searchBackwards): bug 782
6677 2003-04-07 John Levon <levon@movementarian.org>
6679 * paragraph.C: remove dead comment
6681 * text.C: remove troublesome depth-fiddling code
6682 in leftMargin() and rightMargin() (bug 1017)
6684 * text.C: fix breaking of rows in nested lists
6687 * text2.C (updateCounters): fix up depth values
6690 2003-04-07 John Levon <levon@movementarian.org>
6692 * BufferView_pimpl.C: clear message when doc finishes resizing,
6693 and after a mouse event
6695 * lyxfunc.C: clear message after exiting inset
6697 2003-04-07 John Levon <levon@movementarian.org>
6699 * bufferview_funcs.C: show math status not outside
6700 status in the statusbar
6702 2003-04-07 John Levon <levon@movementarian.org>
6704 * lyxfunc.C: note status changed after a depth change
6706 2003-04-04 Angus Leeming <leeming@lyx.org>
6708 * LaTeX.h: move AuxInfo operator==, != out of line.
6709 Remove LaTeX virtual destructor; nothing derives from it.
6710 Move operator()() out of public area and rename it startscript().
6711 Change protected for private.
6713 2003-04-04 Angus Leeming <leeming@lyx.org>
6716 * text2.C: remove unneeded #includes.
6718 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6720 * text2.C (dEPM): fix the heigth of the next row
6722 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6724 * text.C: squashed an invalid getChar requester + some ws changes
6726 2003-04-03 John Levon <levon@movementarian.org>
6728 * bufferview_funcs.h:
6729 * bufferview_funcs.C:
6732 * text2.C: make getStatus work for the env depth lfuns
6734 2003-04-03 John Levon <levon@movementarian.org>
6736 * bufferview_funcs.h:
6737 * bufferview_funcs.C:
6740 * text2.C: parlistize decDepth(), by merging it with incDepth()
6742 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6744 * lyxrow.h: store a ParagraphList::iterator instead of a
6745 Paragraph* and adjust other class functions to suit.
6747 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6750 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6752 * text2.C (setCursor): do not anchor to cursor row for the time being
6754 2003-04-02 John Levon <levon@movementarian.org>
6761 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6763 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6765 * paragraph.h: make ParagraphList and ParagraphList::iterator
6766 friends of Paragraph.
6768 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6770 * ParagraphList.C: Use the private next_ and previous_ from
6773 2003-04-01 John Levon <levon@movementarian.org>
6777 * Makefile.am: rename, remove defaults gunk
6780 * MenuBackend.C: remove defaults gunk
6783 * Languages.C: remove defaults gunk
6786 * lyx_main.C: error out if files couldn't be found.
6788 2003-04-02 John Levon <levon@movementarian.org>
6790 * text2.C: make incDepth() use parlist
6792 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6794 * undo_funcs.C (firstUndoParagraph): adjust
6796 * text3.C (gotoInset): adjust
6797 (dispatch): adjust, and rewrite loop.
6799 * text2.C (init): adjust, and rewrite loop.
6800 (redoParagraphs): adjust
6801 (updateInset): adjust, and rewrite loop.
6802 (deleteEmptyParagraphMechanism): adjust
6804 * tabular.C (LyXTabular): adjust
6805 (SetMultiColumn): adjust
6808 * lyxtext.[Ch] (ownerParagraph): delete function
6809 (ownerParagraphs): new function returns a ParagraphList.
6811 * BufferView.C (removeAutoInsets): adjust
6812 (insertErrors): adjust
6813 (setCursorFromRow): adjust
6815 2003-04-01 Angus Leeming <leeming@lyx.org>
6817 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6820 2003-04-02 John Levon <levon@movementarian.org>
6826 * text_funcs.C: make transposeChars a free function
6828 * lyxrow_funcs.C: remove wrong comment
6830 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6833 * rowpainter.C: adjust
6838 * lyxrow_funcs. [Ch]: new files
6840 * lyxrow.[Ch]: remove next and previous pointers
6841 (next,previous): remove accessor functions
6842 (isParEnd): move to lyxrow_funcs
6843 (lastPos): move to lyxrow_funcs
6844 (nextRowIsAllInset): move to lyxrow_funcs
6845 (lastPrintablePos): move to lyxrow_funcs
6846 (numberOfSeparators): move to lyxrow_funcs
6847 (numberOfHfills): move to lyxrow_funcs
6848 (numberOfLabelHfills): move to lyxrow_funcs
6849 (hfillExpansion): move to lyxrow_funcs
6853 * bufferview_funcs.C (toggleAndShow): adjust
6855 * RowList.h: Remove class RowList from file leave just a
6858 * RowList.C: delete file
6860 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6863 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6865 * text3.C (cursorPrevious): adjust
6866 (cursorNext): adjust
6869 * text2.C (redoHeightOfParagraph): adjust
6870 (redoDrawingOfParagraph): adjust
6873 * text.C (breakParagraph): adjust
6874 (insertChar): adjust
6877 * rowpainter.C (RowPainter): adjust
6878 (leftMargin): simplify and adjust
6879 (most rowpainter functions): adjust.
6881 * rowpainter.h: store the row as RowList::iterator not as Row*
6883 * lyxcursor.C (row): taka RowList::iterator as arg
6886 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6889 2003-04-01 Angus Leeming <leeming@lyx.org>
6891 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6892 stuff like bool Bool.
6894 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6896 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6899 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6901 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6904 * lyxtext.h (rows): drop one version and leve a const variant that
6905 returns a RowList::iterator.
6907 2003-03-31 Angus Leeming <leeming@lyx.org>
6909 * text.C (fill): ensure that the signature is the same as that in the
6912 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6914 * text2.C (redoParagraphs): adjust
6915 (updateCounters): adjust
6916 (checkParagraph): adjust
6917 (getColumnNearX): adjust and reformat a bit.
6919 * text.C (top_y): adjust
6921 (leftMargin): adjust
6922 (prepareToPrint): adjust
6924 (getRowNearY): adjust
6926 * lyxtext.h: make rowlist_ mutable.
6928 * RowList.h: add const_iterator
6929 * RowList.C: adjust for RowList::const_iterator.
6931 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6934 2003-03-31 John Levon <levon@movementarian.org>
6937 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6939 * lyx_main.C: set default fonts from using lyx_gui funcs
6941 * exporter.C: pdf_mode moved from lyxrc
6944 * lyxfunc.C: changes from above
6946 2003-03-31 John Levon <levon@movementarian.org>
6948 * lyx_main.C: fix to the last fix
6950 2003-03-31 John Levon <levon@movementarian.org>
6952 * bufferlist.C: "Load original" -> "Load Original"
6958 * format.C: more Alert cleanups
6960 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6962 * text2.C (removeParagraph): make it take a RowList::iterator as
6964 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6965 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6967 * text.C (anchor_row): make it take a RowList::iterator as arg,
6969 (computeBidiTables): make it take a const reference to Row instead
6970 of Row pointer, adjust.
6971 (leftMargin): make it take a RowList::iterator as arg, adjust.
6972 (rowBreakPoint): adjust
6973 (breakAgainOneRow): make it take a RowList::iterator as arg,
6975 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6977 * bufferview_funcs.C (toggleAndShow): adjust
6979 2003-03-30 John Levon <levon@movementarian.org>
6983 * boost-inst.C: moved to support
6985 * several files: changes as a result
6987 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6989 * text2.C (LyXText): adjust.
6991 (removeRow): make it take a RowList::iterator as arg, adjust.
6992 (fullRebreak): adjust
6993 (deleteEmptyParagraphMechanism): adjust
6994 (clearPaint): adjust
6997 * text.C (top_y): adjust
6998 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6999 (breakAgain): make it take a RowList::iterator as arg, adjust.
7000 (breakParagraph): adjust
7001 (insertChar): adjust
7004 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7005 need_break_row, and refresh_row.
7007 * text3.C (dispatch): adjust
7009 * text2.C (checkParagraph): adjust
7011 (setCursorFromCoordinates): adjust
7013 * text.C (top_y): adjust
7015 (getRow): make it return a RowList::iterator, adjust
7016 (getRowNearY): make it return a RowList::iterator, adjust
7018 * text2.C (init): adjust
7019 (insertRow): remove function
7020 (insertParagraph): adjust
7021 (redoParagraphs): adjust
7022 (fullRebreak): adjust
7023 (updateCounters): adjust
7025 * text.C (top_y): rewrite to use RowList iterators.
7027 (setHeightOfRow): rewrite to sue RowList iterators.
7028 (appendParagraph): adjust
7029 (breakAgain): adjust
7030 (breakAgainOneRow): adjust
7031 (breakParagraph): adjust
7033 (getRowNearY): adjust, and remove commented code.
7035 * lyxtext.h (firstRow): delete function
7036 (lastRow): delete function
7037 (rows): new function (const and non-const versions.)
7038 (insertRow): delete function
7040 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7042 2003-03-29 John Levon <levon@movementarian.org>
7044 * BufferView_pimpl.C: always update scrollbar top
7045 because pasting text when we're anchored could mean we
7046 miss an update altogether
7048 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7050 * text2.C (init): use rowlist_.end() and not 0.
7051 (insertRow): change to take a RowList::iterator as arg, adjust
7053 (insertParagraph): change to take a RowList::iterator as arg,
7055 (redoParagraphs): remove some debug msgs.
7057 * text.C (appendParagraph): change to take a RowList::iterator
7058 arg, adjust for this.
7059 (breakAgain): add an assert
7060 (breakAgainOneRow): ditto
7062 2003-03-29 John Levon <levon@movementarian.org>
7064 * text2.C: do not clear selection after inc/decDepth
7067 2003-03-29 John Levon <levon@movementarian.org>
7070 * buffer.C: fix broken strerrors according to Lars
7072 2003-03-29 John Levon <levon@movementarian.org>
7074 * converters.C: more Alert cleanups
7076 2003-03-29 John Levon <levon@movementarian.org>
7078 * bufferview_funcs.C: remove pointless Alert
7080 * buffer.C: fix confusing error message when
7081 a template is chmoded 000
7083 2003-03-29 John Levon <levon@movementarian.org>
7087 * BufferView_pimpl.C: Alert fixes
7091 * tabular-old.C: remove unused table compat reading
7093 2003-03-29 John Levon <levon@movementarian.org>
7098 * lyx_cb.C: more Alert cleanups
7100 * lyxfunc.C: don't allow chktex if not latex document
7102 2003-03-29 John Levon <levon@movementarian.org>
7106 * buffer.C: warnings pushed down from support/,
7109 2003-03-29 John Levon <levon@movementarian.org>
7111 * lyxfunc.C: safety check for C-r (revert)
7113 2003-03-29 John Levon <levon@movementarian.org>
7116 * bufferlist.C: several UI fixes using Alert::prompt.
7117 Fix the pointless looping quit code. Fix stupid revert
7122 * lyx_cb.C: use Alert::prompt
7124 * lyx_main.C: remove a silly question
7126 * lyxfunc.C: remove a couple of silly questions,
7129 2003-03-28 John Levon <levon@movementarian.org>
7131 * text2.C: fix bug 974 (End on empty par)
7133 2003-03-28 John Levon <levon@movementarian.org>
7135 * BufferView_pimpl.C:
7137 * lfuns.h: remove do-nothing math greek lfuns
7139 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7141 * lyxgluelength.h (isValidGlueLength): add default arg on
7142 parameter 2. Remove default arg from friend in class.
7144 * lyxlength.h (isValidLength): add default arg on parameter 2.
7145 Remove default arg from friend in class.
7147 * text2.C (LyXText): adjust, initialize refresh_row.
7151 (insertParagraph): adjst
7152 (redoParagraphs): adjust
7153 (fullRebreak): adjust
7154 (updateCounters): adjust
7155 (deleteEmptyParagraphMechanism): first attempt at fixing a
7158 * text.C (top_y): adjust
7159 (setHeightOfRow): adjust
7161 (getRowNearY): adjust
7163 * lyxtext.h: include RowList.h
7164 (~LyXText): not needed anymore, deleted.
7165 (firstRow): modify for RowList
7166 (lastRow): new function
7167 Delete firstrow and lastrow class variables, add a Rowlist
7168 rowlist_ class variable.
7170 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7173 * RowList.C (insert): fix case where it == begin().
7175 2003-03-26 Angus Leeming <leeming@lyx.org>
7177 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7178 the thesaurus dialog.
7180 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7182 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7184 * RowList.[Ch]: new files
7186 * ParagraphList.C (erase): handle the case where it == begin
7189 2003-03-25 John Levon <levon@movementarian.org>
7193 * aspell.C: add new aspell support
7196 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7199 2003-03-25 Angus Leeming <leeming@lyx.org>
7202 * LyXAction.C (init): new LFUN_INSET_INSERT.
7204 * BufferView_pimpl.C (dispatch): split out part of the
7205 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7207 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7210 2003-03-25 Angus Leeming <leeming@lyx.org>
7212 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7214 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7217 * text3.C: remove useless row->height(0)
7219 2003-03-25 John Levon <levon@movementarian.org>
7223 * text3.C: rename the refreshing stuff to better names
7225 2003-03-24 John Levon <levon@movementarian.org>
7227 * BufferView_pimpl.h:
7228 * BufferView_pimpl.C: update layout choice on a mouse
7231 2003-03-23 John Levon <levon@movementarian.org>
7233 * Makefile.am: fix commandtags.h reference
7235 2003-03-22 John Levon <levon@movementarian.org>
7237 * BufferView_pimpl.C:
7242 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7244 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7247 * text.C: take the rtl methods out of line
7249 2003-03-21 André Pönitz <poenitz@gmx.net>
7251 * metricsinfo.[Ch]: new files containing structures to be passed around
7252 during the two-phase-drawing...
7254 2003-03-21 André Pönitz <poenitz@gmx.net>
7256 * lyxtextclass.C: read 'environment' tag.
7258 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7260 * text2.C (removeRow): fix bug 964
7262 2003-03-20 John Levon <levon@movementarian.org>
7266 * text2.C: paint cleanups. Inset::update() dropped font
7269 2003-03-19 John Levon <levon@movementarian.org>
7271 * lyxfunc.C: only fitcursor/markDirty if available()
7273 2003-03-19 John Levon <levon@movementarian.org>
7275 * commandtags.h: rename to ...
7277 * lfuns.h: ... this, and renumber / cleanup
7279 2003-03-19 John Levon <levon@movementarian.org>
7281 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7282 fit the cursor after an lfun
7286 * BufferView_pimpl.h:
7287 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7289 * LyXAction.C: layout-character should have ReadOnly
7291 * ParagraphParameters.C:
7293 * bufferview_funcs.C:
7300 * undo_funcs.C: changes from above
7302 2003-03-18 John Levon <levon@movementarian.org>
7304 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7305 remove it from update()
7307 * lyxfunc.C: update layout choice after an lfun
7309 * text3.C: remove extra updateLayoutChoice()s
7311 2003-03-18 John Levon <levon@movementarian.org>
7313 * text.C: top_y change means full repaint, fix
7314 a drawing bug with cursor movement
7316 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7320 * text2.C: anchor row on setCursor
7322 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7324 * lyxtext.h: remove almost all mutable keywords
7327 * text3.C: remove const keywords accordingly
7329 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7331 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7333 (TeXEnvironment): ditto
7336 2003-03-17 John Levon <levon@movementarian.org>
7338 * text.C (rowBreakPoint): remove attempt to fix displayed
7339 math insets inside a manual label
7341 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7343 * lyxtext.h: remove BufferView* as first arg from almost all class
7345 * other files: adjust.
7347 2003-03-17 John Levon <levon@movementarian.org>
7351 * text2.C: more paint cleanups
7353 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7356 * rowpainter.C: remove "smart" background painting code
7358 2003-03-16 John Levon <levon@movementarian.org>
7363 * text3.C: add helper functions for setting refresh_row/y
7365 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7367 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7368 newline inset which *can* get inserted in the pass_thru layouts.
7369 This is primarily for literate documents.
7371 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7373 * buffer.C: increment LYX_FORMAT to 223
7375 2003-03-14 André Pönitz <poenitz@gmx.net>
7377 * textclass.h: prepare for environment handling, ws changes
7378 * lyxlayout.C: read latexheader and latexfooter tags
7380 2003-03-14 John Levon <levon@movementarian.org>
7382 * text2.C: rewrite ::status() a bit
7384 2003-03-13 John Levon <levon@movementarian.org>
7386 * lyxtext.h: add some docs
7388 2003-03-13 John Levon <levon@movementarian.org>
7393 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7395 2003-03-13 John Levon <levon@movementarian.org>
7397 * text3.C: fix appendix redrawing
7399 2003-03-13 John Levon <levon@movementarian.org>
7401 * text.C (setHeightOfRow):
7403 * rowpainter.C: make appendix mark have the text
7404 "Appendix" so the user knows what it is
7407 * LColor.C: s/appendixline/appendix/ from above
7409 2003-03-13 John Levon <levon@movementarian.org>
7411 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7413 * text.C: fix a getChar(pos) bug properly
7415 2003-03-13 Angus Leeming <leeming@lyx.org>
7418 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7419 Probably only temporary. Let's see how things pan out.
7421 * BufferView.C (unlockInset):
7422 * BufferView_pimpl.C (fitCursor):
7423 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7425 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7426 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7428 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7429 new functions that convert ParagraphParameters to and from a string.
7431 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7432 BufferView::Pimpl's dispatch.
7433 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7435 2003-03-13 André Pönitz <poenitz@gmx.net>
7439 * factory.C: make it aware of InsetEnv
7441 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7443 * text2.C (setCursor): never ask for one past last
7444 (setCursor): add some debugging messages.
7446 * text.C (singleWidth): never ask for one past last
7447 (singleWidth): ditto
7449 (rightMargin): ditto
7450 (rowBreakPoint): ditto
7451 (setHeightOfRow): ditto
7452 (prepareToPrint): ditto
7454 * rowpainter.C (paintBackground): never ask for one past last
7455 (paintText): never ask for one past last
7457 * paragraph_pimpl.C (getChar): make the assert stricter, never
7458 allow the one past last pos to be taken
7460 * paragraph.C (getChar): ws changes only
7462 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7463 (numberOfSeparators): ditto
7464 (numberOfHfills): ditto
7466 2003-03-12 John Levon <levon@movementarian.org>
7472 * paragraph_funcs.C: fix per-buffer authorlists
7474 2003-03-12 John Levon <levon@movementarian.org>
7476 * text.C: fix newline in right address
7478 2003-03-12 Angus Leeming <leeming@lyx.org>
7480 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7481 duplicate those in LyXFunc::dispatch.
7485 * ToolbarDefaults.C:
7486 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7487 Add LFUN_FONTFREE_UPDATE.
7489 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7490 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7492 * bufferview_func.[Ch]: several new functions to facilliate
7493 transfer of data to and from the character dialog.
7495 2003-03-12 John Levon <levon@movementarian.org>
7500 * paragraph_funcs.C:
7501 * paragraph_pimpl.C:
7505 * text3.C: remove META_NEWLINE in favour of an inset
7508 * rowpainter.C: remove paintNewline (done by inset)
7510 2003-03-12 John Levon <levon@movementarian.org>
7512 * paragraph_pimpl.C: complain about bad getChar()s
7513 for a while at least
7515 2003-03-12 John Levon <levon@movementarian.org>
7518 * buffer.C: move paragraph read into a separate function,
7519 a little renaming to reflect that.
7522 * bufferparams.C: remove the author_ids map, not necessary now
7525 * factory.C: moved Buffer::readInset to here
7527 * paragraph_funcs.h:
7528 * paragraph_funcs.C: readParagraph free function moved from
7531 * tabular.C: name change
7533 2003-03-12 John Levon <levon@movementarian.org>
7536 * ParagraphParameters.C: move par params input to
7539 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7540 behave like a normal read from the stream wrt reading
7541 a line vs. a \\token
7543 2003-03-12 John Levon <levon@movementarian.org>
7546 * ParagraphParameters.h:
7547 * ParagraphParameters.C: move output code to a
7550 2003-03-12 John Levon <levon@movementarian.org>
7552 * BufferView.C (insertLyXFile):
7555 * tabular.C: use a parlist iterator for creating the
7558 2003-03-12 John Levon <levon@movementarian.org>
7560 * buffer.C: make current_change static local not
7563 2003-03-12 John Levon <levon@movementarian.org>
7565 * buffer.C: fix insertStringAsLines for change tracking
7567 2003-03-12 John Levon <levon@movementarian.org>
7574 * bufferparams.C: move author list into params. Rename some
7575 functions. Move the header reading into a separate token
7576 loop. Move the header token reading into BufferParams.
7578 2003-03-12 John Levon <levon@movementarian.org>
7580 * changes.C: put debug inside lyxerr.debugging() checks
7582 2003-03-11 André Pönitz <poenitz@gmx.net>
7584 * factory.C: make it aware of InsetHFill
7586 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7588 * buffer.C (latexParagraphs): move function from here...
7589 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7592 2003-03-10 Angus Leeming <leeming@lyx.org>
7594 * LyXAction.C (init): fix bug in poplating array with multiple entries
7595 with the same LFUN (spotted by JMarc).
7597 2003-03-10 John Levon <levon@movementarian.org>
7600 * text2.C: move getColumnNearX() near its
7603 2003-03-10 John Levon <levon@movementarian.org>
7605 * text.C: fix break before a minipage
7607 2003-03-10 John Levon <levon@movementarian.org>
7609 * text.C: fix the last commit
7611 2003-03-09 John Levon <levon@movementarian.org>
7615 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7616 bug 365 (don't break before insets unless needed). Don't
7617 return a value > last under any circumstances.
7619 2003-03-09 Angus Leeming <leeming@lyx.org>
7621 * BufferView_pimpl.C (trackChanges, dispatch): call
7622 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7624 2003-03-09 Angus Leeming <leeming@lyx.org>
7626 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7627 than Dialogs::showAboutlyx().
7629 2003-03-09 Angus Leeming <leeming@lyx.org>
7631 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7632 than Dialogs::showTabularCreate().
7634 2003-03-09 John Levon <levon@movementarian.org>
7638 * text2.C: 3rd arg to nextBreakPoint was always the same.
7641 2003-03-08 John Levon <levon@movementarian.org>
7648 * text2.C: Remove the "main" bit from the "main body"
7651 2003-03-08 John Levon <levon@movementarian.org>
7653 * text.C (leftMargin): The left margin of an empty
7654 manual label paragraph should not include the label width
7657 * text.C (prepareToPrint): don't attempt to measure hfills
7658 for empty manual label paragraphs - the answer should be 0
7660 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7662 * CutAndPaste.C: remove commented code and reindent.
7664 2003-03-08 John Levon <levon@movementarian.org>
7667 * lyxfunc.C: move reloadBuffer()
7670 * BufferView.C: to here
7672 * lyxvc.C: add comment
7675 * vc-backend.C: call bv->reload() to avoid
7676 getStatus() check on MENURELOAD
7678 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7680 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7681 to an old format .dep file.
7683 2003-03-07 Angus Leeming <leeming@lyx.org>
7685 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7686 when the LFUN_MOUSE_RELEASE should have been handled by
7687 inset->localDispatch.
7689 2003-03-07 Angus Leeming <leeming@lyx.org>
7691 * BufferView_pimpl.C (dispatch):
7692 * LyXAction.C (init):
7693 * ToolbarDefaults.C (init):
7695 * lyxfunc.C (getStatus):
7696 remove LFUN_INSET_GRAPHICS.
7698 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7700 2003-03-07 Angus Leeming <leeming@lyx.org>
7703 * LyXAction.C (init):
7704 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7706 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7709 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7711 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7712 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7714 2003-03-07 Angus Leeming <leeming@lyx.org>
7716 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7719 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7721 * ParagraphList.C (front): new function
7724 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7726 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7727 and top_row_offset_. removed var first_y.
7729 * text2.C (LyXText, removeRow):
7731 * BufferView_pimpl.C:
7732 use these methods instead of using first_y
7734 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7736 * text2.C (pasteSelection): adjust for checkPastePossible
7738 * CutAndPaste.C: remove Paragraph * buf and replace with
7739 ParagraphList paragraphs.
7740 (DeleteBuffer): delete
7741 (cutSelection): change the tc type to textclass_type
7742 (copySelection): change the tc type to textclass_type
7743 (copySelection): adjust for ParagraphList
7744 (pasteSelection): change the tc type to textclass_type
7745 (pasteSelection): adjust for Paragraphlist
7746 (nrOfParagraphs): simplify for ParagraphList
7747 (checkPastePossible): simplify for ParagraphList
7748 (checkPastePossible): remove unused arg
7750 * ParagraphList.C (insert): handle the case where there are no
7753 * CutAndPaste.h: make CutAndPaste a namespace.
7755 * text3.C (dispatch): adjust
7757 * text.C (breakParagraph): add a ParagraphList as arg
7759 * paragraph_funcs.C (breakParagraph): change to take a
7760 BufferParams and a ParagraphList as args.
7761 (breakParagraphConservative): ditto
7762 (mergeParagraph): ditto
7763 (TeXDeeper): add a ParagraphList arg
7764 (TeXEnvironment): ditto
7767 * buffer.C (readLyXformat2): adjust
7768 (insertStringAsLines): adjust
7769 (latexParagraphs): adjust
7771 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7772 (cutSelection): adjust
7773 (pasteSelection): adjust
7775 * BufferView_pimpl.C (insertInset): adjust
7777 2003-03-05 Angus Leeming <leeming@lyx.org>
7780 * LyXAction.C (init):
7781 * BufferView_pimpl.C (dispatch):
7782 * lyxfunc.C (getStatus):
7783 remove LFUN_CHILD_INSERT.
7785 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7787 2003-03-05 Angus Leeming <leeming@lyx.org>
7790 * LyXAction.C (init):
7791 * src/factory.C (createInset):
7792 * lyxfunc.C (getStatus):
7793 * text3.C (dispatch):
7794 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7796 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7798 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7800 * ParagraphList.C (insert): handle insert right before end()
7801 (erase): fix cases where it can be first or last paragraph.
7803 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7805 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7806 Paragraph::next and Paragraph::previous
7809 * text.C (breakParagraph): adjust
7811 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7812 BufferParams& as arg.
7813 (breakParagraph): use ParagraphList::insert
7814 (breakParagraphConservative): take a Buffer* instead of a
7815 BufferParams& as arg.
7816 (breakParagraphConservative): use ParagraphList::insert.
7818 * buffer.C (insertStringAsLines): un-const it
7819 (insertStringAsLines): adjust
7821 * ParagraphList.C (insert): new function
7823 * CutAndPaste.C (pasteSelection): adjust
7825 * text.C (backspace): adjust
7827 * tabular.C (SetMultiColumn): adjust
7829 * CutAndPaste.C (cutSelection): adjust
7830 (pasteSelection): adjust
7832 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7833 Buffer const * as arg
7835 * ParagraphList.C (erase): new function
7836 * paragraph_funcs.C (mergeParagraph): use it
7837 (mergeParagraph): make it take a Buffer* instead of a
7838 BufferParams* as arg
7840 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7842 (breakParagraphConservative): ditto
7844 * paragraph.h: remove the breakParagraph friend
7846 * paragraph.C (eraseIntern): new function
7847 (setChange): new function
7849 * paragraph_funcs.C (mergeParagraph): make it take a
7850 ParagraphList::iterator instead of a Paragraph *, adjust
7853 * paragraph.h: move an #endif so that the change tracking stuff
7854 also works in the NO_NEXT case.
7856 2003-03-04 Angus Leeming <leeming@lyx.org>
7859 * LyXAction.C: new LFUN_INSET_MODIFY.
7861 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7862 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7864 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7866 * several files: ws changes only
7868 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7869 (TeXEnvironment): ditto
7872 * buffer.C (makeLaTeXFile): adjust
7873 (latexParagraphs): make it take ParagraphList::iterator as args
7875 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7877 * buffer.C (latexParagraphs): adjust
7879 * paragraph.C (TeXOnePar): move function...
7880 (optArgInset): move function...
7881 (TeXEnvironment): move function...
7882 * paragraph_pimpl.C (TeXDeeper): move function...
7883 * paragraph_funcs.C: ...here
7885 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7887 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7889 * buffer.C (readInset): remove compability code for old Figure and
7892 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7894 * buffer.C: ws changes
7897 * BufferView_pimpl.C: ditto
7900 * bufferlist.h: ditto
7904 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7906 * converter.[Ch]: split into itself +
7909 * Makefile.am: += graph.[Ch] + format.[Ch]
7916 * lyxrc.C: added #include "format.h"
7918 2003-02-27 Angus Leeming <leeming@lyx.org>
7920 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7923 * factory.C (createInset): add "label" to the factory.
7925 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7926 string and do no more.
7928 2003-02-27 Angus Leeming <leeming@lyx.org>
7931 * LyXAction.C (init):
7932 * factory.C (createInset):
7933 * BufferView_pimpl.C (dispatch):
7934 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7936 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7938 * lyxfunc.C (dispatch):
7939 * text3.C (dispatch): pass name to params2string.
7941 2003-02-26 Angus Leeming <leeming@lyx.org>
7943 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7945 Rearrange the ~includes. Strip out the unnecessary ones.
7947 * factory.C (createInset): reformat.
7948 create new insets for the various LFUN_XYZ_APPLY lfuns.
7950 2003-02-26 John Levon <levon@movementarian.org>
7953 * lyxrow.C: add isParStart,isParEnd helpers
7955 * paragraph.h: make isInserted/DeletedText take refs
7957 * paragraph_funcs.h:
7958 * paragraph_funcs.C: remove #if 0'd code
7963 * text.C: use lyxrow helpers above.
7964 Move draw and paint routines to RowPainter.
7965 Make several methods use refs not pointers.
7966 Make backgroundColor() const.
7967 Add markChangeInDraw(), isInInset().
7968 Merge changeRegionCase into changeCase.
7969 Make workWidth() shouldn't-happen code into an Assert.
7972 * rowpainter.C: new class for painting a row.
7975 * vspace.C: make inPixels take a ref
7977 2003-02-26 Angus Leeming <leeming@lyx.org>
7979 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7982 2003-02-25 John Levon <levon@movementarian.org>
7984 * ispell.C: give the forked command a more accurate name
7986 2003-02-22 John Levon <levon@movementarian.org>
7989 * toc.C: make TocItem store an id not a Paragraph *
7992 2003-02-21 Angus Leeming <leeming@lyx.org>
7994 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7995 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7996 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7997 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7998 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7999 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8001 * BufferView_pimpl.C (dispatch):
8002 * LyXAction.C (init):
8003 * factory.C (createInset):
8004 * lyxfunc.C (getStatus, dispatch):
8005 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8007 2003-02-21 Angus Leeming <leeming@lyx.org>
8009 * BufferView_pimpl.C (MenuInsertLyXFile):
8010 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8011 * lyxfunc.C (menuNew, open, doImport):
8012 no longer pass a LyXView & to fileDlg.
8014 2003-02-21 Angus Leeming <leeming@lyx.org>
8016 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8017 * LyXAction.C: change, BIBKEY to BIBITEM.
8018 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8019 Change InsetBibKey to InsetBibitem.
8020 Change BIBKEY_CODE to BIBITEM_CODE.
8021 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8022 * factory.C: replace insetbib.h with insetbibitem.h.
8023 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8024 * paragraph.C: replace insetbib.h with insetbibitem.h.
8025 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8026 Change bibkey() to bibitem().
8027 * text.C: remove insetbib.h.
8028 * text2.C: replace insetbib.h with insetbibitem.h.
8029 change bibkey() to bibitem().
8030 * text3.C: remove insetbib.h.
8031 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8033 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8035 * lyxrc.C (output): enclose user email in quotes (in case there are
8038 2003-02-18 John Levon <levon@movementarian.org>
8040 * buffer.h: add std::
8042 2003-02-17 John Levon <levon@movementarian.org>
8048 * pspell.C: reworking. Especially in ispell, a large
8049 number of clean ups and bug fixes.
8051 * lyxfunc.C: fix revert to behave sensibly
8053 2003-02-17 André Pönitz <poenitz@gmx.net>
8056 * commandtags.h: new LFUN_INSERT_BIBKEY
8066 * paragraph_func.C: remove special bibkey handling
8068 2003-02-17 John Levon <levon@movementarian.org>
8070 * text.C (Delete): fix case where delete at the end of
8071 the very first paragraph would not merge the pars
8073 2003-02-17 John Levon <levon@movementarian.org>
8075 * lyxrow.C: fix lastPrintablePos()
8077 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8079 * bufferparams.C (writeLaTeX): add a std:here
8081 * buffer.C: and remove a using directive there
8083 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8085 * buffer.C (makeLaTeXFile): move the code that generates the
8088 * bufferparams.C (writeLaTeX): ... in this new method
8090 * LaTeXFeatures.C (getEncodingSet): make const
8091 (getLanguages): make const
8093 * MenuBackend.C (binding): returns the binding associated to this
8095 (add): sets the status of each item by calling getStatus. Adds
8097 (read): add support for OptSubMenu
8098 (expand): remove extra separator at the end of expanded menu
8100 2003-02-15 John Levon <levon@movementarian.org>
8103 * BufferView_pimpl.C:
8105 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8106 inset code that had no actual effect. Remove unneeded status
8109 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8111 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8114 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8116 * text.C (drawLengthMarker): also draw an arrow marker for
8117 symbolic lengths (medskip...)
8119 2003-02-14 John Levon <levon@movementarian.org>
8122 * tabular.C: better method names
8124 2003-02-14 John Levon <levon@movementarian.org>
8126 * BufferView_pimpl.C:
8131 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8132 it's a more accurate name. Remove some pointless uses.
8134 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8136 * text2.C (LyXText): change order of initilizers to shut off
8139 2003-02-14 John Levon <levon@movementarian.org>
8141 * buffer.C: use ParIterator for getParFromID()
8145 * paragraph_pimpl.h:
8146 * paragraph_pimpl.C: remove unused getParFromID()
8148 2003-02-14 John Levon <levon@movementarian.org>
8150 * buffer.C: remove some very old #if 0'd parse code
8152 2003-02-13 John Levon <levon@movementarian.org>
8156 * text2.C: move hfillExpansion(), numberOfSeparators(),
8157 rowLast(), rowLastPrintable(), numberofHfills(),
8158 numberOfLabelHfills() ...
8161 * lyxrow.C: ... to member functions here.
8166 * text.C: remove LyXText::beginningOfMainBody(), and call
8167 p->beginningOfMainBody() directly. Move the check for
8168 LABEL_MANUAL into the latter.
8175 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8181 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8182 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8184 2003-02-13 John Levon <levon@movementarian.org>
8186 * CutAndPaste.C: remove debug
8188 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8190 * paragraph.C (asString): remove two unused variables
8192 * lyxtextclass.C (readTitleType):
8194 (LyXTextClass): handle new members titletype_ and titlename_
8196 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8198 2003-02-09 John Levon <levon@movementarian.org>
8201 * buffer.C: replace hand-coded list with a map for the dep clean
8203 2003-02-08 John Levon <levon@movementarian.org>
8205 * LaTeX.C: consolidate code into showRunMessage() helper
8207 2003-02-08 John Levon <levon@movementarian.org>
8212 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8213 and pass the size in explicitly
8215 * BufferView_pimpl.h:
8216 * BufferView_pimpl.C:
8218 * BufferView.C: add getCurrentChange()
8220 * BufferView_pimpl.h:
8221 * BufferView_pimpl.C: handle change lfuns
8223 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8224 for changes. Mark pasted paragraphs as new.
8226 * support/lyxtime.h:
8227 * support/lyxtime.C:
8228 * DepTable.C: abstract time_t as lyx::time_type
8231 * LColor.C: add colours for new text, deleted text, changebars
8233 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8234 package use "usenames" option.
8238 * LyXAction.C: add change lfuns
8242 * author.C: author handling
8245 * buffer.C: add a per-buffer author list, with first entry as
8246 current author. Handle new .lyx tokens for change tracking. Output
8247 author list to .lyx file. Output dvipost stuff to .tex preamble.
8248 Bump lyx format to 222.
8251 * bufferlist.C: add setCurrentAuthor() to reset current author details
8255 * bufferparams.C: add param for tracking
8257 * bufferview_funcs.C: output change info in minibuffer
8261 * changes.C: add change-tracking structure
8264 * debug.C: add CHANGES debug flag
8267 * lyxfind.C: add code for finding the next change piece
8270 * lyxrc.C: add user_name and user_email
8273 * lyxrow.C: add a metric for the top of the text line
8276 * text.C: implement accept/rejectChange()
8279 * text.C: paint changebars. Paint new/deleted text in the chosen
8280 colours. Strike through deleted text.
8284 * paragraph_pimpl.h:
8285 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8286 in the current change to the insert functions. Rework erase to
8287 mark text as deleted, adding an eraseIntern() and a range-based
8288 erase(). Implement per-paragraph change lookup and
8291 * paragraph_funcs.C: Fixup paste for change tracking.
8293 * tabular.C: mark added row/columns as new.
8295 * text.C: fix rowLast() to never return -1. Don't allow
8296 spellchecking of deleted text. Track transpose changes. Don't
8297 allow paragraph break or merge where appropriate.
8299 * text2.C: leave cursor at end of selection after a cut.
8301 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8303 * text.C (getLengthMarkerHeight):
8304 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8305 visible on screen too.
8307 2003-02-07 John Levon <levon@movementarian.org>
8309 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8311 2003-02-05 Angus Leeming <leeming@lyx.org>
8313 * lyxserver.C (read_ready): revert my patch of 11 September last year
8314 as it sends PC cpu through the roof. Presumably this means that
8315 the lyxserver will no longer run on an Alpha...
8317 2003-01-30 Angus Leeming <leeming@lyx.org>
8319 * factory.C (createInset): create an InsetCommandParam of type "index"
8320 and use it to 'do the right thing'.
8322 * text2.C (getStringToIndex): ensure that cursor position is always
8323 reset to the reset_cursor position.
8325 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8327 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8330 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8334 * lyxfunc.C: Output messages with identical spelling, punctuation,
8337 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8339 * MenuBackend.C (expandFormats): List only viewable export formats
8342 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8345 * lyxfunc.C (getStatus): Make sure that formats other than
8346 "fax" can also be disabled
8348 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8350 * text3.C (dispatch): put the lfuns that insert insets in 3
8351 groups, and call doInsertInset with appropriate arguments.
8352 (doInsertInset): new function, that creates an inset and inserts
8353 it according to some boolean parameters.
8355 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8357 * buffer.C (readFile): remember to pass on 'par' when calling
8358 readFile recursively.
8360 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8362 * MenuBackend.C (expandFormats): add "..." to import formats.
8364 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8366 * paragraph.C (asString): Remove XForms RTL hacks.
8368 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8369 * buffer.C: fix typo
8371 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8373 * Makefile.am (LIBS): delete var
8374 (lyx_LDADD): add @LIBS@ here instead.
8376 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8378 * Clarify the meaning of "wheel mouse jump"
8380 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8382 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8385 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8387 * importer.C (Loaders): do not preallocate 3 elements in the
8388 vector, since one ends up with 6 elements otherwise
8390 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8392 * DepTable.C (write): write the file name as last element of the
8393 .dep file (because it may contain spaces)
8394 (read): read info in the right order
8396 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8398 * paragraph_pimpl.C (simpleTeXBlanks):
8399 (simpleTeXSpecialChars):
8400 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8402 * tabular.C (latex): add some missing case statements. Reindent.
8404 * MenuBackend.C (expandToc): remove unused variable.
8406 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8415 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8418 2003-01-05 John Levon <levon@movementarian.org>
8421 * BufferView.C: add getEncoding()
8424 * kbsequence.C: do not store last keypress
8427 * lyxfunc.C: store last keypress here instead. Pass encoding
8430 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8432 * lyx_main.C (init): remove annoying error message when following
8433 symbolic links (bug #780)
8435 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8437 * text.C (insertChar):
8438 * lyxrc.C (getDescription): remove extra spaces
8440 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8442 * lyxrc.C (getDescription): remove extra spaces
8444 2002-12-20 John Levon <levon@movementarian.org>
8446 * text3.C: hack fix for page up/down across tall rows
8448 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8450 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8453 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8455 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8456 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8457 thesaurus is not compiled in
8459 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8461 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8463 2002-12-16 Angus Leeming <leeming@lyx.org>
8466 * lyx_main.C (init): remove override_x_deadkeys stuff.
8468 2002-12-12 John Levon <levon@movementarian.org>
8470 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8471 insert. Only remove shift modifier under strict
8474 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8476 * MenuBackend.C (expandToc): fix crash.
8478 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8480 * MenuBackend.C (expandToc): gettext on float names.
8482 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8484 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8485 implement bool empty() [bug 490]
8487 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8489 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8491 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8493 * several files: ws changes
8495 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8497 * text2.C (setCounter): clean up a bit, use boost.format.
8498 (updateCounters): initialize par upon declaration.
8500 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8501 if the layout exists. We do not just store the layout any more.
8502 (SwitchLayoutsBetweenClasses): use boost.format
8504 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8506 * converter.C (convert): if from and to files are the same, use a
8507 temporary files as intermediary
8509 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8512 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8514 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8516 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8518 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8520 * tabular.C (asciiPrintCell): use string(size, char) instead of
8523 * sgml.C (openTag): fix order of arguments to string constructor
8526 * lyxfunc.C (dispatch): use boost.format
8528 * lots of files: change "c" -> 'c'
8530 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8532 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8534 2002-11-25 Angus Leeming <leeming@lyx.org>
8536 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8538 * lyx_main.C (init): compile fix.
8540 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8542 * lyx_cb.C (start): boost.formatify
8543 do not include <iostream>
8545 * lengthcommon.C: ws only
8547 * boost-inst.C,BoostFormat.h: add more explict instantations
8549 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8551 * lots of files: handle USE_BOOST_FORMAT
8553 2002-11-21 John Levon <levon@movementarian.org>
8555 * pspell.C: fix compile
8557 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8559 * lyxfunc.C (dispatch): use boost::format
8563 * lyxfont.C (stateText): use boost::format
8565 * lyx_main.C (LyX): use boost::format
8567 (queryUserLyXDir): ditto
8570 (typedef boost::function): use the recommened syntax.
8572 * importer.C (Import): use boost::format
8574 * debug.C (showLevel): use boost::format
8576 * converter.C (view): use boost::format
8581 * bufferview_funcs.C (currentState): use boost::format
8583 * bufferlist.C (emergencyWrite): use boost::format
8585 * buffer.C (readLyXformat2): use boost::format
8586 (parseSingleLyXformat2Token): ditto
8588 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8590 * LaTeX.C (run): use boost::format
8592 * Chktex.C (scanLogFile): use boost::format
8594 * BufferView_pimpl.C (savePosition): use boost::format
8595 (restorePosition): ditto
8596 (MenuInsertLyXFile): ditto
8598 * BoostFormat.h: help file for explicit instation.
8600 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8602 * tabular.C (latex): Support for block alignment in fixed width
8605 2002-11-17 John Levon <levon@movementarian.org>
8607 * BufferView_pimpl.C:
8609 * lyxfunc.C: split filedialog into open/save
8611 2002-11-08 Juergen Vigna <jug@sad.it>
8613 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8614 by my last patch (hopefully).
8616 2002-11-08 John Levon <levon@movementarian.org>
8625 * toc.C: ParConstIterator, and use it (from Lars)
8627 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8629 * lyxtextclass.[Ch]: revise and add doxygen comments
8631 2002-11-07 John Levon <levon@movementarian.org>
8633 * text.C: fix progress value for spellchecker
8635 * toc.C: fix navigate menu for insetwrap inside minipage
8637 * paragraph_funcs.C: added FIXME for suspect code
8639 2002-11-07 John Levon <levon@movementarian.org>
8641 * BufferView_pimpl.C: fix redrawing of insets
8644 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8646 * text2.C (updateCounters): fix bug 668
8648 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8650 * text3.C (dispatch): Do not make the buffer dirty when moving the
8653 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8655 * vc-backend.C: STRCONV
8658 * text2.C (setCounter): STRCONV
8660 * paragraph.C (asString): STRCONV
8662 * lyxlength.C (asString): STRCONV
8663 (asLatexString): ditto
8665 * lyxgluelength.C (asString): STRCONV
8666 (asLatexString): ditto
8668 * lyxfunc.C (dispatch): STRCONV
8671 * lyxfont.C (stateText): STRCONV
8673 * importer.C (Import): STRCONV
8675 * counters.C (labelItem): STRCONV
8676 (numberLabel): ditto
8677 (numberLabel): remove unused ostringstream o
8682 * bufferview_funcs.C (currentState): STRCONV
8684 * buffer.C (readFile): STRCONV
8685 (asciiParagraph): ditto
8686 (makeLaTeXFile): ditto
8688 * Spacing.C (writeEnvirBegin): STRCONV
8690 * LaTeXFeatures.C (getLanguages): STRCONV
8691 (getPackages): ditto
8693 (getBabelOptions): ditto
8694 (getTClassPreamble): ditto
8695 (getLyXSGMLEntities): ditto
8696 (getIncludedFiles): ditto
8700 (scanAuxFile): ditto
8703 * LString.h: add the STRCONV macros
8705 * BufferView_pimpl.C (savePosition): STRCONV
8706 (restorePosition): ditto
8707 (MenuInsertLyXFile): ditto
8709 * vc-backend.C (scanMaster): change from submatch[...] to
8712 * funcrequest.C: include config.h
8714 * factory.C: include config.h
8716 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8718 * box.C: include config.h
8720 * LaTeX.C (scanAuxFile): change from submatch[...] to
8724 2002-10-25 Angus Leeming <leeming@lyx.org>
8726 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8728 * ispell.[Ch] (setError): new method.
8729 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8730 Use setError() insetead of goto END.
8732 * lyx_cb.C (AutoSave): move out child process into new class
8735 2002-10-30 John Levon <levon@movementarian.org>
8737 * text3.C: make start appendix undoable
8739 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8741 * lyxlength.C (inPixels): Fix returned value.
8743 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8746 2002-10-24 Angus Leeming <leeming@lyx.org>
8748 * lyxgluelength.h: no need to forward declare BufferParams
8749 or BufferView, so don't.
8751 2002-10-21 John Levon <levon@movementarian.org>
8753 * BufferView.C: menuUndo ->undo, redo
8755 * BufferView.h: document, remove dead, make some methods private
8757 * paragraph_funcs.h:
8758 * paragraph_funcs.C:
8759 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8764 * sgml.C: move sgml open/close tag into sgml.C
8766 * bufferview_funcs.h: unused prototype
8769 * lyxfunc.C: remove unused
8772 * text.C: remove unused
8774 2002-10-21 John Levon <levon@movementarian.org>
8778 * BufferView_pimpl.h:
8779 * BufferView_pimpl.C: fix mouse wheel handling based on
8780 patch from Darren Freeman
8782 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8784 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8786 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8788 * lyxlength.C (inPixels): Fix hanfling of negative length.
8789 Fix LyXLength::MU case.
8791 2002-10-16 John Levon <levon@movementarian.org>
8793 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8795 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8797 * converter.C (view): add support for $$i (file name) and $$p
8798 (file path) for the viewer command. If $$i is not specified, then
8799 it is appended to the command (for compatibility with old syntax)
8801 2002-10-14 Juergen Vigna <jug@sad.it>
8803 * undo_funcs.C (textHandleUndo): alter the order in which the
8804 new undopar is added to the LyXText, as we have to set first
8805 the right prev/next and then add it as otherwise the rebuild of
8806 LyXText is not correct. Also reset the cursor to the right paragraph,
8807 with this IMO we could remove the hack in "redoParagraphs()".
8809 2002-10-09 Angus Leeming <leeming@lyx.org>
8811 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8812 to turn off an optimisation if a new inset is to be inserted.
8814 2002-10-11 André Pönitz <poenitz@gmx.net>
8816 * lyxtext.h: make some functions public to allow access
8817 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8819 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8821 * text3.C (dispatch): when changing layout, avoid an infinite loop
8824 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8826 * lyxrc.C (read): treat a viewer or converter command of "none" as
8829 * MenuBackend.C (expandFormats): for an update, also allow the
8830 formats that are not viewable
8832 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8833 script if it is newer than the lyxrc.defaults in user directory
8835 2002-10-07 André Pönitz <poenitz@gmx.net>
8837 * text.C: Vitaly Lipatov's small i18n fix
8839 2002-09-25 Angus Leeming <leeming@lyx.org>
8841 * ispell.h: doxygen fix.
8843 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8845 * buffer.h (readFile): Add a new argument to the method, to allow
8846 reading of old-format templates.
8848 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8850 * toc.C (getTocList): Get TOC from InsetWrap.
8852 2002-09-16 John Levon <levon@movementarian.org>
8854 * lyxfunc.C: check tabular for cut/copy too
8856 2002-09-12 John Levon <levon@movementarian.org>
8861 * factory.C: add header
8863 * paragraph_funcs.h:
8864 * paragraph_funcs.C: cleanup
8866 2002-09-11 John Levon <levon@movementarian.org>
8868 * PrinterParams.h: odd/even default to true
8870 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8872 * PrinterParams.h: update printer parameters for new xforms dialog
8874 2002-09-11 Angus Leeming <leeming@lyx.org>
8876 * lyxserver.C (read_ready): re-write to make it more transparent
8877 and to make it work in coherent fashion under Tru64 Unix.
8879 2002-09-11 André Pönitz <poenitz@gmx.net>
8883 * text3.C: implement LFUN_WORDSEL
8885 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8887 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8888 make floatlist_ a boost::shared_ptr<FloatList>
8890 * lyxtextclass.C: include FloatList.h
8891 (LyXTextClass): initialize floatlist_
8892 (TextClassTags): add TC_NOFLOAT
8893 (Read): match "nofloat" to TC_NOFLOAT and use it.
8894 (readFloat): modify call to floatlist_
8898 * FloatList.[Ch] (FloatList): remove commented out float
8900 (erase): new function
8902 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8904 * MenuBackend.C (expandToc): fix crash when there is no document
8907 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8909 * many files: Add insetwrap.
8911 2002-09-09 John Levon <levon@movementarian.org>
8913 * text2.C: remove confusing and awkward depth wraparound
8915 2002-09-09 John Levon <levon@movementarian.org>
8917 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8920 * buffer.C: remove getIncludeonlyList()
8923 * lyxfunc.C: remove headers
8925 2002-09-09 Juergen Vigna <jug@sad.it>
8927 * text.C (getColumnNearX): fix form Michael this is most
8928 probably a cut&paste bug.
8930 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8932 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8934 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8935 references, ws changes.
8937 * text2.C (init): update counters after init
8938 (insertParagraph): no need to set counter on idividual paragraphs.
8939 (setCounter): access the counters object in the textclass object
8940 on in the buffer object.
8941 (updateCounters): ditto
8943 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8944 shared_ptr<Counters> to avoid loading counters.h in all
8946 (LyXTextClass): initialize ctrs_
8947 (TextClassTags): add TC_COUNTER, and ...
8948 (Read): use it here.
8949 (CounterTags): new tags
8950 (readCounter): new function
8951 (counters): new funtion
8952 (defaultLayoutName): return a const reference
8954 * counters.C (Counters): remove contructor
8955 (newCounter): remove a couple of unneeded statements.
8956 (newCounter): simplify a bit.
8957 (numberLabel): some small formatting changes.
8959 * buffer.[Ch]: remove all traces of counters, move the Counters
8960 object to the LyXTextClass.
8962 2002-09-06 Alain Castera <castera@in2p3.fr>
8964 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8965 package to set the horizontal alignment on fixed width columns.
8968 * lyx_sty.h: added tabularnewline macro def.
8970 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8972 2002-09-06 John Levon <levon@movementarian.org>
8974 * LyXAction.C: tooltips for sub/superscript
8976 * MenuBackend.C: a bit more verbose
8978 * lyxfunc.C: tiny clean
8980 * undo_funcs.C: document undo_frozen
8982 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8984 * counters.C (Counters): add missing algorithm counter.
8986 * text2.C (setCounter): lookup the counter with layouts latexname
8987 instead of by section number.
8988 (setCounter): use a hackish way to lookup the correct enum
8990 a float name->type change
8991 reset enum couners with counter name directly instead of depth value.
8993 * counters.C (Counters): remove the push_backs, change to use the
8994 float type not the float name.
8995 (labelItem): remove unused string, float name->type change
8997 * counters.h: don't include vector, loose the enums and sects vectors
8999 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9001 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9002 (Read): add float->TC_FLOAT to textclassTags
9003 (Read): and handle it in the switch
9004 (readFloat): new function
9006 * FloatList.C (FloatList): comment out the hardcoded float
9009 * lyxlayout.h: ws change.
9011 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9013 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9015 2002-09-03 Angus Leeming <leeming@lyx.org>
9017 * BufferView_pimpl.h: qualified name is not allowed in member
9018 declaration: WorkArea & Pimpl::workarea() const;
9020 * factory.C: added using std::endl directive.
9022 * text3.C: added using std::find and std::vector directives.
9024 2002-08-29 André Pönitz <poenitz@gmx.net>
9027 * text2.C: remove unused member number_of_rows
9030 * BufferView2.C: remove file, move contents to...
9031 * BufferView.C: ... here
9033 * BufferView_pimpl.C:
9034 * factory.C: move more inset creation to factory
9036 * vspace.C: avoid direct usage of LyXText, ws changes
9039 don't provide direct access to WorkArea, use two simple
9040 acessors haveSelction() and workHeight() instead
9043 2002-08-29 John Levon <levon@movementarian.org>
9045 * BufferView_pimpl.C (dispatch): do not continue when
9048 2002-08-28 André Pönitz <poenitz@gmx.net>
9050 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9053 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9055 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9057 * buffer.C: increment LYX_FORMAT to 221
9059 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9060 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9062 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9064 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9066 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9068 * factory.C (createInset): use LyXTextClass::floats
9070 * MenuBackend.C (expandFloatListInsert):
9071 (expandFloatInsert):
9074 * text2.C (setCounter):
9076 * LaTeXFeatures.C (useFloat):
9077 (getFloatDefinitions):
9079 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9081 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9082 floatlist_, with accessor floats().
9084 * FloatList.h: remove global FloatList
9086 2002-08-26 André Pönitz <poenitz@gmx.net>
9088 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9092 * BufferView_pimpl.C:
9093 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9095 2002-08-25 John Levon <levon@movementarian.org>
9097 * LyXAction.C: fix margin note description
9099 2002-08-24 John Levon <levon@movementarian.org>
9103 * bufferview_funcs.C:
9105 * undo_funcs.C: cleanups
9107 * lyxfunc.C: disable CUT/COPY when no selection
9109 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9111 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9112 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9114 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9115 Add backward compatibility to "mono", "gray" and "no".
9117 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9119 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9120 (and file_format >= 200).
9122 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9124 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9126 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9128 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9130 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9132 * BufferView_pimpl.C:
9139 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9140 inset and code to make it work with the paragraph code. The inset
9141 can be anywhere in the paragraph, but will only do the expected
9142 thing in LaTeX if the layout file contains the parameter line
9144 (or more generally, a nonzero value) for that layout.
9146 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9148 * paragraph.h: remove the declaration of undefined counters class
9151 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9153 * text2.C (setCounter): fixed enumeration mis-count as reported by
9154 Dr. Richard Hawkins.
9156 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9158 * paragraph_funcs.h: remove some unneeded includes
9160 * text.C (backspace): pasteParagraph now in global scipe
9162 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9163 (pasteSelection): ditto
9165 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9166 * paragraph_funcs.C (pasteParagraph): ... here
9168 2002-08-20 André Pönitz <poenitz@gmx.net>
9170 * commandtags.h: new LFUNs for swapping/copying table row/colums
9173 * lyxfunc.C: support for new lfuns
9175 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9178 * buffer.[Ch]: remove NO_COMPABILITY stuff
9180 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9182 * boost.C (throw_exception): new file, with helper function for
9183 boost compiled without exceptions.
9188 * ParameterStruct.h:
9189 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9191 * bufferlist.C (emergencyWriteAll): use boost bind
9193 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9195 * text.C: include paragraph_funcs.h
9196 (breakParagraph): breakParagraph is now in global scope
9198 * paragraph_funcs.[Ch]: new files
9200 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9203 * buffer.C: include paragraph_funcs.h
9204 (insertStringAsLines): breakParagraph is now in global scope
9206 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9209 * CutAndPaste.C: include paragraph_funcs.h
9210 (cutSelection): breakParagraphConservative is now in global scope
9211 (pasteSelection): ditto
9213 * buffer.h: declare oprator== and operator!= for
9214 Buffer::inset_iterator
9216 * bufferlist.C (emergencyWrite): don't use fmt(...)
9218 * text3.C: add using std::endl
9220 * BufferView.C (moveCursorUpdate): remove default arg
9222 2002-08-20 André Pönitz <poenitz@gmx.net>
9224 * buffer.[Ch]: move inline functions to .C
9227 * BufferView_pimpl.C:
9229 * buffer.[Ch]: use improved inset_iterator
9232 * paragraph.[Ch]: write one paragraph at a time
9234 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9236 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9237 style if style is not specified.
9239 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9241 * text2.C (setCounter): when searching for right label for a
9242 caption, make sure to recurse to parent insets (so that a caption
9243 in a minipage in a figure float works) (bug #568)
9245 2002-08-20 André Pönitz <poenitz@gmx.net>
9247 * text3.C: new file for LyXText::dispatch() and helpers
9249 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9251 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9253 2002-08-19 André Pönitz <poenitz@gmx.net>
9256 * text.C: new LyXText::dispatch()
9258 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9260 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9262 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9264 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9267 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9269 * Makefile.am: use $(variables) instead of @substitutions@
9271 2002-08-15 André Pönitz <poenitz@gmx.net>
9274 * BufferView_pimpl.C: streamlining mathed <-> outer world
9278 * LyXAction.C: remove unused LFUN_MATH
9280 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9282 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9284 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9286 * paragraph.C (Paragraph): reformat a bit
9287 (cutIntoMinibuffer): use builtin InsetList function instad of
9291 * buffer.C: include boost/bind.hpp, add using std::for_each
9292 (writeFileAscii): use ParagraphList iterators
9293 (validate): use for_each for validate traversal of paragraphs
9294 (getBibkeyList): use ParagraphList iterators
9295 (resizeInsets): use for_each to resizeInsetsLyXText for all
9297 (getParFromID): use ParagraphList iterators
9299 * BufferView2.C (lockInset): use paragraph list and iterators
9301 2002-08-14 John Levon <levon@movementarian.org>
9303 * lyxserver.C: remove spurious xforms include
9305 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9307 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9309 2002-08-13 André Pönitz <poenitz@gmx.net>
9312 * lyxfunc.C: further cleaning
9314 2002-08-13 André Pönitz <poenitz@gmx.net>
9316 * funcrequest.h: new constructor
9318 * funcrequest.C: move stuff here from .h
9321 * BufferView_pimpl.C:
9324 * lyxfunc.C: subsequent changes
9326 * lyxfunc.h: new view() member function
9328 * lyxfunc.C: subsequent changes
9330 2002-08-13 Angus Leeming <leeming@lyx.org>
9333 * BufferView_pimpl.C:
9341 changes due to the changed LyXView interface that now returns references
9342 to member variables not pointers.
9344 2002-08-13 Angus Leeming <leeming@lyx.org>
9346 * WordLangTuple (word, lang_code): return references to strings,
9351 * lyxtext.h: forward-declare WordLangTuple.
9356 * text.C: #include "WordLangTuple.h".
9359 * text.C: (selectNextWordToSpellcheck): constify return type.
9361 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9367 * paragraph_pimpl.h:
9370 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9372 Made updateCounter always count from start of buffer, and removed
9373 second argument (par).
9374 Reverted floats number display to '#'. Perhaps I'll try again when the
9375 code base is sanitized a bit.
9377 2002-08-12 Angus Leeming <leeming@lyx.org>
9379 * buffer.[Ch] (getLabelList): constify.
9381 2002-08-07 André Pönitz <poenitz@gmx.net>
9383 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9385 * funcrequest.h: extension to keep mouse (x,y) position
9387 2002-08-12 Juergen Vigna <jug@sad.it>
9389 * BufferView2.C (insertErrors): forbid undo when inserting error
9392 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9394 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9396 * ParagraphList.[Ch]: new files
9398 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9400 * BufferView2.C (lockInset): ParagraphList changes
9403 * bufferlist.C: ditto
9407 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9409 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9410 unused class variable counter_,
9412 * paragraph.[Ch] (getFirstCounter): delete unused function
9414 * counters.C: include LAssert.h
9415 (reset): add a new function with no arg, change other version to
9416 not have def. arg and to not allow empty arg.
9418 * text2.C (setCounter): remove empty arg from call to Counters::reset
9420 2002-08-11 John Levon <levon@movementarian.org>
9422 * Makefile.am: add WordLangTuple.h
9424 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9426 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9427 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9429 * insets/insettext.C: InsetList changes
9431 * graphics/GraphicsSupport.C (operator()): InsetList changes
9433 * toc.C (getTocList): InsetList changes
9435 * paragraph_pimpl.[Ch]: InsetList changes
9437 * paragraph.[Ch]: InsetList changes
9439 * buffer.C (inset_iterator): InsetList changes
9440 (setParagraph): ditto
9441 * buffer.h (inset_iterator): ditto
9442 * iterators.C (operator++): ditto
9443 * iterators.h: ditto
9445 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9447 * InsetList.[Ch]: new files, most InsetList handling moved out of
9450 * BufferView2.C (removeAutoInsets): InsetList changes
9452 (ChangeInsets): ditto
9454 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9456 * paragraph_pimpl.h (empty): new function
9458 * paragraph.[Ch] (empty): new function
9460 * other files: use the new Paragraph::empty function
9462 2002-08-09 John Levon <levon@movementarian.org>
9464 * lyxtext.h: remove unused refresh_height
9466 2002-08-09 John Levon <levon@movementarian.org>
9473 * paragraph.C: move sgml char escaping out of paragraph
9476 * paragraph.C: remove id setter
9480 * paragraph_pimpl.C: remove dead tex_code_break_column
9482 * bufferview_funcs.C: small cleanup
9484 * lyxfunc.C: remove dead proto
9486 * lyxtext.h: make some stuff private. Remove some dead stuff.
9488 * lyxgluelength.C: make as[LyX]String() readable
9490 2002-08-08 John Levon <levon@movementarian.org>
9495 * ToolbarDefaults.C:
9498 * toc.C: lyxaction cleanup
9500 2002-08-08 John Levon <levon@movementarian.org>
9502 * BufferView2.C: small cleanup
9505 * lyxfind.C: move unnecessary header into the .C
9507 2002-08-08 John Levon <levon@movementarian.org>
9509 * funcrequest.h: just tedious nonsense
9512 * lyx_main.C: cleanups
9515 * vspace.C: remove dead header lyx_main.h
9517 2002-08-07 Angus Leeming <leeming@lyx.org>
9520 * paragraph_pimpl.h:
9521 Forward declare class Counters in paragraph.h by moving the ctrs member
9522 variable into Paragraph::Pimpl.
9523 (counters): new method, returning a reference to pimpl_->ctrs.
9525 * text2.C: ensuing changes.
9527 2002-08-07 John Levon <levon@movementarian.org>
9529 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9531 * BufferView_pimpl.C: announce X selection on double/triple
9534 * lyx_main.C: use correct bool in batch dispatch
9536 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9538 2002-08-07 André Pönitz <poenitz@gmx.net>
9540 * funcrequest.h: new class to wrap a kb_action and its argument
9543 * BufferView_pimpl[Ch]:
9547 * lyxrc.C: subsequent changes
9550 2002-08-07 John Levon <levon@movementarian.org>
9552 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9553 document options change.
9555 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9560 * makefile.am: move counters functionality over from
9561 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9563 2002-08-06 John Levon <levon@movementarian.org>
9565 * WordLangTuple.h: new file for word + language code tuple
9576 * BufferView2.C: use WordLangTuple
9579 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9581 2002-08-06 John Levon <levon@movementarian.org>
9583 * lyx_main.C: fix cmdline batch handling
9585 2002-08-06 André Pönitz <poenitz@gmx.net>
9587 * lyxrc.C: set default for show_banner to true
9589 2002-08-06 John Levon <levon@movementarian.org>
9591 * pspell.C: fix a crash, and allow new aspell to work
9593 2002-08-06 John Levon <levon@movementarian.org>
9596 * kbmap.C: small cleanup
9599 * vspace.C: add const
9601 2002-08-05 John Levon <levon@movementarian.org>
9603 * LyXAction.C: back to tabular-insert
9605 2002-08-04 John Levon <levon@movementarian.org>
9608 * BufferView.C: cosmetic change
9610 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9620 * BufferView2.C: purge all "Lyx" not "LyX" strings
9623 * lyxcursor.C: attempt to add some documentation
9628 * ToolbarDefaults.C:
9629 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9630 merge with LFUN_TABULAR_INSERT
9637 * pspell.C: split up i/pspell implementations into separate
9638 files, many cleanups
9640 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9642 * text2.C: some cleanup
9644 * lyxfunc.C: don't check for isp_command == "none" any more, it
9645 didn't make any sense
9647 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9652 * makefile.am: move counters functionality over
9653 from text2.C/paragraph.[Ch] to counters.[Ch], and
9655 2002-08-02 John Levon <levon@movementarian.org>
9657 * buffer.C: s/lyxconvert/lyx2lyx/
9659 2002-08-02 Angus Leeming <leeming@lyx.org>
9661 * lyxlex.C: revert John's change as it breaks reading of the user
9664 2002-08-02 Angus Leeming <leeming@lyx.org>
9666 * importer.C (Import):
9667 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9668 changes due to LyXView::view() now returning a boost::shared_ptr.
9670 2002-08-02 John Levon <levon@movementarian.org>
9672 * lyxlex.C: small cleanup
9674 2002-08-02 John Levon <levon@movementarian.org>
9676 * text2.C (status): small cleanup, no logic change
9678 2002-08-01 John Levon <levon@movementarian.org>
9681 * buffer.C (writeFile): don't output alerts, caller
9685 * lyx_cb.C: from above
9687 * lyxfunc.C: allow to open non-existent files
9689 2002-07-31 John Levon <levon@movementarian.org>
9691 * lyxserver.C: don't let incidental errors get
9694 2002-07-30 John Levon <levon@movementarian.org>
9696 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9698 2002-07-30 John Levon <levon@movementarian.org>
9701 * lyxserver.C: remove I/O callback too
9703 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9705 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9708 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9710 * many files: strip,frontStrip -> trim,ltrim,rtrim
9712 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9714 * PrinterParams.h: remove extern containsOnly, and include
9715 support/lstrings.h instead.
9717 * LaTeX.C (scanAuxFile): modify because of strip changes
9719 * buffer.C (makeLaTeXFile): ditto
9720 * bufferparams.C (writeFile): ditt
9721 * lyxfont.C (stateText): ditto
9722 * lyxserver.C (read_ready): ditto
9723 * vc-backend.C (scanMaster): ditto
9725 * BufferView_pimpl.h: ws changes
9727 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9729 2002-07-26 André Pönitz <poenitz@gmx.net>
9731 * kb_sequence.C: remove unnedred usings
9733 2002-07-26 Juergen Vigna <jug@sad.it>
9735 * lyxfind.C (LyXReplace): we have to check better if the returned
9736 text is not of theLockingInset()->getLockingInset().
9738 2002-07-25 Juergen Vigna <jug@sad.it>
9740 * lyxfind.C (LyXReplace): don't replace if we don't get the
9743 * undo_funcs.C (createUndo): remove debugging code.
9745 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9747 * buffer.C (parseSingleLyXformat2Token): Use default placement
9748 when reading old floats.
9750 * FloatList.C (FloatList): Change the default placement of figure
9751 and tables to "tbp".
9753 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9755 * MenuBackend.C: using std::max
9757 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9759 * MenuBackend.C (expandToc):
9760 (expandToc2): code moved from xforms menu frontend. It is now
9761 generic and TOCs are transparent to menu frontends.
9763 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9765 * toc.C (getTocList): protect against buf=0
9767 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9768 Menu as first parameter. Now, this calls itself recursively to
9769 expand a whole tree (this will be useful for TOC handling)
9770 (expandFloatInsert): remove 'wide' version of floats
9772 * MenuBackend.h (submenuname): returns the name of the submenu.
9773 (submenu): returns the submenu itself, provided it has been
9774 created by MenuBackend::expand
9776 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9778 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9779 insets which have noFontChange == true. (bug #172)
9781 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9783 * BufferView_pimpl.C: add connection objects and use them...
9786 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9788 * MenuBackend.C (expandLastfiles):
9791 (expandFloatListInsert):
9792 (expandFloatInsert):
9793 (expand): split expand in parts
9795 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9797 * lyx_gui.C: use lyx_gui::exit()
9799 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9801 * LyXAction.C: show the failing pseudo action
9803 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9805 * buffer.C (readFile): Run the lyxconvert script in order to read
9808 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9812 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9814 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9818 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9820 2002-07-22 Herbert Voss <voss@lyx.org>
9823 * lyxlength.[Ch]: add support for the vertical lengths
9825 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9827 * toc.[Ch]: std:: fixes
9829 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9831 * lyxrc.C: do not include lyx_main.h
9833 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9839 * BufferView2.C: include "lyxlex.h"
9842 * bufferparams.h: do not #include "lyxlex.h"
9844 * lyxtextclasslist.C (Add): remove method
9845 (classlist): renamed to classlist_
9847 * paragraph_pimpl.C:
9851 * bufferview_funcs.C:
9856 * toc.C (getTocList): use BufferParams::getLyXTextClass
9858 * toc.C (getTocList): use InsetFloat::addToToc
9860 * toc.[Ch]: new files, containing helper functions to handle table
9863 * lyxfunc.C (dispatch): no need to remove spaces around command
9865 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9866 first command of the sequence; it is not very clever, but I do not
9867 have a better idea, actually
9869 * LyXAction.C (LookupFunc): make sure to remove space at the
9870 beginning and end of the command
9872 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9874 * MenuBackend.C (getMenubar): new method: return the menubar of
9876 (read): treat differently reading of menu and menubar (in
9877 particular, the menubar has no name now)
9878 (Menu::menubar): remove
9880 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9883 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9885 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9886 a bibitem inset in a RTL paragraph.
9888 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9890 * paragraph_pimpl.C: constify
9892 * BufferView_pimpl.C:
9894 * lyxfunc.C: fix dispatch in a nicer way
9896 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9898 * lyxfunc.C (dispatch):
9899 * BufferView_pimpl.C:
9900 * BufferView_pimpl.h:
9902 * BufferView.h: rename Dispatch() to dispatch()
9904 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9906 * lyxlayout.C (Read): honor DependsOn tag
9908 * lyxlayout.[Ch] (depends_on): new method
9910 * version.C.in: update lyx_docversion
9912 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9914 * paragraph.C (validate): remove from here...
9915 * paragraph_pimpl.C (validate): ... and move here
9916 (isTextAt): make it const
9918 * buffer.C (getLists): ws cleanup
9920 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9922 * language.C (read): Use iso8859-1 encoding in latex_lang
9923 (this prevents LyX from crashing when using iso10646-1 encoding).
9925 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9927 * text2.C (toggleInset): if cursor is inside an inset, close the
9928 inset and leave cursor _after_ it
9930 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9932 * lyxfunc.C: move minibuffer completion handling out of here
9934 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9936 * BufferView_pimpl.C:
9937 * LaTeX.C: fix dispatch calls
9939 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9941 * text.C (drawChars): Fix Arabic text rendering.
9943 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9947 * lyxfunc.C: remove message-push/pop
9951 * lyxfunc.C: rationalise some code by removing verboseDispatch
9952 in favour of a bool argument to dispatch()
9954 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9956 * lyx_main.C (init): make sure to read symlinks as absolute paths
9958 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9961 * lyxfunc.C: no need for commandshortcut to be a member
9963 2002-07-15 André Pönitz <poenitz@gmx.net>
9965 * converter.C: add support for $$s (scripts from lib/scripts dir)
9966 * lyx_main.C: white space
9968 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9972 * lyxrc.C: remove second exit confirmation
9974 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9979 * BufferView_pimpl.h:
9980 * BufferView_pimpl.C:
9981 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9983 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9985 * MenuBackend.C (expand): add numeric shortcuts to document menu
9987 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9989 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9991 * lyxfont.C (setLyXFamily):
9998 * buffer.C (asciiParagraph): use ascii_lowercase
10000 2002-07-15 Mike Fabian <mfabian@suse.de>
10002 * lyxlex_pimpl.C (search_kw):
10003 * lyxlex.C (getLongString):
10004 * converter.h (operator<):
10005 * converter.C (operator<):
10006 * buffer.C (parseSingleLyXformat2Token):
10008 * ToolbarDefaults.C (read):
10009 * MenuBackend.C (checkShortcuts):
10011 * LColor.C (getFromGUIName):
10012 (getFromLyXName): use the compare_ascii_no_case instead of
10013 compare_no_case, because in turkish, 'i' is not the lowercase
10014 version of 'I', and thus turkish locale breaks parsing of tags.
10016 2002-07-16 Angus Leeming <leeming@lyx.org>
10018 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10019 now takes a Buffer const & argument.
10021 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10023 * BufferView.C (resize): check there's a buffer to resize
10025 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10027 * lyxfunc.C: remove dead code
10030 * lyxserver.C: use lyx_guii::set_read_callback
10032 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10034 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10035 an inset in a RTL paragraph.
10037 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10039 * lyxfunc.C: repaint after a font size update
10041 2002-07-15 André Pönitz <poenitz@gmx.net>
10043 * lyxlength.C: inBP should be able to return negative values
10045 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10047 * lyxfunc.C: use lyx_gui::update_fonts()
10049 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10051 * lyxfunc.C: use lyx_gui::update_color()
10053 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10059 * lyxrc.C: remove file->new asks for name option, and let
10060 buffer-new take an argument
10062 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10064 * BufferView_pimpl.C: remove unneeded extra repaint()
10066 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10068 * LyXAction.C: allow command-sequence with NoBuffer
10070 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10072 2002-07-10 Angus Leeming <leeming@lyx.org>
10074 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10076 2002-07-09 Angus Leeming <leeming@lyx.org>
10078 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10080 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10082 * lengthcommon.h: whitespace
10084 * lyxfunc.C: update scrollbar after goto paragraph
10086 * lyxtext.h: factor out page break drawing, and fix it so
10087 page break/added space paints as selected nicely
10089 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10091 * BufferView_pimpl.C: add FIXMEs, clean up a little
10093 2002-07-09 André Pönitz <poenitz@gmx.net>
10095 * lyxfont.[Ch]: support for wasy symbols
10097 2002-07-08 André Pönitz <poenitz@gmx.net>
10099 * BufferView_pimpl.C: apply John's patch for #93.
10101 2002-07-05 Angus Leeming <leeming@lyx.org>
10103 * BufferView_pimpl.C (buffer): generate previews if desired.
10105 * LColor.h: add "preview" to the color enum.
10107 * LColor.C (LColor): add a corresponding entry to the items array.
10109 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10112 2002-07-05 Angus Leeming <leeming@lyx.org>
10114 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10115 The body of the code is now in the method that is passed an ostream &
10116 rather than a file name.
10117 Pass an additional only_preamble parameter, useful for the forthcoming
10120 2002-07-03 André Pönitz <poenitz@gmx.net>
10122 * lyxfunc.C: simplify getStatus() a bit for math stuff
10124 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10126 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10128 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10130 * text.C (changeRegionCase): do not change case of all the
10131 document when region ends at paragraph end (bug #461)
10133 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10135 * paragraph.C (startTeXParParams):
10136 (endTeXParParams): add \protect when necessary
10138 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10140 * BufferView_pimpl.C (workAreaExpose): remove warning
10142 2002-06-27 Angus Leeming <leeming@lyx.org>
10144 * Makefile.am: add lyxlayout_ptr_fwd.h.
10146 2002-06-26 André Pönitz <poenitz@gmx.net>
10148 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10150 2002-06-25 Angus Leeming <leeming@lyx.org>
10152 * lyxfunc.C (dispatch): Comment out the call to
10153 grfx::GCache::changeDisplay. The method no longer exists now that the
10154 pixmap generation part of the graphics loader has been moved into
10157 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10159 * text2.C: layout as layout
10161 * text.C: layout as layout
10163 * tabular.C (OldFormatRead): layout as layout
10165 * paragraph_pimpl.C (TeXDeeper): layout as layout
10166 (realizeFont): layout as layout
10168 * paragraph.C (writeFile): layout as layout
10169 (validate): layout as layout
10170 (getFont): layout as layout
10171 (getLabelFont): layout as layout
10172 (getLayoutFont): layout as layout
10173 (breakParagraph): layout as layout
10174 (stripLeadingSpaces): layout as layout
10175 (getEndLabel): layout as layout
10176 (getMaxDepthAfter): layout as layout
10177 (applyLayout): layout as layout
10178 (TeXOnePar): layout as layout
10179 (simpleTeXOnePar): layout as layout
10180 (TeXEnvironment): layout as layout
10181 (layout): layout as layout
10182 (layout): layout as layout
10184 * lyxtextclass.C (compare_name): new functor to work with
10185 shared_ptr, layout as layout
10186 (Read): layout as layout
10187 (hasLayout): layout as layout
10188 (operator): layout as layout
10189 (delete_layout): layout as layout
10190 (defaultLayout): layout as layout
10192 * lyxlayout_ptr_fwd.h: new file
10194 * lyxlayout.C (Read): layout as layout
10196 * lyx_cb.C (MenuInsertLabel): layout as layout
10198 * bufferlist.C (newFile): layout as layout
10200 * buffer.C (readLyXformat2): layout as layout
10201 (parseSingleLyXformat2Token): layout as layout
10202 (insertStringAsLines): layout as layout
10203 (asciiParagraph): layout as layout
10204 (latexParagraphs): layout as layout
10205 (makeLinuxDocFile): layout as layout
10206 (simpleLinuxDocOnePar): layout as layout
10207 (makeDocBookFile): layout as layout
10208 (simpleDocBookOnePar): layout as layout
10209 (getLists): layout as layout
10211 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10213 * CutAndPaste.C (cutSelection): layout as layout
10214 (pasteSelection): layout as layout
10215 (SwitchLayoutsBetweenClasses): layout as layout
10217 * BufferView_pimpl.C (Dispatch): layout as layout
10218 (smartQuote): layout as layout
10220 * BufferView2.C (unlockInset): layout as layout
10222 2002-06-24 André Pönitz <poenitz@gmx.net>
10224 * lyxfunc.C: fix #487
10226 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10230 * lyxfunc.C: remove display_shortcuts, show_banner
10232 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10234 * Buffer_pimpl.C: oops, update on resize
10236 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10243 * BufferView.C: use repaint()
10245 * BufferView_pimpl.h:
10246 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10247 as it's a clearer description. Remove superfluous
10250 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10252 * text.C: fix bug 488. Not ideal, but getting
10253 getWord() to work properly for the insets that
10254 matter is more difficult ...
10256 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10258 * BufferView_pimpl.C:
10261 * lyxfunc.C: remove the six million index lyxfuncs to just
10262 one, and DTRT (bug 458)
10264 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10268 * BufferView_pimpl.h:
10269 * BufferView_pimpl.C: clean up resize() stuff,
10270 and unnecessary updateScreen()s
10272 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10276 * BufferView_pimpl.h:
10277 * BufferView_pimpl.C:
10280 * minibuffer.C: remove focus management of workarea,
10281 not needed. Use screen's greyOut()
10283 2002-06-17 Herbert Voss <voss@lyx.org>
10285 * converter.C: (convert) do not post a message, when converting
10286 fails, let the calling function decide what to do in this case
10288 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10290 * lyxfunc.C: tidy up a little
10292 2002-06-16 <alstrup@diku.dk>
10294 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10295 Got rid of FORMS_H_LOCATION include. Now we are
10298 2002-06-15 LyX Development team <lyx@rilke>
10300 * buffer.[Ch] (sgmlOpenTag):
10301 (sgmlCloseTag): Added support for avoiding pernicious mixed
10302 content. Return number of lines written.
10304 (makeLinuxDocFile):
10305 (makeDocBookFile): Fixed calls to sgml*Tag.
10306 Simple white space clean.
10308 (simpleDocBookOnePar): Simple white space clean.
10310 * tabular.[Ch] (docBook): Renamed to docbook and got another
10311 argument to related with the pernicious mixed content.
10313 (docbookRow): Fixed calls for docbook inset method.
10315 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10317 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10318 so it's X11 independent.
10322 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10324 2002-06-15 Lyx Development team <lyx@electronia>
10326 * intl.h: Renamed getTrans to getTransManager.
10328 2002-06-14 Angus Leeming <leeming@lyx.org>
10330 * Makefile.am: nuke forgotten stl_string_fwd.h.
10332 2002-06-12 Angus Leeming <leeming@lyx.org>
10334 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10336 2002-06-13 Angus Leeming <leeming@lyx.org>
10339 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10341 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10343 * kbmap.C (getiso): add support for cyrillic and greek
10345 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10349 * BufferView_pimpl.h:
10350 * BufferView_pimpl.C: move bogus scrolling logic
10353 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10356 * BufferView_pimpl.C: view->resize() change
10358 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10360 * BufferView_pimpl.C: topCursorVisible
10363 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10367 * lyx_gui.C: move to frontends/
10371 * lyx_main.C: changes from above
10373 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10380 * lyx_main.C: minor tidy
10382 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10384 * BufferView_pimpl.h:
10385 * BufferView_pimpl.C:
10387 * BufferView.C: make painter() const,
10390 * BufferView2.C: use screen() accessor
10393 * lyx_main.C: some minor cleanup
10395 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10397 * BufferView_pimpl.h:
10398 * BufferView_pimpl.C: remove enter/leaveView,
10401 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10406 * BufferView_pimpl.h:
10407 * BufferView_pimpl.C: only construct screen once,
10410 * lyxrc.C: remove pointless comment
10412 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10415 * BufferView.C: remove active() and belowMouse()
10417 * BufferView_pimpl.h:
10418 * BufferView_pimpl.C: use workarea() not workarea_,
10419 and make it use a scoped_ptr instead
10421 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10423 * lyx_gui.C: add debug message on BadWindow
10425 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10427 * sp_spell.C: fdopen is not part of the C++ standard.
10429 * paragraph.C (InsetIterator): use >= instead of ==
10431 2002-06-07 Angus Leeming <leeming@lyx.org>
10433 Fixes needed to compile with Compaq cxx 6.5.
10434 * BufferView_pimpl.C:
10441 * lyxtextclasslist.C:
10446 all c-library variables have been moved into namespace std. Wrap
10447 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10452 Add a using std::abs declaration.
10454 * kbmap.h (modifier_pair):
10455 * paragraph.h (InsetTable, InsetList):
10456 * lyxfont.h (FontBits):
10457 type definition made public.
10459 * bufferlist.C (emergencyWriteAll): the compiler complains that
10460 there is more than one possible lyx::class_fun template to choose from.
10461 I re-named the void specialisation as lyx::void_class_fun.
10463 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10465 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10466 the compiler is is unable to find tostr in write_attribute.
10468 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10470 * buffer.C (sgmlError): hide #warning
10472 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10474 * xtl/*: get rid of xtl, which is not in use anyway
10476 * LyXAction.C (init):
10477 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10478 were unimplemented xtl experimentation
10480 2002-06-04 André Pönitz <poenitz@gmx.net>
10482 * lyxfunc.C: disable array operation on simple formulae
10484 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10486 * converter.C: constify a bit
10488 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10490 * lyx_gui.C: check xforms version correctly
10492 2002-04-30 Herbert Voss <voss@lyx.org>
10494 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10497 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10499 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10500 attempt to register it with a VCS)
10502 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10504 * lyx_main.C (init): honor variables LYX_DIR_13x and
10507 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10511 * lyx_main.C: fix a crash on bad command line,
10512 and give a useful exit status on error
10514 * lyxfunc.C (doImport): allow -i lyx to work
10516 2002-03-30 André Pönitz <poenitz@gmx.net>
10518 * lyxfunc.C: mathed font changes
10520 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10535 * trans_mgr.h: srcdocs, and some minor cleanups
10537 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10539 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10540 call getFont all the time)
10542 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10544 * switch from SigC signals to boost::signals
10546 2002-05-29 André Pönitz <poenitz@gmx.net>
10548 * paragraph_pimpl.C (getChar): don't call size() too often...
10550 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10552 * paragraph_pimpl.C (insertChar): do not try to update tables when
10553 appending (pos == size())
10555 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10556 in order to reduce drastically the number of comparisons needed to
10557 parse a large document
10559 2002-05-29 André Pönitz <poenitz@gmx.net>
10565 * textclasslist.[Ch]:
10566 * sp_ispell.h: whitespace change
10568 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10570 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10571 lyxaction directly now.
10573 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10577 * lyxvc.C: remove unused headers
10579 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10586 * undo_funcs.C: some cleanups. Use shared_ptr
10587 and a template for the undo stacks.
10589 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10591 * BufferView_pimpl.h:
10592 * BufferView_pimpl.C:
10599 * text2.C: use key_state/mouse_state
10601 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10603 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10606 * chset.C: change include order
10607 (loadFile): use boost regex and get rid of LRegex and LSubstring
10609 * Makefile.am (BOOST_LIBS): new variable
10610 (lyx_LDADD): use it
10612 * LaTeX.C: change include order.
10613 (scanAuxFile): use boost regex and get rid of LRegex and
10617 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10622 * FontInfo.C: moved to frontends/xforms/
10625 * FontLoader.C: moved into frontends for GUIIzation
10630 * lyxfunc.C: changes from above
10632 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10634 * LColor.C: remove spurious X include
10636 * BufferView_pimpl.C:
10641 * text2.C: move font metrics to frontends/
10643 2002-05-24 Juergen Vigna <jug@sad.it>
10645 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10646 setting the undo_cursor.
10648 * ParagraphParameters.h: include local includes first.
10650 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10652 * BufferView_pimpl.C:
10653 * BufferView_pimpl.h:
10657 * screen.C: move WorkArea into frontends/
10663 * BufferView2.C: move LyXScreen into frontends/
10667 * lyx_gui.C: move lyxlookup into frontends/xforms/
10669 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10672 * BufferView_pimpl.C:
10682 * bufferview_funcs.C:
10695 * vc-backend.C: move LyX/XFormsView into frontends/
10697 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10709 * text2.C: move Painter to frontends/
10711 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10713 * buffer.C: comment out some some code that depend upon lyx_format
10716 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10717 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10719 * buffer.h (NO_COMPABILITY): turn off compability
10721 * ColorHandler.C: include scoped_array.hpp
10723 * font.C: Use more specific smart_ptr header.
10726 * ShareContainer.h: ditto
10727 * lyx_main.h: ditto
10729 * FontInfo.h: ditto
10730 * BufferView_pimpl.h: ditto
10731 * ColorHandler.h: ditto
10733 * kbmap.C (defkey): change call to shared_ptr::reset
10735 2002-05-21 Juergen Vigna <jug@sad.it>
10737 * buffer.C (insertErtContents): fix to insert ert asis if it is
10738 non empty. Skip it completely if it contains only whitespaces.
10740 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10742 * BufferView_pimpl.C:
10743 * BufferView2.C: clear selection on paste (bug 393)
10745 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10747 * DepTable.C: include ctime
10749 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10751 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10753 2002-05-14 Juergen Vigna <jug@sad.it>
10755 * text.C (breakParagraph): fixed function to honor the keepempty
10756 layout in the right maner and also to permit the right breaking
10757 algorithm on empty or non empyt keepempty paragraphs.
10759 * paragraph.C (breakParagraph): we have to check also if the par
10760 is really empty (!size()) for isempty otherwise we do the wrong
10763 2002-05-10 Juergen Vigna <jug@sad.it>
10765 * buffer.[Ch] : The following are only changes to the ert
10766 compatibility read reading old LaTeX layout and font stuff and
10767 convert it to ERTInsets.
10769 * buffer.h: added isErtInset().
10771 * buffer.C (struct ErtComp): add a fromlayout bool to check
10772 if we're inside a LaTeX layout.
10773 (isErtInset): new helper function.
10774 (insertErtContents): look for other ert insets before this one
10775 and insert the contents there, so that we don't have subsequent
10776 ERT insets with nothing between them. This way we create only one
10777 inset with multiple paragraphs. Also check if we don't insert only
10778 spaces ' ' as they are ignored anyway afterwards in the .tex file
10779 so if we have only spaces we will ignore this latex part in the
10781 (parseSingleLyXformat2Token \\layout): better compatibility when
10782 reading layout-latex stuff.
10783 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10785 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10786 stuff after reading the inset only get the information back from
10789 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10791 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10793 * LaTeXFeatures.C (getBabelOptions): New method.
10795 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10797 * BufferView_pimpl.C (Dispatch): work around missing argument for
10800 2002-05-08 Juergen Vigna <jug@sad.it>
10802 * text.C (leftMargin): handle paragraph leftindent.
10804 * paragraph.C (writeFile): write the new \\leftindent tag.
10805 (validate): handle leftindent code.
10806 (TeXEnvironment): handle paragraphleftindent code again.
10808 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10810 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10811 for paragrap_extra indent code and new token \\leftindent.
10812 (latexParagraphs): handle the leftindent as environment.
10814 * ParameterStruct.h: added leftindent support.
10816 * ParagraphParameters.C (leftIndent): added support functions for
10817 the paragraph left indent.
10819 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10822 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10824 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10827 * text.C (computeBidiTables): No bidi in insetERT.
10829 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10832 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10834 * version.C.in: pre 5
10836 2002-05-02 José Matos <jamatos@fep.up.pt>
10837 * buffer.C (makeDocBookFile): white space changes, add newline to
10839 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10841 * tabular.C (docBook): fix typo.
10843 2002-05-03 Juergen Vigna <jug@sad.it>
10845 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10846 change in LyXText as we can not be sure it was not freed.
10847 (drawOneRow): remove unused code.
10849 * text.C (drawInset): redo the calculation of the need_break_row as
10850 it could have a row which was already freed.
10851 (draw): look at the return value of drawInset and return false if
10852 it also returned false.
10853 (paintRowText): look at the return value of draw and return false if
10854 it also returned false.
10856 * lyxtext.h: added bool return type to drawInset() and draw() so that
10857 if we have a change in the row so that the rowbreak has to be redone
10858 we abort drawing as it will be called again.
10860 2002-05-02 Juergen Vigna <jug@sad.it>
10862 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10863 a change in the maintext also if we're inside an inset.
10864 (Dispatch): set the cursor again after a break line and after the
10865 screen has been updated as it could be we're in a different row.
10867 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10868 to set the cursor behind the pargraph with > size().
10869 (setCursor): check also for the same paragraph when checking where
10870 to put the cursor if we have a NFR inset.
10872 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10873 parts of layout read further up as it still was in the wrong
10876 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10878 * screen.C (drawFromTo): change sine fullRebreak always return
10881 * buffer.C (parseSingleLyXformat2Token): reindent some
10883 * BufferView_pimpl.C (update): change since fullRebreak always
10885 (Dispatch): git rid of the last hardcoded "Standard"s.
10887 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10889 * text2.[Ch] (fullRebreak): make it return void now that we always
10892 2002-04-30 Juergen Vigna <jug@sad.it>
10894 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10895 ert compatibility check for "latex" layout.
10897 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10899 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10900 minipages: use col% instead of p%, and also use the current font.
10901 (makeLaTeXFile): Fix use babel condition.
10902 (parseSingleLyXformat2Token): Correct font when reading old floats.
10904 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10906 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10907 inserting list of floats.
10909 2002-04-25 Herbert Voss <voss@lyx.org>
10911 * MenuBackend.C (expand): don't add the graphics extensions to the
10914 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10916 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10917 non-existing layout, do not complain if it was the default layout
10918 of the original class (bug #342)
10920 2002-04-24 Juergen Vigna <jug@sad.it>
10922 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10923 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10925 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10927 * buffer.C (getBibkeyList): If using \bibliography, return the
10928 option field with the reference itself. Enables us to provide natbib
10929 support when using \bibliography.
10931 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10933 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10935 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10936 natbib is provided by the LaTeX class.
10938 2002-04-23 Juergen Vigna <jug@sad.it>
10940 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10943 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10945 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10947 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10949 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10950 ensuremath around textordmasculine, textordfeminine and
10953 2002-04-19 Juergen Vigna <jug@sad.it>
10955 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10956 reinitializing the buffer otherwise row-dimensions may be wrong.
10957 (update): reset also the selection cursors if they do exits otherwise
10958 their x/y positions may be wrong.
10960 * text2.C (cursorDown): don't enter the inset if we came from a row
10961 above and are one row over the inset.
10963 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10964 really leaving an inset.
10966 2002-04-18 Juergen Vigna <jug@sad.it>
10968 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10969 of the selected paragraph does not have the selected layout also if
10972 * text2.C (setLayout): fixed bug which did not change last selected
10975 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10976 changed the read and substituted \\end_float with \\end_inset!
10978 * BufferView_pimpl.C (cursorPrevious):
10979 (cursorNext): fixed to make it work with rows heigher than the work
10980 area without moving the cursor only the draw of the row.
10981 (workAreaMotionNotify): fix jumping over high rows.
10983 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10985 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10988 2002-04-16 Juergen Vigna <jug@sad.it>
10990 * text2.C (setCursor): set also the irow().
10991 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10993 (cursorDown): support for locking an inset if the x_fix value goes
10994 inside it. That way I can transverse insets too with cursor up/down.
10996 * lyxrow.h: added irow helper function same as other (i) functions.
10998 * BufferView_pimpl.C (cursorPrevious):
10999 (cursorNext): fixed for insets!
11001 2002-04-15 Juergen Vigna <jug@sad.it>
11003 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11004 position otherwise it is wrong in some cases.
11006 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11007 inside the inset before the call.
11009 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11011 * buffer.[Ch] (getBibkeyList): make it const.
11013 2002-04-12 Juergen Vigna <jug@sad.it>
11015 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11017 * text2.C (getCursorX): new helper function
11018 (setCursor): compute also ix_
11019 (setCursorFromCoordinates): set also ix.
11021 * lyxcursor.h: added ix_ and helper functions.
11023 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11025 * buffer.C (insertStringAsLines): dont break paragraph if the this
11026 paragraph is inside an inset which does not permit it!
11028 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11029 also with no chars on this paragraph.
11030 (paintRowText): only paint stuff if it's inside the workarea!
11032 * paragraph.C (breakParagraph): honor keepempty flag and break the
11033 paragraph always below not above.
11035 * BufferView2.C (unlockInset): update the paragraph layout on inset
11036 unlock as we changed paragraph in such a case.
11038 * lyxfind.C (LyXFind): clear the former selection if not found!
11040 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11041 again called in insertChar().
11043 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11044 an inset which uses the whole row!
11045 (rightMargin): ditto.
11046 (insertChar): force a rebreak if we inserted an inset!
11048 2002-03-28 Herbert Voss <voss@lyx.org>
11050 * lyxlength.[Ch]: add inBP() to get the right PS-point
11051 units (BigPoint). With inPixels we have rounding errors
11053 2002-04-11 Juergen Vigna <jug@sad.it>
11055 * text2.C (setCursorFromCoordinates): set iy to the right value.
11056 (setCursor): add check if row->previous exists!
11058 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11059 an old float_type as this was the case in the old code!
11061 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11063 * BufferView2.C (showLockedInsetCursor): use iy
11064 (fitLockedInsetCursor): ditto
11066 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11067 locked insets as there we have the right value now.
11069 * lyxcursor.C: added iy_ variable and iy functions to set to the
11070 baseline of cursor-y of the locked inset.
11072 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11073 (setCursor): fixed for insets which need a full row.
11075 * text.C (rowLastPrintable): don't ignore the last space when before
11076 an inset which needs a full row.
11077 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11078 as last character of a row when before a inset which needs a full row.
11080 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11082 * version.C.in: update date
11084 * text2.C (fullRebreak): try to always return true and see what
11087 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11089 * MenuBackend.C (expand): use Floating::listName
11091 * FloatList.C (FloatList): add listName argument to the built-in
11094 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11095 text associated with the float.
11097 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11099 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11101 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11103 * ShareContainer.h: add a couple of missing typenames.
11105 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11107 * lyxrc.C (getDescription): use _() correctly rather than N_().
11109 2002-03-28 Herbert Voss <voss@lyx.org>
11111 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11112 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11114 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11116 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11117 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11119 2002-03-29 Juergen Vigna <jug@sad.it>
11121 * lyxfunc.C (dispatch): add a missing fitCursor call.
11123 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11124 it was scrolled by a cursor move, so return the bool status.
11126 * BufferView.C (fitCursor): return the bool flag also to the outside
11127 world as this is needed.
11129 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11131 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11132 call the edit() as it is not needed (and wrong) IMO.
11133 (workAreaButtonPress): set the screen_first variable before evt.
11134 unlock the inset as this may change screen_first and then we have
11135 a wrong y position for the click!
11137 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11139 * MenuBackend.C (expand): another translation that I missed
11141 2002-03-28 Juergen Vigna <jug@sad.it>
11143 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11145 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11147 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11149 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11151 * MenuBackend.C (expand): fix export/view/update when there is no
11154 2002-03-27 Herbert Voss <voss@lyx.org>
11156 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11159 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11161 * bufferview_funcs.C (currentState): only show paragraph number
11162 for is DEVEL_VERSION is set.
11164 * lyxfunc.C (dispatch): put warning in INFO channel
11166 * MenuBackend.C (expand): translate the name of floats
11168 * FloatList.C (FloatList): mark the float names for translation
11170 * converter.C (convert): use LibScriptSearch
11172 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11174 * MenuBackend.C (defaults): fix default menu (we might as well get
11177 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11179 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11182 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11184 * lyxvc.C: reorder includes.
11186 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11188 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11191 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11193 * CutAndPaste.C: change layouts earlier on paste
11194 to avoid crashing when calling getFont()
11196 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11198 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11201 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11203 * WorkArea.C: remove 'Pending' debug message.
11205 * most files: ws cleanup
11207 * buffer.[Ch]: ws changes
11209 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11211 2002-03-21 Juergen Vigna <jug@sad.it>
11213 * tabular.C (SetMultiColumn): collapse also the contents of the
11214 cells and set the last border right. Added a Buffer const * param.
11216 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11218 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11221 2002-03-19 Juergen Vigna <jug@sad.it>
11223 * text2.C (clearSelection): reset also xsel_cache.
11225 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11226 where it needs to be called (John tells us to do so too :)
11227 (selectionLost): reset sel_cache.
11229 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11231 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11233 * text2.C (setCursorIntern): put debuging code in INSETS channel
11235 2002-03-19 André Pönitz <poenitz@gmx.net>
11237 * lyxfunc.C: tiny whitespace change
11239 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11241 * ToolbarDefaults.C (init):
11242 * LyXAction.C (init):
11244 * BufferView_pimpl.C (Dispatch):
11245 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11247 2002-03-19 Allan Rae <rae@lyx.org>
11249 * exporter.C (Export): removeAutoInsets before doing anything else.
11250 While I've just introduced a dependency on BufferView this really is
11251 the best place to clean the buffer otherwise you need to cleanup in
11252 a dozen places before calling export or cleanup in a dozen functions
11255 * converter.C (runLaTeX):
11256 (scanLog): Better handling of removeAutoInsets and screen updates.
11258 * lyxfunc.C (dispatch): small whitespace changes
11260 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11262 * WorkArea.C (C_WorkAreaEvent): return a value.
11263 (event_cb): return 1 if we handled the event, 0 otherwise.
11265 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11267 2002-03-18 Juergen Vigna <jug@sad.it>
11269 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11270 (GetAdditionalWidth): ditto.
11271 (RightLine): ditto.
11274 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11275 inset if we're there actually (probably not used right now but this
11276 is the direction to go for unifying code).
11277 (paste): disable code to clear the selection.
11279 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11280 inside an InsetText and move the check further up as it is in the
11283 * text2.C (pasteSelection): set a selection over the pasted text.
11285 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11287 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11288 and libgraphics to build on Cygwin.
11290 2002-03-15 Juergen Vigna <jug@sad.it>
11292 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11293 inserting an Inset into the paragraph. I know this is not the best
11294 fix but we already use current_view in CutAndPaste so we will remove
11295 all of it's using at the same time.
11297 * buffer.C (sgmlError): deactivated function till it is rewritten in
11298 the right mode, now it can create problems.
11300 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11301 before accessing it.
11303 2002-03-14 Juergen Vigna <jug@sad.it>
11305 * undo_funcs.C (textHandleUndo): do the right thing when updating
11306 the inset after the undo/redo.
11308 * text2.C (setCursor): just some testcode for #44 not ready yet.
11310 * undo_funcs.C (textHandleUndo): set the next() and previous()
11311 pointers of the paragraph to 0 before deleting otherwise we have
11312 problems with the Paragraph::[destructor].
11314 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11315 on a paragraph insertion.
11317 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11319 * buffer.C (asciiParagraph): use += operator for char append to
11322 * paragraph.C (getFontSettings): compare >= not just >
11323 (highestFontInRange): ditto
11326 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11328 * paragraph.C: change several algorithm to be more appripriate for
11329 the problem domain. This is lookip in FontList and in the InsetList.
11331 2002-03-13 André Pönitz <poenitz@gmx.net>
11334 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11336 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11341 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11343 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11345 * Painter.C (display): anon helper function, adjust code for this
11347 (pixmap): remove function.
11349 * Painter.h: remove private display variable.
11351 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11353 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11355 * WorkArea.[Ch]: remove figinset_canvas cruft.
11357 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11359 * lyxtextclass.C (operator): add one item cache optimization.
11361 * bufferlist.h: doxy changes
11363 * bufferlist.C: ws changes
11365 * DepTable.[Ch] (ext_exist): place const in the right spot.
11367 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11369 (workAreaExpose): call resizeInsets when the with BufferView changes.
11370 (Dispatch): adjust for protectedBlank removal
11371 (specialChar): call updateInset if the insert went ok.
11373 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11374 specialChar instead.
11376 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11378 * BufferView.h: doxy change
11380 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11382 * lyxtextclass.C (operator[]): remove non-const version
11383 (defaultLayout): remove non-const version
11385 2002-03-12 Juergen Vigna <jug@sad.it>
11387 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11388 did resize the LyXText too.
11390 * buffer.C (readLyXformat2): set layout information on newly allocated
11393 * tabular.C (OldFormatRead): set layout information on the paragraph.
11395 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11397 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11399 2002-03-11 Juergen Vigna <jug@sad.it>
11401 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11403 (resizeCurrentBuffer): force also the insets to resize themselfes.
11404 (moveCursorUpdate): fixed up for InsetText.
11406 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11409 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11410 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11411 value of Dialogs::tooltipsEnabled().
11412 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11414 2002-03-08 Juergen Vigna <jug@sad.it>
11416 * BufferView_pimpl.C (updateInset): update inset inside inset also
11417 if it isn't inside theLockingInset().
11419 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11421 * buffer.C (asciiParagraph): redo some of the word and line length
11423 (getLists): look for Caption instead of caption.
11425 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11427 * buffer.C (Buffer): initialize niceFile to true
11429 (makeLinuxDocFile):
11430 (makeDocBookFile): make sure niceFile is true on exit
11432 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11434 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11436 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11438 * LyXSendto.C: remove.
11439 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11440 * lyx_gui.C: remove now-redundant comment.
11441 * ColorHandler.h: remove forward declaration of class WorkArea.
11442 * lyxfunc.C: remove #include "WorkArea.h".
11444 2002-03-07 Juergen Vigna <jug@sad.it>
11446 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11447 got moved away with the DEPM and also set the inset_owner always
11448 right which before could have been omitted.
11450 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11452 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11453 wanted layout is not found.
11455 2002-03-07 Juergen Vigna <jug@sad.it>
11457 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11459 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11461 * paragraph.C (breakParagraph): use default layout not layout of
11463 (Paragraph): clear ParagraphParameters.
11465 2002-03-06 Juergen Vigna <jug@sad.it>
11467 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11468 otherwise it would not be a valid lenght. Fixed a special case in
11469 the minipage compatibility read where we end the document with a
11472 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11473 was set as it could be 0 for InsetTexts first entry.
11475 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11477 * paragraph.C (writeFile): if layout is empty write out
11478 defaultLayoutName().
11480 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11481 file without named layout we set layout to defaultLayoutName().
11483 2002-03-06 Juergen Vigna <jug@sad.it>
11485 * CutAndPaste.C (copySelection): set layout for new paragraph.
11487 * text.C (prepareToPrint): leave ERT inset left aligned
11488 (leftMargin): don't indent paragraphs inside ERT insets
11490 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11492 * paragraph.C (breakParagraph): dont call clear do the work manually
11494 * paragraph.[Ch] (clear): remove function
11496 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11498 * paragraph.C (Paragraph): dont call clear, the work has already
11501 * lyxtextclass.C (operator): assert if n is empty
11503 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11504 work manually instead.
11506 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11508 * BufferView_pimpl.C: protect selectionLost against text == 0
11510 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11512 * text.C (breakParagraph): fix a setting layout to '0' problem.
11514 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11516 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11517 final location of file, for the included files, and graphics.
11519 2002-03-05 Juergen Vigna <jug@sad.it>
11521 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11523 2002-03-04 Juergen Vigna <jug@sad.it>
11525 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11527 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11528 last column of multicolumn cells.
11529 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11531 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11533 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11534 file if it doesn't go to a temporary file.
11536 * buffer.C (sgmlOpenTag):
11537 (sgmlCloseTag): remove extra newline insertion.
11539 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11541 * text.C (getRowNearY): comment out debug msg
11543 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11545 * text2.C: first -> first_y
11547 * text.C (getRowNearY): add some attemts at a possible
11548 optimization, not working.
11550 * tabular.[Ch]: add BufferParams to several function so that newly
11551 created paragraph can be initialized to he default layotu for the
11554 * tabular-old.C (ReadOld): add buf->params to call of Init
11556 * screen.C: rename text->first to text->first_y
11558 * paragraph.C (breakParagraph): always set layout in the broken
11561 * lyxtextclass.C (Read): remove lowercase
11564 (delete_layout): ditto
11566 * lyxtext.h: rename first -> first_y
11568 * lyxlayout.C (Read): remove lowercase
11571 (obsoleted_by): ditto
11573 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11575 * buffer.C (insertErtContents): add params are to InsetERT
11576 (parseSingleLyXformat2Token): add code to check if a paragraphs
11577 layout really exist.
11578 (parseSingleLyXformat2Token): add params to several inset
11580 (asciiParagraph): remove lowercase, do the layout comparisons with
11583 * BufferView_pimpl.C (cursorNext): first -> first_y
11584 (resizeCurrentBuffer): first -> first_y
11585 (updateScrollbar): first -> first_y
11586 (scrollCB): first -> first_y
11587 (workAreaMotionNotify): first -> first_y
11588 (workAreaButtonPress): first -> first_y
11589 (checkInsetHit): first -> first_y
11590 (cursorPrevious): first -> first_y
11591 (cursorNext): first -> first_y
11592 (Dispatch): add buffer_->params to severl inset contructors
11594 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11596 * lyxlayout.C (Read): remove some debug info that I forgot.
11598 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11599 clean up the code slightly.
11600 (makeLinuxDocFile): ditto
11601 (makeDocBookFile): ditto
11603 * text2.C: layout as string
11605 * text.C: layout as string
11607 * paragraph_pimpl.C: layout as string
11609 * paragraph.[Ch]: layout as string
11611 * lyxtextclasslist.[Ch]: layout as string
11613 * lyxtextclass.[Ch]: layout as string
11615 * lyxtext.h: layout as string
11617 * lyxlayout.[Ch]: layout as string
11619 * lyx_cb.C: layout as string
11621 * bufferview_funcs.C: layout as string
11623 * bufferparams.C: layout as string
11625 * buffer.C: layout as string
11627 * LyXView.[Ch]: layout as string
11629 * LaTeXFeatures.[Ch]: layout as string
11631 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11633 * BufferView_pimpl.C: change current_layout to string, remove
11638 (workAreaButtonRelease): layout as string
11640 * BufferView2.C (unlockInset): adjust
11642 * vspace.C (asLatexCommand): use an explict temp variable.
11644 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11646 * Makefile.am: use FRONTEND_*
11648 2002-03-01 Juergen Vigna <jug@sad.it>
11650 * tabular.C (SetWidthOfMulticolCell): changed to something better
11651 I hope but still work in progress.
11652 (recalculateMulticolumnsOfColumn): renamed function from
11653 recalculateMulticolCells as it is more appropriate now.
11654 (SetWidthOfCell): calculate multicols better.
11656 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11658 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11660 * lyxfunc.C (processKeySym): print sequence also if it is
11661 `deleted' (complete)
11663 * kbsequence.C (print): print sequence even if it is deleted
11664 (complete would be a better word, actually).
11666 * lyxfunc.C (dispatch): print complete options after a prefix key
11668 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11670 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11672 * text2.C (setCharFont): eliminate setCharFont code duplication.
11674 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11676 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11677 LFUN_TABULAR_FEATURE (bug #177)
11679 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11681 * Makefile.am: remove figure.h
11683 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11685 * Bufferview_pimpl.C:
11697 * text2.C: remove #include "lyx_gui_misc.h".
11699 * LaTeX.C: added #include <cstdio>
11701 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11703 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11704 that the paragraph following this one can have.
11706 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11708 * vspace.C (asLatexCommand): fix bogus gcc warning
11710 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11712 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11714 * text2.C (setLayout): get rid of redundant code
11716 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11718 * text2.C (incDepth): make sure depth cannot be increased beyond
11721 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11723 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11724 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11726 * PainterBase.h (image):
11727 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11728 a LyXImage const *.
11730 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11734 * BufferView_pimpl.C:
11735 * BufferView_pimpl.h:
11755 * sp_spell.C: remove fig inset, and the crap house of
11756 cards that follows it
11758 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11763 * os2_errortable.h:
11764 * nt_defines.h: move .h into support/
11766 * vms_defines.h: remove
11768 * WorkArea.C: add space in debug output
11772 * buffer.C: add WITH_WARNINGS
11776 * bufferlist.C: s/retrive/retrieve/, add docs
11785 * chset.C: add docs
11787 * lyxgui.C: add ID to X error handler
11789 * lyxtestclass.c: fix typo
11791 2002-02-26 Juergen Vigna <jug@sad.it>
11793 * tabular_funcs.C (write_attribute): changed so that some default
11794 attributes are not written at all.
11795 (getTokenValue): set default values before trying to read the
11796 value so we have the return value always set as default if we don't
11797 find the token we search for.
11799 * tabular.C (Write): write bools as bools not as strings!
11801 2002-02-22 Juergen Vigna <jug@sad.it>
11803 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11804 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11806 * text.C (leftMargin): don't add an indent for paragraphs inside
11807 tabular cells (fix #208).
11809 2002-02-21 José Matos <jamatos@fep.up.pt>
11811 * tabular.C (docBook): fixed support for long tables.
11813 2002-02-20 Juergen Vigna <jug@sad.it>
11815 * text2.C (getFont): get the drawing font of the Inset if this
11816 paragraph is inside an inset (only important for InsetERT for now).
11818 * buffer.C (insertErtContents): use new lanugage params in ERT
11821 * CutAndPaste.C: commenting out seemingly uneeded code.
11823 2002-02-19 Allan Rae <rae@lyx.org>
11825 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11826 Iterators might be simple to use but they also get invalidated.
11827 (removeAutoInsets): renamed saved cursor tracking variables and added
11828 some comments to clarify what everything does.
11830 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11837 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11838 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11841 * vc-backend.h: remove #include "support/syscall.h"
11845 * converter.C: rearrange #includes in Lars' approved fashion.
11847 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11848 forward declare class Timeout in the header file.
11850 * XFormsView.C: changes due to the above.
11852 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11853 similar to LyXView.
11855 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11856 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11858 2002-02-18 José Matos <jamatos@fep.up.pt>
11860 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11863 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11865 * a lot of small ws changes
11866 * add a lot of using std::XXX
11867 * use std construcs some places where approp.
11868 * use some exisint stuff from lyxfunctional where approp.
11869 * Make file changes to use partial linking (lets test this now...)
11871 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11875 remove #include "support/syscontr.h" as it's redundant. Always has been.
11883 change Systemcalls::System to Systemcalls::Wait and
11884 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11885 No change of functionality, just reflects the stripped down Systemcalls
11888 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11890 * debug.[Ch]: add a GRAPHICS type to the enum.
11892 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11894 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11896 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11899 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11901 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11902 match the changes below.
11904 * text2.C (toggleInset): if there is not editable inset at cursor
11905 position, try to see if cursor is _inside_ a collapsable inset
11908 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11910 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11911 document menu has a nice checkbox
11913 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11915 * lyxlength.C (asLatexString): change PW to output as percent of
11918 * lengthcommon.C: change '%' to 't%'
11920 * lyxfunc.C (dispatch): a few comments from Martin
11922 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11926 * BufferView_pimpl.h:
11927 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11930 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11932 * vspace.C (inPixels): fix compiler warning
11934 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11936 * lyxfunc.C (getStatus): fix status message for disabled commands.
11938 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11940 * BufferView_pimpl.C: fix crash on close buffer
11941 during selection (#227)
11943 2002-01-27 Herbert Voss <voss@lyx.org>
11945 * buffer.C: link old Figure to new graphic inset
11947 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11949 * FontLoader.C (getFontinfo): Change the latex font names in order
11950 to match the names of type1inst.
11952 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11954 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11956 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11957 (extchanged): ditto
11959 (remove_files_with_extension): ditto
11960 (remove_file): ditto
11963 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11964 document is smaller than the work area height. Do not initialize
11965 static variables to 0.
11967 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11969 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11971 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11972 LFUN_LAYOUT_PARAGRAPHS.
11974 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11975 tabular. It is possible to provide a possible cell, which will
11976 typically be the actcell from the corresponding insettabular
11978 * lyxfunc.C (getStatus): small cleanup; disable
11979 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11982 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11984 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11986 * paragraph.C (startTeXParParams):
11987 (endTeXParParams): new methods. The LaTeX code to
11988 start/end paragraph formatting
11989 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11990 empty (fixes bug #200)
11992 * vspace.C (inPixels): adapt to the change below
11993 (inPixels): [later] more cleanups (remove unused variables)
11995 * lyxlength.C (inPixels): change to use a width and a height as
11998 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12000 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12001 Replaced with \paperwidth
12003 * DepTable.C (insert): add std:: qualifier
12005 2002-01-18 Allan Rae <rae@lyx.org>
12007 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12010 * text.C (drawInset): Turned out I didn't know enough about how
12011 rebreaking worked. This fixes most of the redraw problems. I see
12012 an occasional cursor trail when a line is broken now and the cursor
12013 placement can seem out by a few pixels also after a rebreak.
12015 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12017 * buffer.C (parseSingleLyXformat2Token): update because minipage
12018 width is now a LyXLength
12020 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12022 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12025 2002-01-17 Juergen Vigna <jug@sad.it>
12027 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12029 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12030 is set correctly and the inset is updated correctly.
12032 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12034 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12035 the beginning of the loop.
12037 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12039 * lyxrc.C: improve help for use_scalable_fonts
12041 2002-01-17 Allan Rae <rae@lyx.org>
12043 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12045 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12047 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12048 make sure to set their inset_owner to the right value (bug #171)
12050 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12053 * DepTable.C: Implement mtime checking to reduce time spent doing
12056 2002-01-16 Juergen Vigna <jug@sad.it>
12058 * tabular.C (GetAdditionalHeight): one of error fixed.
12060 * lyxrc.C (output): small fix in writing use_pspell.
12062 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12064 * sp_base.h: #include LString.h
12066 2002-01-16 Allan Rae <rae@lyx.org>
12068 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12069 Can someone check this please?
12071 * text.C (drawInset): It was possible that p.row would be removed by
12072 breakAgainOneRow upsetting a few other settings. There may be another
12073 small tweak possible by setting need_break_row = 0 when p.row has been
12074 removed but I don't know enough about the logic here.
12076 2002-01-15 Allan Rae <rae@lyx.org>
12078 * text.C (insertChar): removed conditional truism.
12080 * BufferView2.C (removeAutoInsets): More tweaks.
12081 cur_par_prev could be a stray pointer. Check for trailing empty line
12082 in case last line was cur_par and only had an error inset on it.
12084 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12086 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12089 * vc-backend.C (most methods):
12090 * exporter.C (Export):
12091 * converter.C (convert):
12093 * LyXSendto.C (SendtoApplyCB):
12094 * lyxfunc.C (dispatch):
12098 * lyx_cb.C (AutoSave):
12100 * BufferView_pimpl.C (MenuInsertLyXFile):
12101 * buffer.C (runChktex): use Buffer::filePath().
12103 * buffer.h: rename filename to filename_; rename filepath to
12104 filepath_ and make it private
12105 (filePath): new method
12107 * buffer.C (writeFile): use fileName()
12110 * lyx_main.C (init): fix starting of LyX when the binary is a
12111 link from so,ewhere else.
12113 * minibuffer.C: include <cctype> for isprint
12115 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12117 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12118 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12119 name clash with InsetCollapsable's width function.
12121 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12123 * lastfiles.C: include <iterator>
12125 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12127 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12130 * buffer.C (makeLaTeXFile): ditto.
12131 Also make loop operation more transparent.
12133 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12135 * ToolbarDefaults.C: remove trailing comma closing namespace.
12137 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12139 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12142 * trans.C (Load): comment out unused variable, allowed.
12144 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12146 * minibuffer.[Ch] (append_char): new method to recieve input from the
12147 drop-down completion browser. If a key was pressed, then recieve this
12148 char and append it to the existing string.
12149 (peek_event): modify the positioning data passed to the completion
12150 browser so that it can be placed above the minibuffer rather than below.
12151 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12153 * LyXAction.C (init): alloe error-next for readonly documents.
12155 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12158 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12160 * bufferlist.C (readFile): create the buffer _after_ checking that
12163 * lyxfunc.C (verboseDispatch): fix handling of arguments
12165 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12167 * lyxrc.C: use string::erase() instead of initializing to "".
12170 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12172 * BufferView_pimpl.h:
12173 * BufferView_pimpl.C:
12176 * text2.C: tell X when we have made a selection for copying
12178 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12180 * BufferView_pimpl.C (MenuInsertLyXFile):
12181 * lyxfunc.C (menuNew):
12183 (doImport): add shortcuts to directory buttons
12185 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12188 * lyxfunc.C (setStatusMessage):
12189 (getStatusMessage): new methods
12190 (getStatus):use setStatusMessage instead of setErrorMessage
12191 (dispatch): when function is disabled, set error message here
12192 [instead of in getStatus previously]
12194 * BufferView_pimpl.C (workAreaButtonRelease): update
12195 toolbar/menubar here too.
12197 2002-01-13 Allan Rae <rae@lyx.org>
12199 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12200 Now seems indestructible. Remaining task is to audit all other
12201 code affected by deleteEmptyParagraphMechanism. One small quirk
12202 left is that an empty document with an error in the preamble can
12203 be made to report an error but no error box appears. I don't know
12205 (removeAutoInsets): Improved comments.
12207 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12210 * Thesaurus.C: update for Aiksaurus 0.14
12212 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12214 * text2.C (firstParagraph): removed member function, all uses
12215 replaces with ownerParagraph
12216 (redoParagraphs): here
12217 (updateInset): here
12218 (toggleAppendix): here
12219 * BufferView2.C (insertErrors): here
12220 (setCursorFromRow): here
12222 2002-01-13 Allan Rae <rae@lyx.org>
12224 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12225 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12226 There is still a way to segfault this although you may have to do this
12227 multiple times: Have an InsetERT with an unknown command in it.
12228 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12229 <down-arrow>, <Enter> again, View->DVI, BANG!
12231 * text2.C (setCursor):
12232 (deleteEmptyParagraphMechanism):
12233 * lyxtext.h (setCursor):
12234 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12235 Making use of the return value may help fix other bugs.
12237 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12239 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12241 * LyXView.C (updateMenubar): call MenuBar::update here
12242 (updateToolbar): but not here
12243 (showState): do not update toolbar/menubar
12245 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12246 should need to care about that.
12248 * lyxfunc.C (verboseDispatch): simplify a bit
12249 (getStatus): have a version which takes a pseudoaction, and
12250 another which requires a (kb_action,string).
12252 * LyXAction.C (retrieveActionArg): make it work also when action
12253 is not a pseudo-action.
12254 (getActionName): simplify a bit
12257 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12259 * lyxfunc.C (verboseDispatch): new families of methods with
12260 several ways to specify a command and a bool to indicate whether
12261 the command name and shortcut should be displayed in minibuffer
12262 (eventually, we could extend that to a finer bitmask like
12263 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12264 (dispatch): the pristine dispatch command which just, well,
12265 dispatchs! Note it still sets its result to minibuffer; I'm not
12268 * lyxfunc.h: remove setHintMessage
12270 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12272 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12274 * BufferView_pimpl.C (specialChar): delete new inset if we have
12275 not been able to insert it.
12277 * kbmap.C: revert to using int instead of kb_action, since all we
12278 are dealing with is pseudo-actions.
12280 * LyXAction.C (searchActionArg): change to return int instead of
12281 kb_action, since the result is a pseudoaction.
12283 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12285 * buffer.C (insertErtContents): Fix (partially) the font bug.
12287 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12289 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12290 as the other one is broken on my machine!
12292 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12295 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12297 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12299 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12300 reflect their actual use. Provide compatibility code for older lyxrc
12303 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12305 change names of popup font variables in line with the changes to lyxrc.C
12307 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12309 * buffer.C (asciiParagraph): avoid outputing a word twice after
12312 * lyxrc.C (getDescription): document that document_path and
12313 template_path can be empty.
12315 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12317 * LaTeXFeatures.C (getMacros):
12318 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12320 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12322 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12324 (getPackages): rename feature "floats" to "float". Use an array to
12325 iterate over 'simple' features (i.e. just a \usepackage). Add
12326 handling of "amsmath" (renamed from "amsstyle").
12328 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12330 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12333 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12335 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12336 FuncStaus::FuncStatus & FuncStaus::some_method().
12338 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12340 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12341 of the func_satus stuff. Edited and massaged in various ways by
12344 * lyxfunc.C (getStatus): use FuncStatus
12346 2002-01-08 Juergen Vigna <jug@sad.it>
12348 * text.C (nextBreakPoint): use function Inset::isChar().
12350 * paragraph.C (TeXOnePar): use function
12351 Inset::forceDefaultParagraphs.
12353 * buffer.C (latexParagraphs): use function
12354 Inset::forceDefaultParagraphs.
12356 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12358 * lyx_gui.C (init): set the style of the menu popups to
12359 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12361 2002-01-07 Juergen Vigna <jug@sad.it>
12363 * text.C (setHeightOfRow): small fix
12364 (prepareToPrint): don't look at alignment if we don't have the place
12367 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12369 * box.C: New file. Move the Box methods and functions out of box.h,
12370 following Lars' suggestion.
12372 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12374 * box.h: #include "support/LOstream.h", needed for inlined function.
12377 * lyxtextclasslist.C: added some using std declarations.
12379 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12381 * box.h: make signed dimensions to allow insets wider than
12382 the screen (bug #162)
12384 * BufferView_pimpl.C: add some insetHit debug
12386 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12388 * vc-backend.C: add FIXME
12390 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12392 * lyxfunc.C (getStatus): enable code for showing math font status
12395 2002-01-07 Juergen Vigna <jug@sad.it>
12397 * text.C (nextBreakPoint): removed debug output not needed anymore.
12399 2002-01-06 Juergen Vigna <jug@sad.it>
12401 * text.C (nextBreakPoint): fixed up this function we had this bug
12402 since ever but now hopefully we break row better.
12403 (insertChar): we have to check if an inset is the next char as it
12404 could now happen that a large inset is causing a break.
12406 2002-01-05 Juergen Vigna <jug@sad.it>
12408 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12409 if it doesn't like to be drawed.
12411 2002-01-04 Juergen Vigna <jug@sad.it>
12413 * BufferView2.C (lockInset): forgot to set a cursor.
12415 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12417 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12419 * FormMathsPanel.C:
12422 * form_maths_panel.C:
12423 * form_maths_panel.h:
12424 * form_maths_panel.fd: implemented sub- and super- buttons in math
12427 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12428 (or ^ space) to be used as in TeX (req'd by André).
12430 * lyxfunc.C: Allow ^ and _ again to be used both as
12431 super/subscript (mathed) and as themselves (in text).
12433 2002-01-03 Allan Rae <rae@lyx.org>
12435 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12436 "LyX" or the filename of the current buffer if it has one. This is a
12437 modified form of John Levon's patch.
12439 * XFormsView.C (setWindowTitle): also set icon title.
12441 * LyXView.h (setWindowTitle): signature changed.
12442 * XFormsView.h (setWindowTitle): ditto.
12444 2002-01-02 Juergen Vigna <jug@sad.it>
12446 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12448 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12450 * screen.C (topCursorVisible): introduce a temp var for
12451 text->cursor.row(), handle the case where this row is null. (kindo
12454 * text2.C (setCursor): add a couple of asserts.
12456 * paragraph.h (inset_iterator): add -> operator
12458 * paragraph.[Ch] (autoDeleteInsets): remove member function
12460 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12461 cursor pos correctly and handle inset deletion by itself.
12462 (insertErrors): move iterator declaration out of for expression
12464 * lyxtextclass.C: add <algorithm>
12466 * Makefile.am: added the new files to sources, removed layout.C
12468 * layout.C: removed file
12470 * layout.h: remove LYX_DUMMY_LAYOUT
12472 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12476 * lyxtextclass.[Ch]:
12477 * lyxtextclasslist.[Ch]: new files
12479 * include order changes to a lot of files, also changes because of
12482 2001-12-27 Juergen Vigna <jug@sad.it>
12484 * buffer.C (asciiParagraph): more fixes.
12486 * tabular.C (ascii): make ascii export support export of only the
12487 data separated by a column-delimiter.
12488 (ascii): better support for ascii export.
12490 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12492 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12494 * tabular_funcs.C: use a "using std::getline" instead of the
12495 previous fix from Angus (necessary for cxx + lyxstring)
12497 2001-12-24 Juergen Vigna <jug@sad.it>
12499 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12501 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12502 problems. First check a minipage also if we have some ert-contents
12503 (not only on par->size(), second set the right depth of the paragraph
12504 on the relink to the root-paragraph-list!
12506 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12507 which then did not anymore update the main paragraphs on undo/redo!
12509 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12511 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12512 code. Support all font-changing funcs (even those which are not in
12513 menu currently). Support for reporting font settings in
12514 mathed (disabled until Andre provides a function on mathed's side).
12516 * func_status.h (toggle): small helper function to set toggle
12519 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12521 * tabular_funcs.C: getline -> std::getline
12523 2001-12-21 Juergen Vigna <jug@sad.it>
12525 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12526 accessed and could be 0 (I couldn't generate this but it seems
12529 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12531 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12532 * tabular_funcs.h: here and include iosfwd
12534 2001-12-20 Juergen Vigna <jug@sad.it>
12536 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12537 inside inset but undo_par was.
12539 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12541 * Thesaurus.C: always include <config.h> in sources.
12545 * box.h: do not include <config.h> in header files
12547 * text.C (paintLastRow): remove unused variable
12549 * text.C (transformChar):
12551 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12553 * Painter.C (text):
12554 * font.C (width): rewrite to use uppercase() instead of
12557 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12559 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12561 * lyxfind.C: clean up of find failure position change
12563 2001-12-20 Juergen Vigna <jug@sad.it>
12565 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12567 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12568 (TeXRow): added to LaTeX a single tabular row.
12569 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12570 (Latex): simplified and finally good LT-h/f support.
12571 (various_functions): just small adaptions for LT-h/f support.
12573 * tabular_funcs.[hC]: added and moved here all not classfunctions
12576 2001-12-19 Juergen Vigna <jug@sad.it>
12578 * tabular.[Ch]: better support for longtabular options (not finished
12581 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12583 * text.C (paintLastRow): use the label font instead of the font of
12584 the last character to compute the size of *_BOX. This makes more
12585 sense and avoids a crash with empty paragraphs.
12586 Use Painter::rectangle to draw EMPTY_BOX.
12588 2001-12-19 Juergen Vigna <jug@sad.it>
12590 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12591 the paragraphs if the replaced paragraph is not the first one!
12592 Tried to delete not used paragraphs but does not work yet so for
12593 now it's inside #ifdef's and by default off!
12595 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12597 * MenuBackend.C: include "lyx_main.h" instead of declaring
12598 lastfiles (actually was declared as LastFiles* instead of a
12601 2001-12-17 Juergen Vigna <jug@sad.it>
12603 * tabular.C (AppendColumn): applied John's fix
12605 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12609 * BufferView_pimpl.h:
12610 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12613 * box.h: new start of class for above
12615 * lyxfunc.C: ignore space-only minibuffer dispatches.
12616 Show the command name when it doesn't exist
12618 * minibuffer.C: don't add empty lines to the history
12620 * minibuffer.C: add a space on dropdown completion
12622 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12624 * text.C: fix line above/below drawing in insets
12626 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * lyxlength.C (LyXLength): Initialize private variables.
12630 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12632 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12633 when inserting error insets.
12635 2001-12-13 Juergen Vigna <jug@sad.it>
12637 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12638 actually sometimes the before-paragraph.
12639 (setUndo): don't clear the redostack if we're not actually undoing!
12641 2001-12-06 Juergen Vigna <jug@sad.it>
12643 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12644 and fixed redoing of main paragraph, so we can use it now ;)
12646 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12648 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12650 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12653 2001-12-13 André Pönitz <poenitz@gmx.net>
12656 * undo_func.C: minor cleanup
12658 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12660 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12661 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12662 font in urw-fonts package which is marked as -urw-fontspecific and
12663 does not work (incidentally, changing the encoding in the
12664 fonts.dir of this package to -adobe-fontspecific fixes the
12667 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12668 is a crash when undoing first paragraph (Juergen, please take a
12669 look). THis does not mean the undo fix is wrong, just that it
12672 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12673 the (Paragraph*) version when needed instead of duplicating the
12676 * text.C (workWidth): use Inset::parOwner to find out where the
12677 inset has been inserted. This is a huge performance gain for large
12678 documents with lots of insets. If Inset::parOwner is not set, fall
12679 back on the brute force method
12681 * paragraph_pimpl.C (insertInset):
12682 * paragraph.C (Paragraph):
12683 (cutIntoMinibuffer): set parOwner of insets when
12684 inserting/removing them
12686 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12688 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12694 * mathed/formulabase.C:
12695 * mathed/math_cursor.[Ch]:
12696 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12699 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12701 * lyxlength.[Ch] (operator!=): new function
12703 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12705 * text.C (workWidth): use Inset::parOwner to find out where the
12706 inset has been inserted. This is a huge performance gain for large
12707 documents with lots of insets. If Inset::parOwner is not set, fall
12708 back on the brute force method
12710 * paragraph_pimpl.C (insertInset):
12711 * paragraph.C (Paragraph):
12712 (cutIntoMinibuffer): set parOwner of insets when
12713 inserting/removing them
12715 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12717 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12719 * tabular-old.C (getTokenValue):
12720 * tabular.C (getTokenValue):
12721 (write_attribute): new versions for LyXLength
12722 (everywhere): adjust the use of widths
12724 * tabular.h: change the type of widths from string to LyXLength
12726 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12728 * paragraph.C: fixed missing line number count when exporting
12729 Environments to LaTeX file
12731 * buffer.C: added informational message for checking line numbers.
12733 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12735 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12736 paragraph, do the 'double space' part, but not the 'empty
12739 * text.C (workWidth): small optimization
12740 (getLengthMarkerHeight): use minimal size for negative lengths.
12742 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12744 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12746 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12748 2001-12-11 André Pönitz <poenitz@gmx.net>
12751 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12753 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12755 * text2.C: keep selection on a setFont()
12757 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12759 * lyx_cb.C: another bv->text misuse, from insert label
12761 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12764 * kbsequence.C: re-instate nmodifier mask
12766 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12768 * lyx_main.h: make lyxGUI private.
12770 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12772 * lyxfind.C: place the cursor correctly on failed search
12774 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12776 * text.C (getLengthMarkerHeight): for small heights, the arrows
12777 are not always on top/bottom of the text
12778 (drawLengthMarker): smaller arrows; take the left margin in
12779 account; draw also vfills.
12781 (paintLastRow): remove special code for vfill and standard spaces,
12782 since everything is handled in drawLengthMarker now.
12784 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12786 * buffer.C (insertErtContents): try to handle font and language
12787 interaction a bit better.g
12789 * ColorHandler.C (updateColor): change the hash to cover the whole
12790 LColor enum, ws cleanup
12791 (getGCLinepars): ditto
12792 (getGCLinepars): only lookup in the linecache once.
12794 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12796 * iterators.C (operator++): Make the iterator more robust
12798 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12800 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12802 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12805 * text.C: better added space drawing
12807 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12810 * BufferView2.C: fix layout combo update on inset unlock
12812 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12814 * Makefile.am: don't compile unused files
12816 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12820 * LyXAction.C: remove old LFUN_LAYOUTNO
12822 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12824 * paragraph_pimpl.h:
12825 * paragraph_pimpl.C: isTextAt() doesn't need font param
12827 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12830 * lyxlex.C: little cleanup
12832 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12834 * BufferView_pimpl.C: fix insertAscii for insets
12836 2001-12-05 Juergen Vigna <jug@sad.it>
12838 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12839 set the right font on the "multi" paragraph paste!
12841 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12847 * lyxlength.C: remove out-commented code.
12849 * BufferView_pimpl:
12863 * vc-backend.C: change "while(" to "while ("
12865 * lyxlength.[Ch]: add zero function to check if length is zero or
12867 * lyxgluelength.C: use it
12869 2001-12-05 Allan Rae <rae@lyx.org>
12871 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12872 Works for 2.95.3, from what I understand of Garst's reports this should
12873 work for other g++ versions. We're screwed if the abs(int) definition
12874 changed between bugfix releases of gcc.
12876 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12878 * text.C: fix chapter label offset !
12880 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12883 * text.C: fix hfill at end of line, clean up
12885 2001-12-04 Juergen Vigna <jug@sad.it>
12887 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12888 that we force an update of the inset and it's owners if neccessary.
12890 2001-12-03 Juergen Vigna <jug@sad.it>
12892 * text.C (rowLast): simplified code
12894 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12896 * lyxfunc.C: fix show options on timeout
12898 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12900 * screen.C (topCursorVisible): scroll half a page when the cursor
12901 reached top of bottom of screen
12903 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12905 * minibuffer.C: deactivate on loss of focus
12907 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12909 * vspace.[Ch] (operator!=): add operator.
12911 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12913 * BufferView_pimpl.C: refuse to open an inset when
12914 there's a selection.
12916 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12918 * BufferView_pimpl.C: allow to click on RHS of full row insets
12920 2001-11-30 Juergen Vigna <jug@sad.it>
12922 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12923 insets for undo reasons.
12925 2001-11-28 André Pönitz <poenitz@gmx.net>
12927 * vspace.[Ch]: cosmetical changes
12929 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12939 * kbsequence.C: part re-write of old kb code
12942 * WorkArea.C: remove Lgb_bug_find_hack
12944 2001-11-30 José Matos <jamatos@fep.up.pt>
12946 * buffer.C (makeDocBookFile): add a comment to point a hack.
12947 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12948 Fixed a double write of labels.
12950 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12953 * LaTeX.h Fixed bug in LaTeX class where it would not
12954 re-run latex if no depfiles were changed, but the .dvi was removed.
12956 2001-11-28 André Pönitz <poenitz@gmx.net>
12958 * all the files from the change on 2001/11/26:
12959 use lyx::layout_type instead of LyXTextClass::size_type
12960 use lyx::textclass_type instead of LyXTextClassList::size_type
12962 2001-11-29 Juergen Vigna <jug@sad.it>
12964 * text.C: added support for paragraph::isFreeSpacing()
12966 * buffer.C: same as above
12968 * paragraph.h: inserted isFreeSpacing() function to enable
12969 FreeSpacing inside InsetERT.
12971 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12972 of the paragraph's in the cut/copy buffer to 0!
12974 * text2.C (removeRow): remove the assert as it can!
12976 * lyxtext.h: added helper function firstRow returning firstrow and
12977 made firstrow private again.
12979 * BufferView2.C (lockInset): don't relock if we're already locked!
12981 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12982 the only paragraph.
12983 (removeRow): added Assert::(firstrow)
12985 * debug.C: forgot to add INSETTEXT here.
12987 2001-11-28 Juergen Vigna <jug@sad.it>
12989 * sp_spell.C (initialize): changed error text to more general
12990 spellchecker command use (not only ispell!)
12992 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12994 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12996 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12998 * vspace.C: initialise lyxgluelength on failure
13000 2001-11-28 Allan Rae <rae@lyx.org>
13002 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13003 declaration & definition that looks like a function declaration.
13005 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13007 * BufferView2.C (copy):
13008 (copyEnvironment): do not clear the selection when doing a copy.
13010 * text.C (paintFirstRow): compilation fix
13012 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13014 * tabular.C (Latex): correct line count when writing latex.
13016 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13018 * paragraph_pimpl.h:
13019 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13022 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13026 * LColor.C: change vfillline->added_space
13028 * text.C: add markers and text for added space
13030 * vspace.C: fix comment
13032 2001-11-28 André Pönitz <poenitz@gmx.net>
13034 * paragraph.C: whitespace changes
13035 * all the other files from the change on 2001/11/26:
13036 change *::pos_type into lyx::pos_type
13038 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13040 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13041 language of the document when inserting error insets.
13043 2001-11-26 André Pönitz <poenitz@gmx.net>
13045 * BufferView_pimpl.[Ch]:
13053 * paragraph_pimpl.[Ch]:
13056 * text2.C: reduce header dependencies, introduce type for positions
13058 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13060 * <various>: change to use Alert.h
13062 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13064 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13065 when encountering an unknown token.
13066 (readLyXformat2): Show an error message if there were unknown tokens.
13068 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13071 * BufferView_pimpl.C:
13075 * text2.C: use par->isInset()
13077 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13079 * paragraph_pimpl.h:
13080 * paragraph_pimpl.C: cleanup
13082 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13084 * text2.C (removeRow):
13085 * text.C (setHeightOfRow): remove useless (and costly) call to
13088 2001-11-20 Allan Rae <rae@lyx.org>
13090 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13091 Now need Inset*::checkInsertChar() to return true for appropriate
13092 cases so that the characters in the minibuffer will actually be
13095 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13097 * text.C: change the order of the includes.
13098 (workWidth): initialize it at once.
13099 (workWidth): make maxw unsigned
13100 (setHeightOfRow): remove unused variable (inset)
13101 (selectSelectedWord): remove unused variable (inset)
13102 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13104 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13106 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13107 server is not running.
13109 (closeConnection): add debug info when server is disabled.
13111 * ColorHandler.C (getGCForeground): send debug message to GUI
13114 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13116 * kbmap.C (bind): modify because return conventions of
13117 kb_sequence::parse have changed.
13119 * kbsequence.C (parse): only ignore spaces and not any stupid
13120 control character. This avoids tests like s[i] <= ' ', which are
13121 guaranteed to fail with 8bit characters and signed chars.
13122 Change return code to string::npos when there have been no error
13123 (0 was a bad idea when error is at first character)
13125 2001-11-14 José Matos <jamatos@fep.up.pt>
13128 * buffer.C (simpleDocBookOnePar): removed unused argument.
13130 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13132 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13133 insets which are part of a word. Paragraph::isLetter takes care of
13134 that now. Use Paragraph::isInset to identify insets.
13135 (selectSelectedWord): do not test for hyphenation break.
13137 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13138 that protected spaces are considered as spaces.
13140 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13143 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13146 * lyxserver.C: fix it. and small cleanup.
13148 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13150 * BufferView_pimpl.C: use inline helpers
13153 * LaTeXFeatures.C: fix typos
13156 * Spacing.C: move spacing_string into class
13158 * ToolbarDefaults.C: move stuff into namespace anon
13160 * layout.h: update enum
13162 * lyxfunc.C: use better debug
13164 * minibuffer.h: fix typo
13168 * WorkArea.C: add and use Debug::WORKAREA
13172 * text2.C: code re-organisation, inline helpers
13174 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13176 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13177 std::vector.empty().
13179 2001-11-09 Allan Rae <rae@lyx.org>
13181 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13182 '\n's after tables. Tabular and ERT inset work now makes this no
13185 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13188 * minibuffer.C: fix crash, improve drop-down completion
13190 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13193 * lyxserver.C: invalidate fd's when doing endPipe()
13195 2001-11-08 José Matos <jamatos@fep.up.pt>
13197 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13198 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13201 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13203 2001-11-07 José Matos <jamatos@fep.up.pt>
13206 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13209 * buffer.C (sgmlOpenTag):
13210 * buffer.C (sgmlCloseTag): removed debug info.
13212 * buffer.h (sgmlOpenTag):
13213 * buffer.h (sgmlCloseTag): made public.
13215 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13217 * buffer.C (saveParamsAsDefaults):
13218 * lyx_cb.C (MenuLayoutSave): remove
13220 * LyXAction.C (init):
13222 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13224 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13226 * buffer.C (setPaperStuff): removed from here...
13228 * bufferparams.C (setPaperStuff): ... and moved there.
13230 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13234 * XFormsView.C: add support for drop-down completion
13236 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13238 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13241 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13243 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13246 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13248 * lyx_main.C: change ref to known bugs
13250 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13252 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13253 to work around older babel problems.
13255 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13257 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13259 2001-10-24 Juergen Vigna <jug@sad.it>
13261 * tabular-old.C (ReadOld): below variable changes reflected.
13263 * tabular.[Ch]: added ltType struct for longtable header/footer
13264 defines and changed all instances where they are used. Added
13265 future support for double top/bottom rows.
13267 2001-10-24 José Matos <jamatos@fep.up.pt>
13269 * buffer.h (docbookHandleCaption):
13270 * buffer.C (docbookHandleCaption): removed unused function.
13271 (makeDocBookFile): moved docbook supported version to v4.1.
13273 2001-10-24 José Matos <jamatos@fep.up.pt>
13276 * tabular.C (docbookRow): new function to export docbook code of a row.
13277 (DocBook): now honors the longtable flags.
13279 2001-10-23 José Matos <jamatos@fep.up.pt>
13282 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13283 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13285 * buffer.C (makeLinuxDocFile):
13286 (makeDocBookFile): reworked the preamble, more clean, and with
13287 support for lyx defined entities. Changed the document declaration
13288 to be more XML friendly.
13290 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13291 if we need to output XML that should be done with a filter.
13293 2001-10-22 Juergen Vigna <jug@sad.it>
13295 * sp_pspell.h (class PSpell): add alive function needed in the
13296 controller to see if the spellchecker could be started.
13298 2001-10-22 Juergen Vigna <jug@sad.it>
13300 * buffer.C (insertStringAsLines): modify the font for inserting
13301 chars in certain conditions by calling checkInsertChar(font).
13303 2001-10-19 Juergen Vigna <jug@sad.it>
13305 * text.C (workWidth): use getRow instead of wrong algorithm.
13306 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13308 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13313 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13315 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13317 * text.C (workWidth): do not search for the exact row when
13318 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13319 optimization for big documents.
13321 2001-10-18 Juergen Vigna <jug@sad.it>
13323 * text.C (workWidth): new function with added Inset * parameter.
13325 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13327 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13329 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13330 change return type of getColumnNearX.
13333 * text.C (changeRegionCase): use uppercase/lowercase instead of
13336 (rightMargin): simplify code by factoring out the uses of
13341 (appendParagraph): use Paragraph::size_type
13343 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13345 * vspace.C (asLatexString): add a missing break
13347 2001-10-15 Herbert Voss <voss@perce.de>
13349 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13351 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13353 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13356 2001-10-10 André Pönitz <poenitz@gmx.net>
13358 * lyxfunc.C: removed greek_kb_flag.
13360 2001-10-10 Herbert Voss <voss@perce.de>
13362 * lyx_main.C: delete global string help_lyxdir.
13364 2001-10-09 Herbert Voss <voss@perce.de>
13366 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13368 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13370 * lyx_main.C: added global string help_lyxdir.
13372 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13374 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13376 * lyxrc.C (set_font_norm_type): support iso8859-4
13378 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13380 * LaTeX.C (deplog): add another regex for MikTeX
13382 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13384 * lyxrc.C (set_font_norm_type): support iso8859-3
13386 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13388 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13390 * LaTeXFeatures.C: remove special case of french and index
13392 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13393 before \begin{document}). This solves several incompatibilities.
13395 2001-10-03 Garst Reese <reese@isn.net>
13397 * lyx_cb.C: change CheckTex error msg.
13399 2001-10-03 José Matos <jamatos@fep.up.pt>
13401 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13403 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13405 * .cvsignore: update
13407 * lyx_main.C (commandLineVersionInfo): use new style version info.
13409 * buffer.C (writeFile):
13411 (makeLinuxDocFile):
13412 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13414 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13416 * version.h: update to use stuff in version.C
13418 * version.C.in: new file. Contains version information determined
13419 at compile time. This is a merging of version.h and
13422 2001-10-03 Juergen Vigna <jug@sad.it>
13424 * BufferView_pimpl.C (update): don't change "dirty" status in
13427 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13429 * WorkArea.C (c-tor): re-position version string slightly.
13431 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13433 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13434 revert to previous code.
13436 WorkArea.[Ch]: (show, destroySplash): methods removed.
13438 WorkArea.C: rework code so that it's an amalgam of the codes before and
13439 after the splash screen was moved to WorkArea.
13441 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13444 * vspace.C (inPixels):
13447 * buffer.C (insertStringAsLines):
13448 (asciiParagraph): fix types to be large enough
13450 * lyxlex_pimpl.h: change member status from short to int
13452 * layout.h: fix type of endlabeltype
13455 * kbsequence.C (parse): change return type to string::size_type
13457 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13460 * Bullet.C (bulletSize):
13461 (bulletEntry): do not use short ints as parameters
13463 * BufferView2.C (insertLyXFile): change a char to an int.
13465 * WorkArea.C (WorkArea): remove unneeded floats in computation
13467 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13469 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13471 * paragraph.C (asString): Do not ignore newline/hfill chars when
13472 copying to the clipboard.
13474 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13476 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13477 after a multi-line inset.
13479 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13481 * paragraph.C (validate): Set NeedLyXFootnoteCode
13483 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13485 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13486 and decrease-error to decrease.
13488 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13490 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13491 it more readable (should be equivalent)
13493 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13495 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13497 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13499 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13500 of a cursor (row, etc.) after a character has been deleted
13501 (deleteEmptyParagraphMechanism): call the method above on _all_
13502 cursors held by the LyXText when a double space has been
13505 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13507 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13509 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13511 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13512 background. Use greyOut() and the new show() methods to toggle between
13513 the foreground and background. Add code to remove the splash after
13514 its initial showing.
13516 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13517 (create_forms): no longer call Dialogs::showSplash.
13519 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13521 * .cvsignore: add version_info.h
13523 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13525 * version_info.h.in: new file
13527 * Makefile.am: add version_info.h.in
13529 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13530 version_info.h instead of VERSION_INFO
13532 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13534 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13535 The ERT inset now returns string().
13537 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13539 * lyxtext.h, text.C (selectNextWord): renamed as
13540 selectNextWordToSpellcheck.
13542 * text.C (selectNextWordToSpellcheck): Modified to not select
13543 words inside an ERT inset.
13545 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13547 * lyx_cb.C (MenuLayoutSave): change a bit the question
13549 * sp_base.h: include <sys/types.h>
13551 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13553 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13555 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13557 * several files: fix typos in user-visible strings
13559 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13561 * text2.C (pasteSelection): do not set the selection, since it
13562 will be cleared later. Actually, the intent was to fix the way the
13563 selection was set, but I figured rmoving the code was just as good.
13565 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13567 * FontLoader.C (available): Check if font is available without
13570 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13572 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13574 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13576 * lyxrc.[Ch]: added display_graphics variable and associated code.
13578 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13580 * bufferparams.C (hasClassDefaults): new method. Returns true if
13581 the buffer parameters correspond to known class defaults
13583 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13585 * XFormsView.C (show): set minimum size to the main window.
13587 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13589 * text2.C (copySelection):
13591 * lyxfind.C (LyXReplace):
13592 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13593 LyXText::selectionAsString.
13595 * paragraph.C (asString): add "label" argument to the second form
13597 * text2.C (selectionAsString): add "label" argument and pass it to
13598 Paragraph::asString.
13600 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13602 * lyx_main.C (commandLineHelp): remove version information
13604 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13606 * lyx_main.C: add -version commandline option
13608 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13610 * paragraph.h: make the optional constructor arg required instead.
13611 some modifications to other files because of this.
13613 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13615 * lyxserver.C (C_LyXComm_callback): make it static
13617 * lyx_main.C (error_handler): make it static
13619 * lyx_gui.C (LyX_XErrHandler): make it static
13621 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13623 * WorkArea.C: make the extern "C" methods static.
13625 * Makefile.am (lyx_LDADD): simplify
13627 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13629 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13630 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13632 * LyXAction.C (init):
13633 * lyxfunc.C (dispatch): associated code removal.
13635 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13637 * lyxfont.h (isSymbolFont): shut off warning
13639 * text.C (setHeightOfRow):
13640 (getVisibleRow): fix crash with empty paragraphs which have a
13643 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13645 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13648 2001-09-04 José Matos <jamatos@fep.up.pt>
13651 * tabular.C (docbook): rename docBook method to docbook.
13653 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13655 * Makefile.am: add dependencies to main.o.
13657 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13659 * FontLoader.C (available): Return false if !lyxrc.use_gui
13661 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13663 * FontInfo.C (query):
13664 * converter.C (view):
13665 * importer.C (Import):
13666 * exporter.C (Export): Can not -> cannot.
13668 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13670 * BufferView_pimpl.C: allow to create index inset even if
13673 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13675 * buffer.C (getLists): replace boost::tie code with an explicit pair
13676 as boost::tie can break some compilers.
13678 * iterators.h: Added a std:: declaration to the return type of
13681 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13683 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13686 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13688 * iterators.[Ch]: New files. Provide paragraph iterators.
13690 * buffer.C (changeLanguage): Use paragraph iterators.
13691 (isMultiLingual): ditto
13693 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13695 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13697 * FontLoader.C: Support for cmr font.
13699 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13701 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13702 (available): New method.
13704 * FontInfo.C (getFontname): Use scalable fonts even when
13705 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13708 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13710 * converter.C (Formats::view): reverted! Incorrect fix.
13712 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13714 * converter.C (Formats::view): only output the -paper option
13715 if the dvi viewer is xdvi, thereby fixing bug #233429.
13717 2001-08-23 Herbert Voss <voss@perce>
13719 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13721 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13723 * Spacing.h (Spacing): Set space to Default on in the default
13726 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13728 * vc-backend.h (RCS::versionString): add RCS to version
13729 (CVS::versionString): add CVS to version
13731 * vc-backend.C (scanMaster): do not add CVS to version.
13732 (scanMaster): do not add RCS to version
13734 * lyxvc.C (versionString): new method
13736 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13738 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13740 * Spacing.C (set): initialize fval
13742 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13744 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13747 2001-08-16 Juergen Vigna <jug@sad.it>
13749 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13751 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13753 * BufferView_pimpl.C:
13756 * text2.C: setParagraph takes linespacing now
13758 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13760 * LyxAction.C: add internal LFUN_CITATION_INSERT
13762 * LyXView.C: actually apply fix
13764 * bufferlist.C: fix open non-existent file
13766 * lyxfind.C: fix indentation
13768 * lyxfunc.C: remove unneeded assert, fix typo
13770 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13772 * MenuBackend.C: use "Floatname List"
13774 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13776 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13777 when converting LaTeX layout to insetERT.
13778 Generate a non-collapsed float when reading old float
13780 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13782 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13785 2001-08-13 Juergen Vigna <jug@sad.it>
13787 * text.C (fill): return 0 instead of 20 as this seems to be the more
13790 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13792 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13795 2001-08-13 Juergen Vigna <jug@sad.it>
13797 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13799 (SearchBackward): comment out the unlocking of the inset_owner this
13800 should not be needed!
13802 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13804 * Many files: Remove inherit_language, and add latex_language
13806 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13807 collapsible insets.
13809 2001-08-10 Juergen Vigna <jug@sad.it>
13811 * text.C (prepareToPrint): fixed hfill-width in draw!
13813 * BufferView2.C (selectLastWord): save the selection cursor as this
13814 now is cleared in the function LyXText::clearSelection!
13816 2001-08-08 Juergen Vigna <jug@sad.it>
13818 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13819 BACKSPACE type functions.
13821 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13822 is only cutted from the document but not put in the cut-buffer, where
13823 still the old stuff should be.
13825 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13827 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13829 * tabular.C (SetWidthOfCell): fixed special case where the width
13831 (LeftLine): handle '|' in align_special.
13833 (LeftAlreadyDrawed): ditto
13834 (SetWidthOfCell): ditto
13836 2001-08-07 Juergen Vigna <jug@sad.it>
13838 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13840 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13842 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13843 * lyxlex.[hC]: ditto
13845 2001-08-06 Juergen Vigna <jug@sad.it>
13847 * text.C (getVisibleRow): fix up row clearing a bit.
13849 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13851 * minibuffer.C: make sure the X server sees the changes in the input.
13853 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13855 * paragraph.C (getFont): split into...
13856 (getLabelFont): this
13857 (getLayoutFont): and this
13858 * paragraph_pimpl.C (realizeFont): calling this
13860 * text2.C (getFont): split into...
13861 (getLayoutFont): this
13862 (getLabelFont): and this
13863 (realizeFont): all three calling this
13865 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13868 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13870 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13872 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13874 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13875 layouts from the Quote inset insertion.
13877 2001-08-03 Juergen Vigna <jug@sad.it>
13879 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13881 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13882 only if status not is already CHANGED_IN_DRAW (second level).
13884 * text.C (draw): don't set the need_break_row when inside an
13887 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13889 * buffer.C (parseSingleLyXformat2Token): handle more latex
13892 * bufferview_funcs.[hC]: change function names to
13893 begin with small char, adjust other files.
13895 2001-08-02 André Pönitz <poenitz@gmx.net>
13898 BufferView_pimpl.C: remove broken special code for math-greek
13900 2001-08-02 Juergen Vigna <jug@sad.it>
13902 * BufferView_pimpl.C (update): redone this function so that we
13903 update the text again if there was a CHANGE_IN_DRAW.
13905 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13906 (drawFromTo): added a new internal bool which is used by draw() and
13908 (general): some cursor drawing problems fixed.
13910 2001-08-01 Juergen Vigna <jug@sad.it>
13912 * lyxfind.C (LyXFind): fixed
13913 (SearchForward): ditto
13914 (SearchBackward): ditto
13916 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13917 spurius drawing of the cursor in the main area.
13919 * text2.C (status): small fix which could lead to a segfault!
13920 (clearSelection): remove unneeded BufferView param.
13922 2001-08-01 André Pönitz <poenitz@gmx.net>
13924 * lyxfunc.C: small change due to changed mathed interface
13926 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13928 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13930 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13932 * lyxfunc.c: fail gracefully if file doesn't exist
13937 * BufferView_pimpl.C: IsDirWriteable() proto changed
13939 * LyXView.C: fix updateWindowTitle() to store the last title
13941 2001-07-31 Juergen Vigna <jug@sad.it>
13943 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13944 the font (wrong since using of Paragraph::highestFontInRange).
13946 * paragraph.C (highestFontInRange): added a default_size parameter.
13948 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13949 (setHeightOfRow): reformat
13951 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13953 * converter.[hC] + affected files: move to (inital-char)lowercase
13956 * ParagraphParameters.C (ParagraphParameters): remove commented code
13958 * PainterBase.[Ch]: remove commented code
13960 * LaTeXFeatures.h: add "bool floats" for float.sty
13962 * LaTeXFeatures.C (LaTeXFeatures): init floats
13963 (require): handle float
13964 (getPackages): do it with floats
13966 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13968 * BufferView_pimpl.C (Dispatch): improve handling of
13969 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13971 * commandtags.h: #include lyxfont.h here temporarily to avoid
13974 * bufferlist.h: include LString.h here.
13976 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13978 * text2.C (getStringToIndex): new method.
13980 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13982 * *: Reduced header file dependencies all over.
13984 2001-07-30 Baruch Even <baruch@lyx.org>
13986 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13988 2001-07-29 Baruch Even <baruch@lyx.org>
13990 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13992 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13994 * ParameterStruct.h (endif): add a default constructor to make
13995 sure that all variables is initialized.
13997 * ParagraphParameters.C (ParagraphParameters): adjust
13999 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14001 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14002 index; also, check that there is something to index, and that it
14003 does not span over several paragraphs.
14004 (doubleClick): use WHOLE_WORD_STRICT for double click.
14006 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14008 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14011 2001-07-26 Baruch Even <baruch@lyx.org>
14013 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14014 an InsetFig figure, backwards compatible reading of old figure code.
14016 2001-07-27 Juergen Vigna <jug@sad.it>
14018 * text2.C: font.realize function adaption.
14020 * text.C (draw): add a warnings lyxerr text if needed.
14022 * layout.C: font.realize function adaption.
14024 * language.C: add inherit_language and implement it's handlings
14026 * bufferview_funcs.C (StyleReset): remove language parameter from
14027 font creation (should be language_inherit now).
14029 * bufferparams.C (writeFile): handle ignore_language.
14031 * paragraph.C (getFontSettings): the language has to be resolved
14032 otherwise we have problems in LyXFont!
14034 * lyxfont.C (lyxWriteChanges): added document_language parameter
14035 (update): removed unneeded language parameter
14037 * paragraph.C (validate): fixed wrong output of color-package when
14038 using interface colors for certain fonts in certain environments,
14039 which should not seen as that on the final output.
14041 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14043 * BufferView_pimpl.C:
14048 * LyXAction.C: add thesaurus support
14051 * lyxfind.C: add "once" parameter, for thesaurus, to not
14052 move to the next match
14054 2001-07-26 Juergen Vigna <jug@sad.it>
14056 * lyxfont.C (realize): honor ignore_language too!
14059 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14061 * text.C (draw): one place more for ignore_language to not draw
14064 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14066 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14068 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14070 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14071 the minipage conversion problem.
14073 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14075 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14078 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14080 * BufferView.h: don't forward declare WorkArea
14082 * BufferView.C: don't include WorkArea.h
14084 2001-07-25 André Pönitz <poenitz@gmx.net>
14088 * lyxfunc.C: new LFUN 'math-space'
14090 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14092 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14094 * text2.C (toggleInset): call open/close
14096 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14098 * lyxfunc.C (dispatch): add debug for the disabled case
14100 * font.C (buttonText): make similar to rectText
14102 * buffer.C (readInset): comment out parsing of insetlist and
14105 * PainterBase.C (rectText): small correction
14107 * BufferView_pimpl.C: comment out insettheorem and insetlist
14108 * LyXAction.C: ditto
14109 * commandtags.h: ditto
14111 2001-07-24 Juergen Vigna <jug@sad.it>
14113 * text.C (draw): honor the ignore_language.
14115 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14117 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14119 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14122 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14124 * lyxtext.h: remove unused (and unimplemented) methods
14126 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14128 * text.C (getVisibleRow): honor background color
14131 * Painter.h: remove default color argument for fillRectangle
14133 * text.C (backgroundColor): new method
14135 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14137 * text.C (getVisibleRow): adjust
14139 * font.[Ch] (rectText): new method, metrics
14140 (buttonText): new method, metrics
14142 * PainterBase.[hC]: make rectText and buttonText always draw and take
14145 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14147 * ToolbarDefaults.C (read):
14148 * MenuBackend.C (read): allow escaping in all strings
14150 * BufferView_pimpl.C (insertAndEditInset): new method.
14151 (Dispatch): use insertAndEditInset whenever appropriate.
14153 * BufferView_pimpl.C (insertNote): removed
14155 * BufferView_pimpl.C (smartQuote): new method, moved from
14156 BufferView; if an insetquote cannot be inserted, insert a '"'
14159 * BufferView2.C: remove insertCorrectQuote();
14161 * lyxfunc.C (getStatus): Add support for all remaingin
14162 inset-insert lfuns.
14164 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14166 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14167 command (necessary to pass " as parameter of self-insert.
14169 * text.C (selectWordWhenUnderCursor):
14170 (selectWord): add word_location parameter
14171 (selectWordWhenUnderCursor): same + remove special code for word
14173 (selectNextWord): use kind() to guess type of insetspecialchar,
14176 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14177 (insertErtContents): create ert insets as collapsed.
14178 (readInset): better compatibility code for Info inset.
14180 2001-07-20 Juergen Vigna <jug@sad.it>
14182 * lyxfunc.C (dispatch): use always LyXFind now!
14184 * text2.C (init): add a reinit flag so that the LyXText can be
14185 reinited instead of deleted and reallocated (used in InsetText).
14187 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14193 2001-07-18 Juergen Vigna <jug@sad.it>
14195 * text.C (selectNextWord): handle insets inside inset by calling
14196 always the bv->text functions so that we can go up the_locking_inset!
14198 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14199 in strange locations when inside an inset!
14201 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14202 handling to include insets.
14204 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14206 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14208 * LyXAction.C (init):
14210 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14211 LIGATURE_BREAK, since the name is so stupid.
14213 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14215 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14218 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14220 * sp_form.[Ch]: remove.
14222 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14224 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14227 * src/buffer.C (readInset): ditto.
14229 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14231 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14232 menuSeparator(), endOfSentenceDot(), ldots() and
14233 hyphenationPoint(), which are therefore removed.
14234 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14236 * LyXAction.C (init):
14237 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14239 * paragraph.C (getWord): removed.
14241 * BufferView_pimpl.C (Dispatch): use last word or selection for
14242 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14244 * lyx_main.C (queryUserLyXDir): do not ask before creating
14245 user_dir, except if it has been named explicitely.
14247 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14249 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14250 a document of zero size.
14252 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14254 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14255 approriately in the c-tor and in require().
14256 (getPackages): output the appropriate LaTeX for natbib support.
14258 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14259 variables "use_natbib" and "use_numerical_citations" when reading the
14261 (readInset): read the various natbib cite commands.
14262 (validate): white-space change.
14264 * bufferparams.[Ch]: new variables "bool use_natbib" and
14265 "bool use_numerical_citations".
14266 (writeFile): output them in the LyX file.
14268 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14270 * lyxfunc.C (getStatus): add support for all the inset insertion
14273 * text2.C (insertInset):
14274 * paragraph.C (insetAllowed):
14275 * BufferView_pimpl.C (insertInset): update to take in account the
14276 renaming of insertInsetAllowed
14278 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14280 * text2.C (getInset): new method. returns inset at cursor position.
14282 * BufferView_pimpl.C (Dispatch): changes because of this.
14284 * LyXAction.C (init): rename open-stuff to inset-toggle.
14286 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14288 * text2.C (toggleInset): renamed from openStuff; use
14291 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14293 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14295 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14297 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14299 * buffer.C (readLyXformat2): Add filename to the error dialog
14301 2001-07-18 Juergen Vigna <jug@sad.it>
14303 * tabular.C (GetCellNumber): put an assert here instead of the check!
14305 2001-07-17 Juergen Vigna <jug@sad.it>
14307 * BufferView_pimpl.C (toggleSelection): adapted too.
14309 * text.C (selectNextWord): adapted for use with insets.
14310 (selectSelectedWord): ditto
14312 2001-07-17 Juergen Vigna <jug@sad.it>
14314 * sp_spell.C (PSpell): fix initialitation order.
14316 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14318 * paragraph.C: spacing
14320 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14322 * sp_spell.C: repair language selection for pspell
14324 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14326 * lyxfunc.h: change more methods to begin with lower char.
14328 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14330 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14331 for unknown layouts.
14333 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14335 * buffer.C (readLyXformat2): Generate an error dialog if there are
14338 2001-07-16 Juergen Vigna <jug@sad.it>
14340 * sp_spell.C: always compile ISpell part.
14342 * lyxrc.C: added use_pspell entry and it's handling.
14344 2001-07-13 Juergen Vigna <jug@sad.it>
14346 * sp_spell.C: removed double includes.
14348 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14350 Consistent use of Lsstream.h:
14351 * Lsstream.h: added using std::stringstream for consistencies sake.
14353 * buffer.C: removed using std::stringstream
14355 * lyxfont.C (stateText):
14356 * paragraph.C (asString):
14357 * text.C (selectNextWord, selectSelectedWord):
14358 * text2.C (setCounter):
14359 * vspace.C (asString, asLatexString):
14360 std::ostringstream -> ostringstream.
14362 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14364 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14365 * commandtags.h: add LFUN_HELP_ABOUTLYX
14366 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14368 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14370 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14372 * lyx_gui_misc.C: remove spellchecker
14373 * lyxfunc.C: showSpellchecker
14375 * sp_ispell.h: added
14376 * sp_pspell.h: added
14377 * sp_spell.C: added
14378 * sp_form.[Ch]: removed
14379 * spellchecker.[Ch]: removed
14381 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14383 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14385 (simpleTeXSpecialChars): Simply print the input character without
14386 any special translation if pass_thru is set.
14388 * layout.h: Added bool pass_thru to layout class for being able to
14389 implement pass through of a paragraph for Literate Programming.
14391 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14392 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14393 * layout.C (Read): add "passthru" to list of layout tags and add
14394 code to set the pass_thru boolean when it is read.
14396 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14398 * trans_decl.h: remove allowed from KmodInfo
14400 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14401 remove allowed code
14404 * paragraph_pimpl.C (erase): use boost::prior
14406 * Painter.C (text): use data() instead of c_str() when length is
14408 * WorkArea.C (putClipboard): ditto
14409 * font.h (width): ditto
14411 * BufferView2.C: use it-> instead of (*it). for iterators
14413 * paragraph_pimpl.C: ditto
14414 * paragraph.C: ditto
14415 * minibuffer.C: ditto
14416 * language.C: ditto
14418 * encoding.C: ditto
14419 * counters.C: ditto
14420 * converter.C: ditto
14422 * Variables.C: ditto
14423 * TextCache.C: ditto
14424 * MenuBackend.C: ditto
14425 * LyXAction.C: ditto
14427 * FloatList.C: ditto
14428 * DepTable.C: ditto
14429 * ColorHandler.C (LyXColorHandler): ditto
14431 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14433 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14435 * text2.C (openStuff): reintroduce this method (which had been
14436 nuked in NEW_INSETS frenzy).
14438 * lyxfunc.C (Dispatch): when an action has not been handled, use
14439 its name in the error message, not its number.
14441 * paragraph.C (inInset): change method name to begin with lowercase.
14444 * text2.C: updates because of this.
14446 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14448 * ToolbarDefaults.C (add): add spaces in error message
14450 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14452 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14453 (readLyXformat2): rename return_par to first_par, use lyxlex's
14454 pushToken and remove the manual push handling.
14455 (parseSingleLyXformat2Token): add another ert comp. variable:
14456 in_tabular, rename return_par to first_par. handle newlines better
14458 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14460 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14462 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14464 * text2.C (getParFromID): removed
14466 * buffer.C (getParFromID): new method moved form lyxtext.
14467 * BufferView2.C (insertErrors): adjust
14468 (setCursorFromRow): adjust
14469 * BufferView_pimpl.C (restorePosition): adjust
14470 * lyxfunc.C (Dispatch): adjust
14471 * undo_funcs.C (textUndo): adjust
14473 (textHandleUndo): adjust
14474 (textHandleUndo): adjust
14476 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14478 * buffer.C: up' the LYX_FORMAT
14480 * lyxfont.h: turn NO_LATEX on as default
14482 * buffer.C (insertErtContents): new methods of tex style compability.
14483 (parseSingleLyXformat2Token): use it several places.
14484 * tabular.C (OldFormatRead): and here
14486 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14488 * text2.C: remove some commented code.
14491 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14492 * trans.C: changes because of the above.
14494 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14496 * text2.C (setCounter): Fix counters bug with bibliography layout.
14498 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14500 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14501 own member functions
14502 (simpleTeXSpecialChars): ditto
14504 2001-07-06 Juergen Vigna <jug@sad.it>
14506 * a lot of files: changed the access to LyXText::status and the
14507 call of undo-functions.
14509 * undo.[Ch]: added a inset_id to the undo informations.
14511 * undo_funcs.[Ch]: added and moved here all undo functions.
14513 * lyxtext.h: give the status enum a weight, made status_ a private
14514 variable and made accessor functions for it, removed the whole bunch
14515 of undo-functions as they are now in their own file, make some
14516 functions publically available. Added function ownerParagraph with
14519 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14520 made InInset() a const function, added getParFromID() function.
14522 * buffer.[Ch]: added const version for inset_iterator functions,
14523 added getInsetFromID() function.
14525 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14526 changed undo functions for new version.
14528 2001-07-05 Juergen Vigna <jug@sad.it>
14530 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14531 unknow mechanism does not call the proper constructor but only this
14532 one also if I request the other!?
14534 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14536 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14538 * text2.C (LyXText): use initialization lists.
14540 * lyxtext.h (Selection): initialize set_ and mark_
14541 (init): remove method
14543 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14545 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14547 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14549 * screen.[Ch]: change method names to begin with lowercase
14551 * BufferView_pimpl.C (updateScrollbar): simplify further and
14552 hopefully make it a bit faster.
14554 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14556 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14557 calling directly xforms functions.
14559 * Painter.C (Painter):
14560 * lyx_cb.C (MenuWrite):
14561 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14564 * lyx_gui.C: remove bogus guiruntime extern declaration.
14566 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14568 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14570 (redoDrawingOfParagraph): ditto
14571 (redoParagraphs): ditto
14572 (cutSelection): don't create a object for CutAndPaste use the
14573 static method directly
14574 (pasteSelection): ditto
14576 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14579 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14581 * modifications to some other files because of this.
14583 * Makefile.am (lyx_SOURCES): add XFormsView
14585 * XFormsView.[Ch]: new files
14587 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14588 the main window. Move the gui dependent stuff to XFormsView
14590 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14592 * tabular.C (GetCellInset): update cur_cell also in the row/col
14593 version of this function.
14595 * lyxfunc.C: no need to include figure_form.h here.
14601 * lyxvc.C: no need to include forms.h here.
14603 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14605 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14607 * lyxfunc.C (Dispatch):
14609 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14610 constructor argument.
14612 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14614 * paragraph.C (Paragraph): dont't clear, and just set layout.
14615 (makeSameLayout): use params's copy contructor.
14617 * ParagraphParameters.[Ch] (makeSame): delete method
14619 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14621 * Variables.[Ch]: fix indentation, rename set to isSet
14623 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14625 * lyxfunc.C (Dispatch): fix typo
14627 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14629 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14632 * bufferlist.C: include assert.h for emergencyWrite().
14634 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14636 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14637 give up at last (bug #425202) !
14639 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14645 * spellchecker.C: strip spellchecker options and bring up
14646 preferences tab instead
14648 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14650 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14651 the istringstream constructor
14653 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14655 * paragraph.C (getLayout): fix return value
14657 * paragraph.h: do not declare getLayout as inline.
14659 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14661 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14663 * lyxcursor.h (operator<): new func
14664 (operator>): new func
14665 (operator>=): new func
14666 (operator<=): new func
14668 * text.C (changeCase): use selection.start and selection.end
14669 (changeRegionCase): require from to be <= to. Require par to be a
14672 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14674 2001-06-27 Juergen Vigna <jug@sad.it>
14676 * text.C (cursorLeftOneWord): changed to return the cursor and added
14677 overlay with BufferView * parameter which calls this one.
14679 (selectWord): use new getWord function.
14680 (changeCase): renamed from changeWordCase as and extended to work
14681 also on selections.
14683 * lyxtext.h: added enum word_location
14685 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14686 changeCase as this operates now also on selections.
14688 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14690 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14692 * many files: send debug output to Debug::INFO instead of
14695 * converter.C (View):
14697 (Move): send debug output to Debug::FILES instead of console.
14699 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14701 * lyxfunc.C (getStatus): use func_status
14703 * func_status.h: new header, describing the results of
14704 LyXFunc::getStatus;
14706 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14709 2001-06-25 The LyX Project <jug@sad.it>
14711 * buffer.C (sgmlOpenTag):
14713 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14715 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14717 * text2.C: remove some dead code
14719 * tabular.C (GetCellInset): store the last cell checked (gotten)
14721 * tabular.h: add the helper for the speedup
14723 * lyxtext.h: remove some dead code
14725 2001-06-26 The LyX Project <Asger>
14727 * paragraph.C: Change export to LaTeX of alignment to
14728 \begin{center} and family for better roundtrip work with reLyX.
14730 * Tune the math drawing a bit.
14732 2001-06-25 The LyX Project <Asger>
14734 * LColor.C (LColor): New color for math background. New color
14737 2001-06-25 The LyX Project <jug@sad.it>
14739 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14741 * lyxfunc.C (Open):
14742 * bufferlist.C (newFile): do not restrict to files ending with
14745 * BufferView_pimpl.C (MenuInsertLyXFile):
14747 2001-06-24 The LyX Project <jug@sad.it>
14749 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14752 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14754 * lyxtext.h: rename most methods to begin with a small char.
14755 Lots of changes because of this.
14757 * paragraph.C (Paragraph): do not call fitToSize
14758 (erase): call Pimpl::erase
14759 (insertChar): call Pimpl::insertChar
14760 (insertInset): call Pipl::insertInset
14761 (breakParagraph): do not call fitToSize
14762 (breakParagraphConservative): do not call fitToSize
14763 (fitToSize): remove method
14765 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14767 2001-06-24 The LyX Project <Asger>
14769 * Fix Qt compilation^2
14771 2001-06-24 The LyX Project <jug@sad.it>
14773 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14774 depthHook(getDepth()-1).
14777 * ParagraphParameters.h:
14778 * ParameterStruct.h: change type of depth to unsigned int ==
14779 depth_type. Many adaptations to other files before of that.
14781 2001-06-24 The LyX Project <Asger>
14783 * Fix Qt compilation.
14785 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14787 * paragraph.h: renamed several methods to begin with small letter.
14788 several changes to many parts of the code because of this.
14790 2001-06-23 The LyX Project <jug@sad.it>
14792 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14793 rewritten to discard all double spaces when KeepEmpty is off
14794 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14795 to only handle newlines but not fiddle with spaces and friends.
14797 * lyxfunc.C (MenuNew): when doing 'new from template', use
14798 template_path as default directory
14800 2001-06-23 The LyX Project <Asger>
14802 * Clean-up of header file includes all over
14803 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14805 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14807 * paragraph.h: renamed from lyxparagraph.h
14809 2001-06-23 Asger <lyx@violet.home.sad.it>
14811 * Buffer.h: Removed Buffer::resize
14812 * BufferList.h: Removed BufferList::resize
14813 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14814 the document lazily when we change the width, or the font settings.
14816 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14818 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14820 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14822 * buffer.h: remove out of date comment
14824 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14827 * screen.C: fix "theoretical" GC leak
14829 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14831 * LaTeX.C (scanAuxFile):
14832 (deplog): remove trailing \r when reading stream (useful under
14835 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14837 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14838 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14839 and BufferView::theLockingInset(Inset*), so should use them and not
14840 access bv_->text->the_locking_inset directly.
14842 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14844 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14847 * tex-defs.h: remove old unused file
14849 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14851 * BufferView_pimpl.C: fix typo, remove minibuffer message
14852 when buffer has loaded
14854 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14856 * lyxfunc.C (Dispatch): use stringstream
14857 (MenuNew): use stringstream
14858 (Open): use stringstream
14860 * importer.C (Import): use stringstream
14862 * bufferview_funcs.C (CurrentState): use stringstream
14864 * LaTeX.C (run): use stringstream
14866 * BufferView_pimpl.C (savePosition): use stringstream
14867 (restorePosition): use stringstream
14868 (MenuInsertLyXFile): use stringstream
14870 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14883 * vspace.C: removed // -*- C++ -*- as first line.
14886 * version.h: added // -*- C++ -*- as first line.
14888 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14890 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14892 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14895 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14897 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14900 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14902 * gettext.C: include LString.h even when --disable-nls is on.
14904 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14906 * converter.h (Get): changed argument type from int to
14907 FormatList::size_type to avoid unnecessary conversion.
14909 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14912 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14914 * gettext.h: include LString.h even when --disable-nls is on.
14916 2001-06-07 Juergen Vigna <jug@sad.it>
14918 * text.C (BreakAgain): subst spaces with tabs.
14920 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14921 (resizeInsetsLyXText): set force on resizeLyXText.
14923 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14925 * gettext.h (gettext_init):
14926 (locale_init): use a real definition instead of a macro
14928 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14930 * Bufferview_pimpl.C:
14932 * LColor.C: further lcolor tidies
14934 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14936 * BufferView_pimpl.C (updateScrollbar): simplify.
14938 * BufferView2.C: don't include insets/insetinfo.h, change
14939 prototype for insertInset and call the Pimpl version. let
14940 updateInset call Pimpl version.
14942 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14943 gotoInset to BufferView::Pimpl
14945 2001-06-01 Juergen Vigna <jug@sad.it>
14947 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14948 inside a LockingInset (is the update needed at all?).
14950 2001-05-31 Juergen Vigna <jug@sad.it>
14952 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14953 here not the old one otherwise how should we compare it afterwards
14956 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14961 * FontInfo.C: bring C functions into global namespace when
14964 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14966 * LString.h: make sure config.h has been loaded before LString.h.
14968 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14969 (one for each char read by EatLine!).
14971 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14974 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14976 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14977 to the same as the par we break from
14979 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14981 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14983 * MenuBackend.C (expand): also create menu entries for wide
14984 versions of the floats.
14986 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14988 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14990 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14991 frontends/Makefile.am
14997 * tabular.C (getTokenValue): add std::
14999 * tabular-old.C (getTokenValue): add std::
15000 (getTokenValue): ditto
15001 (getTokenValue): ditto
15003 * screen.C (ToggleSelection): adjust
15005 * lyxtext.h: put selection cursors inside a Selection struct.
15007 * lyxfunc.C (moveCursorUpdate): adjust
15009 * lyxfont.C (latexWriteStartChanges): add std::
15011 * lyxfind.C: adjust
15013 * font.h: delete with(char const *, LyXFont const &)
15015 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15017 * FontInfo.C (getFontname): add std::
15019 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15020 (workAreaButtonPress): adjust
15021 (tripleClick): adjust
15023 (moveCursorUpdate): adjust
15026 * BufferView2.C (gotoInset): adjust
15028 2001-05-30 Juergen Vigna <jug@sad.it>
15030 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15031 to check pspell I add this as default as I now have new pspell
15032 libraries and they seem to use this.
15034 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15036 * text2.C (CutSelection): make the cursor valid before the call to
15039 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15041 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15042 relied on 0 terminated strings and other horrors. Bug found due to
15043 the new assert in lyxstring!
15045 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15048 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15050 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15053 * lyxfunc.C (processKeySym): change method of getting to the
15056 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15057 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15058 * BufferView_pimpl.[Ch]: here as private methods.
15060 2001-05-28 Juergen Vigna <jug@sad.it>
15062 * text.C (SetHeightOfRow): added the update() call again as it is
15063 needed to initialize inset dimensions!
15065 2001-05-16 Juergen Vigna <jug@sad.it>
15067 * text2.C (SetCharFont): Add new function with BufferView * and
15068 bool toggleall parameters for setting insets internal fonts.
15069 (SetFont): Freeze the undo as we may change fonts in Insets and
15070 all this change should be inside only one Undo!
15072 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15073 setting font's in insets as for them we have the SetFont function!
15075 2001-05-15 Juergen Vigna <jug@sad.it>
15077 * text2.C (ClearSelection): to be sure we REALLY don't have any
15080 * tabular.C (TeXCellPreamble): fixed the left border problem for
15083 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15085 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15088 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15090 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15091 LFUN_BREAKPARAGRAPH.
15093 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15094 help test to "internal only", similar for LFUN_INSERT_URL
15096 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15097 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15098 auto_region_delete and deadkeys.
15100 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15103 * LColor.C: remove some dead entries, tidy a little
15105 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15107 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15109 (Dispatch): implement LFUN_ESCAPE
15111 * commandtags.h: add LFUN_ESCAPE
15113 * LyXAction.C (init): add entry for LFUN_ESCAPE
15115 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15116 Remove commented code.
15117 (insertNote): moved here
15118 (open_new_inset): moved here
15120 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15123 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15125 * kbmap.C (findbinding): clean it up and make it work correctly.
15127 * lyx_main.C (init): do not pass argc and argv as parameters
15129 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15131 * buffer.C: fix path for OS/2 & Win32
15135 * lyx_main.C: Added os:: class.
15137 * os2_defines.h: update
15139 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15141 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15142 better by trying again with reduced state.
15144 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15146 * lyxrc.C (read): print error about invalid key sequence only when
15147 debugging (because not all latinX keysyms are known to some X
15150 * kbsequence.C (getiso): add a few std:: qualifiers
15151 (getiso): comment out extra return statement.
15153 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15155 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15157 (Dispatch): enhance the accent inset a bit. (not perfect)
15159 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15161 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15163 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15165 * bufferlist.C (emergencyWrite): fix assert() call
15167 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15169 * text.C (InsertChar): Added trivial patch to only send the "you
15170 can not do multiple spaces this way" message once during a
15173 2001-05-08 Baruch Even <baruch@lyx.org>
15175 * Makefile.am: Changed order of libraries to get LyX to link properly
15176 with the gnome frontend.
15178 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15180 * LaTeXFeatures.h: add a std:: qualifier
15182 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15184 * paragraph.C (String): use stringstream
15186 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15188 * paragraph.C (writeFile): remove footflag arg
15190 * buffer.C (makeLaTeXFile): use stringstream
15191 (latexParagraphs): remove footnot gurba
15193 * LaTeXFeatures.C (getPackages): use stringstream
15194 (getMacros): likewise
15195 (getTClassPreamble): likewise
15196 (getFloatDefinitions): new method
15198 * paragraph.C (writeFile): reindent
15201 * WorkArea.h: revert the xpos + etc changes.
15203 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15205 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15207 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15208 (pasteSelection): likewise
15209 * text2.C (CreateUndo): likewise
15211 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15213 * minibuffer.C (peek_event): temporarily reduce the functionality
15214 of the minibuffer (to allow args on lfuns)
15216 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15217 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15219 * buffer.C (readInset): add compability reading of old float
15220 lists, add reading of new style float list.
15221 (readInset): avoid reevaluation of inscmd.getCmdName()
15222 (getLists): reindent
15224 * MenuBackend.C (MenuItem): implement parsing of
15225 md_floatlistinsert and md_floatinsert.
15226 (expand::LastFiles): move initalizaton of iterators out of loop,
15227 avoid reevaluation.
15228 (expand::Documents): introduce typdedef vector<string> Strings,
15230 (expand::ExportFormats): introduce typedef vector<Format const *>
15231 Formats, and use it.
15232 (expand): implement FloatListInsert and FloatInsert.
15234 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15235 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15236 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15238 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15240 (Dispatch::LFUN_FLOAT_LIST): implement
15242 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15244 * LaTeX.C (run): Fix problem with --export code.
15246 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15248 * BufferView.[Ch] (workarea): removed.
15249 (getClipboard) new method; wrapper for workarea()->getClipboard()
15251 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15254 * WorkArea.h (width, height, xpos, ypos): These methods all
15255 returned the dimensions of the work_area sub-area of WorkArea,
15256 resulting in a position error if the WorkArea were resized. Now
15257 return the dimensions of the entire WorkArea.
15259 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15261 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15263 * LaTeX.C (deplog): correct the syntax of regex reg1
15265 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15267 * undo.C: remove !NEW_INSETS cruft
15269 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15271 * text2.C: remove !NEW_INSETS cruft
15273 * text.C: remove !NEW_INSETS cruft
15275 * tabular.C: remove !NEW_INSETS cruft
15277 * spellchecker.C: remove !NEW_INSETS cruft
15279 * lyxtext.h: remove !NEW_INSETS cruft
15281 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15283 * lyxfunc.C: remove !NEW_INSETS cruft
15285 * lyxfind.C: remove !NEW_INSETS cruft
15287 * lyx_cb.C: remove !NEW_INSETS cruft
15289 * figureForm.C: remove !NEW_INSETS cruft
15291 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15293 * buffer.[Ch]: remove !NEW_INSETS cruft
15295 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15297 * CutAndPaste.C: remove !NEW_INSETS cruft
15299 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15301 * BufferView2.C: remove !NEW_INSETS cruft
15303 * BufferView.h: remove !NEW_INSETS cruft
15305 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15307 * Lsstream.h: include LString.h before the sstream headers to
15308 fix problem with gcc 2.95.3 and lyxstring
15310 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15312 * lyx_main.C: add using directives when needed for C functions
15313 declared in std:: namespace.
15315 2001-04-27 Juergen Vigna <jug@sad.it>
15317 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15318 (SetHeightOfRow): comment out the update call should not be needed!
15320 2001-04-13 Juergen Vigna <jug@sad.it>
15322 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15323 (LyXTabular): tried to minimize operator= operations (and realized
15324 hopfully Lars wish).
15326 2001-04-27 Juergen Vigna <jug@sad.it>
15328 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15330 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15332 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15334 * buffer.C (readInset): hack to make listof algorithm work
15336 * BufferView_pimpl.C: hack to make listof algorithm work
15338 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15340 * LyXAction.C: removed all !NEW_INSETS cruft
15341 (init): moved lfun_item in method
15343 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15345 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15347 * BufferView2.C (theLockingInset): white space.
15349 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15351 * minibuffer.C: include <iostream>
15353 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15355 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15357 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15359 * text.[Ch] (TransposeChars): new method
15361 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15363 * call message directly through LyXView instead of through LyXFunc
15364 * BufferView2.C: adjust
15365 * BufferView_pimpl.C: adjust
15366 * FontLoader.C: adjust
15368 * bufferview_funcs.C: adjust
15369 * converter.C: adjust
15370 * figureForm.C: adjust
15371 * importer.C: adjust
15373 * lyx_gui_misc.C: adjust
15374 * lyxfunc.C: adjust
15377 + more files in subdirs
15379 * lyxparagraph.h (size): move up int file
15382 * adjust all uses of Assert to lyx::Assert.
15384 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15385 lyxfunctional in namespace lyx
15386 * layout.C (hasLayout): ditto
15389 (delete_layout): ditto
15390 (NumberOfClass): ditto
15391 * converter.C (GetFormat): ditto
15396 * bufferlist.C (getFileNames): ditto
15397 (emergencyWriteAll): ditto
15400 * MenuBackend.C (hasSubmenu): ditto
15403 * BufferView_pimpl.C (getInsetByCode): ditto
15405 2001-04-18 Juergen Vigna <jug@sad.it>
15407 * vspace.C (asLatexString): fixed the 100% problem.
15409 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15411 * lyxfunc.C (Dispatch):
15413 * minibuffer.h: add a few std:: qualifiers
15415 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15417 * minibuffer.[Ch]: reimplement so that commands is initiated and
15418 run from lyxfunc, simplified som handling, and made the completion
15419 and history code for complete. wip.
15421 * lyxfunc.C (processKeySym): call message
15422 (miniDispatch): new temporary method
15423 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15424 (LFUN_MESSAGE): implement
15425 (LFUN_MESSAGE_PUSH): implement
15426 (LFUN_MESSAGE_POP): implement
15427 (initMiniBuffer): the initial/defualt minibuffer message.
15429 * lyxfont.[Ch]: inline some more getters
15431 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15433 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15435 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15436 (AutoSave): use LFUN_MESSAGE
15437 (Reconfigure): ditto
15439 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15441 * figureForm.C: use LFUN_MESSAGE
15443 * converter.C (runLaTeX): use LFUN_MESSAGE
15445 * bufferview_funcs.C: use LFUN_MESSAGE
15447 (changeDepth): ditto
15449 * bufferparams.h: use boost::
15451 * bufferlist.h: inherit privately from noncopyable
15453 * bufferlist.C (loadLyXFile): remove some commented code.
15455 * buffer.C (runChktex): use LFUN_MESSAGE
15457 * ShareContainer.h: inherit privately from noncopyable
15459 * ParagraphParameters.[hC] (depth): inline it.
15461 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15463 (message): new method
15464 (messagePush): ditto
15465 (messagePop): ditto
15466 (show): init minibuffer
15467 (showState): direct call
15469 * LaTeX.[Ch]: inherit privately from noncopyable
15470 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15471 instead of WriteStatus.
15473 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15475 * BufferView_pimpl.C (buffer): don't init minibuffer
15476 (workAreaButtonPress): use LFUN_MESSAGE
15477 (workAreaButtonRelease): ditto
15478 (savePosition): ditto
15479 (restorePosition): ditto
15480 (MenuInsertLyXFile): ditto
15481 (workAreaExpose): don't init minibuffer
15482 (update): remove commented code, simplify
15484 * BufferView2.C (openStuff): use LFUN_MESSAGE
15485 (toggleFloat): ditto
15488 (copyEnvironment): ditto
15489 (pasteEnvironment): ditto
15494 (updateInset): remove some commented code
15496 * lastfiles.h: inherit privately from noncopyable
15499 * lyx_main.h: ditto
15501 * lyxlex_pimpl.h: ditto
15503 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15504 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15505 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15507 * LyXAction.h: inherit privately from noncopyable, add methods
15508 func_begin, func_end, returning iterators to the func map.
15510 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15511 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15512 (func_begin): new method
15513 (func_end): new method
15515 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15517 (copySelection): ditto
15518 (pasteSelection): ditto
15520 * BufferView.C: whitespace change
15521 * BufferView.h: inherit privately from noncopyable
15523 2001-04-16 Allan Rae <rae@lyx.org>
15525 * tabular-old.C (l_getline):
15526 * spellchecker.C (sc_check_word):
15527 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15528 an unrecognised preprocessor directive. So ensure they're wrapped.
15530 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15532 * src/exporter.C (Export): Give an error message when path to file
15535 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15537 * LaTeX.C (deplog): Always check that foundfile exists.
15539 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15542 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15544 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15546 * tabular.[Ch] (getLabelList): implement new method
15548 * minibuffer.h: comment ouf setTiimer
15550 * minibuffer.C (ExecutingCB): constify res
15551 (peek_event): constify s
15552 (Set): constify ntext
15553 (Init): constify nicename
15555 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15557 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15558 (savePosition): use two params to Minibuffer::Set
15559 (restorePosition): ditto
15561 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15563 * lyx_main.C: include language.h
15565 * Makefile.am (lyx_main.o): add language.h
15567 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15573 * CutAndPaste.C: include gettext.h
15575 * lyxfont.h: remove old hack with ON and OFF.
15578 * lyxfont.h: do not include language.h...
15583 * bufferview_funcs.C:
15589 * paragraph.C: ... but do it here instead
15591 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15593 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15595 * tabular.C: small reformat
15597 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15600 (BreakParagraph): ditto
15601 (SetOnlyLayout): ditto
15604 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15607 * lastfiles.C: removed most using decl, add std:: where needed
15609 * buffer.C: ws changes
15611 * MenuBackend.C (class compare_format): put into anon namespace
15612 (expand): constify label, names, action, action2
15615 * text.C (SingleWidth): constify font
15616 (IsBoundary): constify rtl2
15617 (GetVisibleRow): constify ww
15619 * LaTeX.C (deplog): constify logfile
15621 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15623 (workAreaExpose): constify widthChange, heightChange
15625 * lyxrow.C (par): moved
15628 * lyxrow.h: as inlines here
15630 * lyxfont.h (shape): moved from lyxfont.C
15631 (emph): moved from lyxfont.C
15633 * lyxfont.C (LyXFont): use initialization list for all
15635 (shape): move to lyxfont.h as inline
15636 (emph): move to lyxfont.h as inline
15639 2001-04-04 Juergen Vigna <jug@sad.it>
15641 * vspace.C: had to include stdio.h for use of sscanf
15643 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15646 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15647 independent of xforms.
15649 2001-04-02 Juergen Vigna <jug@sad.it>
15651 * spellchecker.C: fixed namespace placing!
15653 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15655 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15656 the LyXParagraph * is 0.
15658 2001-03-29 Juergen Vigna <jug@sad.it>
15660 * vspace.C: added support for %, c%, p%, l%.
15661 (stringFromUnit): added helper function.
15662 (asLatexString): changed to give right results for the %-values.
15664 * buffer.C: convert the widthp in a width%.
15666 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15668 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15671 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15672 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15674 * lyx_cb.[Ch]: see above.
15676 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15680 * lyx.[Ch]: replaced by figure_form.[Ch].
15684 * lyxfunc.C: changed headers associated with above changes.
15686 2001-03-27 Juergen Vigna <jug@sad.it>
15688 * BufferView_pimpl.C: set the temporary cursor right!
15690 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15692 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15694 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15696 * LString.h: removed "using std::getline"!
15698 * BufferView_pimpl.C (Dispatch): changes due to changes in
15699 InsetInclude::Params.
15701 * buffer.C (tag_name): removed redundant break statements as they were
15702 producing lots of warnings with my compiler.
15704 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15706 * LString.h: add "using std::getline" when using the real <string>.
15708 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15710 * buffer.C: removed bitset usage.
15711 PAR_TAG moved to an anonymous name space.
15712 (tag_name): new funtion, also in the anonymous namespace.
15713 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15714 (makeDocBookFile): clean code. Completed transition from string arrays
15716 (SimpleDocBookOnePar): code clean.
15718 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15720 * tabular.C: add some comments.
15722 2001-03-22 Juergen Vigna <jug@sad.it>
15724 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15725 compatibility read a bit and fixed bug with minipage in different
15728 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15730 * buffer.C (pop_tag): removed.
15731 (push_tag): removed.
15732 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15733 array replaced with vector. Added support for CDATA sections.
15734 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15736 (makeDocBookFile): XML conformant declaration of CDATA section,
15737 fixed bug related to <emphasis> in the first paragraph char.
15738 (sgmlOpenTag): exclude empty tags.
15739 (sgmlCloseTag): ditto.
15741 * buffer.h (pop_tag): removed.
15742 (push_tag): removed.
15744 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15746 * language.h (Languages): added size_type and size().
15748 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15750 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15751 response on compability reading of minipages. One probliem is that
15752 the old usage of minipages was «flertydig»
15754 * several files here and in subdirs: don't use static at file
15755 scope use anon namespaces instead.
15757 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15759 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15760 LaTeX output. This is necessary for Literate document
15763 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15765 * buffer.C: insert hfill when needed.
15767 * tabular.C (l_getline): use string::erase, small whitespace change.
15769 * BufferView_pimpl.C: try the anon namespace.
15770 * WorkArea.C: ditto
15772 2001-03-16 Juergen Vigna <jug@sad.it>
15774 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15775 otherwise it won't open options-dialogs.
15777 * buffer.C: honor pextraWidth(p) on converting minipages.
15779 * tabular.C (l_getline): changed the functions to strip trailing \r.
15781 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15783 * BufferView_pimpl.C:
15784 * minibuffer..C: added "using SigC::slot" declaration.
15786 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15788 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15794 * paragraph.C: ditto
15796 * lyxtext.h: NO_PEXTRA
15798 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15800 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15801 * ParameterStruct.h: ditto
15802 * ParagraphParameters.h: ditto
15803 * lyxparagraph.h: ditto
15805 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15807 * buffer.C: add compability for minipage alignment.
15808 (latexParagraphs): remove unwanted pextra check.
15810 * several files: remove CXX_WORKING_NAMESPACES
15812 * buffer.C (pop_tag): tie is in namespace boost
15814 * BufferView.h: noncopyable is in namespace boost
15816 * lyx_main.h: ditto
15819 * lastfiles.h: ditto
15820 * bufferlist.h: ditto
15821 * ShareContainer.h: ditto
15823 * LyXAction.h: ditto
15826 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15828 * Merging changes from BRANCH_MVC back into HEAD.
15830 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15832 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15834 * BufferView_pimpl.C: change from intl.C
15838 * Makefile.am: move combox.*
15844 * intl.C: remove dialog (covered by prefs)
15846 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15848 * lyxfunc.C (Dispatch): removed redundant break statement.
15850 2001-03-14 Juergen Vigna <jug@sad.it>
15852 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15854 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15856 * buffer.C: add hack to fix compability reading of minipages.
15858 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15860 * buffer.C (getLists): Cleanup.
15862 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15864 * lyxfont.C (update): don't honor toggleall on font size.
15866 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15870 * Makefile.am: moved to frontends/xforms/
15874 * BufferView_pimpl.C: changes for moved mathpanel
15876 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15878 * gettext.h: fix gettext_init() in --disable-nls
15880 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15882 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15884 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15887 * lyx.h: strip external form
15889 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15891 * BufferView_pimpl.C: add comment, destroySplash()
15893 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15895 * BufferView_pimpl.C:
15899 * lyxfunc.C: use re-worked insetinclude
15901 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15903 * buffer.C: add using std::stringstream.
15905 * lyx_cb.C: readd using std::ios.
15907 * buffer.C: add using std::map.
15909 * BufferView_pimpl.C: add using std::vector.
15911 * ShareContainer.h: add std:: to swap.
15913 * buffer.h: add some typedefs
15914 * buffer.C (getLists): use them
15915 (getLists): renamed from getTocList.
15916 add a counter for the different float types and use it in the
15918 (getLists): use the same counter for the NEW_INSETS and the "non"
15921 * lyx_cb.h: remove unused items, includes, using etc.
15923 * ShareContainer.h: remove some commented code, add more comments
15924 and "documentation".
15926 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15928 * buffer.C (getTocList): make the list also when NEW_INSETS is
15931 * buffer.h: remove TocType
15933 * buffer.C (getTocList): change to return a map<string,
15934 vector<TocItem> >, implement for dynamic number of list.
15936 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15937 * text2.C (PasteSelection): adjust
15938 * CutAndPaste.C (pasteSelection): adjust
15940 * FloatList.C (FloatList): update from the new_insets branch.
15941 * Floating.[Ch]: ditto
15942 * LaTeXFeatures.C: ditto
15944 * lyxlex_pimpl.C: ditto
15946 * paragraph.C (Last): remove when NEW_INSETS is defined.
15948 * other file: changes because of the above.
15950 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15952 * lyxparagraph.h: rename next to next_, previous to previous_,
15953 make them private for NEW_INSETS. Rename Next() to next(),
15954 Previous() to previous().
15956 * other files: changes because of the above.
15958 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15961 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15964 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15966 * main.C (main): pass lyx_localedir to gettext_init().
15968 * gettext.h: remove locale_init and gettext_init macros
15970 * gettext.C (locale_init): new function
15971 (gettext_init): new function
15973 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15976 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15978 * Moved credits to frontends:
15979 * credits.[Ch]: removed
15980 * credits_form.[Ch]: removed
15981 * lyx_gui_misc.C: remove credits stuff
15984 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15986 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15988 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15989 unneeded destructor.
15991 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15992 a standalone pointer again.
15994 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15996 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16002 * ToolbarDefaults.C:
16011 * BufferView_pimpl.C: use new file dialog in GUII
16014 * lyx_cb.C: remove LayoutsCB to Toolbar
16016 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16018 * ShareContainer.h (get): add std:: qualifier
16020 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16022 * ShareContainer.h: define a proper ShareContainer::value_type
16023 type (and use typename to please compaq cxx)
16025 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16027 * lyxparagraph.h: move serveral local vars to
16028 ParameterStruct/ParagraphParameters., use ShareContainer in
16029 FontTable., make vars in FontTable private and add getter and
16032 * paragraph.C: changes because of the above.
16034 * lyxfont.h: remove copy constructor and copy assignment. (the
16035 default ones is ok), move number inside FontBits. move inlines to
16038 * lyxfont.C: add number to initializaton of statics, move several
16039 inlines here. constify several local vars. some whitespace
16040 cleanup. Dont hide outerscope variables.
16042 * Spacing.h: add two new constructors to match the set methods.
16044 * ShareContainer.h: new file, will perhaps be moved to support
16046 * ParameterStruct.h: new file
16048 * ParagraphParameters.h: new file
16050 * ParagraphParameters.C: new file
16052 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16053 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16055 * BufferView_pimpl.C: ParagraphParameter changes.
16056 * buffer.C: Likewise.
16057 * bufferview_funcs.C: Likewise.
16058 * text.C: Likewise.
16059 * text2.C: Likewise.
16061 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16063 * lyxfind.C (LyXReplace): do not redefine default argument in
16065 (IsStringInText): ditto
16066 (SearchForward): ditto
16067 (SearchBackward): ditto
16069 2001-03-06 Juergen Vigna <jug@sad.it>
16071 * lyxfind.C (IsStringInText): put parentes around expressions.
16073 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16075 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16077 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16079 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16081 * stl_string_fwd.h: add comment
16083 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16086 * tabular.C: remove unused DocBook methods
16092 killed DO_USE_DEFAULT_LANGUAGE
16094 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16096 * lyx_gui.C: do not include language.h.
16098 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16099 arguments in function implementation.
16101 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16103 * BufferView_pimpl.C: add <ctime>
16105 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16107 * BufferView_pimpl.C: add using std::find_if
16109 2001-02-27 José Matos <jamatos@fep.up.pt>
16111 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16114 2001-02-11 José Matos <jamatos@fep.up.pt>
16116 * buffer.C (makeDocBookFile): command styles now have a parameter as
16117 "title" by default.
16119 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16121 * layout_forms.[Ch]: removed
16122 * lyx_cb.[Ch]: out character
16123 * lyx_gui.C: out character
16124 * lyx_gui_misc.C: out character
16125 * bufferview_funcs.C: : out character,
16126 added toggleall as parameter in ToggleAndShow
16128 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16130 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16132 * text2.C (SetCurrentFont): Disable number property at boundary.
16134 2001-02-26 Juergen Vigna <jug@sad.it>
16136 * lyxfunc.C (getStatus): added a string argument override function so
16137 that this is correctly called from LyXFunc::Dispatch if it contains a
16138 do_not_use_argument which is used!
16139 (Dispatch): added check for "custom" export and call appropriate func.
16141 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16143 * lyxrc.C: Add language_command_local, language_use_babel and
16144 language_global_options.
16146 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16148 * buffer.C (makeLaTeXFile): Use language_use_babel and
16149 language_global_options.
16151 2001-02-23 Juergen Vigna <jug@sad.it>
16153 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16154 which works with LyXText and putted it inside BufferView. Here now we
16155 only call for that part the BufferView::Dispatch() function.
16157 * BufferView.C (Dispatch): added.
16159 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16160 functions which needs to use a LyXText over from LyXFunc.
16161 (MenuInsertLyXFile): added
16162 (getInsetByCode): added
16163 (moveCursorUpdate): added
16164 (static TEXT): added
16166 2001-02-22 Juergen Vigna <jug@sad.it>
16168 * BufferView_pimpl.C (update): call a status update to see if LyXText
16171 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16173 * vc-backend.C (revert): implement for CVS
16174 (getLog): implement for CVS
16176 2001-02-20 Juergen Vigna <jug@sad.it>
16178 * text2.C (ClearSelection): added BufferView param for inset_owner call
16180 * lyxfunc.C (TEXT): added this function and use it instead of
16181 directly owner->view()-text of getLyXText().
16183 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16185 * src/layout_forms.C: out preamble
16186 * src/layout_forms.h: out preamble
16187 * src/lyx_cb.C: out preamble
16188 * src/lyx_cb.h: out preamble
16189 * src/lyx_gui.C: out preamble
16190 * src/lyx_gui_misc.C: out preamble
16191 * src/lyxfunc.C: connect with guii preamble
16193 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16195 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16197 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16199 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16200 whether to run bibtex.
16202 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16204 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16206 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16208 * Makefile.am (lyx_SOURCES): removed bibforms.h
16210 * vspace.h: doxygen
16212 * text.C (GetVisibleRow): make several local vars const
16214 * tabular.C: small cleanup.
16216 * lyxserver.C (callback): use compare instead of strncmp
16218 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16219 inlines to after class or to paragraph.C
16221 * lyxfont.h: remove friend operator!=
16223 * converter.h: move friend bool operator< to non friend and after
16226 * combox.h: small cleanup
16228 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16229 to inlines after class def.
16231 * buffer.C (pop_tag): use string operations instead of strcmp
16233 * bmtable.c: doxygen, small cleanup
16235 * LaTeX.h: remove friend operator==
16237 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16249 * BufferView_pimpl.C:
16250 * BufferView.[Ch]: remove cruft
16252 2001-02-14 Juergen Vigna <jug@sad.it>
16254 * lyxfunc.C: removed #if 0 unused code
16256 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16258 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16260 * text2.C (SetSelection): added a BufferView * parameter
16262 2001-02-13 Juergen Vigna <jug@sad.it>
16264 * lyxfunc.C (Dispatch): fixed protected blank problem.
16265 * BufferView2.C (protectedBlank): added LyxText * parameter.
16267 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16268 (AppendColumn): same as above for column_info.
16270 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16271 (moveCursorUpdate): use a LyXText param for support of InsetText.
16273 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16274 (tripleClick): ditto
16276 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16278 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16280 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16282 * text2.C (SetSelection): set correct update status if inset_owner
16283 (ToggleFree): ditto
16285 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16287 * tabular.C: remove some commented code.
16289 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16291 * BufferView_pimpl.C: call hideSplash()
16293 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16296 * bibforms.h: remove
16299 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16300 add LFUN_CHILD_CREATE
16302 * counters.h: fix tiny typo
16307 * lyx.C: move splash to frontends/xforms/
16309 * lyx_gui_misc.C: move Include and Bibform to frontends
16311 * lyxvc.h: clarify comment
16313 * vspace.C: tiny housekeeping
16315 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16317 * text.C (PrepareToPrint): RTL Fix.
16319 * paragraph.C (GetUChar): New method.
16320 (String): Use GetUChar.
16322 * buffer.C (asciiParagraph): Use GetUChar.
16324 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16326 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16328 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16331 * buffer.C: rename to getLogName(), handle
16332 build log / latex log nicely
16334 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16337 * MenuBackend.h: remove support for reference menuitem type.
16339 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16341 * BufferView_pimpl.C: housekeeping
16342 * BufferView_pimpl.h:
16347 * minibuffer.h: move Timeout GUI-I
16349 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16351 * lyxrc.C (read): Update converters data-structures.
16353 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16355 * LaTeX.h (operator!=): add operator != for Aux_Info
16357 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16359 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16361 * LaTeXLog.C: deleted, useful code moved to Buffer
16364 * buffer.C: new function getLatexLogName()
16370 * lyxfunc.C: use frontends for LaTeX and VC logs
16372 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16374 * LaTeX.h: yet another std:: that Allan forgot.
16376 * Variables.C (set): renamed from isset(), because this clashes
16377 with some HP-UX macros (grr).
16379 2001-02-06 Allan Rae <rae@lyx.org>
16381 * LaTeX.h: Another bug fix. Missing std:: this time.
16383 2001-02-04 Allan Rae <rae@lyx.org>
16385 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16386 floats problem. I've left it commented out because it's not quite
16387 correct. It should also test that the current object is a table or
16388 figure inset. But I haven't gotten around to figuring out how to do
16389 that. I *think* it'll be something like: "table" == inset.type()
16391 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16394 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16396 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16397 all the citation/databases/styles in the auxilary file.
16398 (run): Rerun latex if there was a babel language error.
16400 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16402 * text.C (Backspace): Preserve the font when changing newline char
16404 (BreakParagraph): If the cursor is before a space, delete the space.
16406 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16408 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16410 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16411 new argument (code).
16412 (ChangeCitationsIfUnique): New method.
16414 * paragraph.C (GetPositionOfInset): Handle bibkey.
16416 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16418 * BufferView_pimpl.h: change type of Position::par_pos to
16419 LyXParagraph::size_type.
16421 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16423 * BufferView_pimpl.C (savePosition, restorePosition): Write
16424 messages to minibuffer.
16426 2001-01-28 José Matos <jamatos@fep.up.pt>
16428 * buffer.C (makeDocBookFile): adds support for document language.
16429 A silly restriction on the name of LatexCommand types where removed.
16430 Added support for CDATA sections, allows to chars unescaped, used
16431 among others in code, to avoid escape < and >.
16433 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16435 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16436 saved positions instrad of a stack. Furthermore, a position is
16437 stored using paragraph id/paragraph position.
16439 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16440 Remove LFUN_REF_BACK.
16442 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16444 * converter.C (dvipdfm_options): New method.
16446 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16448 * vspace.C (isValidLength): Fix for empty input string.
16450 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16452 * LyXAction.C (init): change description of LFUN_FIGURE to
16455 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16457 * LaTeX.C: add using directive
16459 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16461 * MenuBackend.C (expand): Fix the sorting of the formats.
16463 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16465 * lyx_main.C: tiny error message fix
16467 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16469 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16470 calling fl_initialize(). This fixes the problem with ',' as
16471 decimal separator in text files.
16473 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16475 * trans.C (process): Fix the keymap bug.
16477 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16479 * LaTeX.C (scanAuxFiles): New method. Provides support for
16480 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16481 (scanLogFile) Scan for "run BibTeX" messages.
16483 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16484 OT1 font encoding. Also, load the aecompl package if the ae
16487 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16489 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16491 * texrow.C (increasePos): turn two error messages into debug
16494 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16496 * LaTeX.C (scanAux): Handle the \@input macro.
16497 (runBibTeX): Use scanAux().
16499 * language.C (latex_options_): New field.
16501 * LaTeXFeatures.C (getMacros): Add language macros.
16503 * buffer.C (makeLaTeXFile): Small fix.
16505 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16507 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16509 * text2.C: add a using directive.
16511 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16516 * lyxfunc.C: kill LyXBell.
16518 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16520 * text.C (IsBoundary): Remove the error message
16522 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16524 * lyxrc.C (setDefaults): Correct initialization value for
16527 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16529 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16532 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16533 and GotoNextNote().
16535 * src/LyXAction.C: Added reference-next.
16537 * text.C (InsertChar): Use contains instead of strchr.
16539 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16541 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16543 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16544 alignment commands (when needed).
16546 * text.C (InsertChar): Add ':' to number separator chars.