1 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
18 * undo.C: par->pit renaming
21 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
23 * tabular.C (cellstruct): use initialization, store a shared_ptr
24 to insettext instead of the insettext directly, adjust to fit.
25 (operator=): new function
27 (rowstruct): use initialization
28 (columnstruct): use initialization
29 (ltType): use initialization
32 * lyxlength.h (swap): new function
34 * LColor.[Ch] (operator=): use the common semantics
36 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
38 * lyxfind.C (findNextChange): update the bufferview after setting
41 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
43 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
44 number of InsetOptArgs has already been inserted.
46 * output_latex.C (latexOptArgInsets): new method. This outputs all
47 the optarg insets, up to the limit defined in the layout file.
48 (optArgInset): removed
49 (TeXOnePar): call latexOptArgInsets; correctly update texrow
51 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
53 * paragraph.C (isLetter): remove special spellchecker-related
54 code; return true also for digits
55 (isWord, isKomma): remove
57 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
58 * lyxfind.C (MatchString()): use isLetter instead of isWord
60 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
62 * pariterator.h (operatir=): comment out un-implemented member
65 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
68 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
70 * lyxfont.h: include LColor.h to satisfy concept checks.
72 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
74 * pariterator.h: add typdefs for value_type, difference_type,
75 pointer and reference to satisfy concept checks. Also add default
76 constructor for same reason.
78 * pariterator.C (operator++): add post-increment operator to
79 satisfy concept checks.
81 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
84 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
86 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
87 checks. Also rename base_type to BaseType to follow naming
90 * FloatList.h: include Floating.h to satisfy concept checks.
92 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
94 * lyxfunc.C (getStatus): when the origin of the request is menu or
95 toolbar, and the LyXView does not have focus, do as if there was
98 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
99 FuncRequest to individual entries of LFUN_SEQUENCE
101 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
103 * output_latex.C (TeXOnePar): override runparams.moving_arg
104 according to the needprotect value of the current paragraph (bug
107 * paragraph.C (simpleTeXOnePar): no need to override
108 runparams.moving_args here
110 2004-11-14 John Spray <spray_john@users.sourceforge.net>
112 * vspace.C: fix off-by-one-error, related to fix #1682
114 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
116 * lengthcommon.C: a more general fix for bug 1682
118 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
120 * text.C (backspace): fix crash
122 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
124 * format.[Ch] (getFormatFromFile): new method
125 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
127 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
129 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
131 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
133 * lyxfunc.C (dispatch): remove the verbose argument
134 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
137 * kbmap.C (defkey): set the origin of func to KEYBOARD
139 * MenuBackend.C (MenuItem):
140 * ToolbarBackend.C (add): set the origin of func to UI
142 * funcrequest.[Ch]: add origin member, which indicates which part
143 of LyX requests an action
145 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
147 * converter.C (move): don't lie in the error message
148 * converter.h (isReachable, move): document
150 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
152 * buffer.C: remove unused using lyx::support::atoi
153 * paragraph_funcs.C: ditto
155 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
157 * bufferlist.C (exists): use bind and equal_to instead of
160 * lyxtextclasslist.C (NumberOfClass): ditto
162 * cursor.C (insert): use for_each instead of explicit for loop
164 * bufferlist.C (getFileNames): use std::transform and
165 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
167 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
170 * buffer.C (changeLanguage): use for_each instead of explicit for
172 (hasParWithID): implement using getParFromID
174 * LaTeXFeatures.C: ws change only
176 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
179 * BufferView_pimpl.C (trackChanges): use for_each instead of
182 2004-11-04 André Pönitz <poenitz@gmx.net>
185 * undo.C (textUndoOrRedo): fix crash when creating undo information.
187 * dociterator.C (asDocIterator): use hard assert again.
189 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
191 * lyxlength.C (asLatexString): rewrite so that it does not use
194 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * text3.C (specialChar, dispatch): make sure cursor moves to the
197 right after inserting an inset
199 2004-11-02 José Matos <jamatos@lyx.org>
201 * output_docbook.C (docbook):
202 * paragraph.C (getID):
203 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
204 garantee that the output is always legal.
206 * tabular.C (docbook):
207 * outputprams.[Ch]: remove mixed contents.
209 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
211 * text2.C (setCounter): prevent endless loop
213 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
215 * exporter.C (copyFile): use the mover instead of support::copy()
216 * exporter.C (Export): pass format and latex name to copyFile()
217 * exporter.h (addExternalFile): document
218 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
220 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
222 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
224 2004-10-30 José Matos <jamatos@lyx.org>
226 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
227 text and no inset or font change. This allows to use CDATA
228 sections just for the whole paragraph.
230 2004-10-30 José Matos <jamatos@lyx.org>
232 * paragraph.C (getFirstWord): remove unused variable.
234 2004-10-30 José Matos <jamatos@lyx.org>
236 * paragraph.C (getFirstWord): the content should always be escaped
238 (simpleDocBookOnePar):
239 * output_docbook.C (makeEnvironment): replace reference to CDATA
242 2004-10-30 José Matos <jamatos@lyx.org>
244 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
246 2004-10-30 José Matos <jamatos@lyx.org>
248 * output_docbook.C (makeParagraphs):
249 * paragraph.[Ch] (emptyTag): for docbook and company, if the
250 standard paragraph has only a given type of content drop the wrapper.
252 2004-10-29 José Matos <jamatos@lyx.org>
254 * output_docbook.C (makeEnvironment):
256 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
258 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
260 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
261 (cleanID): sanitize any id.
263 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
265 * buffer.C, lyxlex_pimpl.C:
266 * lyxlex_pimpl.C (setFile):
267 s/getExtFromContents/getFormatFromContents/
269 2004-10-28 José Matos <jamatos@lyx.org>
271 * output_docbook.C (makeEnvironment): move id to broadest possible
274 * sgml.C (openTag): apply substitution of <> for all attributes.
276 2004-10-28 José Matos <jamatos@lyx.org>
278 * buffer.C (makeLinuxDocFile, makeDocBookFile):
279 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
280 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
282 * sgml.[Ch]: new version for open and closeTag for paragraph and
283 for strings. Now they handle the ids of paragraphs.
285 2004-10-26 Angus Leeming <leeming@lyx.org>
287 * Makefile.am: add mover.[Ch].
289 * converter.C (convert, move): use the new Movers to move external
290 files to the temp directory.
292 * lyx_main.C (init): ensure that the global system_movers data
295 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
298 * mover.[Ch]: new files, defining a Mover as a utility to move an
299 external file between directories and, if necessary, manipulate this
300 file using a helper script.
302 2004-10-25 José Matos <jamatos@lyx.org>
304 * output_docbook.C (makeCommand): merge two if's that tested the
307 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
309 * sgml.C (escapeString): fix warning in a better way
311 2004-10-25 José Matos <jamatos@lyx.org>
313 * sgml.C (escapeString): import the require boosts header file for
314 tie, and avoid a signed unsigned comparison.
316 2004-10-25 José Matos <jamatos@lyx.org>
318 * sgml.h: add #include <string>
320 2004-10-25 José Matos <jamatos@lyx.org>
322 * sgml.[Ch] (escapeString): new function to escape all the string.
324 2004-10-24 José Matos <jamatos@lyx.org>
326 * paragraph.[Ch] (getFirstWord): new function to get the first
327 word. Useful for description.
328 (simpleDocBookOnePar): remove depth argument, add another that
329 says where to start the paragraph.
331 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
332 use the new functions to fix cleanly the support for descriptions.
334 2004-10-24 José Matos <jamatos@lyx.org>
336 * buffer.C (makeLinuxDocFile, makeDocBookFile):
337 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
338 * output_linuxdoc.C (linuxdocParagraphs):
339 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
340 add buffer as argument.
342 2004-10-24 José Matos <jamatos@lyx.org>
344 * output_docbook.C (makeEnvironment, searchEnvironment): place
345 CDATA inside paragraphs and fix scope for listitems.
347 2004-10-24 José Matos <jamatos@lyx.org>
349 * output_docbook.C: remove using statement for stack.
351 2004-10-23 José Matos <jamatos@lyx.org>
353 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
354 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
355 docbook. The new scheme is recursive and makes use of iterators, the
356 same as latex export works.
357 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
358 directly with the paragraph contents. This code was moved up to
359 output_docbook.C (docbookParagraphs).
360 * sgml.C (openTag, closeTag): removed unneeded newlines.
361 (closeEnvTags) removed.
363 2004-10-23 André Pönitz <poenitz@gmx.net>
365 * undo.C (textUndoOrRedo):
366 * dociterator.C (asDocIterator): work around crash
368 * cursor.C (getStatus): replace ASSERT by more verbose error message
369 and manual correction of the problem. Should increase stability
370 while providing more sensible information.
372 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
374 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
376 * bufferlist.C (previous, next): new methods
379 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
381 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
383 * buffer.C (makeDocBookFile): add dsssl stylesheet control
384 entities to preamble.
386 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
388 * messages.C (Pimpl): strip off translation context information
390 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
392 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
393 the cursor is correct (bug 1694)
395 2004-10-13 José Matos <jamatos@lyx.org>
397 * output_docbook.C (docbookParagraphs): fix closing tags in the
400 2004-10-09 José Matos <jamatos@lyx.org>
402 * buffer.C: format up to 237.
403 * bufferparams.C (write): use tostr to convert booleans to strings.
405 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
407 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
409 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
411 * LaTeX.C: implement use of babel language in xindy.
413 2004-10-05 José Matos <jamatos@lyx.org>
415 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
416 Add new translators to help reading and writing the lyx file.
418 2004-10-05 José Matos <jamatos@lyx.org>
420 * ParagraphParameters.C (read):
421 * text.C (readParToken): replace nexToken by more appropriate lex
424 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
426 * LaTeX.C (runMakeIndex):
427 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
428 (usually 'makeindex') configurable.
430 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
431 with a variable rather than with a number.
433 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
435 * output_latex.C (TeXOnePar): make sure font setting is the first
436 thing that gets output (and the last at the end). Should fix bug
439 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
441 * pch.h: use proper signal include
443 * LaTeX.h: Use preferred calling of Boost.Signal
446 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
448 * pch.h: dont include <boost/function/function0.hpp>
450 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
452 * paragraph_pimpl.h: remove usage of ShareContainer
454 * paragraph_pimpl.C: remove initialization of ShareContainer.
456 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
460 * BufferView.C (putSelectionAt): change the semantics when
461 backwards == true: now, this just swaps cursor and anchor wrt the
464 * BufferView.h (putSelectionAt): add some documentation
466 * lyxfind.C (findBackwards): rewrite using while(). In particular,
467 make sure backwardChar is done at least once (to avoid getting
469 (findNextChange): use putSelectionAt in the forward direction
470 (operator()): use Paragraph::isWord
472 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
474 * Spacing.C (set): c_str fix
476 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
478 * lyx_cb.C (Reconfigure): quote the name of configure script in
479 case it contains spaces
481 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
485 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
486 (BOOST_LIBS): use top_buildir when looking for the file
488 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
490 * pch.h: do not use include boost/format.hpp, multiple symbols
491 will result (gcc bug)
494 2004-08-23 José Matos <jamatos@lyx.org>
496 * bufferparams.C (readToken): fix reading of the author field.
498 2004-08-20 José Matos <jamatos@lyx.org>
500 * lyxrc.C: remove support/translator.h inclusion since it is not used.
502 2004-08-20 José Matos <jamatos@lyx.org>
504 * lyxlex.[Ch] (findToken): remove function.
506 * ParagraphParameters.C (findToken):
507 * bufferparams.C (findToken): replace call for previous function
508 with local copy. This local function has one more argument, the
509 read string argument.
511 2004-08-16 José Matos <jamatos@lyx.org>
513 * ParagraphParameters.C (write):
514 * Spacing.C (writeFile):
515 * bufferparams.C (writeLaTeX):
516 * lyx_cb.C (Reconfigure):
517 * paragraph.C (write):
518 * tabular.C (write): remove unnecessary space at end of line.
521 2004-08-16 José Matos <jamatos@lyx.org>
523 * text.C (readParagraph): remove debug message.
525 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
527 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
530 * output_plaintext.C (asciiParagraph): set depth correctly
532 * outputparams.h: add member depth
534 * paragraph_funcs.C (ownerPar): remove.
536 * text2.C (setCounter): remove first_pit; comment out some
537 non-working code that uses ownerPar
539 * BufferView.C (getParentLanguage): remove. Not used anymore, and
542 2004-08-16 José Matos <jamatos@lyx.org>
544 * text.C (readParToken, readParagraph, read): report all unknown tokens.
545 For the same level of importance use the same chanel to report problems.
546 (read): add code to deal with \begin_body and \end_body.
549 2004-08-15 José Matos <jamatos@lyx.org>
551 * lyxlex.C (getString): fix comment, buffer::readBody is now
554 * tex-strings.C (string_papersize): Default -> default,
555 Custom -> custom, for consistency with other options.
557 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
561 * Makefile.am: support pch
563 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
565 * text.C (readParToken): remove the static LyXFont variable and
566 pass it as a parameter instead. This fixes a nasty bug where an
567 inset will be inserted with a bad font in some situations
568 (readParagraph): adapt
570 * text2.C (setCounter): reduce number of calls to pars_[pit]
572 * text.C (singleWidth): add an assert, fix a test
574 * rowpainter.C (paintText): reduce number of calls to singleWidth
576 * paragraph.C (isHfill):
579 2004-08-14 André Pönitz <poenitz@gmx.net>
584 * lyxtext.h (several functions): use a Paragraph & argument
587 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
589 * metricsinfo.h: add a new field ltr_pos to PainterInfo
591 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
593 * text.C (singleWidth): remove useless test
595 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
597 * tabular.h: remove bogus comments
599 * tabular.C (getDescentOfRow):
600 (isPartOfMultiColumn): add assertions
602 * lyxlength.C (inPixels): remove #warning
604 2004-08-14 André Pönitz <poenitz@gmx.net>
606 * paragraph.h: inline getChar()
608 * BufferView.h: remove unused declarations
610 2004-08-14 José Matos <jamatos@lyx.org>
612 * Buffer.[Ch] (readDocument): new name for old readBody.
613 * Buffer.C: new file format, new keywords: \begin_document,
614 \begin_header, \begin_body, \end_body.
616 * bufferparams.C (readToken): replace all calls to lex.nextToken
617 by lex.next(). Do the same to eatLine except where really needed.
619 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
620 line when writing to the lyx file.
622 * output_plaintext.C (asciiParagraph): fix Bibliography style
625 * text.C (read): fix end of file handling.
627 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
629 * MenuBackend.C (Menu::operator[]): new method to access
630 individual menu items
631 (Menu::hasFunc): new method. search for an item that corresponds
633 (MenuBackend::specialMenu): new method
634 (MenuBackend::expand): if a special menu has been set, skip
635 entries whose func() appears in this menu
637 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
639 * text3.C: use Debug::DEBUG a bit more
641 * text.C (leftMargin): try to simplify a tiny bit change var x to
642 l_margin. Dont output the wide margins always.
643 (rightMargin): no margin in inner texts
645 * rowpainter.h (nestMargin): new func
646 (changebarMargin): new func
647 (rightMargin): new func
649 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
653 * factory.C (createInset): modify setDrawFrame
655 * cursor.C: use Debug::DEBUG a bit more
657 2004-08-14 André Pönitz <poenitz@gmx.net>
660 * Makefile.am: new files to accomodate an 'external' (x,y)-position
661 cache for all insets in (at least partially) visible (top-level)
664 * BufferView_pimpl.C: reset external coord cache before every update.
665 This means the coord cache only contains valid entries.
667 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
670 * BufferView_pimpl.C (getInsetByCode): move function out of class
671 and change in to a template in anon namespace. Also fix to do what
674 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
677 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
679 (breakParagraph): rename par to par_offset and use a local
680 reference. Add code to keep the language over a rebreak.
681 (breakParagraphConservative): rename par to par_offset, use a
683 (mergeParagraph): ditto
685 (isFirstInSequence): ditto
686 (outerFont): rename pit to par_offset
688 * paragraph.C: ws change
693 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
695 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
698 * paragraph.C (simpleTeXOnePar): when we have a \item with
699 optional argument, enclose the argument with curly brackets (in
700 case it contains a closing square bracket)
704 * text3.C (checkInsetHit): constify
706 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
708 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
711 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
713 Fix toggling of collapsable insets with the mouse (bug 1558)
715 * lyxfunc.C (dispatch): adapt to LCursor changes
717 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
718 make sure that dispatch is not invoked twice
720 * cursor.C (needsUpdate): new method
721 (dispatch): return void
722 (result): new method, to access the DispatchResult of the cursor.
724 2004-08-13 José Matos <jamatos@lyx.org>
726 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
728 2004-08-13 André Pönitz <poenitz@gmx.net>
730 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
732 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
735 2004-08-12 André Pönitz <poenitz@gmx.net>
737 * text3.C: take out the 'cursor right' form insertInset and only
738 do it in those places when it is really needed. Fixes crash on
741 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
743 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
745 * BufferView_pimpl.C (setBuffer): initialize the current font of
746 the underlying LyXText
748 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
750 * kbsequence.C (print): use UI native formatting for menu
753 * text.C (insertChar): call Paragraph::insertChar with a font
756 * paragraph.C (insertInset, insertChar): the version that takes a
757 LyXFont argument is now a wrapper around the other one (the
758 opposite used to be true).
760 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
761 argument. Font setting is done in Paragraph now.
763 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
765 * outputparams.h: add new members intitle and lang.
767 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
768 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
770 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
772 * text3.C (dispatch): remove special handling of button 4 and 5,
773 it is now taken care of in the frontend code.
775 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
777 * Spacing.h: add <string> (STLPort compile fix)
779 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
781 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
783 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
785 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
788 * converter.C (showMessage): inherit from unary_function, make
791 * buffer.C (writeFile): initialize retval
793 * InsetList.h: rename private variable list to list_
794 * InsetList.[Ch]: adjust accordingly.
796 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
798 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
799 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
800 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
801 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
802 * ParagraphParameters.C, LaTeXFeatures.C: replace
803 "support/std_sstream.h" with <sstream>
805 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
807 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
808 * lyxsocket.C (LyXServerSocket): ditto
809 (serverCallback): ditto
811 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
813 * LaTeXFeatures.C: check release date when loading jurabib.
815 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
817 * lyxserver.C (startPipe): call register_socket_callback
818 (endPipe): call unregister_socket_callback
820 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
822 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
823 (LyXServerSocket): register the callback
824 (LyXServerSocket): unregister the callback
825 (fd): delete function
826 (serverCallback): improve error checking and setup the callbacks.
827 (dataCallback): change arg to fd.
828 (writeln): new func (copied fro the client socket) used for server
830 (LyXDataSocket): simplify
831 (~LyXDataSocket): close ann unregiser callback
832 (server): delete function
833 (fd): delete function
834 (readln): small changes, improve some std::string usage
835 (writeln): constify a bit
837 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
839 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
842 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
844 * BufferView_pimpl.C (setBuffer): set the layout combox value only
845 after it has been populated
847 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
849 * text2.C (insertInset): move cursor when inserting inset.
851 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
853 * kbmap.C (findbindings): a couple of new methods. returns a
854 container of kb_sequence objects. The real work is done by the
855 private recursive version
856 (printbindings): uses findbindings to print out a bracketed list
857 of bindings (renamed from findbinding).
859 * MenuBackend.C (binding): use kb_keymap::findbindings
861 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
863 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
865 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
867 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
869 * paragraph.C (isWord): return true on insets that report
872 * text.C (getWord): use Paragraph::isWord to decide what is in a
873 word and what is not; fix bug 1609.
875 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
877 * tex-strings.C: add "none" to string_paperpackages[], fixes
878 off-by-one-error in the paperpackage selection.
881 * tex-strings.[Ch]: char const * string[n]
882 -> char const * const string[]
884 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
886 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
887 command, return early.
889 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
891 * debug.h: add DEBUG to enum and fix size of ANY.
893 * debug.C: add support for Debug::DEBUG
894 (showTags): cast errorTags.level to unsigned int
896 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
897 (redoCurrentBuffer): ditto
898 (updateScrollbar): ditto
899 * cursor.C (dispatch): ditto
900 * text2.C (setLayout): ditto
902 (updateCounters): ditto
904 (deleteEmptyParagraphMechanism): ditto
906 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
908 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
909 annotations to cleanup the Makefile slightly.
911 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
913 * lyxrc.C: do not set user_email to a default value but use empty
914 instead. The entry used to be translated, which does not work
915 since at the point where lyxrc is constructed there is no
916 translation service available
918 * messages.C (getLocaleDir): remove and use directly
919 lyx_localedir() instead
921 2004-06-02 Angus Leeming <leeming@lyx.org>
923 Fix crash caused by dereferencing null pointer 'exportdata' in
924 OutputParams by creating a new ExportData variable on the heap,
925 storing it in a boost::shared_ptr.
926 The crash was triggered when generating an Instant Preview
927 of an external inset.
929 * Makefile.am: add outputparams.C
931 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
932 (c-tor): allocate memory to it.
934 * exporter.C (c-tor): associated changes.
936 2004-06-01 Angus Leeming <leeming@lyx.org>
938 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
939 contains data before calling isInset(0). (Bug 1513.)
941 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
943 * exporter.C (checkOverwrite): new method
944 * exporter.C (copyFile): new method
945 * exporter.C (Export): copy referenced files to the document dir
946 * exporter.[Ch]: new class ExportedFile
947 * exporter.[Ch]: new class ExportData. Contains currently the
948 names of referenced external files
949 * outputparams.h: add exportdata member.
951 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
953 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
956 2004-05-19 Angus Leeming <leeming@lyx.org>
961 * lyxfunc.C: small changes due to the introduction of namespace
962 lyx::frontend and the moving of namespace biblio to lyx::biblio.
964 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
966 * text3.C (dispatch): supress update when only moving the cursor
967 * cursor.C (selHandle): remove commented code
969 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
971 * paragraph.C (startTeXParParams): correct column count
972 * CutAndPaste.C (pasteSelection): remove const_cast
973 * output_docbook.C (docbookParagraphs): remove const_cast
974 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
975 const_cast and return ParagraphList::const_iterator
976 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
977 * output_plaintext.C (writeFileAscii): remove const_cast
978 * paragraph.[Ch] (simpleTeXOnePar): make const
979 * paragraph_funcs.C (outerPar): use const iterators
980 * paragraph_pimpl.C (validate): use const iterators
981 * text.C (setHeightOfRow): use const iterators
983 2004-05-17 Angus Leeming <leeming@lyx.org>
986 * LyXAction.C (init): new LFUN_INSET_REFRESH.
988 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
989 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
990 if the citation engine has changed.
992 2004-05-14 José Matos <jamatos@lyx.org>
994 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
995 if the textclass does not provide it. Have it different for sgml and
997 support the language of document.
998 * output_docbook.C (docbookParagraphs):
999 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1000 first anchor as the id of the paragraph, remove special case code.
1001 * sgml.C (escapeChar): escape only < & >.
1003 2004-05-14 Angus Leeming <leeming@lyx.org>
1005 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1006 dependencies on src/frontends/controllers/biblio.h. Define a
1007 CiteEngine_enum wrapper class to enable the enum to be forward
1010 2004-05-12 Angus Leeming <leeming@lyx.org>
1012 * buffer.C: up LYX_FORMAT to 234.
1013 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1014 use_numerical_citations with a single biblio::CiteEngine cite_engine
1016 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1018 2004-05-13 José Matos <jamatos@lyx.org>
1021 * converter.C (Converter, readFlags): add xml member.
1022 * outputparams.h: add XML flavor.
1023 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1025 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1027 * lyxfunc.C (dispatch):
1028 (getStatus): fix handling of LFUN_SEQUENCE
1030 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1032 * debug.C (showLevel): do not forget the end-of-line marker
1034 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1036 * kbmap.C (read): do not stop parsing a bind file when an error
1039 2004-04-29 Angus Leeming <leeming@lyx.org>
1044 * text2.C: wrap a bunch of #warning statements
1045 inside #ifdef WITH_WARNINGS blocks.
1047 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1049 * buffer.C: increment format to 233.
1051 2004-04-28 Angus Leeming <leeming@lyx.org>
1053 * BufferView_pimpl.C:
1056 s/updateToolbar()/updateToolbars()/
1057 s/Toolbar.h/Toolbars.h/
1059 2004-04-28 Angus Leeming <leeming@lyx.org>
1061 * BufferView.[Ch] (c-tor):
1062 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1063 No longer passes these data to the WorkArea generator.
1065 2004-04-28 Angus Leeming <leeming@lyx.org>
1067 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1069 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1071 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1073 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1075 * output_latex.C (TeXEnvironment): make sure that there is a line
1076 break before \end{foo} for the last paragraph of a document
1077 (TeXOnePar): if the paragraph is at the end of the document (or
1078 inset) and the language has to be reset, then make sure that the
1079 line break is _before_ the language command, not after (fixes bug
1080 1225); also make sure that the language reset command is the first
1081 thing after the paragraph (to ensure proper nesting of
1082 environments and thus fix bug 1404)
1084 2004-04-21 John Levon <levon@movementarian.org>
1087 * ToolbarBackend.C: make "name" be a programmatic name
1088 and a gui_name field.
1090 * lyxfunc.C: display the minibuffer on M-x
1092 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1094 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1097 2004-04-19 Angus Leeming <leeming@lyx.org>
1099 * BufferView_pimpl.C (setBuffer): changed preview interface.
1101 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1104 2004-04-19 John Levon <levon@movementarian.org>
1106 * BufferView_pimpl.C:
1107 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1109 2004-04-05 Angus Leeming <leeming@lyx.org>
1111 * text.C (redoParagraphs): add call to updateCounters(), thereby
1112 fixing the missing "Figure #:" label from the caption of a
1115 2004-04-13 Angus Leeming <leeming@lyx.org>
1117 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1118 cursor is clicked out of an inset.
1120 2004-04-13 Angus Leeming <leeming@lyx.org>
1122 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1123 than an InsetOld one.
1125 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1127 * format.[Ch]: add editor to Format
1128 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1129 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1131 2004-04-08 André Pönitz <poenitz@gmx.net>
1133 * metricsinfo.h: remove PainterInfo::width member
1135 2004-04-08 Angus Leeming <leeming@lyx.org>
1137 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1138 "\providecommand" rather than "\newcommand", thereby preventing
1139 clashes with packages that define "\boldsymbol" themselves.
1142 2004-04-08 Angus Leeming <leeming@lyx.org>
1144 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1145 thereby squashing an unnecessary warning.
1147 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1149 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1152 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1154 * BufferView.C (setCursor): call redoParagraph (some insets could
1156 (putSelectionAt): remove the 'double update' trick
1158 * BufferView_pimpl.C (fitCursor): call refreshPar
1159 (workAreaDispatch): remove an uneeded update call
1160 (dispatch): remove some manual update calls
1162 * cursor.[Ch]: remove cached_y_, updatePos
1163 (selHandle): set noUpdate when appropriate
1165 * lyxfunc.C (dispatch): track if we need an update
1167 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1169 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1170 (paintSelection): cheap optimization, do not call cursorX when not
1172 (paintPars): change signature
1175 (paintTextInset): adjust
1179 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1181 * lengthcommon.C: compilation fix: remove explicit array size from
1182 unit_name[] and friends
1184 2004-04-05 Angus Leeming <leeming@lyx.org>
1186 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1188 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1189 present only for the preferences dialog.
1190 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1192 2004-04-05 Angus Leeming <leeming@lyx.org>
1194 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1195 to enable the frontends to export changes to lyxrc correctly.
1197 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1199 2004-04-07 André Pönitz <poenitz@gmx.net>
1201 * cursor.[Ch] (selClear, adjust): remove math
1203 * cursor_slice.C: more agressive assert
1206 * BufferView_pimpl.C: rework mouse event dispatch
1213 2004-04-05 André Pönitz <poenitz@gmx.net>
1215 * cursor.[Ch] (valign, halign...): remove unneeded functions
1217 2004-04-05 Angus Leeming <leeming@lyx.org>
1219 * lyxlength.[Ch] (unit_name et al.): const-correct.
1221 2004-04-05 Angus Leeming <leeming@lyx.org>
1223 * BufferView_pimpl.C:
1232 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1234 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1236 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1238 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1240 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1241 * BufferView_pimpl.[Ch] (getStatus)
1242 * BufferView.[Ch] (getStatus): add
1243 * lyxfunc.C (getStatus): move lfuns handled in
1244 BufferView::dispatch to te function above
1245 * Cursor.C (setSelection): set selection() = true
1247 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1249 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1251 2004-03-31 Angus Leeming <leeming@lyx.org>
1253 * lyxfunc.C (dispatch): Fall through to the generic
1254 Dialogs::show("preamble").
1256 2004-03-31 Angus Leeming <leeming@lyx.org>
1258 * lyxfunc.C (dispatch): Fall through to the generic
1259 Dialogs::show("spellchecker").
1261 2004-03-31 Angus Leeming <leeming@lyx.org>
1263 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1266 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1271 * insetiterator.[Ch]:
1276 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1278 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1280 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1281 insets where we are putting the cursor.
1283 2004-03-31 Angus Leeming <leeming@lyx.org>
1286 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1288 * lyxrc.[Ch] (read, write): overloaded member functions taking
1289 a std::[io]stream arguments.
1291 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1293 2004-03-31 Angus Leeming <leeming@lyx.org>
1295 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1296 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1298 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1299 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1301 2004-03-31 Angus Leeming <leeming@lyx.org>
1303 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1304 the LFUN_ALL_INSETS_TOGGLE code.
1306 2004-03-30 Angus Leeming <leeming@lyx.org>
1308 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1309 has died. Fall through to the generic Dialogs::show("document").
1311 2004-03-30 Angus Leeming <leeming@lyx.org>
1314 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1315 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1317 * lyxfunc.C (getStatus, dispatch): define the actions for these
1318 lfuns. Little more than a cut and pste job from ControlDocument.C
1320 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1322 2004-03-30 Angus Leeming <leeming@lyx.org>
1325 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1326 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1328 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1329 open/closed state of ollapsable insets. Usage:
1331 all-inset-toggle <state> <name>, where
1332 <state> == "open" || "closed" || "toggle" and
1333 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1335 * lyxtext.h, text2.C (toggleInset): removed.
1337 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1338 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1339 now passes LFUN_INSET_TOGGLE to the found inset.
1341 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1342 is now invoked as "all-insets-toggle toggle branch".
1344 2004-03-30 Angus Leeming <leeming@lyx.org>
1348 * pariterator.[Ch]: added/corrected header blurb.
1350 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1352 * dociterator.[Ch]: add an inset_ member
1353 (backwardPos): implemented
1354 (backwardPos, forwardPos): use inset_ when the stack is empty.
1355 (doc_iterator_begin, doc_iterator_end): implemented
1356 * pariterator.[Ch]: adjust, add begin, end
1357 * insetiterator.[Ch]: adjust, add begin, end
1361 * BufferView_pimpl.C:
1362 * CutAndPaste.C: adjust
1364 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1366 * buffer.C: increment file format to 232.
1367 * LaTeXFeatures.C: add bibtopic package.
1368 * bufferparams.[Ch]: param \use_bibtopic.
1370 * lyxrc.[Ch]: add lyxrc bibtex_command
1371 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1373 * buffer.C: increment file format to 231.
1375 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1377 * dociterator.C: implement forwardPar
1378 * iterators.[Ch]: remove, replaced by
1379 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1381 * BufferView_pimpl.C:
1384 * bufferview_funcs.C:
1390 * Makefile.am: adjust
1392 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1394 * CutAndPaste.C (pasteSelection): fix 2 crashes
1395 (eraseSelection): fix a crash
1396 * paragraph_funcs.C: remove a warning
1398 2004-03-28 Angus Leeming <leeming@lyx.org>
1401 * LyXAction.C (init): new LFUN_PRINT.
1403 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1405 2004-03-27 Angus Leeming <leeming@lyx.org>
1408 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1410 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1412 2004-03-27 Angus Leeming <leeming@lyx.org>
1414 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1415 insetlist always contains non-null pointers to insets.
1417 2004-03-26 Angus Leeming <leeming@lyx.org>
1419 * src/BufferView_pimpl.C:
1420 * src/CutAndPaste.C:
1423 * src/output_plaintext.C:
1424 * src/outputparams.h:
1425 * src/paragraph_funcs.C:
1429 * src/frontends/controllers/ControlErrorList.C:
1430 * src/frontends/gtk/FileDialogPrivate.C:
1431 * src/frontends/gtk/GPainter.C:
1432 * src/frontends/gtk/GToolbar.C:
1433 * src/frontends/qt2/QRef.C:
1434 * src/mathed/math_scriptinset.C: squash compiler warnings.
1436 2004-03-26 Angus Leeming <leeming@lyx.org>
1438 * ispell.C (LaunchIspell::start):
1439 * lyx_cb.C (AutoSaveBuffer::start):
1440 invoke run(DontWait) rather than runNonBlocking().
1442 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1444 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1446 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1448 * kbsequence.C (print): adjust
1450 * kbmap.C (printKeySym): rename and change signature
1451 (printKey): use LyXKeySym::print()
1453 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1455 * undo.C: add using std::advance to compile for stlport
1457 2004-03-24 Angus Leeming <leeming@lyx.org>
1459 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1460 it leads to a crash when no buffer is present.
1462 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1463 Martin Vermeer <martin.vermeer@hut.fi>
1465 * lyxfunc.C (dispatch):
1466 * bufferparams.C (readToken): use the new LColor::setColor
1468 * LColor.[Ch] (setColor): new version that takes two strings as
1469 argument and creates a new color entry if necessary
1471 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1473 * buffer.C (makeLaTeXFile): if the main latex file that is
1474 processed is usually a subdocument of some master, then pretend
1475 for a while that it is actually the master
1477 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1479 * buffer.C (getLabelList):
1480 (getBibkeyList): use getMasterBuffer()
1481 (getMasterBuffer): new method. Returns the main document in the
1482 case where one is using included documents.
1484 2004-03-25 André Pönitz <poenitz@gmx.net>
1488 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1490 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1492 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1493 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1495 * ParameterStruct.h: merge with ParagraphParameters
1497 * lyxtext.h: remove LyXText::parOffset() and getPar()
1499 * text3.C: Remove all 'manual' update calls. We do now one per user
1500 interaction which is completely sufficient.
1504 * BufferView_pimpl.C:
1505 * FontIterator.[Ch]:
1507 * ParagraphParameters.[Ch]:
1512 * cursor_slice.[Ch]:
1519 * output_docbook.[Ch]:
1520 * output_latex.[Ch]:
1521 * output_linuxdoc.[Ch]:
1522 * output_plaintext.[Ch]:
1524 * paragraph_funcs.[Ch]:
1525 * paragraph_pimpl.[Ch]:
1533 * frontends/controllers/ControlDocument.C:
1534 * frontends/controllers/ControlErrorList.C:
1535 * frontends/controllers/ControlSpellchecker.C:
1538 * insets/insetbase.h:
1539 * insets/insetbibitem.C:
1540 * insets/insetbox.C:
1541 * insets/insetbranch.C:
1542 * insets/insetcaption.C:
1543 * insets/insetcharstyle.C:
1544 * insets/insetcharstyle.h:
1545 * insets/insetcollapsable.C:
1546 * insets/insetcollapsable.h:
1547 * insets/insetert.C:
1548 * insets/insetfloat.C:
1549 * insets/insetfoot.C:
1550 * insets/insetmarginal.C:
1551 * insets/insetnote.C:
1552 * insets/insetoptarg.C:
1553 * insets/insettabular.C:
1554 * insets/insettext.C:
1555 * insets/insettext.h:
1556 * insets/insetwrap.C:
1557 * mathed/math_mboxinset.C:
1558 * mathed/math_nestinset.C:
1559 * mathed/math_scriptinset.C:
1560 * mathed/math_scriptinset.h:
1563 2004-03-24 Angus Leeming <leeming@lyx.org>
1565 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1566 deal with any child processes that have finished but are waiting to
1567 communicate this fact to the rest of LyX.
1569 2004-03-24 Angus Leeming <leeming@lyx.org>
1571 64-bit compile fixes.
1573 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1574 (c-tor): pass lyx::pos_types rather than ints.
1576 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1579 * text.C (Delete): compile fix.
1580 (getPar): ensure that function declaration is the same as that in
1583 2004-03-23 Angus Leeming <leeming@lyx.org>
1585 * ispell.C (LaunchIspell):
1586 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1587 a boost::shred_ptr rather than a std::auto_ptr.
1589 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1591 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1592 handle LFUN_FILE_INSERT_*
1594 * lyxrc.C (setDefaults, getDescription, output, read):
1595 * lyxrc.h: remove ps_command
1597 2004-03-22 Angus Leeming <leeming@lyx.org>
1599 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1600 Ensure that error_handler is processed once only and that all data
1601 is saved before attempting to output any warning messages.
1603 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1605 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1607 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1609 2004-03-19 André Pönitz <poenitz@gmx.net>
1611 * cursor.[Ch] (reset): take main text inset as argument
1613 * BufferView: adjust
1614 * BufferView_pimpl.C: adjust
1616 * paragraph.[Ch]: fix completely broken operator=()
1618 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1620 * LColor.C (getFromLyXName): make sure that the color name is used
1623 2004-03-17 Angus Leeming <leeming@lyx.org>
1626 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1628 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1629 dialog and to kill a forked process.
1631 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1633 * text2.C (setCursorFromCoordinates): fix font problem
1635 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1637 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1638 bogus "rebuild cursor" code
1640 2004-03-11 André Pönitz <poenitz@gmx.net>
1642 * buffer.[Ch]: use InsetText instead of LyXText as container for
1645 * dociterator.[Ch]: drop the BufferView * member which is not needed
1646 anymore after the change to buffer.C
1648 * paragraph_funcs.C:
1652 * BufferView_pimpl.[Ch]:
1654 * cursor_slice.[Ch]: adjust
1656 * text3.C: fix bug in mathDispatch
1658 2004-03-08 André Pönitz <poenitz@gmx.net>
1660 * undo.[Ch]: use 'StableDocumentIterator' as base for
1663 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1666 * bufferparams.[Ch]: add jurabib support and param.
1668 * LaTeX.C: add FIXME/comment.
1670 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1672 * buffer.C: increment file format to 230.
1674 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1676 * cursor.C (dispatch): avoid infinite loops
1678 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1680 * rowpainter.C (paintSelection): fix x coordinates
1682 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1684 * text.C (rowBreakPoint): fix breaking before displayed insets
1686 2004-03-01 André Pönitz <poenitz@gmx.net>
1688 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1690 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1694 * BufferView_pimpl.C:
1702 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1708 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1709 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1711 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1713 * Bidi.[Ch] (computeTables): const correctness
1714 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1715 fill_hfill, fill_label_hfill and x from Row
1716 * lyxtext.h: prepareToPrint returns a RowMetrics
1717 * rowPainter.C: adjust
1718 * text.C (prepareToPrint): use width, not textWidth. adjust
1719 (redoParagraphInternal, cursorX): adjust
1720 * text2.C (getColumnNearX): adjust
1721 (init): put a default value to the top LyXText::width
1723 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1725 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1727 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1729 * lyxtext.h: add FontIterator class
1731 * text.C (FontIterator, operator*, operator->, operator++): add
1732 (rowBreakPoint, setRowWidth): adjust (fixing a
1735 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1737 * BufferView_pimpl.C (workAreaDispatch): allow also
1738 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1740 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1742 * text.C (rowBreakPoint): fix a bug showing with very large insets
1744 2004-02-25 André Pönitz <poenitz@gmx.net>
1747 * cursor.[Ch]: move some mathed specific code to mathed
1749 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1751 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1752 use_tempdir in preferences
1753 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1755 * lyx_main.C: ensure that tempdir is valid
1756 * lyxlex.h: correct typo
1757 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1758 * paragraph.[Ch] (isMultiLingual): make const
1759 * cursor.[Ch] (openable): make const
1761 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1763 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1765 2004-02-20 André Pönitz <poenitz@gmx.net>
1767 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1769 * cursor.[Ch]: prepare for localized getStatus()
1775 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1777 2004-02-20 André Pönitz <poenitz@gmx.net>
1779 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1781 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1783 * text2.C (setCursorFromCoordinates): switch to absolute coords
1785 (cursorDown): adjust
1786 * text3.C (dispatch): adjust
1788 2004-02-16 André Pönitz <poenitz@gmx.net>
1790 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1793 * cursor_slice.[Ch]: remove unneeded acessor function
1795 * lyxtext.h: rename rtl() to isRTL()
1803 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1805 * rowpainter.C (paintSelection): coord fix
1807 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1809 * Spacing.C: compile fix
1811 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1813 * cursor.C (dispatch): restore current_ before returning
1815 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1817 * text2.C (cursorUp, cursorDown): fix coords
1820 2004-02-12 André Pönitz <poenitz@gmx.net>
1825 * text3.C: add LCursor & parameter to most cursor movement functions
1826 remove usage of LyXText::cursorRow() and cursorPar()
1828 * cursor.[Ch]: add textRow() needed members
1831 * BufferView_pimpl.C:
1834 * BufferView_pimpl.C: adjust
1836 2004-02-11 André Pönitz <poenitz@gmx.net>
1840 * BufferView_pimpl.C: shift undo/redo handling
1842 * cursor.[Ch]: fix mathed crash
1845 * lyxtext.h: move selectionAsText to LCursor
1853 * rowpainter.C: fix excessive drawing
1855 2004-02-06 André Pönitz <poenitz@gmx.net>
1858 * BufferView_pimpl.[Ch]:
1859 * text3.C: move some text specific LFUN handling
1861 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1863 * text3.C (checkInsetHit): adjust coords
1864 * text2.C (getColumnNearX): adjust coords
1865 (edit): adjust coords
1866 * text.C (getRowNearY): add two asserts
1868 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1871 * format.C: add using std::distance to compile on gcc 2.95/stlport
1873 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1875 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1877 2004-02-04 André Pönitz <poenitz@gmx.net>
1879 * BufferView.[Ch] (insertInset):
1880 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1885 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1887 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1888 on the default clause of the switch
1889 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1890 wasn't catched by LCursor::dispatch
1892 2004-02-03 André Pönitz <poenitz@gmx.net>
1895 * cursor.[Ch]: some additional asserts
1897 * undo.[Ch]: remove LyXText dependency in interface
1901 * lyxtext.h (firstPar, lastPar): remove dead functions
1906 * paragraph.[Ch]: adjust
1908 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1910 * lyxfind.C (find): fix argument order in call to ::find
1912 2004-02-02 André Pönitz <poenitz@gmx.net>
1914 * cursor.[Ch]: remove direct access to anchor
1916 * text.C: remove findText() hack
1918 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1920 * iterators.[Ch] (lockPath): remove in favour of...
1921 * BufferView.[Ch] (setCursor): this addition
1922 * BufferView.C (putSelectionAt): adjust
1923 * undo.C (performUndoOrRedo): adjust
1924 * lyxfunc.C (dispatch): adjust
1926 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1928 * iterators.C (lockPath): add a missing slice
1929 * undo.C (performUndoOrRedo): remove redundant positioning code
1931 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1933 * vc-backend.C (scanMaster): ";" -> ';'
1935 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1937 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1938 std::binary_function
1940 * lyxtextclass.C (compare_name): rename to...
1941 (LayoutNamesEqual): ...this
1943 * lyxlex_pimpl.C (compare_tags): inherit from
1944 std::binary_function, put back into anon namespace
1946 * lyxfind.C (MatchString): inherig from std::binary_function
1947 (findChange): use empty() istead of !size()
1949 * format.C (FormatNamesEqual): new functor
1956 * converter.C (compare_Converter): rename to...
1957 (ConverterEqual): ...this, and fixup a bit.
1958 (getConverter): use it, and make function const
1959 (getNumber): use it, and make function const
1963 * bufferlist.C: add using boost::bind
1965 * MenuBackend.C (MenuNamesEqual): new functor
1966 (hasMenu): use it, and make function const
1967 (hasSubmenu): use nested bind to get rid of compare_memfun.
1969 2004-01-30 André Pönitz <poenitz@gmx.net>
1971 * BufferView_pimpl.C:
1974 * cursor_slice.[Ch]:
1977 * paragraph_funcs.C:
1978 * paragraph_funcs.h:
1982 * text3.C: move some of the edit(x,y) handling to the insets
1983 some coordinate changes.
1985 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1987 * text.C: add using statements for std::advance and std::distance
1989 * paragraph.C: add using statement for std::distance
1991 * lyxfind.C: add using statement for std::advance
1993 * cursor.C (region): remove std:: from swap
1994 (openable): use nucleus in stead of operator->
1996 * BufferView.C: add using statements for std::distance and std::swap
1998 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2000 * iterators.C: Remove the pimple, move the needed structures to
2001 the header file. Create accessor for the positions stack.
2002 (asPosIterator): remove function
2004 * PosIterator.C (PosIterator): move constructors to top of file
2005 (PosIterator): reimplement the constructor taking a ParIterator in
2007 (setFrom): new function
2008 (operator!=): inline it
2010 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2012 * lyxfind.C (replaceAll): use std::advance
2014 * iterators.h: inherit from std::iterator.
2016 * PosIterator.C (advance, distance): remove
2017 * PosIterator.h: interit from std::iterator.
2019 2004-01-26 André Pönitz <poenitz@gmx.net>
2022 * BufferView_pimpl.[Ch]:
2026 * bufferview_funcs.C:
2036 * output_linuxdoc.C:
2037 * output_plaintext.C:
2039 * paragraph_funcs.[Ch]:
2040 * paragraph_pimpl.[Ch]:
2046 * text3.C: more IU: dumps most of the rest of the mathcursor
2047 implementation into cursor.[Ch]; "globalize" a bit of it.
2049 2004-01-25 Angus Leeming <leeming@lyx.org>
2051 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2053 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2055 * LaTeXFeatures.h: add nice_ and nice() const
2056 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2058 2004-01-20 André Pönitz <poenitz@gmx.net>
2061 * BufferView_pimpl.C:
2063 * bufferview_funcs.C:
2065 * cursor_slice.[Ch]:
2076 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2077 LCursor and mathcursor parts to LCursor and InsetBase.
2079 2004-01-15 André Pönitz <poenitz@gmx.net>
2081 * cursor_slice.[Ch]: add a few covienience functions
2083 * funcrequest.[Ch]: remove BufferView * member
2085 * BufferView_pimpl.C:
2092 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2094 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2096 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2097 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2099 2004-01-13 André Pönitz <poenitz@gmx.net>
2102 * lyxtext.h: hide cursor and selection anchor behind accessor function
2105 * BufferView_pimpl.[Ch]:
2107 * bufferview_funcs.C:
2117 * cursor_slice.[Ch]: some integer type changes for inset unification
2119 * lyxcursor.[hC]: remove, it's CursorSlice now.
2122 * BufferView_pimpl.[Ch]:
2123 * bufferview_funcs.C:
2129 * textcursor.[Ch]: adjust
2131 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2133 * text2.C (undoSpan): add and use
2134 * text.C (breakParagraph): use undoSpan (fix bug 578)
2137 2004-01-08 Angus Leeming <leeming@lyx.org>
2139 * BufferView_pimpl.C (MenuInsertLyXFile):
2140 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2141 * lyxfunc.C (menuNew, open, doImport):
2142 FileFilterList change to the FileDialog open and save functions.
2144 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2146 * ShareContainer.h: make isEqual and isUnique adaptable
2148 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2150 2004-01-07 Angus Leeming <leeming@lyx.org>
2153 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2155 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2157 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2158 functions replacing find, replace and replaceAll.
2160 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2161 LFUN_WORDFIND(FORWARD|BACKWARD).
2163 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2165 * text.C (breakParagraph): remove an outdated #warning
2167 2004-01-07 André Pönitz <poenitz@gmx.net>
2169 * lyxfind.C: somewhat clearer logic
2171 * text.C: prevent crash in cursorX on unitialized row cache
2173 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2175 * lyxcursor.[Ch] (operator>): add
2176 * textcursor.C (selStart, selEnd): use std::min and std::max
2178 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2180 * Chktex.C: include boost/format.hpp
2182 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2184 * InsetList.C: replace functor MathcIt with adaptable functor
2186 (insetIterator): modify accordingly
2188 * BranchList.h: move the BranchNamesEqual functor here from...
2189 * BranchList.C: ... to here
2191 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2193 (add): replace a finding loop with std::find_if.
2195 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2197 * output_docbook.C: moving LatexParam functionality into
2200 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2202 * buffer.C: increment format to 229.
2204 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2207 * lyx_sty.[Ch]: remove minipageindent_def
2213 * text3.C: remove LFUN_INSET_MINIPAGE
2215 2003-12-28 Angus Leeming <leeming@lyx.org>
2217 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2219 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2221 * text2.C (setParagraph): fix off-by-one crash
2223 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2225 * output_docbook.C: header stuff for AGU
2227 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2229 * text2.C (redoCursor): remove
2232 * BufferView_pimpl.C: remove calls to redoCursor and
2233 setCursor(cursor.par(), cursor.pos()) all around
2235 2003-12-15 Angus Leeming <leeming@lyx.org>
2237 * buffer.C: up the format to 228.
2239 2003-12-15 André Pönitz <poenitz@gmx.net>
2241 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2246 * BufferView_pimpl.C:
2255 2003-12-15 Angus Leeming <leeming@lyx.org>
2257 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2258 than getFromGUIName to manipulate the color.
2260 2003-12-14 Angus Leeming <leeming@lyx.org>
2262 * BranchList.[Ch]: minimize the API.
2263 (Branch::getBranch, getColor): now return a 'const &'.
2264 (Branch::setSelected) now returns a bool set to true if the
2265 selection status changes.
2266 (BranchList::clear, size, getColor, setColor, setSelected,
2267 allBranches, allSelected, separator): removed.
2268 (BranchList::find): new functions, returning the Branch with
2270 (BranchList::add, remove): return a bool indicating that
2271 the operation was successful.
2273 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2274 new InsetBranch::isBranchSlected member function.
2276 * LColor.[Ch]: mimimize the API.
2277 (fill): renamed as addColor and made private.
2278 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2279 versions of these functions taking a string arg have been removed.
2281 * bufferparams.C (readToken):
2282 * lyxfunc.C (dispatch):
2283 * lyxrc.C (read): changes due to the altered BranchList and
2286 * factory.C (createInset, readInset): changes due to altered
2289 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2292 * lyxfunc.C: remove insetminipage. "minipage-insert"
2293 now produces a frameless minipage box inset.
2295 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2297 * textcursor.[Ch] (selStart,selEnd): add new methods
2298 remove selection::start, end, use LyXCursor::operator<
2299 * lyxcursor.[Ch] (operator<): add
2300 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2301 * BufferView.[Ch] (unsetXSel): add
2302 * text2.C (clearSelection): use unsetXSel,adjust
2305 * rowpainter.C: adjust
2306 * bufferview_funcs.C (put_selection_at): adjust
2308 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2310 * BufferView_pimpl.C: small coord. correction
2312 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2314 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2315 dragging over the splash screen.
2317 2003-12-11 Angus Leeming <leeming@lyx.org>
2319 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2320 as it is now handled in LyXText::dispatch.
2322 * text3.C (doInsertInset): remove a level of nesting.
2324 2003-12-11 Angus Leeming <leeming@lyx.org>
2326 * factory.C (createInset): changes due to the changed interface to
2327 InsetCommandMailer::string2params.
2329 2003-12-10 Angus Leeming <leeming@lyx.org>
2331 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2332 'dialog-show-new-inset <inset name>'
2334 2003-12-10 Angus Leeming <leeming@lyx.org>
2336 * buffer.C: up the format to 227.
2338 * factory.C: the box inset is now identified simply by 'Box'.
2340 2003-12-10 Angus Leeming <leeming@lyx.org>
2342 * buffer.C: up the format to 226.
2344 * factory.C: the note inset is now identified simply by 'Note'.
2346 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2348 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2349 when a pit is enough. Standarize a couple of loops.
2351 2003-12-05 Angus Leeming <leeming@lyx.org>
2353 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2354 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2355 data to the re-worked "log" dialog.
2357 2003-12-03 André Pönitz <poenitz@gmx.net>
2363 * paragraph_funcs.C:
2365 * text2.C: use Inset::getText instead of Inset::getParagraph
2367 2003-12-03 André Pönitz <poenitz@gmx.net>
2371 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2372 InsetText::read() as LyXText::read()
2374 2003-12-02 Angus Leeming <leeming@lyx.org>
2376 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2377 type. Add a comment in the implementation that the function uses
2378 the stream's bad() function rather than fail() as the std::streams
2381 2003-12-02 André Pönitz <poenitz@gmx.net>
2383 * lyxlex.[Ch]: make interface more similar to std::stream
2385 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2387 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2389 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2391 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2393 * vspace.[Ch]: remove VSpace::NONE
2395 2003-12-01 André Pönitz <poenitz@gmx.net>
2398 * lyxtext.h: move ParagraphList member to LyXText
2399 rename LyXText::ownerParagraphs to LyXText::paragraph
2402 * bufferview_funcs.C:
2412 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2414 * undo.C: fix cursor positioning
2416 2003-12-01 John Levon <levon@movementarian.org>
2418 * BufferView_pimpl.C: fix a crash on exit with
2421 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2423 * BranchList.C: fix setSelected() method.
2425 2003-11-28 André Pönitz <poenitz@gmx.net>
2427 * ParagraphParameters.[Ch]:
2428 * ParameterStruct.h: remove space above/below from Paragraph to
2431 * BufferView_pimpl.C:
2437 * paragraph_funcs.C:
2443 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2445 * factory.C: Syntax change for CharStyles
2447 2003-11-28 André Pönitz <poenitz@gmx.net>
2452 * buffer.[Ch]: move LyXText member
2454 2003-11-28 André Pönitz <poenitz@gmx.net>
2456 * BufferView.[Ch]: make LyXText * text a private member
2458 * BufferView_pimpl.C:
2469 * output_plaintext.C: cleanup
2471 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2474 * lyxtextclass.[Ch]: parametrize SGML document header
2476 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2479 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2482 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2484 * text2.C (setFont): rework using PosIterator (no more recursive)
2485 (setCharFont): no more needed
2486 (setLayout): no more selection cursors fiddling (done by redoCursor)
2487 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2488 destroy remaining ones)
2490 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2492 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2494 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2497 * text3.C: adjust + re-allow multi par depth changes
2498 * textcursor.C: simplify a bit
2500 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2506 * src/output_docbook.C:
2507 * src/output_latex.C:
2512 * src/text2.C: Introducing a number of tags parametrizing various
2513 XML formats that we may want to support
2515 2003-11-25 André Pönitz <poenitz@gmx.net>
2517 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2519 * lyxtext.h (leftMargin/rightMargin): simplify interface
2526 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2528 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2529 master file to any child files. Fixes bug 546.
2531 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2533 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2535 2003-11-24 André Pönitz <poenitz@gmx.net>
2537 * rowpainter.C: simplification
2539 * text2.C (updateCounters): remove call to redoParagraph on
2540 changed labels as this is far too expensive.
2542 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2544 * converter.C (convert): fix a crash: this function gets
2545 called with buffer == 0 from importer code.
2547 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2549 * text3.C (cursorPrevious): make sure that we do not compare
2550 iterators form different containers.
2553 * rowpainter.C (paintSelection): make sure that we do not compare
2554 iterators from different containers.
2556 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2557 iterators from different ParagraphList containers.
2560 * text2.C (LyXText): change order of initialization slightly
2561 (operator=): new function. copy all variables except cache_par_
2562 (moveUp): make sure that we do not compare iterators from
2563 different ParagraphList constainers.
2566 * text.C (firstPar): new function
2567 (lastPar): new function
2568 (endPar): new function
2570 * lyxtext.h: move things around and group public functions, public
2571 variables, private functions, private variables
2573 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2575 * factory.C: change call to InsetERT constructor to avoid
2576 additional invocation of method status
2577 * text2.C (toggleInset): remove redundant update() call
2578 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2579 instead of a Bufferview pointer
2581 2003-11-21 André Pönitz <poenitz@gmx.net>
2583 * rowpainter.C: simplification
2585 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2587 * text3.C (dispatch): make possible to extend a word/row selection
2590 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2592 * lyxtext.h: x0_,y0_ -> xo_,yo_
2593 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2594 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2595 * rowpainter.C (paintRows): paint full paragraphs
2597 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2599 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2602 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2604 * lyxtext.h: add x0_, y0_
2605 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2606 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2608 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2610 * text2.C (setCursorIntern): move the x_target update here *
2611 * text3.C: change some bv() to true/false in calls to
2612 cursorUp/Down/Right/Left
2613 * cursor.C: use helper function.
2615 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2617 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2618 * paragraph_funcs.[Ch]: correct comment
2619 * rowpainter.C: do not paint selections away from bv->cursor()
2620 Fix a long standing selection painting bug.
2621 * text3.C: generalize mouse-selection code to LyXTexts other that
2623 * textcursor.C: do not use y coords if we can use par offsets
2625 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2627 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2628 cursor position after e.g. inset insert)
2630 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2632 * lyxfind.C (replace): adjust to locking removal + some
2635 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2637 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2640 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2643 * output_docbook.C: XML sanitation: new layout
2644 parameters InnerTag and CommandDepth
2646 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2648 * BufferView_pimpl.C:
2650 * text3.C: Fix the insertion and modification of button-style
2653 2003-11-13 André Pönitz <poenitz@gmx.net>
2655 * InsetList.[Ch]: remove deleteLyXText
2657 * paragraph.[Ch]: cache beginOfBody position
2662 * text3.C: remove superfluous update() calls
2666 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2668 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2669 * BufferView.C (fitLockedInsetCursor): remove
2670 * cursor.[Ch] (getDim): add
2671 * text.C (getRowNearY): add faster version
2672 * text3.C: remove some update calls
2674 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2686 * text3.C: The Character Style /XML short element patch.
2688 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2691 * factory.C: Small step to solving 'unable to insert some insets'
2694 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2696 * cursor.[Ch] (updatePos): new function for updating the y
2697 position of the tip inset
2698 * bufferview_funcs.C (put_selection_at):
2699 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2701 2003-11-11 André Pönitz <poenitz@gmx.net>
2703 * text.C: remove big comment on invalid Paragraph pointers as it is
2706 2003-11-11 André Pönitz <poenitz@gmx.net>
2708 * text_funcs.[Ch]: merge with ...
2716 * Makefile.am: remove text_funcs.[Ch]
2718 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2720 * cursor.C (getPos): return absolute cached y coord
2722 * BufferView_pimpl.C (fitCursor): new simplistic code
2723 (workAreaDispatch): add a fitCursor call
2725 2003-11-10 André Pönitz <poenitz@gmx.net>
2728 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2730 2003-11-10 André Pönitz <poenitz@gmx.net>
2732 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2733 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2734 indicate that the cursor needs to leave an inset
2736 * lyxtext.h: remove inset locking
2738 * cursor.[Ch]: re-implement functionality provided by inset locking
2741 * BufferView_pimpl.[Ch]:
2743 * bufferview_funcs.[Ch]:
2755 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2757 * PosIterator.[Ch]: replace the stack with a vector, add inset
2759 * iterators.[C]: adjust
2761 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2763 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2765 * paragraph_funcs.C (readParToken): put the correct id in the
2766 error item, not the id of the top paragraph
2768 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2770 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2771 * bufferview_funcs.C (put_selection_at): use the above
2773 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2775 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2777 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2779 * output_linuxdoc.h:
2780 * output_plaintext.h:
2782 * output_docbook.h: add #include statements
2784 2003-11-05 José Matos <jamatos@lyx.org>
2786 * output_docbook.[Ch]:
2787 * output_latex.[Ch]:
2788 * output_linuxdoc.[Ch]:
2789 * output_plaintext.[Ch]: New files for output formats.
2790 * output.[Ch]: New file for helper functions.
2793 * paragraph_funcs.[Ch]: output functions moved to new files.
2795 * outputparams.h: rename of latexrunparams.h
2803 * paragraph_funcs.[Ch]:
2804 * paragraph_pimpl.[Ch]:
2805 * tabular.[Ch]: rename ascii to plaintext
2806 and LatexRunParams to OutputParams.
2808 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2810 * iterators.[Ch] (text): require bv argument
2811 * undo.C (recordUndo):
2812 * lyxfunc.C (dispatch):
2813 * bufferview_funcs.C (put_selection_at): adjust
2815 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2817 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2819 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2821 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2824 2003-11-04 André Pönitz <poenitz@gmx.net>
2826 * cursor.[Ch]: restructure
2829 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2831 * iterators.[Ch] (asCursor): remove
2833 * lfuns.h: remove LFUN_INSET_EDIT
2839 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2841 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2843 * lyxfind.[Ch]: complete overhaul
2844 * BufferView_pimpl.C:
2846 * paragraph.[Ch] (insert): add
2848 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2852 * text.C: remove dead spellcheck code
2854 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * dispatchresult.h: add a val setter
2858 * cursor.C (dispatch): use a tempvar for data_[i]
2860 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2862 * PosIterator.[Ch]: compile fix
2864 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2866 * text.C (cursorPar): deactivate the cursor cache
2868 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2870 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2872 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2874 * text3.C (dispatch): adjust for new DisptchResult semantics.
2876 * lyxfunc.C (dispatch): handle update when return from
2877 Cursor::dispatch, adjust for new DispatchResult semantics.
2879 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2880 DispatchResult(true) mean to not update. Add class functions for
2881 setting dispatched and update, as well as reading.
2883 * cursor.C (dispatch): don't handle update here
2885 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2887 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2888 * trans_mgr.C: adjust
2890 * paragraph_funcs.C (readParToken): exception safety
2892 * lyxvc.h: store the vcs pointer in a scoped_ptr
2895 * lyxsocket.C (serverCallback): exception safety
2897 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2899 * ispell.C (clone): make it return a auto_ptr
2901 * factory.C (createInset): exception safety
2902 (readInset): exception safety
2904 * bufferlist.C (newBuffer): exception safety
2906 * Thesaurus.C (Thesaurus): use initialization for aik_
2908 * MenuBackend.C (expandToc): exception safety.
2910 2003-11-03 André Pönitz <poenitz@gmx.net>
2914 * bufferview_funcs.C: remove getInsetFromId()
2917 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2923 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2925 * PosIterator.C (distance, advance): new
2926 * bufferview_funcs.[Ch] (put_selection_at): new
2927 * iterators.[Ch] (lockPath): new
2929 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2931 * iterators.[Ch] (asPosIterator): added
2932 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2933 * PosIterator.[Ch]: added
2935 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2939 * cursor.C (dispatch):
2940 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2942 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2943 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2944 contructor, add a class function dispatched. Remove operator>=
2946 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2948 * debug.C: only use the default constructor for debugstream
2951 * main.C (main): include debug.h and setup the lyxerr streambuf
2954 2003-10-31 José Matos <jamatos@lyx.org>
2956 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2958 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2959 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2960 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2961 * paragraph_pimpl.C (simpleTeXSpecialC):
2962 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2963 add LatexRunParams argument.
2965 * exporter.C (Export): change call accordingly.
2967 * latexrunparams.h: add new member to take care of the other backends.
2968 2003-10-30 José Matos <jamatos@lyx.org>
2970 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2971 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2972 factorise code for paragraph output.
2974 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2977 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2979 * text3.C (dispatch):
2980 * lyxfunc.C (dispatch):
2981 * cursor.C (dispatch):
2982 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2984 * dispatchresult.h: make the dispatch_result_t ctor explicit
2986 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2989 * buffer.C: small refactoring of docbook stuff
2991 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2996 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2998 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2999 operator dispatch_result_t, and operators for == != and >=
3001 * cursor.C (dispatch): adjust for operator dispatch_result_t
3002 removal. comment out call to update
3004 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3006 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3014 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3017 * dispatchresult.h: new file, DispatchResult broken out of
3020 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3022 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3024 * text.C (rowBreakPoint): put a hack inside #if 0
3026 2003-10-28 André Pönitz <poenitz@gmx.net>
3030 * paragraph_funcs.C:
3033 * text2.C: general cleanup (lots of small stuff)
3035 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3037 * text2.C (cursorEnd): simple fix to the "end key goes to one
3038 before the end on last row" bug
3040 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3042 * text.C (backspace): fix the "zombie characters"
3044 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3046 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3048 2003-10-27 André Pönitz <poenitz@gmx.net>
3050 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3052 * factory.C: handle new InsetPagebreak, InsetLine
3054 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3055 and move handling into new InsetPagebreak, InsetLine
3057 * BufferView_pimpl.C:
3059 * ParagraphParameters.C:
3060 * ParameterStruct.h:
3065 * paragraph_funcs.C:
3066 * paragraph_pimpl.C:
3072 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3075 * lyxrow_funcs.[Ch]:
3081 * text3.C: remove lastPos uses in favour of Row::endpos
3083 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3085 * undo.C (performUndoOrRedo): fix two crashes by setting a
3086 cursor by hand and reordering some calls. Use bv->lockInset instead
3087 of inset->edit because the latter loses cursor information
3089 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3091 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3093 (rowBreakPoint): fix width. change point to point + 1.
3094 Add a missing check.
3096 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3099 * lyxfunc.C: fix (at least partly) the problems
3100 with the Nav menu and headers inside branch insets
3103 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3105 * paragraph.C (getChar): add strong asserts
3107 * lyxrow_funcs.C (lastPos): remove hideous hack
3109 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3110 (fill): adjust to that (avoid an infinite loop)
3112 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3114 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3116 2003-10-23 André Pönitz <poenitz@gmx.net>
3118 * RowList_fwd.h: change list<> to vector<> to gain speed
3119 after suggestion from Alfredo
3121 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3123 * lyxtext.h: move the bidi stuff from here...
3126 * Bidi.[Ch]: ... to here
3128 2003-10-23 André Pönitz <poenitz@gmx.net>
3131 * text.C (isLastRow, isFirstRow): new functions
3133 * paragraph.h: new width cache member
3135 * rowpainter.C: replace RowList::iterator with Row & where possible
3137 * lyxfunc.C: replace several view()->text with a single call
3139 * toc.C: fix 'unused' warning
3141 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3143 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3144 when woring with stream::pos_type
3145 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3147 2003-10-22 André Pönitz <poenitz@gmx.net>
3150 * text.C: use Row & instead of RowList::iterator
3152 * lyxrow.h: rename end() to endpos()
3158 2003-10-22 Angus Leeming <leeming@lyx.org>
3160 * buffer.[Ch] (fully_loaded): new member function, returning true
3161 only when the file has been loaded fully.
3162 Used to prevent the premature generation of previews and by the
3163 citation inset to prevent computation of the natbib-style label.
3165 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3166 templates are all set up.
3168 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3170 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3172 * text.C: fixed an "oops" in the "is a bit silly"
3175 2003-10-21 André Pönitz <poenitz@gmx.net>
3177 * FuncStatus.[Ch]: small stuff, whitespace
3179 * lyxfont.[Ch]: operator<<() for debug reasons
3183 * lyxtext.h: whitespace, spelling
3185 * paragraph.C: naming of variables
3188 * text2.C: small stuff
3191 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3193 * text.C: (1) finish off the inset display() work;
3194 (2) fix the "is a bit silly" bug (accessing char
3197 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3199 * text.C: re-introduce display() for insets, fixing the
3200 various bugs (stretch of line above, math inset
3203 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3205 * text.C (rightMargin): remove spurious semicolon
3207 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3210 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3212 * text3.C: fix one crash due to wrong cursor def
3214 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3216 * vc-backend.C (scanMaster): make the regex static
3218 * LaTeX.C (scanAuxFile): make the regexs static
3220 * text3.C (doInsertInset, dispatch, dispatch):
3221 * text2.C (cursorUp, cursorDown):
3222 * text.C (selectNextWordToSpellcheck):
3223 * BufferView_pimpl.C (dispatch):
3224 * lyxfunc.C (dispatch): localDispatch -> dispatch
3226 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3228 * lyxsocket.C: include <cerrno>
3230 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3232 * lyxfunc.C (dispatch): remove textcache stuff
3234 * bufferlist.C (release): remove textcache stuff
3237 * TextCache.C: delete file
3238 * TextCache.h: delete file
3240 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3242 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3243 delete of the bv_->text.
3244 (resizeCurrentBuffer): remove texcache stuff
3245 (workAreaResize): ditto
3247 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3249 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3252 2003-10-16 André Pönitz <poenitz@gmx.net>
3259 * text3.C: speed up by storing y positions per paragraph plus per-row
3260 offset instead of having a 'full' y position in the row.
3262 2003-10-15 André Pönitz <poenitz@gmx.net>
3266 * undo.[Ch]: make undo aware of inner insets
3268 2003-10-14 Angus Leeming <leeming@lyx.org>
3270 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3271 static member functions LyX::ref() and LyX::cref.
3272 (lastfiles): new accessor functions for the new lastfiles_ member var.
3273 (addLyXView, views_): add a new LyXView to the list of views_.
3274 (updateInset): loop over all LyXViews to call their own updateInset
3275 member function, returning a pointer to the Buffer owning the inset.
3277 * BufferView_pimpl.C (loadLyXFile):
3278 * MenuBackend.C (expandLastfiles):
3279 * bufferlist.C (MenuWrite, QuitLyX):
3280 lastfiles is no longer a global variable.
3281 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3283 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3284 static function. Access through LyX::cref().emergencyCleanup().
3286 2003-10-14 André Pönitz <poenitz@gmx.net>
3288 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3290 * undo.[Ch]: restoring part of 'undo in insets'
3293 * undo_funcs.[Ch]: merge with undo.[Ch]
3295 * tabular.C: small cleansing stuff
3297 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3299 * paragraph_funcs.C (readParToken): report unknown insets as error
3300 boxes. Use the outer paragraph as location (also for unknown
3303 * factory.C (readInset): do not abort on reading an unknown inset.
3304 Eat it and return 0.
3306 2003-10-13 Angus Leeming <leeming@lyx.org>
3308 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3310 * lyxrc.C: displayTranslator is now a function,
3311 declared in GraphicsTypes.h.
3313 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3315 * format.C: new placeholder $$a to pass the socket address.
3317 * bufferlist.[Ch]: new function getBufferFromTmp.
3319 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3320 files in the temporary dir.
3322 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3324 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3326 * Makefile.am: add lyxsocket.[Ch].
3328 * lyx_main.C (error_handler): handle SIGPIPE.
3330 2003-10-13 André Pönitz <poenitz@gmx.net>
3332 * BufferView_pimpl.C:
3337 * undo_funcs.[Ch]: use paroffset_type instead of
3338 ParagraphList::iterators to prevent multiple conversion
3339 (and get a more robust interface)
3341 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3343 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3345 * text3.C (dispatch): ditto
3347 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3349 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3350 move the onlyfile, use onlyfile instead of foundfile in a couple
3353 * DepTable.C (update): flush the error stream a bit more
3355 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3357 * lyxserver.C (callback): adjust
3359 * lyxfunc.C (getStatus): add a missing brace in commented code
3360 (ensureBufferClean): reindent
3361 (dispatch): delete version taking a string
3363 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3365 * LaTeX.C (deplog): move found file handlig from here...
3366 (handleFoundFile): .. to new function here.
3367 (deplog): make sure to discover several files mentioned on the
3370 2003-10-10 André Pönitz <poenitz@gmx.net>
3377 * text3.C: fix some of the tabular crashes
3379 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3381 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3383 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3385 2003-10-09 André Pönitz <poenitz@gmx.net>
3387 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3390 * BufferView_pimpl.C:
3391 * bufferview_funcs.C:
3402 * undo_funcs.C: adjust
3404 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3406 * text2.C (incrementItemDepth): new function, use a backtracking
3407 algorithm to discover the correct item depth.
3408 (resetEnumCounterIfNeeded): new function, use a backtracking
3409 algorithm to discover if counter reset is needed.
3410 (setCounter): use them. Simplify a bit. Add different labels for
3411 different item depths for itemize.
3413 * paragraph.C (Paragraph): remove initialization of enumdepth
3416 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3417 enumerate and itemize. Change the type of itemdepth to signed char.
3419 2003-10-08 André Pönitz <poenitz@gmx.net>
3421 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3426 * tabular.[Ch]: fix crash after 'row-insert'
3428 2003-10-08 Angus Leeming <leeming@lyx.org>
3430 Fix doxygen warnings.
3432 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3433 Remove CutAndPaste:: prefix from header file declaration.
3435 * LColor.h (fill): remove LColor:: prefix from declaration.
3437 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3438 use lyx::depth_type rather than Paragraph::depth_type so that
3439 header file and .C file match.
3441 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3443 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3444 * aspell.C: \file aspell_local.C -> \file aspell.C
3445 * gettext.C: \file gettext.C -> \file src/gettext.C
3446 * gettext.h: \file gettext.h -> \file src/gettext.h
3447 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3448 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3449 * text.C: \file text.C -> \file src/text.C
3451 * toc.C: move comment so that doxygen is not confused.
3453 2003-10-07 Angus Leeming <leeming@lyx.org>
3455 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3457 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3460 * aspell_local.h: add forgotten std::string's.
3462 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3469 * text3.C: The Box patch. Fancybox support, minipage, parbox
3471 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3477 * ParagraphParameters.h:
3487 * lyxtextclasslist.h:
3490 * paragraph_pimpl.C:
3491 * textcursor.h: add <string> and other small fixes to make Lars'
3492 std::string patch compile with STLport.
3494 2003-10-06 Angus Leeming <leeming@lyx.org>
3496 * LColor.h: Add missing #include <string>.
3498 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3500 * All most all file in all subdirs: Make <string> be the prefered
3501 way of getting to std::string, add using declarations.
3503 2003-10-06 André Pönitz <poenitz@gmx.net>
3505 * metricsinfo.C: initialize LyXFont before changing attribute.
3506 (fixes the 'math in \emph is upright' bug)
3508 2003-10-06 André Pönitz <poenitz@gmx.net>
3510 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3512 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3515 * paragraph_pimpl.C: Small fixes to build using STLport
3517 2003-10-02 André Pönitz <poenitz@gmx.net>
3520 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3522 2003-10-01 André Pönitz <poenitz@gmx.net>
3524 * factory.C: assert early
3526 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3528 * lyx_main.C: remove the global debug object
3530 * debug.h: adjust for new debugstream
3532 * debug.C: adjust for new debugstream and keep the global debug
3535 2003-09-22 Angus Leeming <leeming@lyx.org>
3537 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3538 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3539 an incomplete class LyXFont.
3541 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3543 * factory.C: bug fix in branches
3545 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3547 * lyxfunc.C (processKeySym): adjust
3549 (dispatch): change arg name from ev to func, adjust
3550 (sendDispatchMessage): ditto
3552 * lyx_main.C (defaultKeyBindings): adjust keybindings
3553 (deadKeyBindings): ditto
3555 * kbsequence.C (addkey): return a FuncRequest
3557 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3559 * kbmap.C (bind): take a FuncRequest as arg, adjust
3562 (defkey): change to take a FuncRequest as arg, adjust
3563 (findbinding): take a FuncRequest as arg, adjust.
3565 * funcrequest.h (operator=): added
3567 * funcrequest.C (FuncRequest): default kb_action changed from
3568 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3570 * buffer.C (dispatch): simplify
3571 (dispatch): adjust to take a FuncRequest as arg, adjust
3573 * boost.C (assertion_failed): change assertion message slightly
3575 * ToolbarBackend.C (read): simplify
3577 * MenuBackend.C (binding): adjust call to findbinding, add a
3578 message if no binding is found.
3580 (expandToc): correct by adding a empty FuncRequest
3582 * LyXAction.C: include <boost/assert.hpp>
3583 (isPseudoAction): delete function
3584 (LookupFunc): change name to...
3585 (lookupFunc): this. change return type to FuncRequest.
3586 (getActionName): take kb_action as arg, simplify
3587 (funcHasFlag): add an assert, simplify.
3589 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * toc.C (action): return a FuncRequest, simplify
3593 * lyxfunc.C (processKeySym): adjust
3594 (getStatus): delete version that takes an int.
3596 (dispatch): delete version that takes action as int
3598 (sendDispatchMessage): simplify and adjust
3600 * funcrequest.C (getArg): take unsigned int as arg
3602 * ToolbarBackend.C (read): adjust
3603 (add): delete version that takes func as a string.
3604 (getIton): take a FuncRequest as arg
3606 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3609 * MenuBackend.C (MenuItem): add a new construct that only takes a
3610 Kind, simplify the constructor use for submenus.
3612 (expandLastfiles): adjust
3613 (expandDocuments): adjust
3614 (expandFormats): adjust
3615 (expandFloatListInsert): adjust
3616 (expandFloatInsert): adjust
3617 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3619 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3620 Remove class variables lyx_pseudo_map and lyx_arg_map
3622 * LyXAction.C (searchActionArg): delete function
3623 (getPseudoAction): delete function
3624 (retrieveActionArg): delete function
3625 (LookupFunc): make it return kb_action, simplify.
3626 (getActionName): simplify
3628 * factory.C (createInset): fix new bug
3630 2003-09-19 Angus Leeming <leeming@lyx.org>
3632 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3633 masterFilename_ parameter in the include inset.
3635 * factory.C (createInset): changes due to the changes to InsetInclude.
3637 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3639 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3641 2003-09-18 Angus Leeming <leeming@lyx.org>
3644 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3645 Inset::fillWithBibKeys.
3646 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3648 2003-09-18 Angus Leeming <leeming@lyx.org>
3650 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3652 (ctor): pass and store a 'Buffer const &'
3653 (buffer): new member function.
3655 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3656 '*this' to the LaTeXFeatures ctor.
3658 2003-09-18 Angus Leeming <leeming@lyx.org>
3664 * text.C: rename EnumLColor as LColor_color.
3666 2003-09-18 Angus Leeming <leeming@lyx.org>
3668 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3669 remove #include "insets/insetbase.h" from cursor.h.
3671 2003-09-18 Angus Leeming <leeming@lyx.org>
3673 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3674 InsetOld_code to remove #include "inset.h".
3676 * iterators.C: add #include "insets/inset.h"
3678 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3680 * BufferView.C: remove more locking stuff that apparently doesn't
3681 do anything sensible.
3683 2003-09-16 André Pönitz <poenitz@gmx.net>
3686 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3689 2003-09-16 Angus Leeming <leeming@lyx.org>
3691 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3693 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3696 * paragraph.h: remove #include "lyxfont.h". Forward declare
3699 2003-09-16 Angus Leeming <leeming@lyx.org>
3701 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3702 of support/textutils.h.
3703 (isWord): move the contents of support/textutils.h's IsWordChar here.
3709 * text2.C: add #include "paragraph.h".
3712 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3714 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3720 * LaTeX.C: use namespace alias for lyx::support::os
3722 2003-09-16 Angus Leeming <leeming@lyx.org>
3725 * bufferview_funcs.C:
3728 * paragraph_pimpl.C:
3730 * text.C: add #include "LColor.h".
3732 2003-09-16 Angus Leeming <leeming@lyx.org>
3734 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3735 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3737 Store the FontBits::color variable as an int rather than as an
3738 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3741 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3742 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3743 string calls together.
3745 * lyxrc.C: add #include "LColor.h".
3747 2003-09-15 Angus Leeming <leeming@lyx.org>
3749 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3752 2003-09-15 Angus Leeming <leeming@lyx.org>
3754 * LColor.h: add an EnumLColor wrapper for LColor::color.
3756 * lyxfont.[Ch] (color, setColor, realColor):
3757 * lyxtext.h, text.C (backgroundColor):
3758 pass EnumLColor args to/from the functions, rather than LColor::color
3762 * lyxtext.h: forward declare EnumLColor.
3764 * lyx_main.C: add #include "LColor.h".
3766 2003-09-15 Angus Leeming <leeming@lyx.org>
3768 * .cvsignore: add lyx-gtk.
3770 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * ParagraphParameters.C
3779 * bufferview_funcs.C
3789 * vc-backend.C: remove usage of STRCONV
3791 2003-09-15 Angus Leeming <leeming@lyx.org>
3793 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3794 explicitly define the color passed to the painter.
3796 2003-09-15 Angus Leeming <leeming@lyx.org>
3798 * bufferparams.C (BufferParams): reorder member initializers to avoid
3801 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3803 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3804 * text.C (updateRowPositions): remove an unusual nop
3806 2003-09-12 André Pönitz <poenitz@gmx.net>
3808 * BufferView_pimpl.C:
3817 * Counters.[Ch]: finish the 'automatic counters' job
3819 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3821 * aspell.C: include <boost/assert.cpp> (compile fix)
3823 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3825 * boost.C (assertion_failed): use lyx::support::abort instead of
3828 2003-09-10 Angus Leeming <leeming@lyx.org>
3830 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3831 with their _fwd progeny.
3833 2003-09-09 Angus Leeming <leeming@lyx.org>
3835 134 files throughtout the source tree: replace 'using namespace abc;'
3836 directives with the appropriate 'using abc::xyz;' declarations.
3838 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3840 * boost.C (emergencyCleanup): moved here from LAssert.c
3841 (assertion_failed): new function, called by BOOST_ASSERT
3843 * several files: change Assert to BOOST_ASSERT
3845 2003-09-09 Angus Leeming <leeming@lyx.org>
3847 * buffer.[Ch]: Add an Impl class and move Buffer's member
3848 variables into it. As a result move several header files out of
3851 Add header files to lots of .C files all over the tree as a result.
3853 2003-09-09 Angus Leeming <leeming@lyx.org>
3855 * buffer.[Ch]: make Buffer's member variables private. Add
3858 Lots of changes all over the tree as a result.
3860 2003-09-08 Angus Leeming <leeming@lyx.org>
3862 * graph.C: #include <config.h>.
3864 2003-09-08 Angus Leeming <leeming@lyx.org>
3868 * BufferView_pimpl.C:
3897 * toc.C: remove redundant using directives.
3899 2003-09-07 Angus Leeming <leeming@lyx.org>
3901 * LaTeXFeatures.h: remove #include "support/types.h".
3902 * ToolbarBackend.h: remove #include <algorithm>.
3903 * changes.h: remove #include <ctime>.
3904 * debug.h: remove #include <iosfwd>.
3905 * graph.h: remove #include "support/std_string.h".
3906 * lyx_main.h: remove #include <csignal>.
3907 * lyxlex_pimpl.h: remove #include <fstream>.
3908 * sgml.h: remove #include <algorithm>, <utility>.
3909 * toc.h: remove #include "support/std_ostream.h".
3910 Add #include <iosfwd>.
3912 2003-09-07 Angus Leeming <leeming@lyx.org>
3914 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3916 * converter.h: forward declare LatexRunParams.
3917 * encoding.h: remove #include "lyxrc.h".
3918 * lyxtext.h: remove #include "LColor.h".
3919 * lyxtextclass.h: remove #include "support/types.h".
3920 * trans.h: remove #include "tex-accent.h".
3921 * trans_mgr.h: remove #include "tex-accent.h".
3922 * insets/inset.h: remove #include "support/types.h", <vector>.
3923 * insets/insetcollapsable.h: remove #include "LColor.h".
3924 * insets/insetinclude.h: remove #include "dimension.h".
3925 * insets/insetlatexaccent.h: remove #include "dimension.h".
3926 * insets/insetoptarg.h:: remove #include "insettext.h".
3927 * insets/insettext.h: remove #include "dimension.h",
3928 <boost/shared_ptr.hpp>
3930 * insets/renderers.h: add #include "dimension.h".
3931 * insets/updatableinset.h: add #include "support/types.h".
3933 * many .C files: Associated changes.
3935 2003-09-06 Angus Leeming <leeming@lyx.org>
3937 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3938 one, inside testInvariant.
3940 * PrinterParams.C: new file.
3941 * PrinterParams.[Ch]: move the function bodies out of line.
3943 2003-09-06 Angus Leeming <leeming@lyx.org>
3945 * ParagraphParameters.h: forward declare ParameterStruct rather than
3946 including its header file.
3947 (depth): moved out-of-line.
3949 2003-09-06 Angus Leeming <leeming@lyx.org>
3951 * BufferView_pimpl.h:
3954 * lyxfunc.h: forward declare LyXKeySym rather than
3955 #include "frontends/LyXKeySym.h".
3957 * BufferView_pimpl.C:
3960 * lyxfunc.C: associated changes.
3962 2003-09-06 Angus Leeming <leeming@lyx.org>
3964 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3965 As a result, can remove the #include "insets/inset.h" from BufferView.h
3967 2003-09-06 Angus Leeming <leeming@lyx.org>
3969 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3970 As a result, can remove the #include "insets/inset.h" from BufferView.h
3972 2003-09-06 Angus Leeming <leeming@lyx.org>
3978 * bufferview_funcs.C:
3979 * BufferView_pimpl.C:
3984 * ParagraphParameters.C:
3989 * frontends/controllers/ControlDocument.C:
3990 * insets/insetcaption.C: rearrange the #includes into some sort of
3993 * buffer.h: remove #includes ErrorList.h, undo.h
3995 2003-09-06 Angus Leeming <leeming@lyx.org>
3997 * support/types.h: add a 'depth_type' typedef, used to store the
3998 nesting depth of a paragraph.
4001 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4002 defining explicitly.
4005 * paragraph_funcs.h:
4006 * ParagraphParameters.h:
4007 * sgml.h: use lyx::depth_type rather than Paragraph or
4008 ParameterStruct's depth_type.
4011 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4014 * BufferView_pimpl.C:
4016 * ParagraphParameters.C:
4019 * bufferview_funcs.C:
4026 * frontends/LyXView.C:
4027 * frontends/controllers/ControlDocument.C:
4028 * frontends/controllers/ControlErrorList.C:
4029 * insets/insetbibitem.C:
4030 * insets/insetbranch.C:
4031 * insets/insetcaption.C:
4032 * insets/insetcollapsable.C:
4033 * insets/insetenv.C:
4034 * insets/insetert.C:
4035 * insets/insetfloat.C:
4036 * insets/insetfoot.C:
4037 * insets/insetfootlike.C:
4038 * insets/insetnewline.C:
4039 * insets/insetquotes.C:
4040 * insets/insettabular.C:
4041 * insets/insettext.C:
4042 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4044 * frontends/controllers/ControlChanges.C: #include "changes.h".
4046 2003-09-06 Angus Leeming <leeming@lyx.org>
4048 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4049 than #including paragraph.h.
4052 * RowList.h: deleted. Superfluous.
4062 * insets/insettext.h: use ParagraphList_fwd.h rather than
4065 * paragraph.h: don't forward declare ParagraphList.
4068 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4069 rather than ParagraphList.h. paragraph.h is still needed for the
4070 Paragraph::depth_type parameters.
4072 * textcursor.h: enable it to compile stand-alone in light of the
4075 * bufferview_funcs.C:
4087 * frontends/controllers/ControlParagraph.C:
4088 * frontends/controllers/ControlTabular.C:
4089 * insets/insetmarginal.C:
4090 * insets/insetminipage.C:
4091 * insets/insetnote.C:
4092 * insets/insetoptarg.C: add header files needed to compile again.
4094 2003-09-06 Angus Leeming <leeming@lyx.org>
4096 * RowList_fwd.h: new file, forward-declaring Row rather than
4097 #including lyxrow.h.
4102 * insets/insettext.h: use it instead of RowList.h
4104 * bufferview_funcs.C:
4111 * text3.C: #include "RowList.h".
4113 2003-09-05 Angus Leeming <leeming@lyx.org>
4115 * factory.C (createInset):
4116 * vspace.C (c-tor): replace sscanf call with an istringstream.
4117 * ispell.C: re-add missing HP/UX headers.
4118 * lyxserver.C: re-add missing os2 headers.
4120 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4129 * text3.C: re-add missing system headers, needed for 2.95.2.
4131 2003-09-05 Angus Leeming <leeming@lyx.org>
4133 Changes most place everywhere due to the removal of using directives
4134 from support/std_sstream.h.
4136 2003-09-05 Angus Leeming <leeming@lyx.org>
4138 Replace LString.h with support/std_string.h,
4139 Lsstream.h with support/std_sstream.h,
4140 support/LIstream.h with support/std_istream.h,
4141 support/LOstream.h with support/std_ostream.h.
4143 Changes resulting throughout the tree.
4145 2003-09-05 Angus Leeming <leeming@lyx.org>
4147 * sgml.h: ensure that the header file can be compiled stand-alone.
4148 * *.C: strip out redundant #includes. (320 in total.)
4150 2003-09-04 Angus Leeming <leeming@lyx.org>
4152 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4153 here (from getPackages).
4155 * debug.[Ch]: add a new EXTERNAL tag.
4157 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4159 * text2.C (cursorEnd): simplify
4161 (getColumnNearX): adjust
4163 * text.C (computeBidiTables): adjust
4166 * rowpainter.C (paintChars): adjust
4167 (paintSelection): adjust
4168 (paintChangeBar): adjust
4171 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4173 (numberOfSeparators): adjust
4175 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4181 * text3.C: Restricts the mouse click functionality
4182 of insets like bibtex, include, toc and floatlist to the visible
4183 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4184 up the dialogs. Cursor has to be in front of the inset (i.e.
4185 start of row) for this to function.
4187 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4189 * bufferview_funcs.C (currentState): output row information
4191 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4193 * bufferview_funcs.C (currentState): output paragraph position
4195 2003-09-04 Angus Leeming <leeming@lyx.org>
4197 * FloatList.h: move out #include "Floating.h".
4198 * LaTeX.h: move out #include "DepTable.h".
4199 * LyXAction.h: move out #include "funcrequest.h".
4200 * buffer.h: move out #include "author.h", "iterators.h".
4201 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4202 * lyx_main.h: move out #include "errorlist.h".
4203 * lyxfunc.h: move out #include "FuncStatus.h".
4204 * lyxtext: move out #include "lyxcursor.h".
4205 * paragraph_pimpl.h: move out #include "counters.h".
4207 2003-09-03 Angus Leeming <leeming@lyx.org>
4209 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4210 preamble_snippets list, enabling us to add snippets to the preamble
4211 only if the snippet was not there already.
4213 2003-09-04 Angus Leeming <leeming@lyx.org>
4215 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4217 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4219 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4222 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4224 * BranchList.C: point fix, earlier forgotten
4226 2003-09-02 Angus Leeming <leeming@lyx.org>
4228 * box.C (contains): renamed from 'contained' after a fantastic
4231 2003-09-02 John Levon <levon@movementarian.org>
4237 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4239 2003-09-02 John Levon <levon@movementarian.org>
4241 * text2.C: simplification of cursorEnd(), including partial
4244 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4246 * buffer.C (readFile): add a space
4248 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4250 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4252 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4254 * buffer.C (readFile): new function, take a filename and a
4255 ParagraphList::iterator
4257 (readFile): adjust, make it private. don't use setStream, make
4258 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4259 always contain the filename.
4261 * BufferView.C (insertLyXFile): simplify and make it work for
4264 2003-08-30 John Levon <levon@movementarian.org>
4266 * Makefile.am: fix dist (from Kayvan)
4268 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4270 * most files: change to use const Buffer refs
4272 2003-08-27 André Pönitz <poenitz@gmx.net>
4274 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4275 on top of ownerPar().
4277 2003-08-27 John Levon <levon@movementarian.org>
4279 * funcrequest.C: properly initialise POD members
4281 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4283 * lyxtext.h (top_y): move top_y from here
4288 * BufferView_pimpl.[Ch]: to here
4289 * frontends/screen.C:
4290 * insets/insettabular.C:
4291 * insets/insettext.C: adjust
4292 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4294 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4297 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4299 2003-08-26 André Pönitz <poenitz@gmx.net>
4301 * paragraph_func.[Ch] (outerPar): new function
4304 * paragraph_funcs.C:
4305 * paragraph_funcs.h:
4306 * paragraph_pimpl.C:
4307 * text2.C: remove Inset::par_owner
4309 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4314 * text2.C: eliminates the needFullRow/display() stuff
4315 altogether, putting the logic in metrics/draw in the insets.
4317 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4319 * text2.C (redoParagraphInternal, redoParagraphs):
4320 * text.C (redoParagraph): add a call to updateRowPositions at the
4321 end of each 'metrics-like' call. Remove all others.
4322 (getRow): remove the 'y-computing' version.
4323 (getRowNearY): do not compute nor return the real y. Solve the
4324 'y < 0' problem and simplify.
4326 2003-08-22 Angus Leeming <leeming@lyx.org>
4328 * *.[Ch]: clean-up of licence and author blurbs.
4329 Also move config.h out of a few .h files and into a few .C files.
4331 2003-08-22 André Pönitz <poenitz@gmx.net>
4333 * lyxrow.[Ch]: add x_ and *fill_ members
4338 * text2.C: adjust/remove prepareToPrint() calls
4340 2003-08-22 André Pönitz <poenitz@gmx.net>
4342 * lyxrow.[Ch]: add end_ member
4344 * lyxrow_funcs.C: use LyXRow::end_
4346 * lyxtext.h (singleWidth): add LyXFont parameter
4349 * text2.C: adjust LyXText::singleWidth() calls
4351 * text.C (redoParagraph): simplify row breaking logic
4354 2003-08-19 André Pönitz <poenitz@gmx.net>
4356 * funcrequest.C: initialize button_ member
4359 * rowpainter.[Ch]: interface consolidation
4361 2003-08-18 André Pönitz <poenitz@gmx.net>
4364 * BufferView_pimpl.C:
4366 * paragraph_funcs.C:
4368 * text3.C: remove LyXScreen::draw() and fitCursor calls
4370 * BranchList.h: remove spurious semicolons
4372 * MenuBackend.C: fix branchlist related crash
4374 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4382 * bufferparams.[Ch]:
4386 * text3.C: implements the 'branch inset'
4387 idea. This allows the output of various versions of a document
4388 from a single source version, selectively outputing or suppressing
4389 output of parts of the text.
4390 This implementation contains a 'branch list editor' in a separate
4391 tab of the document settings dialog. Branches are user definable
4392 and have a "display colour" to distinguish them on-screen.
4394 ColorHandler was somewhat cleaned up.
4395 (1) make possible a dynamically growing LColor list by allowing
4396 the graphic context cache to grow along (vector);
4397 (2) eliminate an IMHO unnecessary step in colour allocation.
4399 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4401 * BufferView_pimpl.C: compile fix
4403 2003-08-15 André Pönitz <poenitz@gmx.net>
4405 * rowpainter.C: remove extra metrics calls
4407 * lyxtext.h: merge the two constructors into a single one,
4408 pass reference to owner's par list
4410 * BufferView_pimpl.C:
4414 2003-08-15 André Pönitz <poenitz@gmx.net>
4416 * lyxrow_funcs.[Ch]:
4419 * paragraph_funcs.C:
4424 * text_funcs.C: split LyXText::rowlist_ into individual
4425 Paragraph::rows_ chunks
4428 * BufferView_pimpl.[Ch]:
4431 * text3.C: remove toggleSelection()
4433 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4435 * bufferlist.C: beautify two alerts (shorter text of buttons)
4436 * buffer.C: Remove redundant ' ' from message
4438 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4439 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4440 rename VALIGN_CENTER to VALIGN_MIDDLE
4442 2003-08-11 André Pönitz <poenitz@gmx.net>
4444 * lyxtext.h (getPar):
4445 * text.C: new function
4447 2003-08-11 André Pönitz <poenitz@gmx.net>
4450 * tracer.[Ch]: remove unneeded files
4452 * InsetList.[Ch]: remove resizeInsetsLyXText()
4457 * text3.C: merge insertParagraphs() and appendParagraph()
4458 remove breakAgain(), update()
4460 * BufferView_pimpl.[Ch]:
4461 * bufferview_funcs.[Ch]:
4465 * tabular.C: adjust after text & InsetList changes.
4467 2003-08-08 André Pönitz <poenitz@gmx.net>
4469 * text.C (insertChar, backspace): replace rowlist fiddling
4470 with rebreak of full par
4473 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4474 checkParagraph, updateInset): removed
4476 2003-08-07 André Pönitz <poenitz@gmx.net>
4479 * text3.C: merge some LFUN handlers, remove dead code
4481 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4483 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4485 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4487 * text2.C (DEPM): fix part of bug 1255 and 1256
4489 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4491 * BufferView_pimpl.C (workAreaDispatch): change to use
4492 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4493 that are no mouse related.
4495 2003-08-05 André Pönitz <poenitz@gmx.net>
4498 * BufferView_pimpl.[Ch]:
4499 * bufferview_funcs.C:
4501 * text3.C: rip out "deep update"
4503 * textcursor.[Ch] (last_sel_cursor): remove unused member
4505 2003-08-04 André Pönitz <poenitz@gmx.net>
4508 * BufferView_pimpl.[Ch]:
4509 * ParagraphParameters.C:
4510 * bufferview_funcs.C:
4516 * text3.C: replace "complicated" BufferView::update(...) calls with
4519 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4521 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4523 * Makefile.am (lyx_SOURCES): add paper.h
4525 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4527 * Makefile.am: move things around so that both lyx-qt and
4528 lyx-xforms can be built (according to --with-frontend). Then lyx
4529 is a symbolic link to lyx-[firstfrontend]
4531 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4533 * Always use std::endl with lyxerr
4535 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4537 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4539 2003-08-01 André Pönitz <poenitz@gmx.net>
4542 * BufferView_pimpl.[Ch]:
4544 * text3.C: merge BufferView::repaint() and BufferView::update()
4546 2003-08-01 José Matos <jamatos@lyx.org>
4548 * buffer.[Ch]: file_format is no longer a buffer data element.
4550 2003-08-01 André Pönitz <poenitz@gmx.net>
4555 * text2.C: make redoParagraph more independent of current cursor
4557 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4559 * text2.C: remove unneeded members
4561 2003-07-30 André Pönitz <poenitz@gmx.net>
4563 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4565 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4566 create a single function...
4568 * paragraph_funcs.C (moveItem): ... here.
4571 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4573 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4575 * LColor.[Ch]: Add comment and greyedout logical colors.
4577 2003-07-30 André Pönitz <poenitz@gmx.net>
4579 * tabular.C: don't use Assert too heavily. This crashes where it
4582 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4584 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4585 is disabled (bug 1232)
4587 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4589 * factory.C: limited 'arg' scope
4591 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4593 * factory.C: fixed Note submenu issues
4595 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4597 * factory.C: submenu for Note/Comment/Greyedout
4599 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4602 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4604 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4607 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4608 greyedout. Patch provided by Jürgen Spitzmüller.
4610 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4612 * kbmap.C (read): fix error message when reading bind files
4614 2003-07-29 Angus Leeming <leeming@lyx.org>
4616 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4617 certainly does not do what it purports to do. I am doing it, and
4618 us, a favour by killing it.
4620 2003-07-28 José Matos <jamatos@lyx.org>
4622 * buffer.C (readBody, do_writeFile):
4623 * paragraph.C(readParagraph): \end_document replaces \the_end.
4625 2003-07-29 André Pönitz <poenitz@gmx.net>
4628 * BufferView_pimpl.[Ch]:
4632 * textcursor.[Ch]: remove toggleToggle & Co
4634 2003-07-28 José Matos <jamatos@fep.up.pt>
4636 * buffer.C (readParagraph):
4637 * params_func (readParToken, readParagraph):
4638 * paragraph.C (write): \layout -> \begin_layout.
4640 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4642 * lyxlex_pimpl.C (setFile): clean up slightly.
4644 * bufferparams.h: add compressed var
4646 * buffer_funcs.C (readFile): adjust for LyXLex change
4647 (newFile): ditto + simplify
4649 * buffer.C (writeFile): handle writing of compressed files
4651 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4652 Check if the file is compressed and set a bufferparm if so.
4654 * Makefile.am (lyx_LDADD): remove explicit -lz
4656 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4658 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4659 makeDocBookFile): put the real LyX version in the first line of
4663 * version.C.in: remove lyx_docversion
4665 * tabular.C (write_attribute): add a template-based version to
4666 write enums properly
4668 2003-07-28 André Pönitz <poenitz@gmx.net>
4673 * text3.C: use doubles again for x-coordinates. They are needed.
4675 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4677 * messages.C (getLocaleDir): use lyx_localedir()
4679 * lyxlex_pimpl.C (setFile): compress stuff
4681 * buffer.C (writeFile): add some compression stuff
4682 (do_writeFile): new func, dont call expliti close... will this
4685 * Makefile.am (lyx_LDADD): add -lz
4687 2003-07-28 José Matos <jamatos@fep.up.pt>
4689 * buffer.C: increment file format.
4690 * paragraph_funcs (readParagraph, readParToken):
4691 * paragraph.C (readParagraph): add \end_layout.
4693 2003-07-27 Angus Leeming <leeming@lyx.org>
4695 * Makefile.am: remove special casing for configure-time setting of
4696 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4698 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4699 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4701 2003-07-26 André Pönitz <poenitz@gmx.net>
4703 * paragraph_func.[Ch]:
4704 * paragraph.C (realizeFont): inline it whereever it is used
4709 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4712 2003-07-26 André Pönitz <poenitz@gmx.net>
4716 * text2.C: get rid of LyXText::need_break_row
4718 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4720 * toc.[Ch]: put namespace toc inside namespace lyx
4722 * MenuBackend.C (expandToc2): adjust for lyx::toc
4725 * lyxfunc.C (dispatch): adjust for lyx::find
4727 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4728 lyx::find instead. Reorganize a bit.
4729 (LyXReplace): rename to replace
4730 (LyXFind): rename to find
4732 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4735 2003-07-26 André Pönitz <poenitz@gmx.net>
4737 * text.C (setHeightOfRow): restrict scope of temporary variable
4739 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4740 code (never has been used?)
4742 2003-07-27 Asger Alstrup <alstrup@local>
4744 * text.C (fill): Optimise algorithm to exploit that we can reuse
4745 the LyXFont for many characters.
4746 (setHeightOfRow): Same thing.
4747 (rowBreakPoint): Same thing.
4749 2003-07-26 Asger Alstrup <alstrup@local>
4751 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4753 * text.C (singleWidth): Spurious font copying in hot-spot
4754 singleWidth avoided. Reorder tests for arabic for efficiency.
4756 * text.C (fill): handle empty paragraphs better.
4758 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4761 * encoding.h: add includes
4763 * lyxrc.C: remove reading of bind files
4765 * lyx_main.C (init): setup bindings and menus only if we have a
4768 * kbmap.C (read): new method. Do the actual reading of bind
4771 * converter.C (dvipdfm_options):
4774 (output): adapt PAPER_* enums.
4776 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4778 * bufferparams.h: remove paper-related enums from there
4780 * paper.h: New file. A trivial header file to hold paper-related
4781 enums. It should later expand to contain many paper-related
4784 * lyxrc.C: declare extern displayTranslator
4786 2003-07-27 José Matos <jamatos@fep.up.pt>
4788 * tabular.[Ch] (linuxdoc): add support for tables and figures
4791 2003-07-27 José Matos <jamatos@fep.up.pt>
4793 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4794 consistency in both functions.
4795 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4797 2003-07-26 Asger Alstrup <alstrup@local>
4799 * rowpainter.C (paintRows): Change algorithm to work directly on
4800 the insets rather than asking every character in the document
4801 whether its an inset.
4803 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4805 * buffer.C (openFileWrite): factorize some code
4807 2003-07-26 Angus Leeming <leeming@lyx.org>
4810 * lyx_main.[Ch]: replace occurances of system_tempdir with
4813 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4815 * rename Inset to InsetOld
4817 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4819 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4820 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4821 which I think is a bit clearer. EDIT is gone, since it was
4822 premature optimisation, and broken for mathed anyway.
4823 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4824 with cursor positioning in insets as well (math insets still do not
4825 work, but that's a different story anyway.) It mysteriously
4826 crashes sometimes with undo in the first paragraph, but I'm fairly
4827 confident that this is a compiler bug.
4829 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4831 * paragraph.C (Paragraph): adjust for new clone return type
4833 (copyIntoMinibuffer): ditto
4835 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4837 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4838 by not having a special case, and always doing a full rebreak of
4839 the document after undo.
4841 2003-07-23 Angus Leeming <leeming@lyx.org>
4843 * factory.C (createInset): InsetExternal::setParams now takes a
4846 2003-07-23 Angus Leeming <leeming@lyx.org>
4848 * factory.C (createInset): changed interface to the external and
4849 graphics mailers' string2params functions.
4851 2003-07-23 Angus Leeming <leeming@lyx.org>
4853 * factory.C (createInset): pass a
4854 Buffer const * parameter to InsetExternalMailer's string2params.
4856 2003-07-22 John Levon <levon@movementarian.org>
4858 * Thesaurus.h: include the right aiksaurus header
4860 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4862 * MenuBackend.C (expand): check menu shortcuts unconditionally
4864 2003-07-21 Angus Leeming <leeming@lyx.org>
4866 * factory.C (createInset): pass a
4867 buffer_path parameter to InsetGraphicsMailer's string2params.
4869 2003-07-21 Angus Leeming <leeming@lyx.org>
4871 * BufferView_pimpl.C (buffer):
4874 * lyxfunc.C (dispatch):
4875 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4876 rather than the grfx shortcut.
4878 2003-07-21 André Pönitz <poenitz@gmx.net>
4880 * rowpainter.C: remove unused variables
4883 * tabular_funcs.h: move to tabular.C
4884 * Makefile.am: adjust
4886 * tabular.[Ch]: basic optical cleaning
4888 * author.h: pass references, not values
4890 2003-07-18 André Pönitz <poenitz@gmx.net>
4898 * text3.C: two-phase drawing for InsetText and InsetTabular
4899 some float -> int changes.
4901 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4903 * lyx_main.C: fix the fix
4905 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4907 * lyx_main.C: fix a crash in batch mode if no files specified
4910 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4912 * format.[Ch] (papersize): moved to BufferParams
4913 * converter.[Ch] (dvips_options): moved to BufferParams
4914 (dvipdfm_options): moved to anon namespace
4915 * bufferparams.[Ch]: added above functions.
4917 2003-07-17 André Pönitz <poenitz@gmx.net>
4921 * text2.C: don't call inset->update() anymore
4923 * metricsinfo.[Ch]: add convenience constructor
4925 2003-07-16 André Pönitz <poenitz@gmx.net>
4930 * text2.C: replace the LyXCursor::irow_ member with
4931 on-demand computation of the value
4933 2003-07-16 John Levon <levon@movementarian.org>
4935 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4937 2003-07-15 André Pönitz <poenitz@gmx.net>
4940 * text2.C: remove no more needed refresh_row
4942 2003-07-15 André Pönitz <poenitz@gmx.net>
4947 * text3.C: refresh_status tristate -> need_update bool
4949 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4951 * lyxtext.h (init): remove reinit argument (act as if always true)
4952 * text2.C: adjust to that
4954 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4956 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4957 * text3.C: use it to delete selections in some cases
4958 (bugs 441, 673, 702, 954).
4960 2003-07-14 André Pönitz <poenitz@gmx.net>
4962 * rowpainter.[Ch]: reduce interface
4964 2003-07-14 André Pönitz <poenitz@gmx.net>
4966 * BufferView_pimpl.C:
4967 * text2.C: adjust after removing unused BufferView * argument
4969 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4971 * text2.C (init): fix a crash fired on resize
4973 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4975 * buffer.[Ch]: added new closing signal
4976 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4977 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4978 BufferView::Pimpl via the closing the signal
4980 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4982 * buffer.[Ch]: take out all bv-related from buffer
4984 * BufferView_pimpl.[Ch]: connect to new signals
4985 * CutAndPaste.C: removed useless asserts
4986 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4989 * lyxfunc.C: moved view-related funciontality from vc here
4990 * paragraph.C: removed outdated comments
4993 2003-07-10 André Pönitz <poenitz@gmx.net>
4995 * BufferView_pimpl.C:
4999 * text2.C: remove InsetText::InnerCache, clean up consequences
5001 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5003 * ispell.C: fix two typos in error messages
5005 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5007 * Extend Note inset to other forms of annotation like Comment
5008 and Greyedout. Right button click gives dialog.
5010 Files modified or added (+):
5014 * ControlNote.[Ch] +
5016 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5017 frontends/controllers
5021 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5023 * aspell.C: add missing namespace lyx::support
5025 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5027 * BufferView.[Ch] (newFile): Add
5028 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5029 * LaTeX.[Ch] (message): added this signal and use it
5030 * buffer.[Ch] (busy, message): added these signals and use them
5031 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5035 * importer.C: use buffer signals instead of direct bv calling
5036 * lyx_cb.[Ch] (ShowMessage): removed
5039 * paragraph_funcs.C:
5040 * text2.C: use buffer signals
5042 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5044 * introduce namespace lyx::graphics
5046 2003-07-02 André Pönitz <poenitz@gmx.net>
5048 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5050 2003-07-01 André Pönitz <poenitz@gmx.net>
5057 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5058 text*.C to text_func.C
5060 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5062 * introduce namespace lyx::support
5064 2003-06-30 André Pönitz <poenitz@gmx.net>
5069 * text.C: re-enable --with-included-string
5071 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5073 * textcursor.C: add <config.h>
5075 * text.C (getWord): remove const from word_location arg
5077 * lyxvc.C (getLogFile): fix const type order
5079 * lyxtext.h: remove const from word_location arg, add arg name
5081 * lyxlayout.h: currect type on labeltype.
5083 * importer.C: correct \file
5085 * converter.C (intToFormat): use std:: on ret val, ws changes
5087 * bufferlist.h: correct \file
5089 * buffer.C (makeLinuxDocFile): fix const type order
5090 (makeDocBookFile): ditto
5091 (fillWithBibKeys): use std:: on stdlib args.
5093 * CutAndPaste.C: fix authors.
5094 (availableSelections): use std:: on return vector
5096 2003-06-27 André Pönitz <poenitz@gmx.net>
5098 * BufferView_pimpl.C:
5099 * bufferview_funcs.C:
5107 * text3.C: remove LyXCursor::row_ member
5110 * text.C: rename fullRebreak() to partialRebreak() and implement
5111 a fullRebreak() that really bereks fully
5113 * textcursor.h: new struct for cursor-related data
5115 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5117 * lyx_main.C (LyX): get full path of document loaded on the
5120 2003-06-26 André Pönitz <poenitz@gmx.net>
5122 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5123 remove unused/broken operator>,<,>=.
5125 * text.C: remove only use of broken operator<= in an Assert().
5127 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5129 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5130 moved errorlist_.clear to showErrorList
5132 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5134 * converter.C (scanLog, runLaTeX):
5135 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5136 move the bv->showErrorList call to the callers
5137 * lyxfunc.C: i.e. here...
5139 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5140 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5141 namespace, the second to...
5142 * buffer_funcs (BufferFormat, parseErrors): added
5143 * errorlist.C (ErrorList(TeXErrors const &)): removed
5145 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5147 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5149 2003-06-24 "Garst R. Reese" <reese@isn.net>
5153 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5155 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5157 * version.C.in: change docversion to 1.4
5159 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5161 * buffer.C: fix a bug just introduced
5163 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5165 * buffer.[Ch]: added the parseError signal and use it, removed
5167 * BufferView.[Ch] (addError): moved to ...
5168 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5169 to the Buffer::parseError signal to catch (guess what) parse errors
5170 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5172 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5174 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5175 ability to create a buffer and to return an existing one from
5176 the list. Moved these functions to...
5177 * buffer_funcs.[Ch]: added
5178 * BufferView.[Ch] (loadLyXFile): added
5179 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5180 job removed from bufferlist::loadLyXFile.
5181 * buffer.C (setReadOnly): make it work without view
5182 (i.e added an if (users))
5184 2003-06-19 Angus Leeming <leeming@lyx.org>
5187 * LyXAction.C (init):
5188 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5189 with LFUN_DIALOG_SHOW <name> <data>.
5191 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5193 * CutAndPaste.C (availableSelections): small compilation fix for
5194 ancient (gcc 2.9x) compilers
5196 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5198 * text3.C (cursorNext): add tmp var
5200 * text2.C (updateCounters): for function calling out of for clause
5201 (replaceSelectionWithString): ditto
5202 (insertStringAsParagraphs): ditto
5203 (getColumnNearX): add tmp var
5204 (setCursorFromCoordinates): add tmp var
5205 (cursorDownParagraph): add tmp var
5206 (deleteEmptyParagraphMechanism): add tmp var
5208 * text.C (insertChar): add tmp var
5210 * rowpainter.C (paintDepthBar): add tmp var
5212 * CutAndPaste.C (availableSelections): potentially check all
5213 paragraphs in a cut to fill the shown strings.
5215 2003-06-18 André Pönitz <poenitz@gmx.net>
5217 * kbmap.[Ch]: use vector<> instead of list<>
5219 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5221 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5222 pasteSelection with index
5224 * text2.C (pasteSelection): modify, call pasteSelection with index
5226 * paragraph.C (asString): reimplement version with no interval to
5227 call the one with interval.
5229 * lyxtext.h: add index arg to pasteSelection
5231 * MenuBackend.C (MenuItem): handle PasteRecent
5232 (Menu::read::Menutags): add md_pasterecent
5234 (expandPasteRecent): new function
5237 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5239 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5241 (availableSelections): new function
5243 2003-06-17 Angus Leeming <leeming@lyx.org>
5245 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5247 2003-06-17 Angus Leeming <leeming@lyx.org>
5250 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5252 * lyxfunc.C (dispatch): invoke it.
5254 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5256 * iterators.C (operator++, ParPosition): reintroduce some
5257 const_cast for the benefit of older compilers.
5259 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5261 * text3.C (dispatch): do not modify clipboard when doing
5262 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5263 LFUN_DELETE_SKIP on a selection selection
5265 2003-06-16 André Pönitz <poenitz@gmx.net>
5271 * tabular.[Ch]: IU of clone() and getLabelList();
5273 2003-06-13 André Pönitz <poenitz@gmx.net>
5275 * tabular.h: compactification
5277 2003-06-12 André Pönitz <poenitz@gmx.net>
5281 * tabular_funcs.h: some renaming plus whitespace
5283 2003-06-12 André Pönitz <poenitz@gmx.net>
5286 * BufferView_pimpl.C:
5292 * toc.C: Return a Paragraph & for ParIterator::operator*()
5294 2003-06-11 John Levon <levon@movementarian.org>
5298 * ToolbarBackend.C: add "Toolbars" section and
5301 2003-06-10 Angus Leeming <leeming@lyx.org>
5304 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5306 * lyxfunc.C (dispatch): invoke it.
5308 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5310 * main.C: protect <ios> with HAVE_IOS
5311 (main): protect sync_with_stdio with HAVE_IOS
5313 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5315 * text2.C (cutSelection): adjust
5316 (pasteSelection): adjust
5318 * messages.C: handle get of empty string
5320 * main.C (main): use sync_with_stdio(false)
5322 * lyxfunc.C (dispatch): adjust
5324 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5325 (WriteAs): remove unneeded BufferView arg.
5327 * bufferparams.h: use correct types on papersize, papersize2 and
5330 * bufferparams.C (readToken): adjust for type
5331 (writeLaTeX): add missing cases to switch.
5333 * bufferlist.C (quitWriteBuffer): adjust
5336 * buffer.C (asciiParagraph): remove some commented code.
5338 * CutAndPaste.C: remove current_view extern variable.
5339 (cutSelection): add BufferParams arg.
5340 (eraseSelection): add BufferParams arg.
5341 (pasteSelection): add Buffer const & arg
5343 2003-06-07 John Levon <levon@movementarian.org>
5346 * paragraph_funcs.C:
5347 * paragraph_pimpl.C:
5351 * paragraph.C: allow InsetERT to freely space lines,
5352 and some consolidation of code
5354 2003-06-06 José Matos <jamatos@fep.up.pt>
5356 * buffer.C (makeDocBookFile): fix bug #821
5358 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5360 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5362 2003-06-04 Angus Leeming <leeming@lyx.org>
5364 * buffer.C: bump format to 224.
5366 2003-06-05 André Pönitz <poenitz@gmx.net>
5368 * text2.C (redoParagraphs): remove two const_cast<>
5370 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5372 * ParagraphList.h: remove last remnants of NO_STD_LIST
5374 2003-06-03 Angus Leeming <leeming@lyx.org>
5376 * factory.C (createInset): small change to the way InsetExternal's params
5379 2003-06-04 André Pönitz <poenitz@gmx.net>
5381 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5383 * paragraph_pimpl.h:
5384 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5386 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5388 * undo_funcs.C: make some simple cases of undo work again
5390 2003-06-03 John Levon <levon@movementarian.org>
5392 * ispell.C: HPUX doesn't have sys/select.h
5395 2003-06-03 John Levon <levon@movementarian.org>
5397 * CutAndPaste.C: update tabular and include inset
5402 * paragraph.C: remove owningBuffer(), don't pass Buffer
5405 * factory.C: insetGraphicsParams changed
5407 2003-06-02 John Levon <levon@movementarian.org>
5413 * text3.C: remove insetparent
5415 2003-06-02 John Levon <levon@movementarian.org>
5418 * buffer.C: fix inset_iterator.end(), move out of line
5421 2003-06-01 John Levon <levon@movementarian.org>
5423 * text3.C: use a proper cut/paste when doing inset
5424 insert (from Jürgen Spitzmüller)
5426 2003-06-01 John Levon <levon@movementarian.org>
5428 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5430 2003-05-30 André Pönitz <poenitz@gmx.net>
5432 * rowpainter.C: unify second drawing phase
5434 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5436 * trans_mgr.C: remove one case of current_view
5438 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5440 * paragraph_funcs.h: remove paragraph.h include
5442 * paragraph.h: delete NO_STD_LIST stuff
5444 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5446 * buffer.h: remove paragraph.h include
5448 * ParagraphList.C: delete file
5450 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5452 * toc.C (getTocList): adjust
5454 * paragraph_pimpl.C (validate): adjust
5456 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5458 * paragraph.C (Paragraph): adjust
5459 (getPositionOfInset): use const_iterator, adjust
5460 (bibitem): use const_iterator, adjust
5461 (setInsetOwner): adjust
5463 * iterators.C (operator++): adjust
5465 * InsetList.[Ch]: Replace selfmade iterator with standard
5466 vector::iterator also introduce const_iterator. Remove getPos,
5467 getInset and setInset from InsetTable. Adjust accordingly.
5469 * BufferView.C (lockInset): adjust
5470 (ChangeInsets): adjust
5472 * tabular.[Ch]: delete commented same_id functions
5474 2003-05-28 John Levon <levon@movementarian.org>
5476 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5478 2003-05-28 André Pönitz <poenitz@gmx.net>
5480 * metricsinfo.[Ch]: remove 'fullredraw' member
5482 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5484 * lyxtextclass.C (operator): remove caching.
5486 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * text2.C (cursorBottom): adjust
5491 (setCounter): use ParagraphList::find, adjust
5493 * text.C (workWidth): use ParagraphList::find, adjust
5495 * lyxcursor.C (LyXCursor): adjust
5497 * buffer.C (inset_iterator): adjust
5499 * ParagraphList.h: make iterator(value_type) private, make
5500 ParagraphList a friend of iterator.
5502 * ParagraphList.C (find): new function
5504 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5506 2003-05-27 André Pönitz <poenitz@gmx.net>
5508 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5510 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5512 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5514 2003-05-26 John Levon <levon@movementarian.org>
5516 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5518 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5520 * remove same_id from function signatures, adjust.
5522 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5524 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5526 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5528 * paragraph.C (Paragraph): get rid of same_ids parameter
5530 * ParagraphList.C (insert): adjust
5533 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5535 * paragraph_funcs.C (breakParagraph): adjust
5536 (breakParagraphConservative): adjust
5538 * buffer.C (readParagraph): adjust
5540 * ParagraphList.C (insert): take a reference instead of a pointer
5543 * paragraph.[Ch] (id): new function
5545 * bufferlist.C (newFile): adjust
5547 * ParagraphList.C (ParagraphList): adjust
5549 (push_back): take a reference instead of a pointer.
5551 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5553 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5556 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5557 set else use old code.
5559 * ParagraphList.C: remove all NO_NEXT code and only compile this
5560 code of NO_STD_LIST is set.
5562 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5564 * BufferView_pimpl.C:
5574 * graphics/GraphicsConverter.C:
5575 * graphics/PreviewLoader.C: header adjustment
5577 2003-05-23 Angus Leeming <leeming@lyx.org>
5579 * LaTeXFeatures.[Ch] (useBabel): new method.
5580 * bufferparams.C (writeLaTeX): use it.
5582 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5584 * ParagraphList.h (set): remove unused function.
5586 2003-05-23 André Pönitz <poenitz@gmx.net>
5589 * BufferView_pimpl.C:
5593 * undo_funcs.C: setUndo reworked
5595 * iterators.[Ch]: add access to topmost ParagraphList
5597 * lyxtext.[Ch] (workWidth): add a const
5599 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5601 * texrow.[Ch] (increasePos): remove function
5602 * exporter.C (export): removed unused var and outdated comment
5604 2003-05-23 Angus Leeming <leeming@lyx.org>
5606 * latexrunparams.h: rename fragile as moving_arg.
5607 * paragraph.C (simpleTeXOnePar): ditto.
5608 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5610 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5612 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5614 (textUndoOrRedo): comment out a currently unused var.
5616 * paragraph.h (NO_NEXT): enable NO_NEXT
5618 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5620 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5622 * exporter.C (Export): adjust for removeAutoInsets removal.
5624 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5626 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5628 * BufferView.[Ch] (removeAutoInsets): delete function
5630 2003-05-22 Angus Leeming <leeming@lyx.org>
5632 * latexrunparams.h: add a free_spacing variable.
5634 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5635 to pass moving_arg, as the data is stored in runparams.fragile.
5637 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5638 to Inset::latexOptional or to simpleTeXOnePar.
5640 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5641 free_spacing arg to Inset::latexOptional.
5643 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5646 2003-05-22 Angus Leeming <leeming@lyx.org>
5648 * latexrunparams.h: add fragile and use_babel variables.
5650 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5651 * buffer.C (makeLaTeXFile): store this returned value in
5652 runparams.use_babel, thus passing it to the inset::latex methods.
5654 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5655 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5657 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5658 longer has a fragile arg, as it is stored in runparams.fragile.
5660 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5661 moving_arg parameter as the data is stored in runparams.fragile.
5663 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5664 a fragile parameter as the data is stored in runparams.fragile.
5666 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5668 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5670 2003-05-22 Angus Leeming <leeming@lyx.org>
5672 * latexrunparams.h: add a 'bool nice' which defaults to false.
5674 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5675 now encapsulated within runparams.
5677 * bufferlist.C (updateIncludedTeXfiles):
5678 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5680 2003-05-22 Angus Leeming <leeming@lyx.org>
5682 * latexrunparams.h: new file containing struct LatexRunParams.
5683 * Makefile.am: add new file.
5685 * LaTeX.[Ch] (c-tor, run):
5686 * buffer.[Ch] (makeLaTeXFile):
5687 * bufferlist.[Ch] (updateIncludedTeXfiles):
5688 * converter.C (convert, scanLog):
5689 * converter.[Ch] (runLaTeX):
5690 * exporter.C (Export):
5691 * paragraph.[Ch] (simpleTeXOnePar):
5692 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5693 * paragraph_funcs.[Ch] (latexParagraphs):
5694 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5695 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5696 pass around a LatexRunParams parameter.
5698 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5700 * paragraph.[Ch]: remove unused constructor
5702 * ParagraphList.C (erase): new function, taking two iterators
5704 2003-05-22 André Pönitz <poenitz@gmx.net>
5706 * undo_funcs.C: remove duplicated code
5708 * iterator.[Ch]: operator=
5710 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5712 * tabular.C (SetMultiColumn): ws changes
5714 * rowpainter.C (paintFirst): get rid of a ->previous
5716 * lyx_cb.C (getPossibleLabel): parlist simplification
5718 * BufferView.C (ChangeInsets): simplify slightly.
5720 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5722 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5723 * lfuns.h: new LFUN_SPACE
5724 * lyxfunc.C: protected space has a new lfun
5725 * paragraph_funcs.C: read new space insets
5727 * factory.C: handle new space insets
5729 2003-05-22 André Pönitz <poenitz@gmx.net>
5732 * BufferView_pimpl.C:
5735 * undo_funcs.C: return a ParIterator from getParFromID.
5737 * iterators.[Ch]: add two const's
5739 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5741 * toc.C (getTocList): adjust
5743 * iterators.[Ch]: rework for parlist
5745 * buffer.C (par_iterator_begin): adjust
5746 (par_iterator_end): adjust
5748 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5750 * BufferView.C (removeAutoInsets): adjust
5751 (ChangeInsets): adjust
5753 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5755 * text.C (top_y): fix bug 1110
5757 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5759 * errorlist.[Ch]: added
5762 * BufferView_pimpl.C:
5763 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5766 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5768 * Makefile.am: ensure that lyx is relinked upon changes to the
5769 various "convenience" libs.
5771 2003-05-20 Angus Leeming <leeming@lyx.org>
5773 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5774 files are compiled in alphabetical order again.
5776 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5778 2003-05-19 Angus Leeming <leeming@lyx.org>
5780 * gettext.[Ch]: remove "char const * _(char const *)".
5782 2003-05-19 André Pönitz <poenitz@gmx.net>
5784 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5793 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5795 2003-05-19 André Pönitz <poenitz@gmx.net>
5799 * lyxtextclass.[Ch]:
5801 * paragraph_funcs.[Ch]:
5803 * text3.C: more insetenv work
5805 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5807 * ParagraphParameters.C (params2string): small bug fixed
5809 2003-05-16 André Pönitz <poenitz@gmx.net>
5812 * bufferview_funcs.C: patch from Kornel Benko to prevent
5813 crash when _(...) is called twice in a statement
5815 2003-05-16 André Pönitz <poenitz@gmx.net>
5822 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5824 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5826 * lyx_main.C (init): remove spurious static_cast
5828 2003-05-14 André Pönitz <poenitz@gmx.net>
5830 * BufferView.C: fix format string
5832 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5834 * BufferView.[Ch] (insertErrors): removed
5835 * BufferView.[Ch] (showErrorList): added
5836 * buffer.C (runChkTeX):
5837 * converter.C (scanLog): call showErrorList instead of inserterrors
5839 2003-05-13 André Pönitz <poenitz@gmx.net>
5841 * BufferView_pimpl.C:
5843 * bufferview_func.C:
5850 * tabular_funcs.h: tostr() from its own header
5852 * ParagraphParameters.C:
5857 * text3.C: STRCONV()
5859 2003-05-12 André Pönitz <poenitz@gmx.net>
5862 * BufferView_pimpl.C:
5866 * ParagraphParameters.C:
5870 * bufferview_funcs.C:
5883 * paragraph_funcs.C:
5887 * text3.C: boost::format -> bformat all over the place
5890 2003-05-09 André Pönitz <poenitz@gmx.net>
5892 * LColor.[Ch]: Pimpl the #include <map> away
5894 2003-05-09 John Levon <levon@movementarian.org>
5896 * bufferlist.C: never remove emergency saves
5898 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5900 * Makefile.am: better lib building
5902 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5904 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5906 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5907 (simpleTeXSpecialChars): adjust
5908 (simpleTeXSpecialChars): adjust
5909 * paragraph.C (simpleTeXOnePar): adjust
5910 * buffer.C (makeLaTeXFile): adjust
5912 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5914 * text2.C (changeDepth): parlist cleanup
5915 (getColumnNearX): ditto
5917 * rowpainter.C (getLabelFont): parlist cleanup
5919 * bufferlist.C (newFile): parlist cleanup
5921 * CutAndPaste.C (eraseSelection): parlist cleanup
5923 * BufferView_pimpl.C (trackChanges): parlist cleanup
5926 * BufferView.C (lockInset): parlist cleanup.
5927 (ChangeInsets): ditto
5929 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5931 * CutAndPaste.h: Update file header.
5933 * CutAndPaste.C: Update file header.
5934 Store the parts cut out of the Document in a limited_stack.
5935 (copySelection): adjust
5936 (pasteSelection): new function, takes the index in the limited stack.
5937 (nrOfParagraphs): adjust
5938 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5939 simplify error inset insertion.
5940 (checkPastePossible): adjust
5942 2003-05-06 John Levon <levon@movementarian.org>
5944 * text2.C: don't cast wrap inset to float
5946 2003-05-05 André Pönitz <poenitz@gmx.net>
5949 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5951 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5952 few naked Paragraph *.
5954 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5956 * bufferparams.C: Output warning if a document with missing
5957 TeX document class is loaded
5958 * exporter.C: Disable TeX exports if the document class is missing
5961 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5962 isTeXClassAvailable()
5964 2003-05-03 John Levon <levon@movementarian.org>
5967 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5968 explicit cursor show/hide
5970 * BufferView_pimpl.h:
5971 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5972 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5974 * lyxfunc.C: hide cursor before dispatching.
5979 * text3.C: remove explicit cursor hides
5981 2003-05-02 André Pönitz <poenitz@gmx.net>
5983 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5986 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5989 * text2.C: tiny whitespace
5991 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5993 * undo_funcs.C: almost only ws changes.
5995 * ParagraphList.C (splice): just return if pl is empty.
5997 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5999 * ParagraphList.C (splice): new function.
6001 * CutAndPaste.C (pasteSelection): use it
6003 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6005 * CutAndPaste.C (pasteSelection): remove the last next and
6006 previous from this file.
6008 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6010 * CutAndPaste.C (pasteSelection): more clean up, user proper
6011 ParagraphList functions for pasteing.
6013 * ParagraphList.C (insert): new function, three arg insert
6015 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6017 * ParagraphList.C (insert): new function, three arg insert
6019 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6022 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6026 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6028 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6030 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6032 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6033 (copySelection): clean up a bit.
6034 (pasteSelection): use make_pair
6036 * ParagraphList.C (ParagraphList): implement copy constructor
6037 (operator=): implement, base on copy constructor.
6040 * paragraph.C (erase): return a bool
6042 * paragraph_pimpl.C (erasePos): remove function, move contents...
6043 (erase): ... here. Return a bool.
6044 (erase): call erase instead of erasePos.
6046 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6048 * ParagraphList.h: define PitPosPair
6049 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6050 ParagraphList, fix a bug on pasting multiple pars
6051 * text2.C: change interface to C&P
6053 2003-04-30 André Pönitz <poenitz@gmx.net>
6055 * undo_func.C: revert part of yesterday's patch 2
6057 2003-04-30 John Levon <levon@movementarian.org>
6059 * LColor.C: s/tabular/table/
6061 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6063 * text3.C (dispatch): do not convert iterator -> pointer
6064 * undo_funcs.C (setCursorParUndo): ditto
6065 * text_funcs.C (transposeChars): ditto
6067 * text2.C (setLayout): ws changes only
6069 * text.C (breakParagraph): do not convert iterator -> pointer
6071 (acceptChange): ditto
6072 (rejectChange): ditto
6077 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6080 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6082 * text3.C (gotoInset): YABG (yet another bad getChar)
6084 2003-04-29 André Pönitz <poenitz@gmx.net>
6086 * paragraph.h: make operator= private unimplemented as long as
6089 * ParagraphList.C: whitespace
6092 * paragraph_pimpl.[Ch]:
6093 * paragraph_funcs.C:
6095 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6098 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6100 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6102 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6103 * paragraph.[Ch] (erase):
6104 * paragraph_pimpl.[Ch] (erase): change return type and value
6105 * text2.C (cutSelection): some rework
6107 2003-04-28 John Levon <levon@movementarian.org>
6109 * bufferlist.C: changes for unsaved changes dialog
6111 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6113 * bufferlist.C (newFile): set language (messages_) for new
6116 * buffer.C (readFile): ws changes only.
6118 2003-04-28 André Pönitz <poenitz@gmx.net>
6123 * BufferView_pimpl.C:
6124 * BufferView.C: getParFromID related ParagraphList::iterator changes
6126 2003-04-28 André Pönitz <poenitz@gmx.net>
6128 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6131 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6133 * messages.C: remove one more localedir class variable.
6135 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6137 * messages.C (getLocaleDir): singleton generation function
6139 (Messages): add a default constructor.
6141 * main.C (main): do not setup localedir here, do not call
6144 * gettext.C (_): use it.
6145 (gettext_init): delete funciton
6147 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6149 * gettext.C (getLyXMessages): new singleton generating function.
6151 * buffer.C (updateDocLang): adjust
6153 * Makefile.am (messages.o): add target
6154 (main.o): remove target
6156 2003-04-27 John Levon <levon@movementarian.org>
6161 * lyxvc.C: specify cancel button in Alert::prompt
6163 2003-04-26 John Levon <levon@movementarian.org>
6168 * LyXAction.C: add LFUN_INSET_SETTINGS
6170 * lyxfunc.C: don't enable tabular-feature when there's
6171 just any locking inset
6173 2003-04-26 John Levon <levon@movementarian.org>
6175 * bufferlist.C: re-add Cancel to buffer close question
6177 * lyxfunc.C: fix import UI a bit
6179 2003-04-25 John Levon <levon@movementarian.org>
6181 * gettext.C: remove the broken asserts for now
6183 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6185 * messages.C: make case where setlocale cannot comply work better.
6187 * buffer.C (updateDocLang): new function
6188 (changeLanguage): use it
6191 * text2.C (setCounter): use B_ a bit.
6193 * lyxlayout.C (Read): be sure to trim the label strings.
6195 * messages.C (Messages): fix typo in comment
6197 * buffer.C (readFile): set message_ after file is loaded.
6198 (makeDocBookFile): remove double return
6199 (changeLanguage): reset message_ upon language change.
6200 (B_): new func, use this to get translated buffer strings.
6202 * main.C: add myself and Jean Marc as authors.
6204 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6206 * messages.[hC]: pimplify Messages, and three different pimpls to be
6207 used in different circumstances.
6209 * gettext.[Ch]: change for use with new message code.
6211 2003-04-24 André Pönitz <poenitz@gmx.net>
6213 * factory.C: support for eqref
6215 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6217 * messages.[Ch]: add missing char
6219 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6221 * messages.[Ch]: New files
6223 2003-04-18 John Levon <levon@movementarian.org>
6227 * BufferView_pimpl.C:
6231 * text2.C: remove layout-copy/paste (bug 778)
6233 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6235 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6237 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6239 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6240 if they succeed. Act accordingly.
6242 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6244 * text2.C (setCharFont): adjust
6245 (setCounter): adjust
6246 (insertStringAsLines): adjust
6248 * text.C (leftMargin): adjust
6249 (setHeightOfRow): adjust
6251 * rowpainter.C (paintFirst): adjust
6254 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6256 (isFirstInSequence): ditto
6257 (getEndLabel): ditto
6260 * paragraph.C (getParLanguage): comment out some hard stuff.
6262 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6264 (simpleDocBookOnePar): ditto
6265 (makeDocBookFile): use ParagraphList::iterator
6267 * CutAndPaste.C (pasteSelection): adjust
6269 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6271 * text2.C (getFont): adjust
6272 (getLayoutFont): adjust
6273 (getLabelFont): adjust
6275 * paragraph_funcs.C (TeXOnePar): adjust
6277 * buffer.C (simpleLinuxDocOnePar): adjust
6278 (simpleDocBookOnePar): adjust
6280 * CutAndPaste.C (pasteSelection): adjust
6282 * BufferView.C (getEncoding): adjust
6284 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6286 2003-04-16 John Levon <levon@movementarian.org>
6288 * lyxfind.C: use parlist stuff for search/changes
6290 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6292 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6294 * text2.C (deleteEmptyParagraphMechanism): adjust
6296 * text2.[Ch] (ownerParagraph): delete func (both of them
6298 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6302 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6304 * ParagraphList.C: prepare for NO_NEXT
6306 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6308 * text2.C (getFont): adjust
6309 (getLayoutFont): adjust
6310 (getLabelFont): adjust
6312 * paragraph.C (getFont): adjust
6313 (getLabelFont): adjust
6314 (getLayoutFont): adjust
6316 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6318 2003-04-15 John Levon <levon@movementarian.org>
6322 * lyx_main.C: handle Include in .ui files
6324 2003-04-15 John Levon <levon@movementarian.org>
6326 * MenuBackend.C: make the doc files length shorter
6329 * ToolbarBackend.C: handle toolbar placement flags,
6332 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6334 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6337 * paragraph_funcs.C (TeXOnePar): adjust
6339 * paragraph.C (getLabelFont): add outerfont arg, adjust
6340 (getLayoutFont): ditto
6341 (simpleTeXOnePar): adjust
6343 * paragraph_pimpl.C (realizeFont): delete func
6345 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6347 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6348 row argument, constify cur argument.
6350 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6352 * text2.C (getFont): adjust
6353 (getLayoutFont): adjust
6354 (getLabelFont): adjust
6356 * paragraph_funcs.C (TeXOnePar): adjust
6357 (outerFont): new func...
6358 (realizeFont): ...moved out from here, changed this to facilitate
6361 * paragraph.C (getFont): take outerfont as arg, adjust
6362 (simpleTeXOnePar): add outerfont arg, adjust
6364 * buffer.C (simpleLinuxDocOnePar): adjust
6365 (simpleDocBookOnePar): adjust
6367 * CutAndPaste.C (pasteSelection): adjust
6369 * BufferView.C (getEncoding): adjust
6371 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6373 * text2.C (setCharFont): adjust
6374 (setCounter): adjust
6376 * text.C (leftMargin): adjust
6377 (setHeightOfRow): adjust
6379 * rowpainter.C (paintFirst): adjust
6382 * paragraph_pimpl.C (realizeFont): adjust
6384 * paragraph.C (isFirstInSequence): move from here...
6385 * paragraph_funcs.C (isFirstInSequence): ...to here
6387 * paragraph.C (outerHook): move from here...
6388 * paragraph_funcs.C (outerHook): ...to here
6390 * paragraph.C (depthHook): move from here...
6391 * paragraph_funcs.C (depthHook): ...to here
6393 * paragraph.C (getEndLabel): move from here...
6394 * paragraph_funcs.C (getEndLabel): ...to here
6396 * text2.C (realizeFont): move from here...
6397 * paragraph_funcs.C (realizeFont): ...to here
6399 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6401 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6403 2003-04-14 Angus Leeming <leeming@lyx.org>
6405 * LColor.[Ch]: scrap LColor mathcursor.
6407 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6409 * lyxlex.[Ch] (text): delete function
6410 * trans.C (Load): adjust
6411 * paragraph_funcs.C (readParToken): adjust
6413 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6415 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6416 vector<char> instead of a char[].
6418 * lyxlex_pimpl.C (getString): adjust
6420 (lex): use getString
6424 * lyxlex.C (text): use pimpl_->getString()
6428 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6430 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6431 (makeFontEntriesLayoutSpecific): temp var for par.size()
6432 (setLayout): temp var for ownerParagraphs().end()
6433 (fullRebreak): temp var for rows().end()
6434 (selectionAsString): temp var for boost::next(startpit), realize
6435 that the while really is a regular for loop.
6436 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6437 setCursor in one place.
6438 (setParagraph): temp vr for ownerParagraphs().end()
6439 (updateCounters): make the while loop a for loop
6440 (cutSelection): temp var for ownerParagraphs().end()
6441 (updateInset): make the do {} while() a regular for loop
6442 (getCursorX): use temp vars
6443 (setCurrentFont): use temp vars
6444 (getColumnNearX): use temp vars
6446 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6448 * text.C (transformChar): use temp var for getChar
6449 (computeBidiTables): use temp var for row->par()
6450 (fill): move temp vars for row->par() and pit->layout() earlier in
6452 (labelFill): use temp var for row->par()
6453 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6454 asc and desc, realize that pit never changes and that firstpit is
6455 just a duplicate and not needed. Exchange rit->par() with pit in a
6457 (breakAgain): use a temp var for boost::next(rit)
6458 (breakAgainOneRow): ditto
6459 (breakParagraph): use a temp var for rows().begin()
6460 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6461 (cursorRightOneWord): use temp var for cursor.par() and
6462 cursor.pos(), remove usage of tmpcursor.
6463 (cursorLeftOneWord): use temp var for cursor.par() and
6464 cursor.pos() only set cur at end of function.
6466 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6468 * text.C, text2.C: exchange all usage of Paragraph::next with
6469 boost::next(ParagraphList::iterator)
6471 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6473 * text2.C (cursorTop): simplify implementation
6474 (cursorBottom): ditto
6475 (setParagraph): use ParagraphList::iterator
6476 (setCurrentFont): adjust
6477 (getColumnNearX): adjust
6478 (cursorRight): adjust
6479 (cursorLeft): remove usage of Paragraph::previous
6480 (cursorUpParagraph): ditto
6481 (deleteEmptyParagraphMechanism): slight cleanup
6483 * text.C (isBoundary): take a Paragraph const & instead of a
6485 (addressBreakPoint): ditto
6486 (leftMargin): remove usage of Paragraph::previous.
6487 (setHeightOfRow): ditto
6488 (cursorLeftOneWord): ditto
6489 (selectNextWordToSpellcheck): ditto
6492 (breakParagraph): remove one usage of Paragraph::next
6493 (redoParagraph): ditto
6494 (acceptChange): ditto
6495 (insertChar): adjust
6496 (rowBreakPoint): adjust
6498 * bufferview_funcs.C (toggleAndShow): adjust
6500 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6502 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6503 methods to access it.
6505 * text.C: Added updateRowPositions to compute all row positions.
6506 Make top_y and getRowNearY() to use the cached y position
6508 2003-04-11 John Levon <levon@movementarian.org>
6510 * text.C (rowBreakPoint): reintroduce the labelEnd
6511 checks, code copied from the row fill stuff. Deep voodoo.
6513 * text.C (fill): add a comment and debugging for the
6516 2003-04-11 John Levon <levon@movementarian.org>
6518 * text.C: make sure fullrow insets get wrapped to the next line,
6519 even when they're in a manual label
6521 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6523 * text2.C (insertParagraph): make it take ParagraphList::iterator
6525 (setLayout): make it return ParagraphList::iterator
6526 (redoParagraphs): ditto
6528 (checkParagraph): ditto
6530 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6532 * text2.C: adjust several funcs.
6533 (realizeFont): take a ParagraphList::iterator as arg.
6534 (getLayoutFont): ditto
6535 (getLabelFont): ditto
6536 (setCharFont): ditto
6538 * text.C: adjust several funcs.
6540 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6542 * text.C (selectNextWordToSpellcheck): don't accidentally
6545 2003-04-10 John Levon <levon@movementarian.org>
6547 * ToolbarBackend.C (getIcon): special handling for
6550 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6552 * text2.C (cursorRight): a getChar assert fixed
6554 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6556 * text2.C (getFont): change to take a ParagraphList::iterator
6557 instead of Paragraph*
6558 Adjust several functions.
6560 * text.C (transformChar): change to take a ParagraphList::iterator
6561 instead of Paragraph*
6562 (singleWidth): ditto
6563 Adjust several functions.
6565 * rowpainter.C: adjust several functions
6566 * rowpainter.h:store a ParagraphList::iterator and not a
6570 2003-04-09 John Levon <levon@movementarian.org>
6575 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6576 and the "help" bits as well
6578 2003-04-09 John Levon <levon@movementarian.org>
6581 * ToolbarBackend.C: allow multiple toolbars
6583 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6585 * undo_funcs.C (setCursorParUndo): adjust
6587 * text_funcs.C (transposeChars): adjust
6589 * text3.C (gotoNextInset): adjust
6592 * text2.C (setLayout): adjust
6593 (changeDepth): adjust
6595 (redoParagraphs): adjust
6596 (selectionAsString): adjust
6597 (setParagraph): adjust
6598 (insertInset): adjust
6599 (cutSelection): adjust
6600 (copySelection): adjust
6601 (pasteSelection): adjust
6602 (insertStringAsLines): adjust
6603 (updateInset): adjust
6604 (setCursor): change to take a ParagraphList::iterator parameter
6605 (setCursorIntern): change to take a ParagraphList::iterator parameter
6606 (setCurrentFont): adjust
6607 (cursorLeft): adjust
6608 (cursorRight): adjust
6609 (deleteEmptyParagraphMechanism): adjust
6611 * text.C (breakParagraph): adjust
6612 (insertChar): adjust
6613 (acceptChange): adjust
6614 (rejectChange): adjust
6615 (selectNextWordToSpellcheck): adjust
6616 (changeCase): adjust
6620 * lyxfind.C (SearchForward): adjust
6621 (SearchBackward): adjust
6622 (nextChange): adjust
6624 * lyxcursor.C (par): adjust
6626 * lyxcursor.h: store a ParagraphList::iterator instead of a
6629 * lyx_cb.C (getPossibleLabel): adjust
6631 * bufferview_funcs.C (toggleAndShow): adjust
6633 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6636 * BufferView.C (removeAutoInsets): adjust
6637 (lockedInsetStoreUndo): adjust
6639 2003-04-09 John Levon <levon@movementarian.org>
6641 * ToolbarBackend.C: try icon without argument
6642 if with argument fails
6644 2003-04-08 John Levon <levon@movementarian.org>
6647 * ToolbarBackend.C: add getIcon(), handle tooltip,
6648 and change from "Icon" to "Item".
6650 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6652 * BufferView.C (lockInset): another bad getchar crunched
6654 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6656 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6659 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6661 * lyxfind.C (searchForward, searchBackwards): bug 782
6663 2003-04-07 John Levon <levon@movementarian.org>
6665 * paragraph.C: remove dead comment
6667 * text.C: remove troublesome depth-fiddling code
6668 in leftMargin() and rightMargin() (bug 1017)
6670 * text.C: fix breaking of rows in nested lists
6673 * text2.C (updateCounters): fix up depth values
6676 2003-04-07 John Levon <levon@movementarian.org>
6678 * BufferView_pimpl.C: clear message when doc finishes resizing,
6679 and after a mouse event
6681 * lyxfunc.C: clear message after exiting inset
6683 2003-04-07 John Levon <levon@movementarian.org>
6685 * bufferview_funcs.C: show math status not outside
6686 status in the statusbar
6688 2003-04-07 John Levon <levon@movementarian.org>
6690 * lyxfunc.C: note status changed after a depth change
6692 2003-04-04 Angus Leeming <leeming@lyx.org>
6694 * LaTeX.h: move AuxInfo operator==, != out of line.
6695 Remove LaTeX virtual destructor; nothing derives from it.
6696 Move operator()() out of public area and rename it startscript().
6697 Change protected for private.
6699 2003-04-04 Angus Leeming <leeming@lyx.org>
6702 * text2.C: remove unneeded #includes.
6704 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6706 * text2.C (dEPM): fix the heigth of the next row
6708 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6710 * text.C: squashed an invalid getChar requester + some ws changes
6712 2003-04-03 John Levon <levon@movementarian.org>
6714 * bufferview_funcs.h:
6715 * bufferview_funcs.C:
6718 * text2.C: make getStatus work for the env depth lfuns
6720 2003-04-03 John Levon <levon@movementarian.org>
6722 * bufferview_funcs.h:
6723 * bufferview_funcs.C:
6726 * text2.C: parlistize decDepth(), by merging it with incDepth()
6728 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6730 * lyxrow.h: store a ParagraphList::iterator instead of a
6731 Paragraph* and adjust other class functions to suit.
6733 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6736 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6738 * text2.C (setCursor): do not anchor to cursor row for the time being
6740 2003-04-02 John Levon <levon@movementarian.org>
6747 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6749 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6751 * paragraph.h: make ParagraphList and ParagraphList::iterator
6752 friends of Paragraph.
6754 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6756 * ParagraphList.C: Use the private next_ and previous_ from
6759 2003-04-01 John Levon <levon@movementarian.org>
6763 * Makefile.am: rename, remove defaults gunk
6766 * MenuBackend.C: remove defaults gunk
6769 * Languages.C: remove defaults gunk
6772 * lyx_main.C: error out if files couldn't be found.
6774 2003-04-02 John Levon <levon@movementarian.org>
6776 * text2.C: make incDepth() use parlist
6778 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6780 * undo_funcs.C (firstUndoParagraph): adjust
6782 * text3.C (gotoInset): adjust
6783 (dispatch): adjust, and rewrite loop.
6785 * text2.C (init): adjust, and rewrite loop.
6786 (redoParagraphs): adjust
6787 (updateInset): adjust, and rewrite loop.
6788 (deleteEmptyParagraphMechanism): adjust
6790 * tabular.C (LyXTabular): adjust
6791 (SetMultiColumn): adjust
6794 * lyxtext.[Ch] (ownerParagraph): delete function
6795 (ownerParagraphs): new function returns a ParagraphList.
6797 * BufferView.C (removeAutoInsets): adjust
6798 (insertErrors): adjust
6799 (setCursorFromRow): adjust
6801 2003-04-01 Angus Leeming <leeming@lyx.org>
6803 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6806 2003-04-02 John Levon <levon@movementarian.org>
6812 * text_funcs.C: make transposeChars a free function
6814 * lyxrow_funcs.C: remove wrong comment
6816 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6819 * rowpainter.C: adjust
6824 * lyxrow_funcs. [Ch]: new files
6826 * lyxrow.[Ch]: remove next and previous pointers
6827 (next,previous): remove accessor functions
6828 (isParEnd): move to lyxrow_funcs
6829 (lastPos): move to lyxrow_funcs
6830 (nextRowIsAllInset): move to lyxrow_funcs
6831 (lastPrintablePos): move to lyxrow_funcs
6832 (numberOfSeparators): move to lyxrow_funcs
6833 (numberOfHfills): move to lyxrow_funcs
6834 (numberOfLabelHfills): move to lyxrow_funcs
6835 (hfillExpansion): move to lyxrow_funcs
6839 * bufferview_funcs.C (toggleAndShow): adjust
6841 * RowList.h: Remove class RowList from file leave just a
6844 * RowList.C: delete file
6846 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6849 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6851 * text3.C (cursorPrevious): adjust
6852 (cursorNext): adjust
6855 * text2.C (redoHeightOfParagraph): adjust
6856 (redoDrawingOfParagraph): adjust
6859 * text.C (breakParagraph): adjust
6860 (insertChar): adjust
6863 * rowpainter.C (RowPainter): adjust
6864 (leftMargin): simplify and adjust
6865 (most rowpainter functions): adjust.
6867 * rowpainter.h: store the row as RowList::iterator not as Row*
6869 * lyxcursor.C (row): taka RowList::iterator as arg
6872 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6875 2003-04-01 Angus Leeming <leeming@lyx.org>
6877 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6878 stuff like bool Bool.
6880 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6882 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6885 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6887 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6890 * lyxtext.h (rows): drop one version and leve a const variant that
6891 returns a RowList::iterator.
6893 2003-03-31 Angus Leeming <leeming@lyx.org>
6895 * text.C (fill): ensure that the signature is the same as that in the
6898 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6900 * text2.C (redoParagraphs): adjust
6901 (updateCounters): adjust
6902 (checkParagraph): adjust
6903 (getColumnNearX): adjust and reformat a bit.
6905 * text.C (top_y): adjust
6907 (leftMargin): adjust
6908 (prepareToPrint): adjust
6910 (getRowNearY): adjust
6912 * lyxtext.h: make rowlist_ mutable.
6914 * RowList.h: add const_iterator
6915 * RowList.C: adjust for RowList::const_iterator.
6917 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6920 2003-03-31 John Levon <levon@movementarian.org>
6923 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6925 * lyx_main.C: set default fonts from using lyx_gui funcs
6927 * exporter.C: pdf_mode moved from lyxrc
6930 * lyxfunc.C: changes from above
6932 2003-03-31 John Levon <levon@movementarian.org>
6934 * lyx_main.C: fix to the last fix
6936 2003-03-31 John Levon <levon@movementarian.org>
6938 * bufferlist.C: "Load original" -> "Load Original"
6944 * format.C: more Alert cleanups
6946 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6948 * text2.C (removeParagraph): make it take a RowList::iterator as
6950 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6951 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6953 * text.C (anchor_row): make it take a RowList::iterator as arg,
6955 (computeBidiTables): make it take a const reference to Row instead
6956 of Row pointer, adjust.
6957 (leftMargin): make it take a RowList::iterator as arg, adjust.
6958 (rowBreakPoint): adjust
6959 (breakAgainOneRow): make it take a RowList::iterator as arg,
6961 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6963 * bufferview_funcs.C (toggleAndShow): adjust
6965 2003-03-30 John Levon <levon@movementarian.org>
6969 * boost-inst.C: moved to support
6971 * several files: changes as a result
6973 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6975 * text2.C (LyXText): adjust.
6977 (removeRow): make it take a RowList::iterator as arg, adjust.
6978 (fullRebreak): adjust
6979 (deleteEmptyParagraphMechanism): adjust
6980 (clearPaint): adjust
6983 * text.C (top_y): adjust
6984 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6985 (breakAgain): make it take a RowList::iterator as arg, adjust.
6986 (breakParagraph): adjust
6987 (insertChar): adjust
6990 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6991 need_break_row, and refresh_row.
6993 * text3.C (dispatch): adjust
6995 * text2.C (checkParagraph): adjust
6997 (setCursorFromCoordinates): adjust
6999 * text.C (top_y): adjust
7001 (getRow): make it return a RowList::iterator, adjust
7002 (getRowNearY): make it return a RowList::iterator, adjust
7004 * text2.C (init): adjust
7005 (insertRow): remove function
7006 (insertParagraph): adjust
7007 (redoParagraphs): adjust
7008 (fullRebreak): adjust
7009 (updateCounters): adjust
7011 * text.C (top_y): rewrite to use RowList iterators.
7013 (setHeightOfRow): rewrite to sue RowList iterators.
7014 (appendParagraph): adjust
7015 (breakAgain): adjust
7016 (breakAgainOneRow): adjust
7017 (breakParagraph): adjust
7019 (getRowNearY): adjust, and remove commented code.
7021 * lyxtext.h (firstRow): delete function
7022 (lastRow): delete function
7023 (rows): new function (const and non-const versions.)
7024 (insertRow): delete function
7026 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7028 2003-03-29 John Levon <levon@movementarian.org>
7030 * BufferView_pimpl.C: always update scrollbar top
7031 because pasting text when we're anchored could mean we
7032 miss an update altogether
7034 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7036 * text2.C (init): use rowlist_.end() and not 0.
7037 (insertRow): change to take a RowList::iterator as arg, adjust
7039 (insertParagraph): change to take a RowList::iterator as arg,
7041 (redoParagraphs): remove some debug msgs.
7043 * text.C (appendParagraph): change to take a RowList::iterator
7044 arg, adjust for this.
7045 (breakAgain): add an assert
7046 (breakAgainOneRow): ditto
7048 2003-03-29 John Levon <levon@movementarian.org>
7050 * text2.C: do not clear selection after inc/decDepth
7053 2003-03-29 John Levon <levon@movementarian.org>
7056 * buffer.C: fix broken strerrors according to Lars
7058 2003-03-29 John Levon <levon@movementarian.org>
7060 * converters.C: more Alert cleanups
7062 2003-03-29 John Levon <levon@movementarian.org>
7064 * bufferview_funcs.C: remove pointless Alert
7066 * buffer.C: fix confusing error message when
7067 a template is chmoded 000
7069 2003-03-29 John Levon <levon@movementarian.org>
7073 * BufferView_pimpl.C: Alert fixes
7077 * tabular-old.C: remove unused table compat reading
7079 2003-03-29 John Levon <levon@movementarian.org>
7084 * lyx_cb.C: more Alert cleanups
7086 * lyxfunc.C: don't allow chktex if not latex document
7088 2003-03-29 John Levon <levon@movementarian.org>
7092 * buffer.C: warnings pushed down from support/,
7095 2003-03-29 John Levon <levon@movementarian.org>
7097 * lyxfunc.C: safety check for C-r (revert)
7099 2003-03-29 John Levon <levon@movementarian.org>
7102 * bufferlist.C: several UI fixes using Alert::prompt.
7103 Fix the pointless looping quit code. Fix stupid revert
7108 * lyx_cb.C: use Alert::prompt
7110 * lyx_main.C: remove a silly question
7112 * lyxfunc.C: remove a couple of silly questions,
7115 2003-03-28 John Levon <levon@movementarian.org>
7117 * text2.C: fix bug 974 (End on empty par)
7119 2003-03-28 John Levon <levon@movementarian.org>
7121 * BufferView_pimpl.C:
7123 * lfuns.h: remove do-nothing math greek lfuns
7125 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7127 * lyxgluelength.h (isValidGlueLength): add default arg on
7128 parameter 2. Remove default arg from friend in class.
7130 * lyxlength.h (isValidLength): add default arg on parameter 2.
7131 Remove default arg from friend in class.
7133 * text2.C (LyXText): adjust, initialize refresh_row.
7137 (insertParagraph): adjst
7138 (redoParagraphs): adjust
7139 (fullRebreak): adjust
7140 (updateCounters): adjust
7141 (deleteEmptyParagraphMechanism): first attempt at fixing a
7144 * text.C (top_y): adjust
7145 (setHeightOfRow): adjust
7147 (getRowNearY): adjust
7149 * lyxtext.h: include RowList.h
7150 (~LyXText): not needed anymore, deleted.
7151 (firstRow): modify for RowList
7152 (lastRow): new function
7153 Delete firstrow and lastrow class variables, add a Rowlist
7154 rowlist_ class variable.
7156 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7159 * RowList.C (insert): fix case where it == begin().
7161 2003-03-26 Angus Leeming <leeming@lyx.org>
7163 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7164 the thesaurus dialog.
7166 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7170 * RowList.[Ch]: new files
7172 * ParagraphList.C (erase): handle the case where it == begin
7175 2003-03-25 John Levon <levon@movementarian.org>
7179 * aspell.C: add new aspell support
7182 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7185 2003-03-25 Angus Leeming <leeming@lyx.org>
7188 * LyXAction.C (init): new LFUN_INSET_INSERT.
7190 * BufferView_pimpl.C (dispatch): split out part of the
7191 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7193 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7196 2003-03-25 Angus Leeming <leeming@lyx.org>
7198 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7200 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7203 * text3.C: remove useless row->height(0)
7205 2003-03-25 John Levon <levon@movementarian.org>
7209 * text3.C: rename the refreshing stuff to better names
7211 2003-03-24 John Levon <levon@movementarian.org>
7213 * BufferView_pimpl.h:
7214 * BufferView_pimpl.C: update layout choice on a mouse
7217 2003-03-23 John Levon <levon@movementarian.org>
7219 * Makefile.am: fix commandtags.h reference
7221 2003-03-22 John Levon <levon@movementarian.org>
7223 * BufferView_pimpl.C:
7228 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7230 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7233 * text.C: take the rtl methods out of line
7235 2003-03-21 André Pönitz <poenitz@gmx.net>
7237 * metricsinfo.[Ch]: new files containing structures to be passed around
7238 during the two-phase-drawing...
7240 2003-03-21 André Pönitz <poenitz@gmx.net>
7242 * lyxtextclass.C: read 'environment' tag.
7244 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7246 * text2.C (removeRow): fix bug 964
7248 2003-03-20 John Levon <levon@movementarian.org>
7252 * text2.C: paint cleanups. Inset::update() dropped font
7255 2003-03-19 John Levon <levon@movementarian.org>
7257 * lyxfunc.C: only fitcursor/markDirty if available()
7259 2003-03-19 John Levon <levon@movementarian.org>
7261 * commandtags.h: rename to ...
7263 * lfuns.h: ... this, and renumber / cleanup
7265 2003-03-19 John Levon <levon@movementarian.org>
7267 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7268 fit the cursor after an lfun
7272 * BufferView_pimpl.h:
7273 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7275 * LyXAction.C: layout-character should have ReadOnly
7277 * ParagraphParameters.C:
7279 * bufferview_funcs.C:
7286 * undo_funcs.C: changes from above
7288 2003-03-18 John Levon <levon@movementarian.org>
7290 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7291 remove it from update()
7293 * lyxfunc.C: update layout choice after an lfun
7295 * text3.C: remove extra updateLayoutChoice()s
7297 2003-03-18 John Levon <levon@movementarian.org>
7299 * text.C: top_y change means full repaint, fix
7300 a drawing bug with cursor movement
7302 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7306 * text2.C: anchor row on setCursor
7308 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7310 * lyxtext.h: remove almost all mutable keywords
7313 * text3.C: remove const keywords accordingly
7315 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7317 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7319 (TeXEnvironment): ditto
7322 2003-03-17 John Levon <levon@movementarian.org>
7324 * text.C (rowBreakPoint): remove attempt to fix displayed
7325 math insets inside a manual label
7327 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7329 * lyxtext.h: remove BufferView* as first arg from almost all class
7331 * other files: adjust.
7333 2003-03-17 John Levon <levon@movementarian.org>
7337 * text2.C: more paint cleanups
7339 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7342 * rowpainter.C: remove "smart" background painting code
7344 2003-03-16 John Levon <levon@movementarian.org>
7349 * text3.C: add helper functions for setting refresh_row/y
7351 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7353 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7354 newline inset which *can* get inserted in the pass_thru layouts.
7355 This is primarily for literate documents.
7357 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7359 * buffer.C: increment LYX_FORMAT to 223
7361 2003-03-14 André Pönitz <poenitz@gmx.net>
7363 * textclass.h: prepare for environment handling, ws changes
7364 * lyxlayout.C: read latexheader and latexfooter tags
7366 2003-03-14 John Levon <levon@movementarian.org>
7368 * text2.C: rewrite ::status() a bit
7370 2003-03-13 John Levon <levon@movementarian.org>
7372 * lyxtext.h: add some docs
7374 2003-03-13 John Levon <levon@movementarian.org>
7379 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7381 2003-03-13 John Levon <levon@movementarian.org>
7383 * text3.C: fix appendix redrawing
7385 2003-03-13 John Levon <levon@movementarian.org>
7387 * text.C (setHeightOfRow):
7389 * rowpainter.C: make appendix mark have the text
7390 "Appendix" so the user knows what it is
7393 * LColor.C: s/appendixline/appendix/ from above
7395 2003-03-13 John Levon <levon@movementarian.org>
7397 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7399 * text.C: fix a getChar(pos) bug properly
7401 2003-03-13 Angus Leeming <leeming@lyx.org>
7404 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7405 Probably only temporary. Let's see how things pan out.
7407 * BufferView.C (unlockInset):
7408 * BufferView_pimpl.C (fitCursor):
7409 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7411 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7412 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7414 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7415 new functions that convert ParagraphParameters to and from a string.
7417 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7418 BufferView::Pimpl's dispatch.
7419 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7421 2003-03-13 André Pönitz <poenitz@gmx.net>
7425 * factory.C: make it aware of InsetEnv
7427 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7429 * text2.C (setCursor): never ask for one past last
7430 (setCursor): add some debugging messages.
7432 * text.C (singleWidth): never ask for one past last
7433 (singleWidth): ditto
7435 (rightMargin): ditto
7436 (rowBreakPoint): ditto
7437 (setHeightOfRow): ditto
7438 (prepareToPrint): ditto
7440 * rowpainter.C (paintBackground): never ask for one past last
7441 (paintText): never ask for one past last
7443 * paragraph_pimpl.C (getChar): make the assert stricter, never
7444 allow the one past last pos to be taken
7446 * paragraph.C (getChar): ws changes only
7448 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7449 (numberOfSeparators): ditto
7450 (numberOfHfills): ditto
7452 2003-03-12 John Levon <levon@movementarian.org>
7458 * paragraph_funcs.C: fix per-buffer authorlists
7460 2003-03-12 John Levon <levon@movementarian.org>
7462 * text.C: fix newline in right address
7464 2003-03-12 Angus Leeming <leeming@lyx.org>
7466 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7467 duplicate those in LyXFunc::dispatch.
7471 * ToolbarDefaults.C:
7472 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7473 Add LFUN_FONTFREE_UPDATE.
7475 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7476 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7478 * bufferview_func.[Ch]: several new functions to facilliate
7479 transfer of data to and from the character dialog.
7481 2003-03-12 John Levon <levon@movementarian.org>
7486 * paragraph_funcs.C:
7487 * paragraph_pimpl.C:
7491 * text3.C: remove META_NEWLINE in favour of an inset
7494 * rowpainter.C: remove paintNewline (done by inset)
7496 2003-03-12 John Levon <levon@movementarian.org>
7498 * paragraph_pimpl.C: complain about bad getChar()s
7499 for a while at least
7501 2003-03-12 John Levon <levon@movementarian.org>
7504 * buffer.C: move paragraph read into a separate function,
7505 a little renaming to reflect that.
7508 * bufferparams.C: remove the author_ids map, not necessary now
7511 * factory.C: moved Buffer::readInset to here
7513 * paragraph_funcs.h:
7514 * paragraph_funcs.C: readParagraph free function moved from
7517 * tabular.C: name change
7519 2003-03-12 John Levon <levon@movementarian.org>
7522 * ParagraphParameters.C: move par params input to
7525 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7526 behave like a normal read from the stream wrt reading
7527 a line vs. a \\token
7529 2003-03-12 John Levon <levon@movementarian.org>
7532 * ParagraphParameters.h:
7533 * ParagraphParameters.C: move output code to a
7536 2003-03-12 John Levon <levon@movementarian.org>
7538 * BufferView.C (insertLyXFile):
7541 * tabular.C: use a parlist iterator for creating the
7544 2003-03-12 John Levon <levon@movementarian.org>
7546 * buffer.C: make current_change static local not
7549 2003-03-12 John Levon <levon@movementarian.org>
7551 * buffer.C: fix insertStringAsLines for change tracking
7553 2003-03-12 John Levon <levon@movementarian.org>
7560 * bufferparams.C: move author list into params. Rename some
7561 functions. Move the header reading into a separate token
7562 loop. Move the header token reading into BufferParams.
7564 2003-03-12 John Levon <levon@movementarian.org>
7566 * changes.C: put debug inside lyxerr.debugging() checks
7568 2003-03-11 André Pönitz <poenitz@gmx.net>
7570 * factory.C: make it aware of InsetHFill
7572 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7574 * buffer.C (latexParagraphs): move function from here...
7575 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7578 2003-03-10 Angus Leeming <leeming@lyx.org>
7580 * LyXAction.C (init): fix bug in poplating array with multiple entries
7581 with the same LFUN (spotted by JMarc).
7583 2003-03-10 John Levon <levon@movementarian.org>
7586 * text2.C: move getColumnNearX() near its
7589 2003-03-10 John Levon <levon@movementarian.org>
7591 * text.C: fix break before a minipage
7593 2003-03-10 John Levon <levon@movementarian.org>
7595 * text.C: fix the last commit
7597 2003-03-09 John Levon <levon@movementarian.org>
7601 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7602 bug 365 (don't break before insets unless needed). Don't
7603 return a value > last under any circumstances.
7605 2003-03-09 Angus Leeming <leeming@lyx.org>
7607 * BufferView_pimpl.C (trackChanges, dispatch): call
7608 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7610 2003-03-09 Angus Leeming <leeming@lyx.org>
7612 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7613 than Dialogs::showAboutlyx().
7615 2003-03-09 Angus Leeming <leeming@lyx.org>
7617 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7618 than Dialogs::showTabularCreate().
7620 2003-03-09 John Levon <levon@movementarian.org>
7624 * text2.C: 3rd arg to nextBreakPoint was always the same.
7627 2003-03-08 John Levon <levon@movementarian.org>
7634 * text2.C: Remove the "main" bit from the "main body"
7637 2003-03-08 John Levon <levon@movementarian.org>
7639 * text.C (leftMargin): The left margin of an empty
7640 manual label paragraph should not include the label width
7643 * text.C (prepareToPrint): don't attempt to measure hfills
7644 for empty manual label paragraphs - the answer should be 0
7646 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7648 * CutAndPaste.C: remove commented code and reindent.
7650 2003-03-08 John Levon <levon@movementarian.org>
7653 * lyxfunc.C: move reloadBuffer()
7656 * BufferView.C: to here
7658 * lyxvc.C: add comment
7661 * vc-backend.C: call bv->reload() to avoid
7662 getStatus() check on MENURELOAD
7664 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7666 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7667 to an old format .dep file.
7669 2003-03-07 Angus Leeming <leeming@lyx.org>
7671 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7672 when the LFUN_MOUSE_RELEASE should have been handled by
7673 inset->localDispatch.
7675 2003-03-07 Angus Leeming <leeming@lyx.org>
7677 * BufferView_pimpl.C (dispatch):
7678 * LyXAction.C (init):
7679 * ToolbarDefaults.C (init):
7681 * lyxfunc.C (getStatus):
7682 remove LFUN_INSET_GRAPHICS.
7684 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7686 2003-03-07 Angus Leeming <leeming@lyx.org>
7689 * LyXAction.C (init):
7690 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7692 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7695 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7697 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7698 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7700 2003-03-07 Angus Leeming <leeming@lyx.org>
7702 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7705 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7707 * ParagraphList.C (front): new function
7710 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7712 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7713 and top_row_offset_. removed var first_y.
7715 * text2.C (LyXText, removeRow):
7717 * BufferView_pimpl.C:
7718 use these methods instead of using first_y
7720 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7722 * text2.C (pasteSelection): adjust for checkPastePossible
7724 * CutAndPaste.C: remove Paragraph * buf and replace with
7725 ParagraphList paragraphs.
7726 (DeleteBuffer): delete
7727 (cutSelection): change the tc type to textclass_type
7728 (copySelection): change the tc type to textclass_type
7729 (copySelection): adjust for ParagraphList
7730 (pasteSelection): change the tc type to textclass_type
7731 (pasteSelection): adjust for Paragraphlist
7732 (nrOfParagraphs): simplify for ParagraphList
7733 (checkPastePossible): simplify for ParagraphList
7734 (checkPastePossible): remove unused arg
7736 * ParagraphList.C (insert): handle the case where there are no
7739 * CutAndPaste.h: make CutAndPaste a namespace.
7741 * text3.C (dispatch): adjust
7743 * text.C (breakParagraph): add a ParagraphList as arg
7745 * paragraph_funcs.C (breakParagraph): change to take a
7746 BufferParams and a ParagraphList as args.
7747 (breakParagraphConservative): ditto
7748 (mergeParagraph): ditto
7749 (TeXDeeper): add a ParagraphList arg
7750 (TeXEnvironment): ditto
7753 * buffer.C (readLyXformat2): adjust
7754 (insertStringAsLines): adjust
7755 (latexParagraphs): adjust
7757 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7758 (cutSelection): adjust
7759 (pasteSelection): adjust
7761 * BufferView_pimpl.C (insertInset): adjust
7763 2003-03-05 Angus Leeming <leeming@lyx.org>
7766 * LyXAction.C (init):
7767 * BufferView_pimpl.C (dispatch):
7768 * lyxfunc.C (getStatus):
7769 remove LFUN_CHILD_INSERT.
7771 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7773 2003-03-05 Angus Leeming <leeming@lyx.org>
7776 * LyXAction.C (init):
7777 * src/factory.C (createInset):
7778 * lyxfunc.C (getStatus):
7779 * text3.C (dispatch):
7780 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7782 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7784 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7786 * ParagraphList.C (insert): handle insert right before end()
7787 (erase): fix cases where it can be first or last paragraph.
7789 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7791 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7792 Paragraph::next and Paragraph::previous
7795 * text.C (breakParagraph): adjust
7797 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7798 BufferParams& as arg.
7799 (breakParagraph): use ParagraphList::insert
7800 (breakParagraphConservative): take a Buffer* instead of a
7801 BufferParams& as arg.
7802 (breakParagraphConservative): use ParagraphList::insert.
7804 * buffer.C (insertStringAsLines): un-const it
7805 (insertStringAsLines): adjust
7807 * ParagraphList.C (insert): new function
7809 * CutAndPaste.C (pasteSelection): adjust
7811 * text.C (backspace): adjust
7813 * tabular.C (SetMultiColumn): adjust
7815 * CutAndPaste.C (cutSelection): adjust
7816 (pasteSelection): adjust
7818 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7819 Buffer const * as arg
7821 * ParagraphList.C (erase): new function
7822 * paragraph_funcs.C (mergeParagraph): use it
7823 (mergeParagraph): make it take a Buffer* instead of a
7824 BufferParams* as arg
7826 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7828 (breakParagraphConservative): ditto
7830 * paragraph.h: remove the breakParagraph friend
7832 * paragraph.C (eraseIntern): new function
7833 (setChange): new function
7835 * paragraph_funcs.C (mergeParagraph): make it take a
7836 ParagraphList::iterator instead of a Paragraph *, adjust
7839 * paragraph.h: move an #endif so that the change tracking stuff
7840 also works in the NO_NEXT case.
7842 2003-03-04 Angus Leeming <leeming@lyx.org>
7845 * LyXAction.C: new LFUN_INSET_MODIFY.
7847 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7848 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7850 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7852 * several files: ws changes only
7854 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7855 (TeXEnvironment): ditto
7858 * buffer.C (makeLaTeXFile): adjust
7859 (latexParagraphs): make it take ParagraphList::iterator as args
7861 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7863 * buffer.C (latexParagraphs): adjust
7865 * paragraph.C (TeXOnePar): move function...
7866 (optArgInset): move function...
7867 (TeXEnvironment): move function...
7868 * paragraph_pimpl.C (TeXDeeper): move function...
7869 * paragraph_funcs.C: ...here
7871 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7873 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7875 * buffer.C (readInset): remove compability code for old Figure and
7878 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7880 * buffer.C: ws changes
7883 * BufferView_pimpl.C: ditto
7886 * bufferlist.h: ditto
7890 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7892 * converter.[Ch]: split into itself +
7895 * Makefile.am: += graph.[Ch] + format.[Ch]
7902 * lyxrc.C: added #include "format.h"
7904 2003-02-27 Angus Leeming <leeming@lyx.org>
7906 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7909 * factory.C (createInset): add "label" to the factory.
7911 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7912 string and do no more.
7914 2003-02-27 Angus Leeming <leeming@lyx.org>
7917 * LyXAction.C (init):
7918 * factory.C (createInset):
7919 * BufferView_pimpl.C (dispatch):
7920 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7922 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7924 * lyxfunc.C (dispatch):
7925 * text3.C (dispatch): pass name to params2string.
7927 2003-02-26 Angus Leeming <leeming@lyx.org>
7929 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7931 Rearrange the ~includes. Strip out the unnecessary ones.
7933 * factory.C (createInset): reformat.
7934 create new insets for the various LFUN_XYZ_APPLY lfuns.
7936 2003-02-26 John Levon <levon@movementarian.org>
7939 * lyxrow.C: add isParStart,isParEnd helpers
7941 * paragraph.h: make isInserted/DeletedText take refs
7943 * paragraph_funcs.h:
7944 * paragraph_funcs.C: remove #if 0'd code
7949 * text.C: use lyxrow helpers above.
7950 Move draw and paint routines to RowPainter.
7951 Make several methods use refs not pointers.
7952 Make backgroundColor() const.
7953 Add markChangeInDraw(), isInInset().
7954 Merge changeRegionCase into changeCase.
7955 Make workWidth() shouldn't-happen code into an Assert.
7958 * rowpainter.C: new class for painting a row.
7961 * vspace.C: make inPixels take a ref
7963 2003-02-26 Angus Leeming <leeming@lyx.org>
7965 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7968 2003-02-25 John Levon <levon@movementarian.org>
7970 * ispell.C: give the forked command a more accurate name
7972 2003-02-22 John Levon <levon@movementarian.org>
7975 * toc.C: make TocItem store an id not a Paragraph *
7978 2003-02-21 Angus Leeming <leeming@lyx.org>
7980 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7981 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7982 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7983 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7984 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7985 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7987 * BufferView_pimpl.C (dispatch):
7988 * LyXAction.C (init):
7989 * factory.C (createInset):
7990 * lyxfunc.C (getStatus, dispatch):
7991 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7993 2003-02-21 Angus Leeming <leeming@lyx.org>
7995 * BufferView_pimpl.C (MenuInsertLyXFile):
7996 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7997 * lyxfunc.C (menuNew, open, doImport):
7998 no longer pass a LyXView & to fileDlg.
8000 2003-02-21 Angus Leeming <leeming@lyx.org>
8002 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8003 * LyXAction.C: change, BIBKEY to BIBITEM.
8004 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8005 Change InsetBibKey to InsetBibitem.
8006 Change BIBKEY_CODE to BIBITEM_CODE.
8007 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8008 * factory.C: replace insetbib.h with insetbibitem.h.
8009 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8010 * paragraph.C: replace insetbib.h with insetbibitem.h.
8011 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8012 Change bibkey() to bibitem().
8013 * text.C: remove insetbib.h.
8014 * text2.C: replace insetbib.h with insetbibitem.h.
8015 change bibkey() to bibitem().
8016 * text3.C: remove insetbib.h.
8017 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8019 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8021 * lyxrc.C (output): enclose user email in quotes (in case there are
8024 2003-02-18 John Levon <levon@movementarian.org>
8026 * buffer.h: add std::
8028 2003-02-17 John Levon <levon@movementarian.org>
8034 * pspell.C: reworking. Especially in ispell, a large
8035 number of clean ups and bug fixes.
8037 * lyxfunc.C: fix revert to behave sensibly
8039 2003-02-17 André Pönitz <poenitz@gmx.net>
8042 * commandtags.h: new LFUN_INSERT_BIBKEY
8052 * paragraph_func.C: remove special bibkey handling
8054 2003-02-17 John Levon <levon@movementarian.org>
8056 * text.C (Delete): fix case where delete at the end of
8057 the very first paragraph would not merge the pars
8059 2003-02-17 John Levon <levon@movementarian.org>
8061 * lyxrow.C: fix lastPrintablePos()
8063 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8065 * bufferparams.C (writeLaTeX): add a std:here
8067 * buffer.C: and remove a using directive there
8069 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8071 * buffer.C (makeLaTeXFile): move the code that generates the
8074 * bufferparams.C (writeLaTeX): ... in this new method
8076 * LaTeXFeatures.C (getEncodingSet): make const
8077 (getLanguages): make const
8079 * MenuBackend.C (binding): returns the binding associated to this
8081 (add): sets the status of each item by calling getStatus. Adds
8083 (read): add support for OptSubMenu
8084 (expand): remove extra separator at the end of expanded menu
8086 2003-02-15 John Levon <levon@movementarian.org>
8089 * BufferView_pimpl.C:
8091 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8092 inset code that had no actual effect. Remove unneeded status
8095 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8097 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8100 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8102 * text.C (drawLengthMarker): also draw an arrow marker for
8103 symbolic lengths (medskip...)
8105 2003-02-14 John Levon <levon@movementarian.org>
8108 * tabular.C: better method names
8110 2003-02-14 John Levon <levon@movementarian.org>
8112 * BufferView_pimpl.C:
8117 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8118 it's a more accurate name. Remove some pointless uses.
8120 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8122 * text2.C (LyXText): change order of initilizers to shut off
8125 2003-02-14 John Levon <levon@movementarian.org>
8127 * buffer.C: use ParIterator for getParFromID()
8131 * paragraph_pimpl.h:
8132 * paragraph_pimpl.C: remove unused getParFromID()
8134 2003-02-14 John Levon <levon@movementarian.org>
8136 * buffer.C: remove some very old #if 0'd parse code
8138 2003-02-13 John Levon <levon@movementarian.org>
8142 * text2.C: move hfillExpansion(), numberOfSeparators(),
8143 rowLast(), rowLastPrintable(), numberofHfills(),
8144 numberOfLabelHfills() ...
8147 * lyxrow.C: ... to member functions here.
8152 * text.C: remove LyXText::beginningOfMainBody(), and call
8153 p->beginningOfMainBody() directly. Move the check for
8154 LABEL_MANUAL into the latter.
8161 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8167 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8168 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8170 2003-02-13 John Levon <levon@movementarian.org>
8172 * CutAndPaste.C: remove debug
8174 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8176 * paragraph.C (asString): remove two unused variables
8178 * lyxtextclass.C (readTitleType):
8180 (LyXTextClass): handle new members titletype_ and titlename_
8182 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8184 2003-02-09 John Levon <levon@movementarian.org>
8187 * buffer.C: replace hand-coded list with a map for the dep clean
8189 2003-02-08 John Levon <levon@movementarian.org>
8191 * LaTeX.C: consolidate code into showRunMessage() helper
8193 2003-02-08 John Levon <levon@movementarian.org>
8198 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8199 and pass the size in explicitly
8201 * BufferView_pimpl.h:
8202 * BufferView_pimpl.C:
8204 * BufferView.C: add getCurrentChange()
8206 * BufferView_pimpl.h:
8207 * BufferView_pimpl.C: handle change lfuns
8209 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8210 for changes. Mark pasted paragraphs as new.
8212 * support/lyxtime.h:
8213 * support/lyxtime.C:
8214 * DepTable.C: abstract time_t as lyx::time_type
8217 * LColor.C: add colours for new text, deleted text, changebars
8219 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8220 package use "usenames" option.
8224 * LyXAction.C: add change lfuns
8228 * author.C: author handling
8231 * buffer.C: add a per-buffer author list, with first entry as
8232 current author. Handle new .lyx tokens for change tracking. Output
8233 author list to .lyx file. Output dvipost stuff to .tex preamble.
8234 Bump lyx format to 222.
8237 * bufferlist.C: add setCurrentAuthor() to reset current author details
8241 * bufferparams.C: add param for tracking
8243 * bufferview_funcs.C: output change info in minibuffer
8247 * changes.C: add change-tracking structure
8250 * debug.C: add CHANGES debug flag
8253 * lyxfind.C: add code for finding the next change piece
8256 * lyxrc.C: add user_name and user_email
8259 * lyxrow.C: add a metric for the top of the text line
8262 * text.C: implement accept/rejectChange()
8265 * text.C: paint changebars. Paint new/deleted text in the chosen
8266 colours. Strike through deleted text.
8270 * paragraph_pimpl.h:
8271 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8272 in the current change to the insert functions. Rework erase to
8273 mark text as deleted, adding an eraseIntern() and a range-based
8274 erase(). Implement per-paragraph change lookup and
8277 * paragraph_funcs.C: Fixup paste for change tracking.
8279 * tabular.C: mark added row/columns as new.
8281 * text.C: fix rowLast() to never return -1. Don't allow
8282 spellchecking of deleted text. Track transpose changes. Don't
8283 allow paragraph break or merge where appropriate.
8285 * text2.C: leave cursor at end of selection after a cut.
8287 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8289 * text.C (getLengthMarkerHeight):
8290 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8291 visible on screen too.
8293 2003-02-07 John Levon <levon@movementarian.org>
8295 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8297 2003-02-05 Angus Leeming <leeming@lyx.org>
8299 * lyxserver.C (read_ready): revert my patch of 11 September last year
8300 as it sends PC cpu through the roof. Presumably this means that
8301 the lyxserver will no longer run on an Alpha...
8303 2003-01-30 Angus Leeming <leeming@lyx.org>
8305 * factory.C (createInset): create an InsetCommandParam of type "index"
8306 and use it to 'do the right thing'.
8308 * text2.C (getStringToIndex): ensure that cursor position is always
8309 reset to the reset_cursor position.
8311 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8313 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8316 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8320 * lyxfunc.C: Output messages with identical spelling, punctuation,
8323 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8325 * MenuBackend.C (expandFormats): List only viewable export formats
8328 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8331 * lyxfunc.C (getStatus): Make sure that formats other than
8332 "fax" can also be disabled
8334 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8336 * text3.C (dispatch): put the lfuns that insert insets in 3
8337 groups, and call doInsertInset with appropriate arguments.
8338 (doInsertInset): new function, that creates an inset and inserts
8339 it according to some boolean parameters.
8341 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8343 * buffer.C (readFile): remember to pass on 'par' when calling
8344 readFile recursively.
8346 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8348 * MenuBackend.C (expandFormats): add "..." to import formats.
8350 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8352 * paragraph.C (asString): Remove XForms RTL hacks.
8354 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8355 * buffer.C: fix typo
8357 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8359 * Makefile.am (LIBS): delete var
8360 (lyx_LDADD): add @LIBS@ here instead.
8362 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8364 * Clarify the meaning of "wheel mouse jump"
8366 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8368 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8371 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8373 * importer.C (Loaders): do not preallocate 3 elements in the
8374 vector, since one ends up with 6 elements otherwise
8376 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8378 * DepTable.C (write): write the file name as last element of the
8379 .dep file (because it may contain spaces)
8380 (read): read info in the right order
8382 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8384 * paragraph_pimpl.C (simpleTeXBlanks):
8385 (simpleTeXSpecialChars):
8386 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8388 * tabular.C (latex): add some missing case statements. Reindent.
8390 * MenuBackend.C (expandToc): remove unused variable.
8392 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8401 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8404 2003-01-05 John Levon <levon@movementarian.org>
8407 * BufferView.C: add getEncoding()
8410 * kbsequence.C: do not store last keypress
8413 * lyxfunc.C: store last keypress here instead. Pass encoding
8416 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8418 * lyx_main.C (init): remove annoying error message when following
8419 symbolic links (bug #780)
8421 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8423 * text.C (insertChar):
8424 * lyxrc.C (getDescription): remove extra spaces
8426 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8428 * lyxrc.C (getDescription): remove extra spaces
8430 2002-12-20 John Levon <levon@movementarian.org>
8432 * text3.C: hack fix for page up/down across tall rows
8434 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8436 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8439 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8441 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8442 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8443 thesaurus is not compiled in
8445 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8447 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8449 2002-12-16 Angus Leeming <leeming@lyx.org>
8452 * lyx_main.C (init): remove override_x_deadkeys stuff.
8454 2002-12-12 John Levon <levon@movementarian.org>
8456 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8457 insert. Only remove shift modifier under strict
8460 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8462 * MenuBackend.C (expandToc): fix crash.
8464 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8466 * MenuBackend.C (expandToc): gettext on float names.
8468 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8470 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8471 implement bool empty() [bug 490]
8473 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8475 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8477 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8479 * several files: ws changes
8481 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8483 * text2.C (setCounter): clean up a bit, use boost.format.
8484 (updateCounters): initialize par upon declaration.
8486 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8487 if the layout exists. We do not just store the layout any more.
8488 (SwitchLayoutsBetweenClasses): use boost.format
8490 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8492 * converter.C (convert): if from and to files are the same, use a
8493 temporary files as intermediary
8495 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8498 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8500 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8502 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8504 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8506 * tabular.C (asciiPrintCell): use string(size, char) instead of
8509 * sgml.C (openTag): fix order of arguments to string constructor
8512 * lyxfunc.C (dispatch): use boost.format
8514 * lots of files: change "c" -> 'c'
8516 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8518 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8520 2002-11-25 Angus Leeming <leeming@lyx.org>
8522 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8524 * lyx_main.C (init): compile fix.
8526 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8528 * lyx_cb.C (start): boost.formatify
8529 do not include <iostream>
8531 * lengthcommon.C: ws only
8533 * boost-inst.C,BoostFormat.h: add more explict instantations
8535 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8537 * lots of files: handle USE_BOOST_FORMAT
8539 2002-11-21 John Levon <levon@movementarian.org>
8541 * pspell.C: fix compile
8543 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8545 * lyxfunc.C (dispatch): use boost::format
8549 * lyxfont.C (stateText): use boost::format
8551 * lyx_main.C (LyX): use boost::format
8553 (queryUserLyXDir): ditto
8556 (typedef boost::function): use the recommened syntax.
8558 * importer.C (Import): use boost::format
8560 * debug.C (showLevel): use boost::format
8562 * converter.C (view): use boost::format
8567 * bufferview_funcs.C (currentState): use boost::format
8569 * bufferlist.C (emergencyWrite): use boost::format
8571 * buffer.C (readLyXformat2): use boost::format
8572 (parseSingleLyXformat2Token): ditto
8574 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8576 * LaTeX.C (run): use boost::format
8578 * Chktex.C (scanLogFile): use boost::format
8580 * BufferView_pimpl.C (savePosition): use boost::format
8581 (restorePosition): ditto
8582 (MenuInsertLyXFile): ditto
8584 * BoostFormat.h: help file for explicit instation.
8586 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8588 * tabular.C (latex): Support for block alignment in fixed width
8591 2002-11-17 John Levon <levon@movementarian.org>
8593 * BufferView_pimpl.C:
8595 * lyxfunc.C: split filedialog into open/save
8597 2002-11-08 Juergen Vigna <jug@sad.it>
8599 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8600 by my last patch (hopefully).
8602 2002-11-08 John Levon <levon@movementarian.org>
8611 * toc.C: ParConstIterator, and use it (from Lars)
8613 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8615 * lyxtextclass.[Ch]: revise and add doxygen comments
8617 2002-11-07 John Levon <levon@movementarian.org>
8619 * text.C: fix progress value for spellchecker
8621 * toc.C: fix navigate menu for insetwrap inside minipage
8623 * paragraph_funcs.C: added FIXME for suspect code
8625 2002-11-07 John Levon <levon@movementarian.org>
8627 * BufferView_pimpl.C: fix redrawing of insets
8630 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8632 * text2.C (updateCounters): fix bug 668
8634 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8636 * text3.C (dispatch): Do not make the buffer dirty when moving the
8639 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8641 * vc-backend.C: STRCONV
8644 * text2.C (setCounter): STRCONV
8646 * paragraph.C (asString): STRCONV
8648 * lyxlength.C (asString): STRCONV
8649 (asLatexString): ditto
8651 * lyxgluelength.C (asString): STRCONV
8652 (asLatexString): ditto
8654 * lyxfunc.C (dispatch): STRCONV
8657 * lyxfont.C (stateText): STRCONV
8659 * importer.C (Import): STRCONV
8661 * counters.C (labelItem): STRCONV
8662 (numberLabel): ditto
8663 (numberLabel): remove unused ostringstream o
8668 * bufferview_funcs.C (currentState): STRCONV
8670 * buffer.C (readFile): STRCONV
8671 (asciiParagraph): ditto
8672 (makeLaTeXFile): ditto
8674 * Spacing.C (writeEnvirBegin): STRCONV
8676 * LaTeXFeatures.C (getLanguages): STRCONV
8677 (getPackages): ditto
8679 (getBabelOptions): ditto
8680 (getTClassPreamble): ditto
8681 (getLyXSGMLEntities): ditto
8682 (getIncludedFiles): ditto
8686 (scanAuxFile): ditto
8689 * LString.h: add the STRCONV macros
8691 * BufferView_pimpl.C (savePosition): STRCONV
8692 (restorePosition): ditto
8693 (MenuInsertLyXFile): ditto
8695 * vc-backend.C (scanMaster): change from submatch[...] to
8698 * funcrequest.C: include config.h
8700 * factory.C: include config.h
8702 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8704 * box.C: include config.h
8706 * LaTeX.C (scanAuxFile): change from submatch[...] to
8710 2002-10-25 Angus Leeming <leeming@lyx.org>
8712 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8714 * ispell.[Ch] (setError): new method.
8715 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8716 Use setError() insetead of goto END.
8718 * lyx_cb.C (AutoSave): move out child process into new class
8721 2002-10-30 John Levon <levon@movementarian.org>
8723 * text3.C: make start appendix undoable
8725 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8727 * lyxlength.C (inPixels): Fix returned value.
8729 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8732 2002-10-24 Angus Leeming <leeming@lyx.org>
8734 * lyxgluelength.h: no need to forward declare BufferParams
8735 or BufferView, so don't.
8737 2002-10-21 John Levon <levon@movementarian.org>
8739 * BufferView.C: menuUndo ->undo, redo
8741 * BufferView.h: document, remove dead, make some methods private
8743 * paragraph_funcs.h:
8744 * paragraph_funcs.C:
8745 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8750 * sgml.C: move sgml open/close tag into sgml.C
8752 * bufferview_funcs.h: unused prototype
8755 * lyxfunc.C: remove unused
8758 * text.C: remove unused
8760 2002-10-21 John Levon <levon@movementarian.org>
8764 * BufferView_pimpl.h:
8765 * BufferView_pimpl.C: fix mouse wheel handling based on
8766 patch from Darren Freeman
8768 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8770 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8772 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8774 * lyxlength.C (inPixels): Fix hanfling of negative length.
8775 Fix LyXLength::MU case.
8777 2002-10-16 John Levon <levon@movementarian.org>
8779 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8781 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8783 * converter.C (view): add support for $$i (file name) and $$p
8784 (file path) for the viewer command. If $$i is not specified, then
8785 it is appended to the command (for compatibility with old syntax)
8787 2002-10-14 Juergen Vigna <jug@sad.it>
8789 * undo_funcs.C (textHandleUndo): alter the order in which the
8790 new undopar is added to the LyXText, as we have to set first
8791 the right prev/next and then add it as otherwise the rebuild of
8792 LyXText is not correct. Also reset the cursor to the right paragraph,
8793 with this IMO we could remove the hack in "redoParagraphs()".
8795 2002-10-09 Angus Leeming <leeming@lyx.org>
8797 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8798 to turn off an optimisation if a new inset is to be inserted.
8800 2002-10-11 André Pönitz <poenitz@gmx.net>
8802 * lyxtext.h: make some functions public to allow access
8803 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8805 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8807 * text3.C (dispatch): when changing layout, avoid an infinite loop
8810 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8812 * lyxrc.C (read): treat a viewer or converter command of "none" as
8815 * MenuBackend.C (expandFormats): for an update, also allow the
8816 formats that are not viewable
8818 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8819 script if it is newer than the lyxrc.defaults in user directory
8821 2002-10-07 André Pönitz <poenitz@gmx.net>
8823 * text.C: Vitaly Lipatov's small i18n fix
8825 2002-09-25 Angus Leeming <leeming@lyx.org>
8827 * ispell.h: doxygen fix.
8829 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8831 * buffer.h (readFile): Add a new argument to the method, to allow
8832 reading of old-format templates.
8834 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8836 * toc.C (getTocList): Get TOC from InsetWrap.
8838 2002-09-16 John Levon <levon@movementarian.org>
8840 * lyxfunc.C: check tabular for cut/copy too
8842 2002-09-12 John Levon <levon@movementarian.org>
8847 * factory.C: add header
8849 * paragraph_funcs.h:
8850 * paragraph_funcs.C: cleanup
8852 2002-09-11 John Levon <levon@movementarian.org>
8854 * PrinterParams.h: odd/even default to true
8856 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8858 * PrinterParams.h: update printer parameters for new xforms dialog
8860 2002-09-11 Angus Leeming <leeming@lyx.org>
8862 * lyxserver.C (read_ready): re-write to make it more transparent
8863 and to make it work in coherent fashion under Tru64 Unix.
8865 2002-09-11 André Pönitz <poenitz@gmx.net>
8869 * text3.C: implement LFUN_WORDSEL
8871 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8873 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8874 make floatlist_ a boost::shared_ptr<FloatList>
8876 * lyxtextclass.C: include FloatList.h
8877 (LyXTextClass): initialize floatlist_
8878 (TextClassTags): add TC_NOFLOAT
8879 (Read): match "nofloat" to TC_NOFLOAT and use it.
8880 (readFloat): modify call to floatlist_
8884 * FloatList.[Ch] (FloatList): remove commented out float
8886 (erase): new function
8888 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8890 * MenuBackend.C (expandToc): fix crash when there is no document
8893 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8895 * many files: Add insetwrap.
8897 2002-09-09 John Levon <levon@movementarian.org>
8899 * text2.C: remove confusing and awkward depth wraparound
8901 2002-09-09 John Levon <levon@movementarian.org>
8903 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8906 * buffer.C: remove getIncludeonlyList()
8909 * lyxfunc.C: remove headers
8911 2002-09-09 Juergen Vigna <jug@sad.it>
8913 * text.C (getColumnNearX): fix form Michael this is most
8914 probably a cut&paste bug.
8916 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8918 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8920 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8921 references, ws changes.
8923 * text2.C (init): update counters after init
8924 (insertParagraph): no need to set counter on idividual paragraphs.
8925 (setCounter): access the counters object in the textclass object
8926 on in the buffer object.
8927 (updateCounters): ditto
8929 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8930 shared_ptr<Counters> to avoid loading counters.h in all
8932 (LyXTextClass): initialize ctrs_
8933 (TextClassTags): add TC_COUNTER, and ...
8934 (Read): use it here.
8935 (CounterTags): new tags
8936 (readCounter): new function
8937 (counters): new funtion
8938 (defaultLayoutName): return a const reference
8940 * counters.C (Counters): remove contructor
8941 (newCounter): remove a couple of unneeded statements.
8942 (newCounter): simplify a bit.
8943 (numberLabel): some small formatting changes.
8945 * buffer.[Ch]: remove all traces of counters, move the Counters
8946 object to the LyXTextClass.
8948 2002-09-06 Alain Castera <castera@in2p3.fr>
8950 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8951 package to set the horizontal alignment on fixed width columns.
8954 * lyx_sty.h: added tabularnewline macro def.
8956 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8958 2002-09-06 John Levon <levon@movementarian.org>
8960 * LyXAction.C: tooltips for sub/superscript
8962 * MenuBackend.C: a bit more verbose
8964 * lyxfunc.C: tiny clean
8966 * undo_funcs.C: document undo_frozen
8968 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8970 * counters.C (Counters): add missing algorithm counter.
8972 * text2.C (setCounter): lookup the counter with layouts latexname
8973 instead of by section number.
8974 (setCounter): use a hackish way to lookup the correct enum
8976 a float name->type change
8977 reset enum couners with counter name directly instead of depth value.
8979 * counters.C (Counters): remove the push_backs, change to use the
8980 float type not the float name.
8981 (labelItem): remove unused string, float name->type change
8983 * counters.h: don't include vector, loose the enums and sects vectors
8985 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8987 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8988 (Read): add float->TC_FLOAT to textclassTags
8989 (Read): and handle it in the switch
8990 (readFloat): new function
8992 * FloatList.C (FloatList): comment out the hardcoded float
8995 * lyxlayout.h: ws change.
8997 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8999 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9001 2002-09-03 Angus Leeming <leeming@lyx.org>
9003 * BufferView_pimpl.h: qualified name is not allowed in member
9004 declaration: WorkArea & Pimpl::workarea() const;
9006 * factory.C: added using std::endl directive.
9008 * text3.C: added using std::find and std::vector directives.
9010 2002-08-29 André Pönitz <poenitz@gmx.net>
9013 * text2.C: remove unused member number_of_rows
9016 * BufferView2.C: remove file, move contents to...
9017 * BufferView.C: ... here
9019 * BufferView_pimpl.C:
9020 * factory.C: move more inset creation to factory
9022 * vspace.C: avoid direct usage of LyXText, ws changes
9025 don't provide direct access to WorkArea, use two simple
9026 acessors haveSelction() and workHeight() instead
9029 2002-08-29 John Levon <levon@movementarian.org>
9031 * BufferView_pimpl.C (dispatch): do not continue when
9034 2002-08-28 André Pönitz <poenitz@gmx.net>
9036 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9039 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9041 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9043 * buffer.C: increment LYX_FORMAT to 221
9045 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9046 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9048 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9050 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9052 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9054 * factory.C (createInset): use LyXTextClass::floats
9056 * MenuBackend.C (expandFloatListInsert):
9057 (expandFloatInsert):
9060 * text2.C (setCounter):
9062 * LaTeXFeatures.C (useFloat):
9063 (getFloatDefinitions):
9065 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9067 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9068 floatlist_, with accessor floats().
9070 * FloatList.h: remove global FloatList
9072 2002-08-26 André Pönitz <poenitz@gmx.net>
9074 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9078 * BufferView_pimpl.C:
9079 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9081 2002-08-25 John Levon <levon@movementarian.org>
9083 * LyXAction.C: fix margin note description
9085 2002-08-24 John Levon <levon@movementarian.org>
9089 * bufferview_funcs.C:
9091 * undo_funcs.C: cleanups
9093 * lyxfunc.C: disable CUT/COPY when no selection
9095 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9097 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9098 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9100 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9101 Add backward compatibility to "mono", "gray" and "no".
9103 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9105 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9106 (and file_format >= 200).
9108 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9110 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9112 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9114 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9116 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9118 * BufferView_pimpl.C:
9125 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9126 inset and code to make it work with the paragraph code. The inset
9127 can be anywhere in the paragraph, but will only do the expected
9128 thing in LaTeX if the layout file contains the parameter line
9130 (or more generally, a nonzero value) for that layout.
9132 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9134 * paragraph.h: remove the declaration of undefined counters class
9137 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9139 * text2.C (setCounter): fixed enumeration mis-count as reported by
9140 Dr. Richard Hawkins.
9142 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9144 * paragraph_funcs.h: remove some unneeded includes
9146 * text.C (backspace): pasteParagraph now in global scipe
9148 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9149 (pasteSelection): ditto
9151 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9152 * paragraph_funcs.C (pasteParagraph): ... here
9154 2002-08-20 André Pönitz <poenitz@gmx.net>
9156 * commandtags.h: new LFUNs for swapping/copying table row/colums
9159 * lyxfunc.C: support for new lfuns
9161 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9164 * buffer.[Ch]: remove NO_COMPABILITY stuff
9166 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9168 * boost.C (throw_exception): new file, with helper function for
9169 boost compiled without exceptions.
9174 * ParameterStruct.h:
9175 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9177 * bufferlist.C (emergencyWriteAll): use boost bind
9179 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9181 * text.C: include paragraph_funcs.h
9182 (breakParagraph): breakParagraph is now in global scope
9184 * paragraph_funcs.[Ch]: new files
9186 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9189 * buffer.C: include paragraph_funcs.h
9190 (insertStringAsLines): breakParagraph is now in global scope
9192 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9195 * CutAndPaste.C: include paragraph_funcs.h
9196 (cutSelection): breakParagraphConservative is now in global scope
9197 (pasteSelection): ditto
9199 * buffer.h: declare oprator== and operator!= for
9200 Buffer::inset_iterator
9202 * bufferlist.C (emergencyWrite): don't use fmt(...)
9204 * text3.C: add using std::endl
9206 * BufferView.C (moveCursorUpdate): remove default arg
9208 2002-08-20 André Pönitz <poenitz@gmx.net>
9210 * buffer.[Ch]: move inline functions to .C
9213 * BufferView_pimpl.C:
9215 * buffer.[Ch]: use improved inset_iterator
9218 * paragraph.[Ch]: write one paragraph at a time
9220 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9222 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9223 style if style is not specified.
9225 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9227 * text2.C (setCounter): when searching for right label for a
9228 caption, make sure to recurse to parent insets (so that a caption
9229 in a minipage in a figure float works) (bug #568)
9231 2002-08-20 André Pönitz <poenitz@gmx.net>
9233 * text3.C: new file for LyXText::dispatch() and helpers
9235 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9237 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9239 2002-08-19 André Pönitz <poenitz@gmx.net>
9242 * text.C: new LyXText::dispatch()
9244 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9246 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9248 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9250 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9253 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9255 * Makefile.am: use $(variables) instead of @substitutions@
9257 2002-08-15 André Pönitz <poenitz@gmx.net>
9260 * BufferView_pimpl.C: streamlining mathed <-> outer world
9264 * LyXAction.C: remove unused LFUN_MATH
9266 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9268 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9270 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9272 * paragraph.C (Paragraph): reformat a bit
9273 (cutIntoMinibuffer): use builtin InsetList function instad of
9277 * buffer.C: include boost/bind.hpp, add using std::for_each
9278 (writeFileAscii): use ParagraphList iterators
9279 (validate): use for_each for validate traversal of paragraphs
9280 (getBibkeyList): use ParagraphList iterators
9281 (resizeInsets): use for_each to resizeInsetsLyXText for all
9283 (getParFromID): use ParagraphList iterators
9285 * BufferView2.C (lockInset): use paragraph list and iterators
9287 2002-08-14 John Levon <levon@movementarian.org>
9289 * lyxserver.C: remove spurious xforms include
9291 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9293 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9295 2002-08-13 André Pönitz <poenitz@gmx.net>
9298 * lyxfunc.C: further cleaning
9300 2002-08-13 André Pönitz <poenitz@gmx.net>
9302 * funcrequest.h: new constructor
9304 * funcrequest.C: move stuff here from .h
9307 * BufferView_pimpl.C:
9310 * lyxfunc.C: subsequent changes
9312 * lyxfunc.h: new view() member function
9314 * lyxfunc.C: subsequent changes
9316 2002-08-13 Angus Leeming <leeming@lyx.org>
9319 * BufferView_pimpl.C:
9327 changes due to the changed LyXView interface that now returns references
9328 to member variables not pointers.
9330 2002-08-13 Angus Leeming <leeming@lyx.org>
9332 * WordLangTuple (word, lang_code): return references to strings,
9337 * lyxtext.h: forward-declare WordLangTuple.
9342 * text.C: #include "WordLangTuple.h".
9345 * text.C: (selectNextWordToSpellcheck): constify return type.
9347 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9353 * paragraph_pimpl.h:
9356 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9358 Made updateCounter always count from start of buffer, and removed
9359 second argument (par).
9360 Reverted floats number display to '#'. Perhaps I'll try again when the
9361 code base is sanitized a bit.
9363 2002-08-12 Angus Leeming <leeming@lyx.org>
9365 * buffer.[Ch] (getLabelList): constify.
9367 2002-08-07 André Pönitz <poenitz@gmx.net>
9369 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9371 * funcrequest.h: extension to keep mouse (x,y) position
9373 2002-08-12 Juergen Vigna <jug@sad.it>
9375 * BufferView2.C (insertErrors): forbid undo when inserting error
9378 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9380 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9382 * ParagraphList.[Ch]: new files
9384 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9386 * BufferView2.C (lockInset): ParagraphList changes
9389 * bufferlist.C: ditto
9393 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9395 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9396 unused class variable counter_,
9398 * paragraph.[Ch] (getFirstCounter): delete unused function
9400 * counters.C: include LAssert.h
9401 (reset): add a new function with no arg, change other version to
9402 not have def. arg and to not allow empty arg.
9404 * text2.C (setCounter): remove empty arg from call to Counters::reset
9406 2002-08-11 John Levon <levon@movementarian.org>
9408 * Makefile.am: add WordLangTuple.h
9410 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9412 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9413 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9415 * insets/insettext.C: InsetList changes
9417 * graphics/GraphicsSupport.C (operator()): InsetList changes
9419 * toc.C (getTocList): InsetList changes
9421 * paragraph_pimpl.[Ch]: InsetList changes
9423 * paragraph.[Ch]: InsetList changes
9425 * buffer.C (inset_iterator): InsetList changes
9426 (setParagraph): ditto
9427 * buffer.h (inset_iterator): ditto
9428 * iterators.C (operator++): ditto
9429 * iterators.h: ditto
9431 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9433 * InsetList.[Ch]: new files, most InsetList handling moved out of
9436 * BufferView2.C (removeAutoInsets): InsetList changes
9438 (ChangeInsets): ditto
9440 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9442 * paragraph_pimpl.h (empty): new function
9444 * paragraph.[Ch] (empty): new function
9446 * other files: use the new Paragraph::empty function
9448 2002-08-09 John Levon <levon@movementarian.org>
9450 * lyxtext.h: remove unused refresh_height
9452 2002-08-09 John Levon <levon@movementarian.org>
9459 * paragraph.C: move sgml char escaping out of paragraph
9462 * paragraph.C: remove id setter
9466 * paragraph_pimpl.C: remove dead tex_code_break_column
9468 * bufferview_funcs.C: small cleanup
9470 * lyxfunc.C: remove dead proto
9472 * lyxtext.h: make some stuff private. Remove some dead stuff.
9474 * lyxgluelength.C: make as[LyX]String() readable
9476 2002-08-08 John Levon <levon@movementarian.org>
9481 * ToolbarDefaults.C:
9484 * toc.C: lyxaction cleanup
9486 2002-08-08 John Levon <levon@movementarian.org>
9488 * BufferView2.C: small cleanup
9491 * lyxfind.C: move unnecessary header into the .C
9493 2002-08-08 John Levon <levon@movementarian.org>
9495 * funcrequest.h: just tedious nonsense
9498 * lyx_main.C: cleanups
9501 * vspace.C: remove dead header lyx_main.h
9503 2002-08-07 Angus Leeming <leeming@lyx.org>
9506 * paragraph_pimpl.h:
9507 Forward declare class Counters in paragraph.h by moving the ctrs member
9508 variable into Paragraph::Pimpl.
9509 (counters): new method, returning a reference to pimpl_->ctrs.
9511 * text2.C: ensuing changes.
9513 2002-08-07 John Levon <levon@movementarian.org>
9515 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9517 * BufferView_pimpl.C: announce X selection on double/triple
9520 * lyx_main.C: use correct bool in batch dispatch
9522 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9524 2002-08-07 André Pönitz <poenitz@gmx.net>
9526 * funcrequest.h: new class to wrap a kb_action and its argument
9529 * BufferView_pimpl[Ch]:
9533 * lyxrc.C: subsequent changes
9536 2002-08-07 John Levon <levon@movementarian.org>
9538 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9539 document options change.
9541 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9546 * makefile.am: move counters functionality over from
9547 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9549 2002-08-06 John Levon <levon@movementarian.org>
9551 * WordLangTuple.h: new file for word + language code tuple
9562 * BufferView2.C: use WordLangTuple
9565 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9567 2002-08-06 John Levon <levon@movementarian.org>
9569 * lyx_main.C: fix cmdline batch handling
9571 2002-08-06 André Pönitz <poenitz@gmx.net>
9573 * lyxrc.C: set default for show_banner to true
9575 2002-08-06 John Levon <levon@movementarian.org>
9577 * pspell.C: fix a crash, and allow new aspell to work
9579 2002-08-06 John Levon <levon@movementarian.org>
9582 * kbmap.C: small cleanup
9585 * vspace.C: add const
9587 2002-08-05 John Levon <levon@movementarian.org>
9589 * LyXAction.C: back to tabular-insert
9591 2002-08-04 John Levon <levon@movementarian.org>
9594 * BufferView.C: cosmetic change
9596 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9606 * BufferView2.C: purge all "Lyx" not "LyX" strings
9609 * lyxcursor.C: attempt to add some documentation
9614 * ToolbarDefaults.C:
9615 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9616 merge with LFUN_TABULAR_INSERT
9623 * pspell.C: split up i/pspell implementations into separate
9624 files, many cleanups
9626 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9628 * text2.C: some cleanup
9630 * lyxfunc.C: don't check for isp_command == "none" any more, it
9631 didn't make any sense
9633 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9638 * makefile.am: move counters functionality over
9639 from text2.C/paragraph.[Ch] to counters.[Ch], and
9641 2002-08-02 John Levon <levon@movementarian.org>
9643 * buffer.C: s/lyxconvert/lyx2lyx/
9645 2002-08-02 Angus Leeming <leeming@lyx.org>
9647 * lyxlex.C: revert John's change as it breaks reading of the user
9650 2002-08-02 Angus Leeming <leeming@lyx.org>
9652 * importer.C (Import):
9653 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9654 changes due to LyXView::view() now returning a boost::shared_ptr.
9656 2002-08-02 John Levon <levon@movementarian.org>
9658 * lyxlex.C: small cleanup
9660 2002-08-02 John Levon <levon@movementarian.org>
9662 * text2.C (status): small cleanup, no logic change
9664 2002-08-01 John Levon <levon@movementarian.org>
9667 * buffer.C (writeFile): don't output alerts, caller
9671 * lyx_cb.C: from above
9673 * lyxfunc.C: allow to open non-existent files
9675 2002-07-31 John Levon <levon@movementarian.org>
9677 * lyxserver.C: don't let incidental errors get
9680 2002-07-30 John Levon <levon@movementarian.org>
9682 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9684 2002-07-30 John Levon <levon@movementarian.org>
9687 * lyxserver.C: remove I/O callback too
9689 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9691 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9694 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9696 * many files: strip,frontStrip -> trim,ltrim,rtrim
9698 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9700 * PrinterParams.h: remove extern containsOnly, and include
9701 support/lstrings.h instead.
9703 * LaTeX.C (scanAuxFile): modify because of strip changes
9705 * buffer.C (makeLaTeXFile): ditto
9706 * bufferparams.C (writeFile): ditt
9707 * lyxfont.C (stateText): ditto
9708 * lyxserver.C (read_ready): ditto
9709 * vc-backend.C (scanMaster): ditto
9711 * BufferView_pimpl.h: ws changes
9713 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9715 2002-07-26 André Pönitz <poenitz@gmx.net>
9717 * kb_sequence.C: remove unnedred usings
9719 2002-07-26 Juergen Vigna <jug@sad.it>
9721 * lyxfind.C (LyXReplace): we have to check better if the returned
9722 text is not of theLockingInset()->getLockingInset().
9724 2002-07-25 Juergen Vigna <jug@sad.it>
9726 * lyxfind.C (LyXReplace): don't replace if we don't get the
9729 * undo_funcs.C (createUndo): remove debugging code.
9731 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9733 * buffer.C (parseSingleLyXformat2Token): Use default placement
9734 when reading old floats.
9736 * FloatList.C (FloatList): Change the default placement of figure
9737 and tables to "tbp".
9739 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9741 * MenuBackend.C: using std::max
9743 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9745 * MenuBackend.C (expandToc):
9746 (expandToc2): code moved from xforms menu frontend. It is now
9747 generic and TOCs are transparent to menu frontends.
9749 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9751 * toc.C (getTocList): protect against buf=0
9753 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9754 Menu as first parameter. Now, this calls itself recursively to
9755 expand a whole tree (this will be useful for TOC handling)
9756 (expandFloatInsert): remove 'wide' version of floats
9758 * MenuBackend.h (submenuname): returns the name of the submenu.
9759 (submenu): returns the submenu itself, provided it has been
9760 created by MenuBackend::expand
9762 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9764 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9765 insets which have noFontChange == true. (bug #172)
9767 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9769 * BufferView_pimpl.C: add connection objects and use them...
9772 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9774 * MenuBackend.C (expandLastfiles):
9777 (expandFloatListInsert):
9778 (expandFloatInsert):
9779 (expand): split expand in parts
9781 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9783 * lyx_gui.C: use lyx_gui::exit()
9785 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9787 * LyXAction.C: show the failing pseudo action
9789 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9791 * buffer.C (readFile): Run the lyxconvert script in order to read
9794 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9798 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9800 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9804 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9806 2002-07-22 Herbert Voss <voss@lyx.org>
9809 * lyxlength.[Ch]: add support for the vertical lengths
9811 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9813 * toc.[Ch]: std:: fixes
9815 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9817 * lyxrc.C: do not include lyx_main.h
9819 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9825 * BufferView2.C: include "lyxlex.h"
9828 * bufferparams.h: do not #include "lyxlex.h"
9830 * lyxtextclasslist.C (Add): remove method
9831 (classlist): renamed to classlist_
9833 * paragraph_pimpl.C:
9837 * bufferview_funcs.C:
9842 * toc.C (getTocList): use BufferParams::getLyXTextClass
9844 * toc.C (getTocList): use InsetFloat::addToToc
9846 * toc.[Ch]: new files, containing helper functions to handle table
9849 * lyxfunc.C (dispatch): no need to remove spaces around command
9851 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9852 first command of the sequence; it is not very clever, but I do not
9853 have a better idea, actually
9855 * LyXAction.C (LookupFunc): make sure to remove space at the
9856 beginning and end of the command
9858 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9860 * MenuBackend.C (getMenubar): new method: return the menubar of
9862 (read): treat differently reading of menu and menubar (in
9863 particular, the menubar has no name now)
9864 (Menu::menubar): remove
9866 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9869 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9871 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9872 a bibitem inset in a RTL paragraph.
9874 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9876 * paragraph_pimpl.C: constify
9878 * BufferView_pimpl.C:
9880 * lyxfunc.C: fix dispatch in a nicer way
9882 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9884 * lyxfunc.C (dispatch):
9885 * BufferView_pimpl.C:
9886 * BufferView_pimpl.h:
9888 * BufferView.h: rename Dispatch() to dispatch()
9890 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9892 * lyxlayout.C (Read): honor DependsOn tag
9894 * lyxlayout.[Ch] (depends_on): new method
9896 * version.C.in: update lyx_docversion
9898 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9900 * paragraph.C (validate): remove from here...
9901 * paragraph_pimpl.C (validate): ... and move here
9902 (isTextAt): make it const
9904 * buffer.C (getLists): ws cleanup
9906 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9908 * language.C (read): Use iso8859-1 encoding in latex_lang
9909 (this prevents LyX from crashing when using iso10646-1 encoding).
9911 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9913 * text2.C (toggleInset): if cursor is inside an inset, close the
9914 inset and leave cursor _after_ it
9916 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9918 * lyxfunc.C: move minibuffer completion handling out of here
9920 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9922 * BufferView_pimpl.C:
9923 * LaTeX.C: fix dispatch calls
9925 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9927 * text.C (drawChars): Fix Arabic text rendering.
9929 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9933 * lyxfunc.C: remove message-push/pop
9937 * lyxfunc.C: rationalise some code by removing verboseDispatch
9938 in favour of a bool argument to dispatch()
9940 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9942 * lyx_main.C (init): make sure to read symlinks as absolute paths
9944 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9947 * lyxfunc.C: no need for commandshortcut to be a member
9949 2002-07-15 André Pönitz <poenitz@gmx.net>
9951 * converter.C: add support for $$s (scripts from lib/scripts dir)
9952 * lyx_main.C: white space
9954 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9958 * lyxrc.C: remove second exit confirmation
9960 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9965 * BufferView_pimpl.h:
9966 * BufferView_pimpl.C:
9967 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9969 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9971 * MenuBackend.C (expand): add numeric shortcuts to document menu
9973 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9975 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9977 * lyxfont.C (setLyXFamily):
9984 * buffer.C (asciiParagraph): use ascii_lowercase
9986 2002-07-15 Mike Fabian <mfabian@suse.de>
9988 * lyxlex_pimpl.C (search_kw):
9989 * lyxlex.C (getLongString):
9990 * converter.h (operator<):
9991 * converter.C (operator<):
9992 * buffer.C (parseSingleLyXformat2Token):
9994 * ToolbarDefaults.C (read):
9995 * MenuBackend.C (checkShortcuts):
9997 * LColor.C (getFromGUIName):
9998 (getFromLyXName): use the compare_ascii_no_case instead of
9999 compare_no_case, because in turkish, 'i' is not the lowercase
10000 version of 'I', and thus turkish locale breaks parsing of tags.
10002 2002-07-16 Angus Leeming <leeming@lyx.org>
10004 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10005 now takes a Buffer const & argument.
10007 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10009 * BufferView.C (resize): check there's a buffer to resize
10011 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10013 * lyxfunc.C: remove dead code
10016 * lyxserver.C: use lyx_guii::set_read_callback
10018 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10020 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10021 an inset in a RTL paragraph.
10023 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10025 * lyxfunc.C: repaint after a font size update
10027 2002-07-15 André Pönitz <poenitz@gmx.net>
10029 * lyxlength.C: inBP should be able to return negative values
10031 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10033 * lyxfunc.C: use lyx_gui::update_fonts()
10035 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10037 * lyxfunc.C: use lyx_gui::update_color()
10039 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10045 * lyxrc.C: remove file->new asks for name option, and let
10046 buffer-new take an argument
10048 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10050 * BufferView_pimpl.C: remove unneeded extra repaint()
10052 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10054 * LyXAction.C: allow command-sequence with NoBuffer
10056 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10058 2002-07-10 Angus Leeming <leeming@lyx.org>
10060 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10062 2002-07-09 Angus Leeming <leeming@lyx.org>
10064 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10066 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10068 * lengthcommon.h: whitespace
10070 * lyxfunc.C: update scrollbar after goto paragraph
10072 * lyxtext.h: factor out page break drawing, and fix it so
10073 page break/added space paints as selected nicely
10075 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10077 * BufferView_pimpl.C: add FIXMEs, clean up a little
10079 2002-07-09 André Pönitz <poenitz@gmx.net>
10081 * lyxfont.[Ch]: support for wasy symbols
10083 2002-07-08 André Pönitz <poenitz@gmx.net>
10085 * BufferView_pimpl.C: apply John's patch for #93.
10087 2002-07-05 Angus Leeming <leeming@lyx.org>
10089 * BufferView_pimpl.C (buffer): generate previews if desired.
10091 * LColor.h: add "preview" to the color enum.
10093 * LColor.C (LColor): add a corresponding entry to the items array.
10095 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10098 2002-07-05 Angus Leeming <leeming@lyx.org>
10100 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10101 The body of the code is now in the method that is passed an ostream &
10102 rather than a file name.
10103 Pass an additional only_preamble parameter, useful for the forthcoming
10106 2002-07-03 André Pönitz <poenitz@gmx.net>
10108 * lyxfunc.C: simplify getStatus() a bit for math stuff
10110 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10112 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10114 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10116 * text.C (changeRegionCase): do not change case of all the
10117 document when region ends at paragraph end (bug #461)
10119 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10121 * paragraph.C (startTeXParParams):
10122 (endTeXParParams): add \protect when necessary
10124 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10126 * BufferView_pimpl.C (workAreaExpose): remove warning
10128 2002-06-27 Angus Leeming <leeming@lyx.org>
10130 * Makefile.am: add lyxlayout_ptr_fwd.h.
10132 2002-06-26 André Pönitz <poenitz@gmx.net>
10134 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10136 2002-06-25 Angus Leeming <leeming@lyx.org>
10138 * lyxfunc.C (dispatch): Comment out the call to
10139 grfx::GCache::changeDisplay. The method no longer exists now that the
10140 pixmap generation part of the graphics loader has been moved into
10143 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10145 * text2.C: layout as layout
10147 * text.C: layout as layout
10149 * tabular.C (OldFormatRead): layout as layout
10151 * paragraph_pimpl.C (TeXDeeper): layout as layout
10152 (realizeFont): layout as layout
10154 * paragraph.C (writeFile): layout as layout
10155 (validate): layout as layout
10156 (getFont): layout as layout
10157 (getLabelFont): layout as layout
10158 (getLayoutFont): layout as layout
10159 (breakParagraph): layout as layout
10160 (stripLeadingSpaces): layout as layout
10161 (getEndLabel): layout as layout
10162 (getMaxDepthAfter): layout as layout
10163 (applyLayout): layout as layout
10164 (TeXOnePar): layout as layout
10165 (simpleTeXOnePar): layout as layout
10166 (TeXEnvironment): layout as layout
10167 (layout): layout as layout
10168 (layout): layout as layout
10170 * lyxtextclass.C (compare_name): new functor to work with
10171 shared_ptr, layout as layout
10172 (Read): layout as layout
10173 (hasLayout): layout as layout
10174 (operator): layout as layout
10175 (delete_layout): layout as layout
10176 (defaultLayout): layout as layout
10178 * lyxlayout_ptr_fwd.h: new file
10180 * lyxlayout.C (Read): layout as layout
10182 * lyx_cb.C (MenuInsertLabel): layout as layout
10184 * bufferlist.C (newFile): layout as layout
10186 * buffer.C (readLyXformat2): layout as layout
10187 (parseSingleLyXformat2Token): layout as layout
10188 (insertStringAsLines): layout as layout
10189 (asciiParagraph): layout as layout
10190 (latexParagraphs): layout as layout
10191 (makeLinuxDocFile): layout as layout
10192 (simpleLinuxDocOnePar): layout as layout
10193 (makeDocBookFile): layout as layout
10194 (simpleDocBookOnePar): layout as layout
10195 (getLists): layout as layout
10197 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10199 * CutAndPaste.C (cutSelection): layout as layout
10200 (pasteSelection): layout as layout
10201 (SwitchLayoutsBetweenClasses): layout as layout
10203 * BufferView_pimpl.C (Dispatch): layout as layout
10204 (smartQuote): layout as layout
10206 * BufferView2.C (unlockInset): layout as layout
10208 2002-06-24 André Pönitz <poenitz@gmx.net>
10210 * lyxfunc.C: fix #487
10212 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10216 * lyxfunc.C: remove display_shortcuts, show_banner
10218 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10220 * Buffer_pimpl.C: oops, update on resize
10222 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10229 * BufferView.C: use repaint()
10231 * BufferView_pimpl.h:
10232 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10233 as it's a clearer description. Remove superfluous
10236 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10238 * text.C: fix bug 488. Not ideal, but getting
10239 getWord() to work properly for the insets that
10240 matter is more difficult ...
10242 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10244 * BufferView_pimpl.C:
10247 * lyxfunc.C: remove the six million index lyxfuncs to just
10248 one, and DTRT (bug 458)
10250 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10254 * BufferView_pimpl.h:
10255 * BufferView_pimpl.C: clean up resize() stuff,
10256 and unnecessary updateScreen()s
10258 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10262 * BufferView_pimpl.h:
10263 * BufferView_pimpl.C:
10266 * minibuffer.C: remove focus management of workarea,
10267 not needed. Use screen's greyOut()
10269 2002-06-17 Herbert Voss <voss@lyx.org>
10271 * converter.C: (convert) do not post a message, when converting
10272 fails, let the calling function decide what to do in this case
10274 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10276 * lyxfunc.C: tidy up a little
10278 2002-06-16 <alstrup@diku.dk>
10280 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10281 Got rid of FORMS_H_LOCATION include. Now we are
10284 2002-06-15 LyX Development team <lyx@rilke>
10286 * buffer.[Ch] (sgmlOpenTag):
10287 (sgmlCloseTag): Added support for avoiding pernicious mixed
10288 content. Return number of lines written.
10290 (makeLinuxDocFile):
10291 (makeDocBookFile): Fixed calls to sgml*Tag.
10292 Simple white space clean.
10294 (simpleDocBookOnePar): Simple white space clean.
10296 * tabular.[Ch] (docBook): Renamed to docbook and got another
10297 argument to related with the pernicious mixed content.
10299 (docbookRow): Fixed calls for docbook inset method.
10301 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10303 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10304 so it's X11 independent.
10308 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10310 2002-06-15 Lyx Development team <lyx@electronia>
10312 * intl.h: Renamed getTrans to getTransManager.
10314 2002-06-14 Angus Leeming <leeming@lyx.org>
10316 * Makefile.am: nuke forgotten stl_string_fwd.h.
10318 2002-06-12 Angus Leeming <leeming@lyx.org>
10320 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10322 2002-06-13 Angus Leeming <leeming@lyx.org>
10325 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10327 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10329 * kbmap.C (getiso): add support for cyrillic and greek
10331 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10335 * BufferView_pimpl.h:
10336 * BufferView_pimpl.C: move bogus scrolling logic
10339 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10342 * BufferView_pimpl.C: view->resize() change
10344 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10346 * BufferView_pimpl.C: topCursorVisible
10349 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10353 * lyx_gui.C: move to frontends/
10357 * lyx_main.C: changes from above
10359 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10366 * lyx_main.C: minor tidy
10368 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10370 * BufferView_pimpl.h:
10371 * BufferView_pimpl.C:
10373 * BufferView.C: make painter() const,
10376 * BufferView2.C: use screen() accessor
10379 * lyx_main.C: some minor cleanup
10381 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10383 * BufferView_pimpl.h:
10384 * BufferView_pimpl.C: remove enter/leaveView,
10387 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10392 * BufferView_pimpl.h:
10393 * BufferView_pimpl.C: only construct screen once,
10396 * lyxrc.C: remove pointless comment
10398 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10401 * BufferView.C: remove active() and belowMouse()
10403 * BufferView_pimpl.h:
10404 * BufferView_pimpl.C: use workarea() not workarea_,
10405 and make it use a scoped_ptr instead
10407 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10409 * lyx_gui.C: add debug message on BadWindow
10411 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10413 * sp_spell.C: fdopen is not part of the C++ standard.
10415 * paragraph.C (InsetIterator): use >= instead of ==
10417 2002-06-07 Angus Leeming <leeming@lyx.org>
10419 Fixes needed to compile with Compaq cxx 6.5.
10420 * BufferView_pimpl.C:
10427 * lyxtextclasslist.C:
10432 all c-library variables have been moved into namespace std. Wrap
10433 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10438 Add a using std::abs declaration.
10440 * kbmap.h (modifier_pair):
10441 * paragraph.h (InsetTable, InsetList):
10442 * lyxfont.h (FontBits):
10443 type definition made public.
10445 * bufferlist.C (emergencyWriteAll): the compiler complains that
10446 there is more than one possible lyx::class_fun template to choose from.
10447 I re-named the void specialisation as lyx::void_class_fun.
10449 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10451 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10452 the compiler is is unable to find tostr in write_attribute.
10454 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10456 * buffer.C (sgmlError): hide #warning
10458 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10460 * xtl/*: get rid of xtl, which is not in use anyway
10462 * LyXAction.C (init):
10463 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10464 were unimplemented xtl experimentation
10466 2002-06-04 André Pönitz <poenitz@gmx.net>
10468 * lyxfunc.C: disable array operation on simple formulae
10470 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10472 * converter.C: constify a bit
10474 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10476 * lyx_gui.C: check xforms version correctly
10478 2002-04-30 Herbert Voss <voss@lyx.org>
10480 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10483 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10485 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10486 attempt to register it with a VCS)
10488 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10490 * lyx_main.C (init): honor variables LYX_DIR_13x and
10493 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10497 * lyx_main.C: fix a crash on bad command line,
10498 and give a useful exit status on error
10500 * lyxfunc.C (doImport): allow -i lyx to work
10502 2002-03-30 André Pönitz <poenitz@gmx.net>
10504 * lyxfunc.C: mathed font changes
10506 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10521 * trans_mgr.h: srcdocs, and some minor cleanups
10523 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10525 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10526 call getFont all the time)
10528 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10530 * switch from SigC signals to boost::signals
10532 2002-05-29 André Pönitz <poenitz@gmx.net>
10534 * paragraph_pimpl.C (getChar): don't call size() too often...
10536 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10538 * paragraph_pimpl.C (insertChar): do not try to update tables when
10539 appending (pos == size())
10541 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10542 in order to reduce drastically the number of comparisons needed to
10543 parse a large document
10545 2002-05-29 André Pönitz <poenitz@gmx.net>
10551 * textclasslist.[Ch]:
10552 * sp_ispell.h: whitespace change
10554 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10556 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10557 lyxaction directly now.
10559 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10563 * lyxvc.C: remove unused headers
10565 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10572 * undo_funcs.C: some cleanups. Use shared_ptr
10573 and a template for the undo stacks.
10575 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10577 * BufferView_pimpl.h:
10578 * BufferView_pimpl.C:
10585 * text2.C: use key_state/mouse_state
10587 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10589 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10592 * chset.C: change include order
10593 (loadFile): use boost regex and get rid of LRegex and LSubstring
10595 * Makefile.am (BOOST_LIBS): new variable
10596 (lyx_LDADD): use it
10598 * LaTeX.C: change include order.
10599 (scanAuxFile): use boost regex and get rid of LRegex and
10603 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10608 * FontInfo.C: moved to frontends/xforms/
10611 * FontLoader.C: moved into frontends for GUIIzation
10616 * lyxfunc.C: changes from above
10618 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10620 * LColor.C: remove spurious X include
10622 * BufferView_pimpl.C:
10627 * text2.C: move font metrics to frontends/
10629 2002-05-24 Juergen Vigna <jug@sad.it>
10631 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10632 setting the undo_cursor.
10634 * ParagraphParameters.h: include local includes first.
10636 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10638 * BufferView_pimpl.C:
10639 * BufferView_pimpl.h:
10643 * screen.C: move WorkArea into frontends/
10649 * BufferView2.C: move LyXScreen into frontends/
10653 * lyx_gui.C: move lyxlookup into frontends/xforms/
10655 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10658 * BufferView_pimpl.C:
10668 * bufferview_funcs.C:
10681 * vc-backend.C: move LyX/XFormsView into frontends/
10683 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10695 * text2.C: move Painter to frontends/
10697 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10699 * buffer.C: comment out some some code that depend upon lyx_format
10702 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10703 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10705 * buffer.h (NO_COMPABILITY): turn off compability
10707 * ColorHandler.C: include scoped_array.hpp
10709 * font.C: Use more specific smart_ptr header.
10712 * ShareContainer.h: ditto
10713 * lyx_main.h: ditto
10715 * FontInfo.h: ditto
10716 * BufferView_pimpl.h: ditto
10717 * ColorHandler.h: ditto
10719 * kbmap.C (defkey): change call to shared_ptr::reset
10721 2002-05-21 Juergen Vigna <jug@sad.it>
10723 * buffer.C (insertErtContents): fix to insert ert asis if it is
10724 non empty. Skip it completely if it contains only whitespaces.
10726 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10728 * BufferView_pimpl.C:
10729 * BufferView2.C: clear selection on paste (bug 393)
10731 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10733 * DepTable.C: include ctime
10735 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10737 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10739 2002-05-14 Juergen Vigna <jug@sad.it>
10741 * text.C (breakParagraph): fixed function to honor the keepempty
10742 layout in the right maner and also to permit the right breaking
10743 algorithm on empty or non empyt keepempty paragraphs.
10745 * paragraph.C (breakParagraph): we have to check also if the par
10746 is really empty (!size()) for isempty otherwise we do the wrong
10749 2002-05-10 Juergen Vigna <jug@sad.it>
10751 * buffer.[Ch] : The following are only changes to the ert
10752 compatibility read reading old LaTeX layout and font stuff and
10753 convert it to ERTInsets.
10755 * buffer.h: added isErtInset().
10757 * buffer.C (struct ErtComp): add a fromlayout bool to check
10758 if we're inside a LaTeX layout.
10759 (isErtInset): new helper function.
10760 (insertErtContents): look for other ert insets before this one
10761 and insert the contents there, so that we don't have subsequent
10762 ERT insets with nothing between them. This way we create only one
10763 inset with multiple paragraphs. Also check if we don't insert only
10764 spaces ' ' as they are ignored anyway afterwards in the .tex file
10765 so if we have only spaces we will ignore this latex part in the
10767 (parseSingleLyXformat2Token \\layout): better compatibility when
10768 reading layout-latex stuff.
10769 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10771 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10772 stuff after reading the inset only get the information back from
10775 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10777 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10779 * LaTeXFeatures.C (getBabelOptions): New method.
10781 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10783 * BufferView_pimpl.C (Dispatch): work around missing argument for
10786 2002-05-08 Juergen Vigna <jug@sad.it>
10788 * text.C (leftMargin): handle paragraph leftindent.
10790 * paragraph.C (writeFile): write the new \\leftindent tag.
10791 (validate): handle leftindent code.
10792 (TeXEnvironment): handle paragraphleftindent code again.
10794 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10796 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10797 for paragrap_extra indent code and new token \\leftindent.
10798 (latexParagraphs): handle the leftindent as environment.
10800 * ParameterStruct.h: added leftindent support.
10802 * ParagraphParameters.C (leftIndent): added support functions for
10803 the paragraph left indent.
10805 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10808 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10810 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10813 * text.C (computeBidiTables): No bidi in insetERT.
10815 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10818 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10820 * version.C.in: pre 5
10822 2002-05-02 José Matos <jamatos@fep.up.pt>
10823 * buffer.C (makeDocBookFile): white space changes, add newline to
10825 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10827 * tabular.C (docBook): fix typo.
10829 2002-05-03 Juergen Vigna <jug@sad.it>
10831 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10832 change in LyXText as we can not be sure it was not freed.
10833 (drawOneRow): remove unused code.
10835 * text.C (drawInset): redo the calculation of the need_break_row as
10836 it could have a row which was already freed.
10837 (draw): look at the return value of drawInset and return false if
10838 it also returned false.
10839 (paintRowText): look at the return value of draw and return false if
10840 it also returned false.
10842 * lyxtext.h: added bool return type to drawInset() and draw() so that
10843 if we have a change in the row so that the rowbreak has to be redone
10844 we abort drawing as it will be called again.
10846 2002-05-02 Juergen Vigna <jug@sad.it>
10848 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10849 a change in the maintext also if we're inside an inset.
10850 (Dispatch): set the cursor again after a break line and after the
10851 screen has been updated as it could be we're in a different row.
10853 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10854 to set the cursor behind the pargraph with > size().
10855 (setCursor): check also for the same paragraph when checking where
10856 to put the cursor if we have a NFR inset.
10858 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10859 parts of layout read further up as it still was in the wrong
10862 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10864 * screen.C (drawFromTo): change sine fullRebreak always return
10867 * buffer.C (parseSingleLyXformat2Token): reindent some
10869 * BufferView_pimpl.C (update): change since fullRebreak always
10871 (Dispatch): git rid of the last hardcoded "Standard"s.
10873 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10875 * text2.[Ch] (fullRebreak): make it return void now that we always
10878 2002-04-30 Juergen Vigna <jug@sad.it>
10880 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10881 ert compatibility check for "latex" layout.
10883 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10885 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10886 minipages: use col% instead of p%, and also use the current font.
10887 (makeLaTeXFile): Fix use babel condition.
10888 (parseSingleLyXformat2Token): Correct font when reading old floats.
10890 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10892 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10893 inserting list of floats.
10895 2002-04-25 Herbert Voss <voss@lyx.org>
10897 * MenuBackend.C (expand): don't add the graphics extensions to the
10900 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10902 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10903 non-existing layout, do not complain if it was the default layout
10904 of the original class (bug #342)
10906 2002-04-24 Juergen Vigna <jug@sad.it>
10908 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10909 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10911 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10913 * buffer.C (getBibkeyList): If using \bibliography, return the
10914 option field with the reference itself. Enables us to provide natbib
10915 support when using \bibliography.
10917 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10919 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10921 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10922 natbib is provided by the LaTeX class.
10924 2002-04-23 Juergen Vigna <jug@sad.it>
10926 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10929 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10931 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10933 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10935 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10936 ensuremath around textordmasculine, textordfeminine and
10939 2002-04-19 Juergen Vigna <jug@sad.it>
10941 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10942 reinitializing the buffer otherwise row-dimensions may be wrong.
10943 (update): reset also the selection cursors if they do exits otherwise
10944 their x/y positions may be wrong.
10946 * text2.C (cursorDown): don't enter the inset if we came from a row
10947 above and are one row over the inset.
10949 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10950 really leaving an inset.
10952 2002-04-18 Juergen Vigna <jug@sad.it>
10954 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10955 of the selected paragraph does not have the selected layout also if
10958 * text2.C (setLayout): fixed bug which did not change last selected
10961 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10962 changed the read and substituted \\end_float with \\end_inset!
10964 * BufferView_pimpl.C (cursorPrevious):
10965 (cursorNext): fixed to make it work with rows heigher than the work
10966 area without moving the cursor only the draw of the row.
10967 (workAreaMotionNotify): fix jumping over high rows.
10969 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10971 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10974 2002-04-16 Juergen Vigna <jug@sad.it>
10976 * text2.C (setCursor): set also the irow().
10977 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10979 (cursorDown): support for locking an inset if the x_fix value goes
10980 inside it. That way I can transverse insets too with cursor up/down.
10982 * lyxrow.h: added irow helper function same as other (i) functions.
10984 * BufferView_pimpl.C (cursorPrevious):
10985 (cursorNext): fixed for insets!
10987 2002-04-15 Juergen Vigna <jug@sad.it>
10989 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10990 position otherwise it is wrong in some cases.
10992 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10993 inside the inset before the call.
10995 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10997 * buffer.[Ch] (getBibkeyList): make it const.
10999 2002-04-12 Juergen Vigna <jug@sad.it>
11001 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11003 * text2.C (getCursorX): new helper function
11004 (setCursor): compute also ix_
11005 (setCursorFromCoordinates): set also ix.
11007 * lyxcursor.h: added ix_ and helper functions.
11009 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11011 * buffer.C (insertStringAsLines): dont break paragraph if the this
11012 paragraph is inside an inset which does not permit it!
11014 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11015 also with no chars on this paragraph.
11016 (paintRowText): only paint stuff if it's inside the workarea!
11018 * paragraph.C (breakParagraph): honor keepempty flag and break the
11019 paragraph always below not above.
11021 * BufferView2.C (unlockInset): update the paragraph layout on inset
11022 unlock as we changed paragraph in such a case.
11024 * lyxfind.C (LyXFind): clear the former selection if not found!
11026 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11027 again called in insertChar().
11029 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11030 an inset which uses the whole row!
11031 (rightMargin): ditto.
11032 (insertChar): force a rebreak if we inserted an inset!
11034 2002-03-28 Herbert Voss <voss@lyx.org>
11036 * lyxlength.[Ch]: add inBP() to get the right PS-point
11037 units (BigPoint). With inPixels we have rounding errors
11039 2002-04-11 Juergen Vigna <jug@sad.it>
11041 * text2.C (setCursorFromCoordinates): set iy to the right value.
11042 (setCursor): add check if row->previous exists!
11044 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11045 an old float_type as this was the case in the old code!
11047 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11049 * BufferView2.C (showLockedInsetCursor): use iy
11050 (fitLockedInsetCursor): ditto
11052 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11053 locked insets as there we have the right value now.
11055 * lyxcursor.C: added iy_ variable and iy functions to set to the
11056 baseline of cursor-y of the locked inset.
11058 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11059 (setCursor): fixed for insets which need a full row.
11061 * text.C (rowLastPrintable): don't ignore the last space when before
11062 an inset which needs a full row.
11063 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11064 as last character of a row when before a inset which needs a full row.
11066 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11068 * version.C.in: update date
11070 * text2.C (fullRebreak): try to always return true and see what
11073 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11075 * MenuBackend.C (expand): use Floating::listName
11077 * FloatList.C (FloatList): add listName argument to the built-in
11080 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11081 text associated with the float.
11083 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11085 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11087 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11089 * ShareContainer.h: add a couple of missing typenames.
11091 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11093 * lyxrc.C (getDescription): use _() correctly rather than N_().
11095 2002-03-28 Herbert Voss <voss@lyx.org>
11097 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11098 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11100 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11102 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11103 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11105 2002-03-29 Juergen Vigna <jug@sad.it>
11107 * lyxfunc.C (dispatch): add a missing fitCursor call.
11109 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11110 it was scrolled by a cursor move, so return the bool status.
11112 * BufferView.C (fitCursor): return the bool flag also to the outside
11113 world as this is needed.
11115 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11117 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11118 call the edit() as it is not needed (and wrong) IMO.
11119 (workAreaButtonPress): set the screen_first variable before evt.
11120 unlock the inset as this may change screen_first and then we have
11121 a wrong y position for the click!
11123 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11125 * MenuBackend.C (expand): another translation that I missed
11127 2002-03-28 Juergen Vigna <jug@sad.it>
11129 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11131 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11133 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11135 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11137 * MenuBackend.C (expand): fix export/view/update when there is no
11140 2002-03-27 Herbert Voss <voss@lyx.org>
11142 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11145 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11147 * bufferview_funcs.C (currentState): only show paragraph number
11148 for is DEVEL_VERSION is set.
11150 * lyxfunc.C (dispatch): put warning in INFO channel
11152 * MenuBackend.C (expand): translate the name of floats
11154 * FloatList.C (FloatList): mark the float names for translation
11156 * converter.C (convert): use LibScriptSearch
11158 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * MenuBackend.C (defaults): fix default menu (we might as well get
11163 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11165 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11168 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11170 * lyxvc.C: reorder includes.
11172 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11174 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11177 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11179 * CutAndPaste.C: change layouts earlier on paste
11180 to avoid crashing when calling getFont()
11182 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11184 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11187 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11189 * WorkArea.C: remove 'Pending' debug message.
11191 * most files: ws cleanup
11193 * buffer.[Ch]: ws changes
11195 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11197 2002-03-21 Juergen Vigna <jug@sad.it>
11199 * tabular.C (SetMultiColumn): collapse also the contents of the
11200 cells and set the last border right. Added a Buffer const * param.
11202 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11204 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11207 2002-03-19 Juergen Vigna <jug@sad.it>
11209 * text2.C (clearSelection): reset also xsel_cache.
11211 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11212 where it needs to be called (John tells us to do so too :)
11213 (selectionLost): reset sel_cache.
11215 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11217 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11219 * text2.C (setCursorIntern): put debuging code in INSETS channel
11221 2002-03-19 André Pönitz <poenitz@gmx.net>
11223 * lyxfunc.C: tiny whitespace change
11225 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11227 * ToolbarDefaults.C (init):
11228 * LyXAction.C (init):
11230 * BufferView_pimpl.C (Dispatch):
11231 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11233 2002-03-19 Allan Rae <rae@lyx.org>
11235 * exporter.C (Export): removeAutoInsets before doing anything else.
11236 While I've just introduced a dependency on BufferView this really is
11237 the best place to clean the buffer otherwise you need to cleanup in
11238 a dozen places before calling export or cleanup in a dozen functions
11241 * converter.C (runLaTeX):
11242 (scanLog): Better handling of removeAutoInsets and screen updates.
11244 * lyxfunc.C (dispatch): small whitespace changes
11246 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11248 * WorkArea.C (C_WorkAreaEvent): return a value.
11249 (event_cb): return 1 if we handled the event, 0 otherwise.
11251 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11253 2002-03-18 Juergen Vigna <jug@sad.it>
11255 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11256 (GetAdditionalWidth): ditto.
11257 (RightLine): ditto.
11260 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11261 inset if we're there actually (probably not used right now but this
11262 is the direction to go for unifying code).
11263 (paste): disable code to clear the selection.
11265 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11266 inside an InsetText and move the check further up as it is in the
11269 * text2.C (pasteSelection): set a selection over the pasted text.
11271 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11273 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11274 and libgraphics to build on Cygwin.
11276 2002-03-15 Juergen Vigna <jug@sad.it>
11278 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11279 inserting an Inset into the paragraph. I know this is not the best
11280 fix but we already use current_view in CutAndPaste so we will remove
11281 all of it's using at the same time.
11283 * buffer.C (sgmlError): deactivated function till it is rewritten in
11284 the right mode, now it can create problems.
11286 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11287 before accessing it.
11289 2002-03-14 Juergen Vigna <jug@sad.it>
11291 * undo_funcs.C (textHandleUndo): do the right thing when updating
11292 the inset after the undo/redo.
11294 * text2.C (setCursor): just some testcode for #44 not ready yet.
11296 * undo_funcs.C (textHandleUndo): set the next() and previous()
11297 pointers of the paragraph to 0 before deleting otherwise we have
11298 problems with the Paragraph::[destructor].
11300 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11301 on a paragraph insertion.
11303 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11305 * buffer.C (asciiParagraph): use += operator for char append to
11308 * paragraph.C (getFontSettings): compare >= not just >
11309 (highestFontInRange): ditto
11312 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11314 * paragraph.C: change several algorithm to be more appripriate for
11315 the problem domain. This is lookip in FontList and in the InsetList.
11317 2002-03-13 André Pönitz <poenitz@gmx.net>
11320 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11322 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11327 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11329 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11331 * Painter.C (display): anon helper function, adjust code for this
11333 (pixmap): remove function.
11335 * Painter.h: remove private display variable.
11337 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11339 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11341 * WorkArea.[Ch]: remove figinset_canvas cruft.
11343 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11345 * lyxtextclass.C (operator): add one item cache optimization.
11347 * bufferlist.h: doxy changes
11349 * bufferlist.C: ws changes
11351 * DepTable.[Ch] (ext_exist): place const in the right spot.
11353 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11355 (workAreaExpose): call resizeInsets when the with BufferView changes.
11356 (Dispatch): adjust for protectedBlank removal
11357 (specialChar): call updateInset if the insert went ok.
11359 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11360 specialChar instead.
11362 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11364 * BufferView.h: doxy change
11366 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11368 * lyxtextclass.C (operator[]): remove non-const version
11369 (defaultLayout): remove non-const version
11371 2002-03-12 Juergen Vigna <jug@sad.it>
11373 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11374 did resize the LyXText too.
11376 * buffer.C (readLyXformat2): set layout information on newly allocated
11379 * tabular.C (OldFormatRead): set layout information on the paragraph.
11381 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11383 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11385 2002-03-11 Juergen Vigna <jug@sad.it>
11387 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11389 (resizeCurrentBuffer): force also the insets to resize themselfes.
11390 (moveCursorUpdate): fixed up for InsetText.
11392 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11395 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11396 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11397 value of Dialogs::tooltipsEnabled().
11398 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11400 2002-03-08 Juergen Vigna <jug@sad.it>
11402 * BufferView_pimpl.C (updateInset): update inset inside inset also
11403 if it isn't inside theLockingInset().
11405 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11407 * buffer.C (asciiParagraph): redo some of the word and line length
11409 (getLists): look for Caption instead of caption.
11411 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11413 * buffer.C (Buffer): initialize niceFile to true
11415 (makeLinuxDocFile):
11416 (makeDocBookFile): make sure niceFile is true on exit
11418 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11420 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11422 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11424 * LyXSendto.C: remove.
11425 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11426 * lyx_gui.C: remove now-redundant comment.
11427 * ColorHandler.h: remove forward declaration of class WorkArea.
11428 * lyxfunc.C: remove #include "WorkArea.h".
11430 2002-03-07 Juergen Vigna <jug@sad.it>
11432 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11433 got moved away with the DEPM and also set the inset_owner always
11434 right which before could have been omitted.
11436 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11438 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11439 wanted layout is not found.
11441 2002-03-07 Juergen Vigna <jug@sad.it>
11443 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11445 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11447 * paragraph.C (breakParagraph): use default layout not layout of
11449 (Paragraph): clear ParagraphParameters.
11451 2002-03-06 Juergen Vigna <jug@sad.it>
11453 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11454 otherwise it would not be a valid lenght. Fixed a special case in
11455 the minipage compatibility read where we end the document with a
11458 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11459 was set as it could be 0 for InsetTexts first entry.
11461 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11463 * paragraph.C (writeFile): if layout is empty write out
11464 defaultLayoutName().
11466 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11467 file without named layout we set layout to defaultLayoutName().
11469 2002-03-06 Juergen Vigna <jug@sad.it>
11471 * CutAndPaste.C (copySelection): set layout for new paragraph.
11473 * text.C (prepareToPrint): leave ERT inset left aligned
11474 (leftMargin): don't indent paragraphs inside ERT insets
11476 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11478 * paragraph.C (breakParagraph): dont call clear do the work manually
11480 * paragraph.[Ch] (clear): remove function
11482 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11484 * paragraph.C (Paragraph): dont call clear, the work has already
11487 * lyxtextclass.C (operator): assert if n is empty
11489 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11490 work manually instead.
11492 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11494 * BufferView_pimpl.C: protect selectionLost against text == 0
11496 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11498 * text.C (breakParagraph): fix a setting layout to '0' problem.
11500 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11502 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11503 final location of file, for the included files, and graphics.
11505 2002-03-05 Juergen Vigna <jug@sad.it>
11507 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11509 2002-03-04 Juergen Vigna <jug@sad.it>
11511 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11513 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11514 last column of multicolumn cells.
11515 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11517 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11519 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11520 file if it doesn't go to a temporary file.
11522 * buffer.C (sgmlOpenTag):
11523 (sgmlCloseTag): remove extra newline insertion.
11525 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11527 * text.C (getRowNearY): comment out debug msg
11529 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11531 * text2.C: first -> first_y
11533 * text.C (getRowNearY): add some attemts at a possible
11534 optimization, not working.
11536 * tabular.[Ch]: add BufferParams to several function so that newly
11537 created paragraph can be initialized to he default layotu for the
11540 * tabular-old.C (ReadOld): add buf->params to call of Init
11542 * screen.C: rename text->first to text->first_y
11544 * paragraph.C (breakParagraph): always set layout in the broken
11547 * lyxtextclass.C (Read): remove lowercase
11550 (delete_layout): ditto
11552 * lyxtext.h: rename first -> first_y
11554 * lyxlayout.C (Read): remove lowercase
11557 (obsoleted_by): ditto
11559 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11561 * buffer.C (insertErtContents): add params are to InsetERT
11562 (parseSingleLyXformat2Token): add code to check if a paragraphs
11563 layout really exist.
11564 (parseSingleLyXformat2Token): add params to several inset
11566 (asciiParagraph): remove lowercase, do the layout comparisons with
11569 * BufferView_pimpl.C (cursorNext): first -> first_y
11570 (resizeCurrentBuffer): first -> first_y
11571 (updateScrollbar): first -> first_y
11572 (scrollCB): first -> first_y
11573 (workAreaMotionNotify): first -> first_y
11574 (workAreaButtonPress): first -> first_y
11575 (checkInsetHit): first -> first_y
11576 (cursorPrevious): first -> first_y
11577 (cursorNext): first -> first_y
11578 (Dispatch): add buffer_->params to severl inset contructors
11580 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11582 * lyxlayout.C (Read): remove some debug info that I forgot.
11584 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11585 clean up the code slightly.
11586 (makeLinuxDocFile): ditto
11587 (makeDocBookFile): ditto
11589 * text2.C: layout as string
11591 * text.C: layout as string
11593 * paragraph_pimpl.C: layout as string
11595 * paragraph.[Ch]: layout as string
11597 * lyxtextclasslist.[Ch]: layout as string
11599 * lyxtextclass.[Ch]: layout as string
11601 * lyxtext.h: layout as string
11603 * lyxlayout.[Ch]: layout as string
11605 * lyx_cb.C: layout as string
11607 * bufferview_funcs.C: layout as string
11609 * bufferparams.C: layout as string
11611 * buffer.C: layout as string
11613 * LyXView.[Ch]: layout as string
11615 * LaTeXFeatures.[Ch]: layout as string
11617 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11619 * BufferView_pimpl.C: change current_layout to string, remove
11624 (workAreaButtonRelease): layout as string
11626 * BufferView2.C (unlockInset): adjust
11628 * vspace.C (asLatexCommand): use an explict temp variable.
11630 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11632 * Makefile.am: use FRONTEND_*
11634 2002-03-01 Juergen Vigna <jug@sad.it>
11636 * tabular.C (SetWidthOfMulticolCell): changed to something better
11637 I hope but still work in progress.
11638 (recalculateMulticolumnsOfColumn): renamed function from
11639 recalculateMulticolCells as it is more appropriate now.
11640 (SetWidthOfCell): calculate multicols better.
11642 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11644 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11646 * lyxfunc.C (processKeySym): print sequence also if it is
11647 `deleted' (complete)
11649 * kbsequence.C (print): print sequence even if it is deleted
11650 (complete would be a better word, actually).
11652 * lyxfunc.C (dispatch): print complete options after a prefix key
11654 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11656 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11658 * text2.C (setCharFont): eliminate setCharFont code duplication.
11660 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11662 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11663 LFUN_TABULAR_FEATURE (bug #177)
11665 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11667 * Makefile.am: remove figure.h
11669 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11671 * Bufferview_pimpl.C:
11683 * text2.C: remove #include "lyx_gui_misc.h".
11685 * LaTeX.C: added #include <cstdio>
11687 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11689 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11690 that the paragraph following this one can have.
11692 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11694 * vspace.C (asLatexCommand): fix bogus gcc warning
11696 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11698 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11700 * text2.C (setLayout): get rid of redundant code
11702 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11704 * text2.C (incDepth): make sure depth cannot be increased beyond
11707 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11709 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11710 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11712 * PainterBase.h (image):
11713 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11714 a LyXImage const *.
11716 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11720 * BufferView_pimpl.C:
11721 * BufferView_pimpl.h:
11741 * sp_spell.C: remove fig inset, and the crap house of
11742 cards that follows it
11744 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11749 * os2_errortable.h:
11750 * nt_defines.h: move .h into support/
11752 * vms_defines.h: remove
11754 * WorkArea.C: add space in debug output
11758 * buffer.C: add WITH_WARNINGS
11762 * bufferlist.C: s/retrive/retrieve/, add docs
11771 * chset.C: add docs
11773 * lyxgui.C: add ID to X error handler
11775 * lyxtestclass.c: fix typo
11777 2002-02-26 Juergen Vigna <jug@sad.it>
11779 * tabular_funcs.C (write_attribute): changed so that some default
11780 attributes are not written at all.
11781 (getTokenValue): set default values before trying to read the
11782 value so we have the return value always set as default if we don't
11783 find the token we search for.
11785 * tabular.C (Write): write bools as bools not as strings!
11787 2002-02-22 Juergen Vigna <jug@sad.it>
11789 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11790 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11792 * text.C (leftMargin): don't add an indent for paragraphs inside
11793 tabular cells (fix #208).
11795 2002-02-21 José Matos <jamatos@fep.up.pt>
11797 * tabular.C (docBook): fixed support for long tables.
11799 2002-02-20 Juergen Vigna <jug@sad.it>
11801 * text2.C (getFont): get the drawing font of the Inset if this
11802 paragraph is inside an inset (only important for InsetERT for now).
11804 * buffer.C (insertErtContents): use new lanugage params in ERT
11807 * CutAndPaste.C: commenting out seemingly uneeded code.
11809 2002-02-19 Allan Rae <rae@lyx.org>
11811 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11812 Iterators might be simple to use but they also get invalidated.
11813 (removeAutoInsets): renamed saved cursor tracking variables and added
11814 some comments to clarify what everything does.
11816 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11823 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11824 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11827 * vc-backend.h: remove #include "support/syscall.h"
11831 * converter.C: rearrange #includes in Lars' approved fashion.
11833 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11834 forward declare class Timeout in the header file.
11836 * XFormsView.C: changes due to the above.
11838 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11839 similar to LyXView.
11841 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11842 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11844 2002-02-18 José Matos <jamatos@fep.up.pt>
11846 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11849 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11851 * a lot of small ws changes
11852 * add a lot of using std::XXX
11853 * use std construcs some places where approp.
11854 * use some exisint stuff from lyxfunctional where approp.
11855 * Make file changes to use partial linking (lets test this now...)
11857 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11861 remove #include "support/syscontr.h" as it's redundant. Always has been.
11869 change Systemcalls::System to Systemcalls::Wait and
11870 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11871 No change of functionality, just reflects the stripped down Systemcalls
11874 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11876 * debug.[Ch]: add a GRAPHICS type to the enum.
11878 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11880 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11882 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11885 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11887 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11888 match the changes below.
11890 * text2.C (toggleInset): if there is not editable inset at cursor
11891 position, try to see if cursor is _inside_ a collapsable inset
11894 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11896 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11897 document menu has a nice checkbox
11899 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11901 * lyxlength.C (asLatexString): change PW to output as percent of
11904 * lengthcommon.C: change '%' to 't%'
11906 * lyxfunc.C (dispatch): a few comments from Martin
11908 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11912 * BufferView_pimpl.h:
11913 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11916 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11918 * vspace.C (inPixels): fix compiler warning
11920 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11922 * lyxfunc.C (getStatus): fix status message for disabled commands.
11924 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11926 * BufferView_pimpl.C: fix crash on close buffer
11927 during selection (#227)
11929 2002-01-27 Herbert Voss <voss@lyx.org>
11931 * buffer.C: link old Figure to new graphic inset
11933 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11935 * FontLoader.C (getFontinfo): Change the latex font names in order
11936 to match the names of type1inst.
11938 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11940 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11942 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11943 (extchanged): ditto
11945 (remove_files_with_extension): ditto
11946 (remove_file): ditto
11949 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11950 document is smaller than the work area height. Do not initialize
11951 static variables to 0.
11953 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11955 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11957 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11958 LFUN_LAYOUT_PARAGRAPHS.
11960 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11961 tabular. It is possible to provide a possible cell, which will
11962 typically be the actcell from the corresponding insettabular
11964 * lyxfunc.C (getStatus): small cleanup; disable
11965 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11968 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11970 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11972 * paragraph.C (startTeXParParams):
11973 (endTeXParParams): new methods. The LaTeX code to
11974 start/end paragraph formatting
11975 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11976 empty (fixes bug #200)
11978 * vspace.C (inPixels): adapt to the change below
11979 (inPixels): [later] more cleanups (remove unused variables)
11981 * lyxlength.C (inPixels): change to use a width and a height as
11984 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11986 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11987 Replaced with \paperwidth
11989 * DepTable.C (insert): add std:: qualifier
11991 2002-01-18 Allan Rae <rae@lyx.org>
11993 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11996 * text.C (drawInset): Turned out I didn't know enough about how
11997 rebreaking worked. This fixes most of the redraw problems. I see
11998 an occasional cursor trail when a line is broken now and the cursor
11999 placement can seem out by a few pixels also after a rebreak.
12001 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12003 * buffer.C (parseSingleLyXformat2Token): update because minipage
12004 width is now a LyXLength
12006 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12008 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12011 2002-01-17 Juergen Vigna <jug@sad.it>
12013 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12015 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12016 is set correctly and the inset is updated correctly.
12018 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12020 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12021 the beginning of the loop.
12023 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12025 * lyxrc.C: improve help for use_scalable_fonts
12027 2002-01-17 Allan Rae <rae@lyx.org>
12029 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12031 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12033 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12034 make sure to set their inset_owner to the right value (bug #171)
12036 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12039 * DepTable.C: Implement mtime checking to reduce time spent doing
12042 2002-01-16 Juergen Vigna <jug@sad.it>
12044 * tabular.C (GetAdditionalHeight): one of error fixed.
12046 * lyxrc.C (output): small fix in writing use_pspell.
12048 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12050 * sp_base.h: #include LString.h
12052 2002-01-16 Allan Rae <rae@lyx.org>
12054 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12055 Can someone check this please?
12057 * text.C (drawInset): It was possible that p.row would be removed by
12058 breakAgainOneRow upsetting a few other settings. There may be another
12059 small tweak possible by setting need_break_row = 0 when p.row has been
12060 removed but I don't know enough about the logic here.
12062 2002-01-15 Allan Rae <rae@lyx.org>
12064 * text.C (insertChar): removed conditional truism.
12066 * BufferView2.C (removeAutoInsets): More tweaks.
12067 cur_par_prev could be a stray pointer. Check for trailing empty line
12068 in case last line was cur_par and only had an error inset on it.
12070 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12072 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12075 * vc-backend.C (most methods):
12076 * exporter.C (Export):
12077 * converter.C (convert):
12079 * LyXSendto.C (SendtoApplyCB):
12080 * lyxfunc.C (dispatch):
12084 * lyx_cb.C (AutoSave):
12086 * BufferView_pimpl.C (MenuInsertLyXFile):
12087 * buffer.C (runChktex): use Buffer::filePath().
12089 * buffer.h: rename filename to filename_; rename filepath to
12090 filepath_ and make it private
12091 (filePath): new method
12093 * buffer.C (writeFile): use fileName()
12096 * lyx_main.C (init): fix starting of LyX when the binary is a
12097 link from so,ewhere else.
12099 * minibuffer.C: include <cctype> for isprint
12101 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12103 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12104 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12105 name clash with InsetCollapsable's width function.
12107 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12109 * lastfiles.C: include <iterator>
12111 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12113 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12116 * buffer.C (makeLaTeXFile): ditto.
12117 Also make loop operation more transparent.
12119 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12121 * ToolbarDefaults.C: remove trailing comma closing namespace.
12123 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12125 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12128 * trans.C (Load): comment out unused variable, allowed.
12130 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12132 * minibuffer.[Ch] (append_char): new method to recieve input from the
12133 drop-down completion browser. If a key was pressed, then recieve this
12134 char and append it to the existing string.
12135 (peek_event): modify the positioning data passed to the completion
12136 browser so that it can be placed above the minibuffer rather than below.
12137 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12139 * LyXAction.C (init): alloe error-next for readonly documents.
12141 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12144 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12146 * bufferlist.C (readFile): create the buffer _after_ checking that
12149 * lyxfunc.C (verboseDispatch): fix handling of arguments
12151 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12153 * lyxrc.C: use string::erase() instead of initializing to "".
12156 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12158 * BufferView_pimpl.h:
12159 * BufferView_pimpl.C:
12162 * text2.C: tell X when we have made a selection for copying
12164 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12166 * BufferView_pimpl.C (MenuInsertLyXFile):
12167 * lyxfunc.C (menuNew):
12169 (doImport): add shortcuts to directory buttons
12171 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12174 * lyxfunc.C (setStatusMessage):
12175 (getStatusMessage): new methods
12176 (getStatus):use setStatusMessage instead of setErrorMessage
12177 (dispatch): when function is disabled, set error message here
12178 [instead of in getStatus previously]
12180 * BufferView_pimpl.C (workAreaButtonRelease): update
12181 toolbar/menubar here too.
12183 2002-01-13 Allan Rae <rae@lyx.org>
12185 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12186 Now seems indestructible. Remaining task is to audit all other
12187 code affected by deleteEmptyParagraphMechanism. One small quirk
12188 left is that an empty document with an error in the preamble can
12189 be made to report an error but no error box appears. I don't know
12191 (removeAutoInsets): Improved comments.
12193 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12196 * Thesaurus.C: update for Aiksaurus 0.14
12198 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12200 * text2.C (firstParagraph): removed member function, all uses
12201 replaces with ownerParagraph
12202 (redoParagraphs): here
12203 (updateInset): here
12204 (toggleAppendix): here
12205 * BufferView2.C (insertErrors): here
12206 (setCursorFromRow): here
12208 2002-01-13 Allan Rae <rae@lyx.org>
12210 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12211 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12212 There is still a way to segfault this although you may have to do this
12213 multiple times: Have an InsetERT with an unknown command in it.
12214 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12215 <down-arrow>, <Enter> again, View->DVI, BANG!
12217 * text2.C (setCursor):
12218 (deleteEmptyParagraphMechanism):
12219 * lyxtext.h (setCursor):
12220 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12221 Making use of the return value may help fix other bugs.
12223 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12225 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12227 * LyXView.C (updateMenubar): call MenuBar::update here
12228 (updateToolbar): but not here
12229 (showState): do not update toolbar/menubar
12231 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12232 should need to care about that.
12234 * lyxfunc.C (verboseDispatch): simplify a bit
12235 (getStatus): have a version which takes a pseudoaction, and
12236 another which requires a (kb_action,string).
12238 * LyXAction.C (retrieveActionArg): make it work also when action
12239 is not a pseudo-action.
12240 (getActionName): simplify a bit
12243 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12245 * lyxfunc.C (verboseDispatch): new families of methods with
12246 several ways to specify a command and a bool to indicate whether
12247 the command name and shortcut should be displayed in minibuffer
12248 (eventually, we could extend that to a finer bitmask like
12249 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12250 (dispatch): the pristine dispatch command which just, well,
12251 dispatchs! Note it still sets its result to minibuffer; I'm not
12254 * lyxfunc.h: remove setHintMessage
12256 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12258 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12260 * BufferView_pimpl.C (specialChar): delete new inset if we have
12261 not been able to insert it.
12263 * kbmap.C: revert to using int instead of kb_action, since all we
12264 are dealing with is pseudo-actions.
12266 * LyXAction.C (searchActionArg): change to return int instead of
12267 kb_action, since the result is a pseudoaction.
12269 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12271 * buffer.C (insertErtContents): Fix (partially) the font bug.
12273 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12275 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12276 as the other one is broken on my machine!
12278 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12281 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12283 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12285 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12286 reflect their actual use. Provide compatibility code for older lyxrc
12289 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12291 change names of popup font variables in line with the changes to lyxrc.C
12293 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12295 * buffer.C (asciiParagraph): avoid outputing a word twice after
12298 * lyxrc.C (getDescription): document that document_path and
12299 template_path can be empty.
12301 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12303 * LaTeXFeatures.C (getMacros):
12304 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12306 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12308 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12310 (getPackages): rename feature "floats" to "float". Use an array to
12311 iterate over 'simple' features (i.e. just a \usepackage). Add
12312 handling of "amsmath" (renamed from "amsstyle").
12314 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12316 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12319 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12321 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12322 FuncStaus::FuncStatus & FuncStaus::some_method().
12324 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12326 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12327 of the func_satus stuff. Edited and massaged in various ways by
12330 * lyxfunc.C (getStatus): use FuncStatus
12332 2002-01-08 Juergen Vigna <jug@sad.it>
12334 * text.C (nextBreakPoint): use function Inset::isChar().
12336 * paragraph.C (TeXOnePar): use function
12337 Inset::forceDefaultParagraphs.
12339 * buffer.C (latexParagraphs): use function
12340 Inset::forceDefaultParagraphs.
12342 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12344 * lyx_gui.C (init): set the style of the menu popups to
12345 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12347 2002-01-07 Juergen Vigna <jug@sad.it>
12349 * text.C (setHeightOfRow): small fix
12350 (prepareToPrint): don't look at alignment if we don't have the place
12353 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12355 * box.C: New file. Move the Box methods and functions out of box.h,
12356 following Lars' suggestion.
12358 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12360 * box.h: #include "support/LOstream.h", needed for inlined function.
12363 * lyxtextclasslist.C: added some using std declarations.
12365 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12367 * box.h: make signed dimensions to allow insets wider than
12368 the screen (bug #162)
12370 * BufferView_pimpl.C: add some insetHit debug
12372 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12374 * vc-backend.C: add FIXME
12376 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12378 * lyxfunc.C (getStatus): enable code for showing math font status
12381 2002-01-07 Juergen Vigna <jug@sad.it>
12383 * text.C (nextBreakPoint): removed debug output not needed anymore.
12385 2002-01-06 Juergen Vigna <jug@sad.it>
12387 * text.C (nextBreakPoint): fixed up this function we had this bug
12388 since ever but now hopefully we break row better.
12389 (insertChar): we have to check if an inset is the next char as it
12390 could now happen that a large inset is causing a break.
12392 2002-01-05 Juergen Vigna <jug@sad.it>
12394 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12395 if it doesn't like to be drawed.
12397 2002-01-04 Juergen Vigna <jug@sad.it>
12399 * BufferView2.C (lockInset): forgot to set a cursor.
12401 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12403 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12405 * FormMathsPanel.C:
12408 * form_maths_panel.C:
12409 * form_maths_panel.h:
12410 * form_maths_panel.fd: implemented sub- and super- buttons in math
12413 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12414 (or ^ space) to be used as in TeX (req'd by André).
12416 * lyxfunc.C: Allow ^ and _ again to be used both as
12417 super/subscript (mathed) and as themselves (in text).
12419 2002-01-03 Allan Rae <rae@lyx.org>
12421 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12422 "LyX" or the filename of the current buffer if it has one. This is a
12423 modified form of John Levon's patch.
12425 * XFormsView.C (setWindowTitle): also set icon title.
12427 * LyXView.h (setWindowTitle): signature changed.
12428 * XFormsView.h (setWindowTitle): ditto.
12430 2002-01-02 Juergen Vigna <jug@sad.it>
12432 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12434 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12436 * screen.C (topCursorVisible): introduce a temp var for
12437 text->cursor.row(), handle the case where this row is null. (kindo
12440 * text2.C (setCursor): add a couple of asserts.
12442 * paragraph.h (inset_iterator): add -> operator
12444 * paragraph.[Ch] (autoDeleteInsets): remove member function
12446 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12447 cursor pos correctly and handle inset deletion by itself.
12448 (insertErrors): move iterator declaration out of for expression
12450 * lyxtextclass.C: add <algorithm>
12452 * Makefile.am: added the new files to sources, removed layout.C
12454 * layout.C: removed file
12456 * layout.h: remove LYX_DUMMY_LAYOUT
12458 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12462 * lyxtextclass.[Ch]:
12463 * lyxtextclasslist.[Ch]: new files
12465 * include order changes to a lot of files, also changes because of
12468 2001-12-27 Juergen Vigna <jug@sad.it>
12470 * buffer.C (asciiParagraph): more fixes.
12472 * tabular.C (ascii): make ascii export support export of only the
12473 data separated by a column-delimiter.
12474 (ascii): better support for ascii export.
12476 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12478 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12480 * tabular_funcs.C: use a "using std::getline" instead of the
12481 previous fix from Angus (necessary for cxx + lyxstring)
12483 2001-12-24 Juergen Vigna <jug@sad.it>
12485 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12487 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12488 problems. First check a minipage also if we have some ert-contents
12489 (not only on par->size(), second set the right depth of the paragraph
12490 on the relink to the root-paragraph-list!
12492 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12493 which then did not anymore update the main paragraphs on undo/redo!
12495 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12497 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12498 code. Support all font-changing funcs (even those which are not in
12499 menu currently). Support for reporting font settings in
12500 mathed (disabled until Andre provides a function on mathed's side).
12502 * func_status.h (toggle): small helper function to set toggle
12505 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12507 * tabular_funcs.C: getline -> std::getline
12509 2001-12-21 Juergen Vigna <jug@sad.it>
12511 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12512 accessed and could be 0 (I couldn't generate this but it seems
12515 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12517 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12518 * tabular_funcs.h: here and include iosfwd
12520 2001-12-20 Juergen Vigna <jug@sad.it>
12522 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12523 inside inset but undo_par was.
12525 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12527 * Thesaurus.C: always include <config.h> in sources.
12531 * box.h: do not include <config.h> in header files
12533 * text.C (paintLastRow): remove unused variable
12535 * text.C (transformChar):
12537 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12539 * Painter.C (text):
12540 * font.C (width): rewrite to use uppercase() instead of
12543 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12545 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12547 * lyxfind.C: clean up of find failure position change
12549 2001-12-20 Juergen Vigna <jug@sad.it>
12551 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12553 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12554 (TeXRow): added to LaTeX a single tabular row.
12555 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12556 (Latex): simplified and finally good LT-h/f support.
12557 (various_functions): just small adaptions for LT-h/f support.
12559 * tabular_funcs.[hC]: added and moved here all not classfunctions
12562 2001-12-19 Juergen Vigna <jug@sad.it>
12564 * tabular.[Ch]: better support for longtabular options (not finished
12567 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12569 * text.C (paintLastRow): use the label font instead of the font of
12570 the last character to compute the size of *_BOX. This makes more
12571 sense and avoids a crash with empty paragraphs.
12572 Use Painter::rectangle to draw EMPTY_BOX.
12574 2001-12-19 Juergen Vigna <jug@sad.it>
12576 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12577 the paragraphs if the replaced paragraph is not the first one!
12578 Tried to delete not used paragraphs but does not work yet so for
12579 now it's inside #ifdef's and by default off!
12581 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12583 * MenuBackend.C: include "lyx_main.h" instead of declaring
12584 lastfiles (actually was declared as LastFiles* instead of a
12587 2001-12-17 Juergen Vigna <jug@sad.it>
12589 * tabular.C (AppendColumn): applied John's fix
12591 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12595 * BufferView_pimpl.h:
12596 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12599 * box.h: new start of class for above
12601 * lyxfunc.C: ignore space-only minibuffer dispatches.
12602 Show the command name when it doesn't exist
12604 * minibuffer.C: don't add empty lines to the history
12606 * minibuffer.C: add a space on dropdown completion
12608 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12610 * text.C: fix line above/below drawing in insets
12612 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12614 * lyxlength.C (LyXLength): Initialize private variables.
12616 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12618 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12619 when inserting error insets.
12621 2001-12-13 Juergen Vigna <jug@sad.it>
12623 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12624 actually sometimes the before-paragraph.
12625 (setUndo): don't clear the redostack if we're not actually undoing!
12627 2001-12-06 Juergen Vigna <jug@sad.it>
12629 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12630 and fixed redoing of main paragraph, so we can use it now ;)
12632 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12634 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12636 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12639 2001-12-13 André Pönitz <poenitz@gmx.net>
12642 * undo_func.C: minor cleanup
12644 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12646 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12647 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12648 font in urw-fonts package which is marked as -urw-fontspecific and
12649 does not work (incidentally, changing the encoding in the
12650 fonts.dir of this package to -adobe-fontspecific fixes the
12653 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12654 is a crash when undoing first paragraph (Juergen, please take a
12655 look). THis does not mean the undo fix is wrong, just that it
12658 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12659 the (Paragraph*) version when needed instead of duplicating the
12662 * text.C (workWidth): use Inset::parOwner to find out where the
12663 inset has been inserted. This is a huge performance gain for large
12664 documents with lots of insets. If Inset::parOwner is not set, fall
12665 back on the brute force method
12667 * paragraph_pimpl.C (insertInset):
12668 * paragraph.C (Paragraph):
12669 (cutIntoMinibuffer): set parOwner of insets when
12670 inserting/removing them
12672 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12674 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12680 * mathed/formulabase.C:
12681 * mathed/math_cursor.[Ch]:
12682 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12685 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12687 * lyxlength.[Ch] (operator!=): new function
12689 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12691 * text.C (workWidth): use Inset::parOwner to find out where the
12692 inset has been inserted. This is a huge performance gain for large
12693 documents with lots of insets. If Inset::parOwner is not set, fall
12694 back on the brute force method
12696 * paragraph_pimpl.C (insertInset):
12697 * paragraph.C (Paragraph):
12698 (cutIntoMinibuffer): set parOwner of insets when
12699 inserting/removing them
12701 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12703 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12705 * tabular-old.C (getTokenValue):
12706 * tabular.C (getTokenValue):
12707 (write_attribute): new versions for LyXLength
12708 (everywhere): adjust the use of widths
12710 * tabular.h: change the type of widths from string to LyXLength
12712 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12714 * paragraph.C: fixed missing line number count when exporting
12715 Environments to LaTeX file
12717 * buffer.C: added informational message for checking line numbers.
12719 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12721 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12722 paragraph, do the 'double space' part, but not the 'empty
12725 * text.C (workWidth): small optimization
12726 (getLengthMarkerHeight): use minimal size for negative lengths.
12728 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12730 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12732 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12734 2001-12-11 André Pönitz <poenitz@gmx.net>
12737 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12739 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12741 * text2.C: keep selection on a setFont()
12743 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12745 * lyx_cb.C: another bv->text misuse, from insert label
12747 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12750 * kbsequence.C: re-instate nmodifier mask
12752 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12754 * lyx_main.h: make lyxGUI private.
12756 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12758 * lyxfind.C: place the cursor correctly on failed search
12760 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12762 * text.C (getLengthMarkerHeight): for small heights, the arrows
12763 are not always on top/bottom of the text
12764 (drawLengthMarker): smaller arrows; take the left margin in
12765 account; draw also vfills.
12767 (paintLastRow): remove special code for vfill and standard spaces,
12768 since everything is handled in drawLengthMarker now.
12770 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12772 * buffer.C (insertErtContents): try to handle font and language
12773 interaction a bit better.g
12775 * ColorHandler.C (updateColor): change the hash to cover the whole
12776 LColor enum, ws cleanup
12777 (getGCLinepars): ditto
12778 (getGCLinepars): only lookup in the linecache once.
12780 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12782 * iterators.C (operator++): Make the iterator more robust
12784 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12786 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12788 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12791 * text.C: better added space drawing
12793 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12796 * BufferView2.C: fix layout combo update on inset unlock
12798 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12800 * Makefile.am: don't compile unused files
12802 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12806 * LyXAction.C: remove old LFUN_LAYOUTNO
12808 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12810 * paragraph_pimpl.h:
12811 * paragraph_pimpl.C: isTextAt() doesn't need font param
12813 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12816 * lyxlex.C: little cleanup
12818 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12820 * BufferView_pimpl.C: fix insertAscii for insets
12822 2001-12-05 Juergen Vigna <jug@sad.it>
12824 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12825 set the right font on the "multi" paragraph paste!
12827 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12833 * lyxlength.C: remove out-commented code.
12835 * BufferView_pimpl:
12849 * vc-backend.C: change "while(" to "while ("
12851 * lyxlength.[Ch]: add zero function to check if length is zero or
12853 * lyxgluelength.C: use it
12855 2001-12-05 Allan Rae <rae@lyx.org>
12857 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12858 Works for 2.95.3, from what I understand of Garst's reports this should
12859 work for other g++ versions. We're screwed if the abs(int) definition
12860 changed between bugfix releases of gcc.
12862 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12864 * text.C: fix chapter label offset !
12866 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12869 * text.C: fix hfill at end of line, clean up
12871 2001-12-04 Juergen Vigna <jug@sad.it>
12873 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12874 that we force an update of the inset and it's owners if neccessary.
12876 2001-12-03 Juergen Vigna <jug@sad.it>
12878 * text.C (rowLast): simplified code
12880 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12882 * lyxfunc.C: fix show options on timeout
12884 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * screen.C (topCursorVisible): scroll half a page when the cursor
12887 reached top of bottom of screen
12889 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12891 * minibuffer.C: deactivate on loss of focus
12893 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12895 * vspace.[Ch] (operator!=): add operator.
12897 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12899 * BufferView_pimpl.C: refuse to open an inset when
12900 there's a selection.
12902 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12904 * BufferView_pimpl.C: allow to click on RHS of full row insets
12906 2001-11-30 Juergen Vigna <jug@sad.it>
12908 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12909 insets for undo reasons.
12911 2001-11-28 André Pönitz <poenitz@gmx.net>
12913 * vspace.[Ch]: cosmetical changes
12915 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12925 * kbsequence.C: part re-write of old kb code
12928 * WorkArea.C: remove Lgb_bug_find_hack
12930 2001-11-30 José Matos <jamatos@fep.up.pt>
12932 * buffer.C (makeDocBookFile): add a comment to point a hack.
12933 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12934 Fixed a double write of labels.
12936 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12939 * LaTeX.h Fixed bug in LaTeX class where it would not
12940 re-run latex if no depfiles were changed, but the .dvi was removed.
12942 2001-11-28 André Pönitz <poenitz@gmx.net>
12944 * all the files from the change on 2001/11/26:
12945 use lyx::layout_type instead of LyXTextClass::size_type
12946 use lyx::textclass_type instead of LyXTextClassList::size_type
12948 2001-11-29 Juergen Vigna <jug@sad.it>
12950 * text.C: added support for paragraph::isFreeSpacing()
12952 * buffer.C: same as above
12954 * paragraph.h: inserted isFreeSpacing() function to enable
12955 FreeSpacing inside InsetERT.
12957 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12958 of the paragraph's in the cut/copy buffer to 0!
12960 * text2.C (removeRow): remove the assert as it can!
12962 * lyxtext.h: added helper function firstRow returning firstrow and
12963 made firstrow private again.
12965 * BufferView2.C (lockInset): don't relock if we're already locked!
12967 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12968 the only paragraph.
12969 (removeRow): added Assert::(firstrow)
12971 * debug.C: forgot to add INSETTEXT here.
12973 2001-11-28 Juergen Vigna <jug@sad.it>
12975 * sp_spell.C (initialize): changed error text to more general
12976 spellchecker command use (not only ispell!)
12978 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12980 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12982 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12984 * vspace.C: initialise lyxgluelength on failure
12986 2001-11-28 Allan Rae <rae@lyx.org>
12988 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12989 declaration & definition that looks like a function declaration.
12991 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12993 * BufferView2.C (copy):
12994 (copyEnvironment): do not clear the selection when doing a copy.
12996 * text.C (paintFirstRow): compilation fix
12998 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13000 * tabular.C (Latex): correct line count when writing latex.
13002 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13004 * paragraph_pimpl.h:
13005 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13008 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13012 * LColor.C: change vfillline->added_space
13014 * text.C: add markers and text for added space
13016 * vspace.C: fix comment
13018 2001-11-28 André Pönitz <poenitz@gmx.net>
13020 * paragraph.C: whitespace changes
13021 * all the other files from the change on 2001/11/26:
13022 change *::pos_type into lyx::pos_type
13024 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13026 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13027 language of the document when inserting error insets.
13029 2001-11-26 André Pönitz <poenitz@gmx.net>
13031 * BufferView_pimpl.[Ch]:
13039 * paragraph_pimpl.[Ch]:
13042 * text2.C: reduce header dependencies, introduce type for positions
13044 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13046 * <various>: change to use Alert.h
13048 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13050 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13051 when encountering an unknown token.
13052 (readLyXformat2): Show an error message if there were unknown tokens.
13054 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13057 * BufferView_pimpl.C:
13061 * text2.C: use par->isInset()
13063 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13065 * paragraph_pimpl.h:
13066 * paragraph_pimpl.C: cleanup
13068 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13070 * text2.C (removeRow):
13071 * text.C (setHeightOfRow): remove useless (and costly) call to
13074 2001-11-20 Allan Rae <rae@lyx.org>
13076 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13077 Now need Inset*::checkInsertChar() to return true for appropriate
13078 cases so that the characters in the minibuffer will actually be
13081 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13083 * text.C: change the order of the includes.
13084 (workWidth): initialize it at once.
13085 (workWidth): make maxw unsigned
13086 (setHeightOfRow): remove unused variable (inset)
13087 (selectSelectedWord): remove unused variable (inset)
13088 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13090 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13092 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13093 server is not running.
13095 (closeConnection): add debug info when server is disabled.
13097 * ColorHandler.C (getGCForeground): send debug message to GUI
13100 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13102 * kbmap.C (bind): modify because return conventions of
13103 kb_sequence::parse have changed.
13105 * kbsequence.C (parse): only ignore spaces and not any stupid
13106 control character. This avoids tests like s[i] <= ' ', which are
13107 guaranteed to fail with 8bit characters and signed chars.
13108 Change return code to string::npos when there have been no error
13109 (0 was a bad idea when error is at first character)
13111 2001-11-14 José Matos <jamatos@fep.up.pt>
13114 * buffer.C (simpleDocBookOnePar): removed unused argument.
13116 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13118 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13119 insets which are part of a word. Paragraph::isLetter takes care of
13120 that now. Use Paragraph::isInset to identify insets.
13121 (selectSelectedWord): do not test for hyphenation break.
13123 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13124 that protected spaces are considered as spaces.
13126 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13129 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13132 * lyxserver.C: fix it. and small cleanup.
13134 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13136 * BufferView_pimpl.C: use inline helpers
13139 * LaTeXFeatures.C: fix typos
13142 * Spacing.C: move spacing_string into class
13144 * ToolbarDefaults.C: move stuff into namespace anon
13146 * layout.h: update enum
13148 * lyxfunc.C: use better debug
13150 * minibuffer.h: fix typo
13154 * WorkArea.C: add and use Debug::WORKAREA
13158 * text2.C: code re-organisation, inline helpers
13160 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13162 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13163 std::vector.empty().
13165 2001-11-09 Allan Rae <rae@lyx.org>
13167 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13168 '\n's after tables. Tabular and ERT inset work now makes this no
13171 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13174 * minibuffer.C: fix crash, improve drop-down completion
13176 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13179 * lyxserver.C: invalidate fd's when doing endPipe()
13181 2001-11-08 José Matos <jamatos@fep.up.pt>
13183 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13184 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13187 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13189 2001-11-07 José Matos <jamatos@fep.up.pt>
13192 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13195 * buffer.C (sgmlOpenTag):
13196 * buffer.C (sgmlCloseTag): removed debug info.
13198 * buffer.h (sgmlOpenTag):
13199 * buffer.h (sgmlCloseTag): made public.
13201 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13203 * buffer.C (saveParamsAsDefaults):
13204 * lyx_cb.C (MenuLayoutSave): remove
13206 * LyXAction.C (init):
13208 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13210 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13212 * buffer.C (setPaperStuff): removed from here...
13214 * bufferparams.C (setPaperStuff): ... and moved there.
13216 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13220 * XFormsView.C: add support for drop-down completion
13222 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13224 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13227 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13229 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13232 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13234 * lyx_main.C: change ref to known bugs
13236 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13238 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13239 to work around older babel problems.
13241 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13243 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13245 2001-10-24 Juergen Vigna <jug@sad.it>
13247 * tabular-old.C (ReadOld): below variable changes reflected.
13249 * tabular.[Ch]: added ltType struct for longtable header/footer
13250 defines and changed all instances where they are used. Added
13251 future support for double top/bottom rows.
13253 2001-10-24 José Matos <jamatos@fep.up.pt>
13255 * buffer.h (docbookHandleCaption):
13256 * buffer.C (docbookHandleCaption): removed unused function.
13257 (makeDocBookFile): moved docbook supported version to v4.1.
13259 2001-10-24 José Matos <jamatos@fep.up.pt>
13262 * tabular.C (docbookRow): new function to export docbook code of a row.
13263 (DocBook): now honors the longtable flags.
13265 2001-10-23 José Matos <jamatos@fep.up.pt>
13268 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13269 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13271 * buffer.C (makeLinuxDocFile):
13272 (makeDocBookFile): reworked the preamble, more clean, and with
13273 support for lyx defined entities. Changed the document declaration
13274 to be more XML friendly.
13276 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13277 if we need to output XML that should be done with a filter.
13279 2001-10-22 Juergen Vigna <jug@sad.it>
13281 * sp_pspell.h (class PSpell): add alive function needed in the
13282 controller to see if the spellchecker could be started.
13284 2001-10-22 Juergen Vigna <jug@sad.it>
13286 * buffer.C (insertStringAsLines): modify the font for inserting
13287 chars in certain conditions by calling checkInsertChar(font).
13289 2001-10-19 Juergen Vigna <jug@sad.it>
13291 * text.C (workWidth): use getRow instead of wrong algorithm.
13292 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13294 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13299 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13301 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13303 * text.C (workWidth): do not search for the exact row when
13304 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13305 optimization for big documents.
13307 2001-10-18 Juergen Vigna <jug@sad.it>
13309 * text.C (workWidth): new function with added Inset * parameter.
13311 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13313 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13315 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13316 change return type of getColumnNearX.
13319 * text.C (changeRegionCase): use uppercase/lowercase instead of
13322 (rightMargin): simplify code by factoring out the uses of
13327 (appendParagraph): use Paragraph::size_type
13329 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13331 * vspace.C (asLatexString): add a missing break
13333 2001-10-15 Herbert Voss <voss@perce.de>
13335 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13337 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13339 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13342 2001-10-10 André Pönitz <poenitz@gmx.net>
13344 * lyxfunc.C: removed greek_kb_flag.
13346 2001-10-10 Herbert Voss <voss@perce.de>
13348 * lyx_main.C: delete global string help_lyxdir.
13350 2001-10-09 Herbert Voss <voss@perce.de>
13352 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13354 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13356 * lyx_main.C: added global string help_lyxdir.
13358 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13360 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13362 * lyxrc.C (set_font_norm_type): support iso8859-4
13364 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13366 * LaTeX.C (deplog): add another regex for MikTeX
13368 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13370 * lyxrc.C (set_font_norm_type): support iso8859-3
13372 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13374 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13376 * LaTeXFeatures.C: remove special case of french and index
13378 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13379 before \begin{document}). This solves several incompatibilities.
13381 2001-10-03 Garst Reese <reese@isn.net>
13383 * lyx_cb.C: change CheckTex error msg.
13385 2001-10-03 José Matos <jamatos@fep.up.pt>
13387 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13389 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13391 * .cvsignore: update
13393 * lyx_main.C (commandLineVersionInfo): use new style version info.
13395 * buffer.C (writeFile):
13397 (makeLinuxDocFile):
13398 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13400 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13402 * version.h: update to use stuff in version.C
13404 * version.C.in: new file. Contains version information determined
13405 at compile time. This is a merging of version.h and
13408 2001-10-03 Juergen Vigna <jug@sad.it>
13410 * BufferView_pimpl.C (update): don't change "dirty" status in
13413 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13415 * WorkArea.C (c-tor): re-position version string slightly.
13417 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13419 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13420 revert to previous code.
13422 WorkArea.[Ch]: (show, destroySplash): methods removed.
13424 WorkArea.C: rework code so that it's an amalgam of the codes before and
13425 after the splash screen was moved to WorkArea.
13427 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13430 * vspace.C (inPixels):
13433 * buffer.C (insertStringAsLines):
13434 (asciiParagraph): fix types to be large enough
13436 * lyxlex_pimpl.h: change member status from short to int
13438 * layout.h: fix type of endlabeltype
13441 * kbsequence.C (parse): change return type to string::size_type
13443 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13446 * Bullet.C (bulletSize):
13447 (bulletEntry): do not use short ints as parameters
13449 * BufferView2.C (insertLyXFile): change a char to an int.
13451 * WorkArea.C (WorkArea): remove unneeded floats in computation
13453 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13455 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13457 * paragraph.C (asString): Do not ignore newline/hfill chars when
13458 copying to the clipboard.
13460 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13462 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13463 after a multi-line inset.
13465 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13467 * paragraph.C (validate): Set NeedLyXFootnoteCode
13469 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13471 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13472 and decrease-error to decrease.
13474 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13476 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13477 it more readable (should be equivalent)
13479 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13481 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13483 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13485 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13486 of a cursor (row, etc.) after a character has been deleted
13487 (deleteEmptyParagraphMechanism): call the method above on _all_
13488 cursors held by the LyXText when a double space has been
13491 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13493 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13495 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13497 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13498 background. Use greyOut() and the new show() methods to toggle between
13499 the foreground and background. Add code to remove the splash after
13500 its initial showing.
13502 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13503 (create_forms): no longer call Dialogs::showSplash.
13505 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13507 * .cvsignore: add version_info.h
13509 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13511 * version_info.h.in: new file
13513 * Makefile.am: add version_info.h.in
13515 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13516 version_info.h instead of VERSION_INFO
13518 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13520 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13521 The ERT inset now returns string().
13523 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13525 * lyxtext.h, text.C (selectNextWord): renamed as
13526 selectNextWordToSpellcheck.
13528 * text.C (selectNextWordToSpellcheck): Modified to not select
13529 words inside an ERT inset.
13531 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13533 * lyx_cb.C (MenuLayoutSave): change a bit the question
13535 * sp_base.h: include <sys/types.h>
13537 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13539 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13541 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13543 * several files: fix typos in user-visible strings
13545 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13547 * text2.C (pasteSelection): do not set the selection, since it
13548 will be cleared later. Actually, the intent was to fix the way the
13549 selection was set, but I figured rmoving the code was just as good.
13551 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13553 * FontLoader.C (available): Check if font is available without
13556 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13558 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13560 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13562 * lyxrc.[Ch]: added display_graphics variable and associated code.
13564 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13566 * bufferparams.C (hasClassDefaults): new method. Returns true if
13567 the buffer parameters correspond to known class defaults
13569 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13571 * XFormsView.C (show): set minimum size to the main window.
13573 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13575 * text2.C (copySelection):
13577 * lyxfind.C (LyXReplace):
13578 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13579 LyXText::selectionAsString.
13581 * paragraph.C (asString): add "label" argument to the second form
13583 * text2.C (selectionAsString): add "label" argument and pass it to
13584 Paragraph::asString.
13586 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13588 * lyx_main.C (commandLineHelp): remove version information
13590 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13592 * lyx_main.C: add -version commandline option
13594 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13596 * paragraph.h: make the optional constructor arg required instead.
13597 some modifications to other files because of this.
13599 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13601 * lyxserver.C (C_LyXComm_callback): make it static
13603 * lyx_main.C (error_handler): make it static
13605 * lyx_gui.C (LyX_XErrHandler): make it static
13607 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13609 * WorkArea.C: make the extern "C" methods static.
13611 * Makefile.am (lyx_LDADD): simplify
13613 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13615 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13616 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13618 * LyXAction.C (init):
13619 * lyxfunc.C (dispatch): associated code removal.
13621 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13623 * lyxfont.h (isSymbolFont): shut off warning
13625 * text.C (setHeightOfRow):
13626 (getVisibleRow): fix crash with empty paragraphs which have a
13629 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13631 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13634 2001-09-04 José Matos <jamatos@fep.up.pt>
13637 * tabular.C (docbook): rename docBook method to docbook.
13639 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13641 * Makefile.am: add dependencies to main.o.
13643 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13645 * FontLoader.C (available): Return false if !lyxrc.use_gui
13647 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13649 * FontInfo.C (query):
13650 * converter.C (view):
13651 * importer.C (Import):
13652 * exporter.C (Export): Can not -> cannot.
13654 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13656 * BufferView_pimpl.C: allow to create index inset even if
13659 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13661 * buffer.C (getLists): replace boost::tie code with an explicit pair
13662 as boost::tie can break some compilers.
13664 * iterators.h: Added a std:: declaration to the return type of
13667 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13669 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13672 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13674 * iterators.[Ch]: New files. Provide paragraph iterators.
13676 * buffer.C (changeLanguage): Use paragraph iterators.
13677 (isMultiLingual): ditto
13679 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13681 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13683 * FontLoader.C: Support for cmr font.
13685 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13687 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13688 (available): New method.
13690 * FontInfo.C (getFontname): Use scalable fonts even when
13691 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13694 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13696 * converter.C (Formats::view): reverted! Incorrect fix.
13698 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13700 * converter.C (Formats::view): only output the -paper option
13701 if the dvi viewer is xdvi, thereby fixing bug #233429.
13703 2001-08-23 Herbert Voss <voss@perce>
13705 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13707 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13709 * Spacing.h (Spacing): Set space to Default on in the default
13712 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13714 * vc-backend.h (RCS::versionString): add RCS to version
13715 (CVS::versionString): add CVS to version
13717 * vc-backend.C (scanMaster): do not add CVS to version.
13718 (scanMaster): do not add RCS to version
13720 * lyxvc.C (versionString): new method
13722 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13724 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13726 * Spacing.C (set): initialize fval
13728 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13730 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13733 2001-08-16 Juergen Vigna <jug@sad.it>
13735 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13737 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13739 * BufferView_pimpl.C:
13742 * text2.C: setParagraph takes linespacing now
13744 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13746 * LyxAction.C: add internal LFUN_CITATION_INSERT
13748 * LyXView.C: actually apply fix
13750 * bufferlist.C: fix open non-existent file
13752 * lyxfind.C: fix indentation
13754 * lyxfunc.C: remove unneeded assert, fix typo
13756 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13758 * MenuBackend.C: use "Floatname List"
13760 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13762 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13763 when converting LaTeX layout to insetERT.
13764 Generate a non-collapsed float when reading old float
13766 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13768 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13771 2001-08-13 Juergen Vigna <jug@sad.it>
13773 * text.C (fill): return 0 instead of 20 as this seems to be the more
13776 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13778 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13781 2001-08-13 Juergen Vigna <jug@sad.it>
13783 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13785 (SearchBackward): comment out the unlocking of the inset_owner this
13786 should not be needed!
13788 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13790 * Many files: Remove inherit_language, and add latex_language
13792 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13793 collapsible insets.
13795 2001-08-10 Juergen Vigna <jug@sad.it>
13797 * text.C (prepareToPrint): fixed hfill-width in draw!
13799 * BufferView2.C (selectLastWord): save the selection cursor as this
13800 now is cleared in the function LyXText::clearSelection!
13802 2001-08-08 Juergen Vigna <jug@sad.it>
13804 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13805 BACKSPACE type functions.
13807 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13808 is only cutted from the document but not put in the cut-buffer, where
13809 still the old stuff should be.
13811 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13813 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13815 * tabular.C (SetWidthOfCell): fixed special case where the width
13817 (LeftLine): handle '|' in align_special.
13819 (LeftAlreadyDrawed): ditto
13820 (SetWidthOfCell): ditto
13822 2001-08-07 Juergen Vigna <jug@sad.it>
13824 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13826 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13828 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13829 * lyxlex.[hC]: ditto
13831 2001-08-06 Juergen Vigna <jug@sad.it>
13833 * text.C (getVisibleRow): fix up row clearing a bit.
13835 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13837 * minibuffer.C: make sure the X server sees the changes in the input.
13839 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13841 * paragraph.C (getFont): split into...
13842 (getLabelFont): this
13843 (getLayoutFont): and this
13844 * paragraph_pimpl.C (realizeFont): calling this
13846 * text2.C (getFont): split into...
13847 (getLayoutFont): this
13848 (getLabelFont): and this
13849 (realizeFont): all three calling this
13851 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13854 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13856 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13858 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13860 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13861 layouts from the Quote inset insertion.
13863 2001-08-03 Juergen Vigna <jug@sad.it>
13865 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13867 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13868 only if status not is already CHANGED_IN_DRAW (second level).
13870 * text.C (draw): don't set the need_break_row when inside an
13873 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13875 * buffer.C (parseSingleLyXformat2Token): handle more latex
13878 * bufferview_funcs.[hC]: change function names to
13879 begin with small char, adjust other files.
13881 2001-08-02 André Pönitz <poenitz@gmx.net>
13884 BufferView_pimpl.C: remove broken special code for math-greek
13886 2001-08-02 Juergen Vigna <jug@sad.it>
13888 * BufferView_pimpl.C (update): redone this function so that we
13889 update the text again if there was a CHANGE_IN_DRAW.
13891 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13892 (drawFromTo): added a new internal bool which is used by draw() and
13894 (general): some cursor drawing problems fixed.
13896 2001-08-01 Juergen Vigna <jug@sad.it>
13898 * lyxfind.C (LyXFind): fixed
13899 (SearchForward): ditto
13900 (SearchBackward): ditto
13902 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13903 spurius drawing of the cursor in the main area.
13905 * text2.C (status): small fix which could lead to a segfault!
13906 (clearSelection): remove unneeded BufferView param.
13908 2001-08-01 André Pönitz <poenitz@gmx.net>
13910 * lyxfunc.C: small change due to changed mathed interface
13912 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13914 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13916 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13918 * lyxfunc.c: fail gracefully if file doesn't exist
13923 * BufferView_pimpl.C: IsDirWriteable() proto changed
13925 * LyXView.C: fix updateWindowTitle() to store the last title
13927 2001-07-31 Juergen Vigna <jug@sad.it>
13929 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13930 the font (wrong since using of Paragraph::highestFontInRange).
13932 * paragraph.C (highestFontInRange): added a default_size parameter.
13934 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13935 (setHeightOfRow): reformat
13937 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13939 * converter.[hC] + affected files: move to (inital-char)lowercase
13942 * ParagraphParameters.C (ParagraphParameters): remove commented code
13944 * PainterBase.[Ch]: remove commented code
13946 * LaTeXFeatures.h: add "bool floats" for float.sty
13948 * LaTeXFeatures.C (LaTeXFeatures): init floats
13949 (require): handle float
13950 (getPackages): do it with floats
13952 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13954 * BufferView_pimpl.C (Dispatch): improve handling of
13955 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13957 * commandtags.h: #include lyxfont.h here temporarily to avoid
13960 * bufferlist.h: include LString.h here.
13962 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13964 * text2.C (getStringToIndex): new method.
13966 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13968 * *: Reduced header file dependencies all over.
13970 2001-07-30 Baruch Even <baruch@lyx.org>
13972 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13974 2001-07-29 Baruch Even <baruch@lyx.org>
13976 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13978 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13980 * ParameterStruct.h (endif): add a default constructor to make
13981 sure that all variables is initialized.
13983 * ParagraphParameters.C (ParagraphParameters): adjust
13985 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13987 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13988 index; also, check that there is something to index, and that it
13989 does not span over several paragraphs.
13990 (doubleClick): use WHOLE_WORD_STRICT for double click.
13992 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13994 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13997 2001-07-26 Baruch Even <baruch@lyx.org>
13999 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14000 an InsetFig figure, backwards compatible reading of old figure code.
14002 2001-07-27 Juergen Vigna <jug@sad.it>
14004 * text2.C: font.realize function adaption.
14006 * text.C (draw): add a warnings lyxerr text if needed.
14008 * layout.C: font.realize function adaption.
14010 * language.C: add inherit_language and implement it's handlings
14012 * bufferview_funcs.C (StyleReset): remove language parameter from
14013 font creation (should be language_inherit now).
14015 * bufferparams.C (writeFile): handle ignore_language.
14017 * paragraph.C (getFontSettings): the language has to be resolved
14018 otherwise we have problems in LyXFont!
14020 * lyxfont.C (lyxWriteChanges): added document_language parameter
14021 (update): removed unneeded language parameter
14023 * paragraph.C (validate): fixed wrong output of color-package when
14024 using interface colors for certain fonts in certain environments,
14025 which should not seen as that on the final output.
14027 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14029 * BufferView_pimpl.C:
14034 * LyXAction.C: add thesaurus support
14037 * lyxfind.C: add "once" parameter, for thesaurus, to not
14038 move to the next match
14040 2001-07-26 Juergen Vigna <jug@sad.it>
14042 * lyxfont.C (realize): honor ignore_language too!
14045 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14047 * text.C (draw): one place more for ignore_language to not draw
14050 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14052 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14054 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14056 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14057 the minipage conversion problem.
14059 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14061 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14064 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14066 * BufferView.h: don't forward declare WorkArea
14068 * BufferView.C: don't include WorkArea.h
14070 2001-07-25 André Pönitz <poenitz@gmx.net>
14074 * lyxfunc.C: new LFUN 'math-space'
14076 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14078 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14080 * text2.C (toggleInset): call open/close
14082 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14084 * lyxfunc.C (dispatch): add debug for the disabled case
14086 * font.C (buttonText): make similar to rectText
14088 * buffer.C (readInset): comment out parsing of insetlist and
14091 * PainterBase.C (rectText): small correction
14093 * BufferView_pimpl.C: comment out insettheorem and insetlist
14094 * LyXAction.C: ditto
14095 * commandtags.h: ditto
14097 2001-07-24 Juergen Vigna <jug@sad.it>
14099 * text.C (draw): honor the ignore_language.
14101 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14103 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14105 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14108 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14110 * lyxtext.h: remove unused (and unimplemented) methods
14112 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14114 * text.C (getVisibleRow): honor background color
14117 * Painter.h: remove default color argument for fillRectangle
14119 * text.C (backgroundColor): new method
14121 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14123 * text.C (getVisibleRow): adjust
14125 * font.[Ch] (rectText): new method, metrics
14126 (buttonText): new method, metrics
14128 * PainterBase.[hC]: make rectText and buttonText always draw and take
14131 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14133 * ToolbarDefaults.C (read):
14134 * MenuBackend.C (read): allow escaping in all strings
14136 * BufferView_pimpl.C (insertAndEditInset): new method.
14137 (Dispatch): use insertAndEditInset whenever appropriate.
14139 * BufferView_pimpl.C (insertNote): removed
14141 * BufferView_pimpl.C (smartQuote): new method, moved from
14142 BufferView; if an insetquote cannot be inserted, insert a '"'
14145 * BufferView2.C: remove insertCorrectQuote();
14147 * lyxfunc.C (getStatus): Add support for all remaingin
14148 inset-insert lfuns.
14150 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14152 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14153 command (necessary to pass " as parameter of self-insert.
14155 * text.C (selectWordWhenUnderCursor):
14156 (selectWord): add word_location parameter
14157 (selectWordWhenUnderCursor): same + remove special code for word
14159 (selectNextWord): use kind() to guess type of insetspecialchar,
14162 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14163 (insertErtContents): create ert insets as collapsed.
14164 (readInset): better compatibility code for Info inset.
14166 2001-07-20 Juergen Vigna <jug@sad.it>
14168 * lyxfunc.C (dispatch): use always LyXFind now!
14170 * text2.C (init): add a reinit flag so that the LyXText can be
14171 reinited instead of deleted and reallocated (used in InsetText).
14173 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14179 2001-07-18 Juergen Vigna <jug@sad.it>
14181 * text.C (selectNextWord): handle insets inside inset by calling
14182 always the bv->text functions so that we can go up the_locking_inset!
14184 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14185 in strange locations when inside an inset!
14187 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14188 handling to include insets.
14190 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14192 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14194 * LyXAction.C (init):
14196 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14197 LIGATURE_BREAK, since the name is so stupid.
14199 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14201 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14204 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14206 * sp_form.[Ch]: remove.
14208 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14210 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14213 * src/buffer.C (readInset): ditto.
14215 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14217 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14218 menuSeparator(), endOfSentenceDot(), ldots() and
14219 hyphenationPoint(), which are therefore removed.
14220 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14222 * LyXAction.C (init):
14223 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14225 * paragraph.C (getWord): removed.
14227 * BufferView_pimpl.C (Dispatch): use last word or selection for
14228 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14230 * lyx_main.C (queryUserLyXDir): do not ask before creating
14231 user_dir, except if it has been named explicitely.
14233 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14235 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14236 a document of zero size.
14238 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14240 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14241 approriately in the c-tor and in require().
14242 (getPackages): output the appropriate LaTeX for natbib support.
14244 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14245 variables "use_natbib" and "use_numerical_citations" when reading the
14247 (readInset): read the various natbib cite commands.
14248 (validate): white-space change.
14250 * bufferparams.[Ch]: new variables "bool use_natbib" and
14251 "bool use_numerical_citations".
14252 (writeFile): output them in the LyX file.
14254 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14256 * lyxfunc.C (getStatus): add support for all the inset insertion
14259 * text2.C (insertInset):
14260 * paragraph.C (insetAllowed):
14261 * BufferView_pimpl.C (insertInset): update to take in account the
14262 renaming of insertInsetAllowed
14264 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14266 * text2.C (getInset): new method. returns inset at cursor position.
14268 * BufferView_pimpl.C (Dispatch): changes because of this.
14270 * LyXAction.C (init): rename open-stuff to inset-toggle.
14272 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14274 * text2.C (toggleInset): renamed from openStuff; use
14277 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14279 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14281 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14283 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14285 * buffer.C (readLyXformat2): Add filename to the error dialog
14287 2001-07-18 Juergen Vigna <jug@sad.it>
14289 * tabular.C (GetCellNumber): put an assert here instead of the check!
14291 2001-07-17 Juergen Vigna <jug@sad.it>
14293 * BufferView_pimpl.C (toggleSelection): adapted too.
14295 * text.C (selectNextWord): adapted for use with insets.
14296 (selectSelectedWord): ditto
14298 2001-07-17 Juergen Vigna <jug@sad.it>
14300 * sp_spell.C (PSpell): fix initialitation order.
14302 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14304 * paragraph.C: spacing
14306 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14308 * sp_spell.C: repair language selection for pspell
14310 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14312 * lyxfunc.h: change more methods to begin with lower char.
14314 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14316 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14317 for unknown layouts.
14319 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14321 * buffer.C (readLyXformat2): Generate an error dialog if there are
14324 2001-07-16 Juergen Vigna <jug@sad.it>
14326 * sp_spell.C: always compile ISpell part.
14328 * lyxrc.C: added use_pspell entry and it's handling.
14330 2001-07-13 Juergen Vigna <jug@sad.it>
14332 * sp_spell.C: removed double includes.
14334 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14336 Consistent use of Lsstream.h:
14337 * Lsstream.h: added using std::stringstream for consistencies sake.
14339 * buffer.C: removed using std::stringstream
14341 * lyxfont.C (stateText):
14342 * paragraph.C (asString):
14343 * text.C (selectNextWord, selectSelectedWord):
14344 * text2.C (setCounter):
14345 * vspace.C (asString, asLatexString):
14346 std::ostringstream -> ostringstream.
14348 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14350 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14351 * commandtags.h: add LFUN_HELP_ABOUTLYX
14352 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14354 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14356 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14358 * lyx_gui_misc.C: remove spellchecker
14359 * lyxfunc.C: showSpellchecker
14361 * sp_ispell.h: added
14362 * sp_pspell.h: added
14363 * sp_spell.C: added
14364 * sp_form.[Ch]: removed
14365 * spellchecker.[Ch]: removed
14367 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14369 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14371 (simpleTeXSpecialChars): Simply print the input character without
14372 any special translation if pass_thru is set.
14374 * layout.h: Added bool pass_thru to layout class for being able to
14375 implement pass through of a paragraph for Literate Programming.
14377 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14378 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14379 * layout.C (Read): add "passthru" to list of layout tags and add
14380 code to set the pass_thru boolean when it is read.
14382 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14384 * trans_decl.h: remove allowed from KmodInfo
14386 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14387 remove allowed code
14390 * paragraph_pimpl.C (erase): use boost::prior
14392 * Painter.C (text): use data() instead of c_str() when length is
14394 * WorkArea.C (putClipboard): ditto
14395 * font.h (width): ditto
14397 * BufferView2.C: use it-> instead of (*it). for iterators
14399 * paragraph_pimpl.C: ditto
14400 * paragraph.C: ditto
14401 * minibuffer.C: ditto
14402 * language.C: ditto
14404 * encoding.C: ditto
14405 * counters.C: ditto
14406 * converter.C: ditto
14408 * Variables.C: ditto
14409 * TextCache.C: ditto
14410 * MenuBackend.C: ditto
14411 * LyXAction.C: ditto
14413 * FloatList.C: ditto
14414 * DepTable.C: ditto
14415 * ColorHandler.C (LyXColorHandler): ditto
14417 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14419 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14421 * text2.C (openStuff): reintroduce this method (which had been
14422 nuked in NEW_INSETS frenzy).
14424 * lyxfunc.C (Dispatch): when an action has not been handled, use
14425 its name in the error message, not its number.
14427 * paragraph.C (inInset): change method name to begin with lowercase.
14430 * text2.C: updates because of this.
14432 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14434 * ToolbarDefaults.C (add): add spaces in error message
14436 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14438 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14439 (readLyXformat2): rename return_par to first_par, use lyxlex's
14440 pushToken and remove the manual push handling.
14441 (parseSingleLyXformat2Token): add another ert comp. variable:
14442 in_tabular, rename return_par to first_par. handle newlines better
14444 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14446 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14448 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14450 * text2.C (getParFromID): removed
14452 * buffer.C (getParFromID): new method moved form lyxtext.
14453 * BufferView2.C (insertErrors): adjust
14454 (setCursorFromRow): adjust
14455 * BufferView_pimpl.C (restorePosition): adjust
14456 * lyxfunc.C (Dispatch): adjust
14457 * undo_funcs.C (textUndo): adjust
14459 (textHandleUndo): adjust
14460 (textHandleUndo): adjust
14462 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14464 * buffer.C: up' the LYX_FORMAT
14466 * lyxfont.h: turn NO_LATEX on as default
14468 * buffer.C (insertErtContents): new methods of tex style compability.
14469 (parseSingleLyXformat2Token): use it several places.
14470 * tabular.C (OldFormatRead): and here
14472 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14474 * text2.C: remove some commented code.
14477 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14478 * trans.C: changes because of the above.
14480 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14482 * text2.C (setCounter): Fix counters bug with bibliography layout.
14484 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14486 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14487 own member functions
14488 (simpleTeXSpecialChars): ditto
14490 2001-07-06 Juergen Vigna <jug@sad.it>
14492 * a lot of files: changed the access to LyXText::status and the
14493 call of undo-functions.
14495 * undo.[Ch]: added a inset_id to the undo informations.
14497 * undo_funcs.[Ch]: added and moved here all undo functions.
14499 * lyxtext.h: give the status enum a weight, made status_ a private
14500 variable and made accessor functions for it, removed the whole bunch
14501 of undo-functions as they are now in their own file, make some
14502 functions publically available. Added function ownerParagraph with
14505 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14506 made InInset() a const function, added getParFromID() function.
14508 * buffer.[Ch]: added const version for inset_iterator functions,
14509 added getInsetFromID() function.
14511 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14512 changed undo functions for new version.
14514 2001-07-05 Juergen Vigna <jug@sad.it>
14516 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14517 unknow mechanism does not call the proper constructor but only this
14518 one also if I request the other!?
14520 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14522 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14524 * text2.C (LyXText): use initialization lists.
14526 * lyxtext.h (Selection): initialize set_ and mark_
14527 (init): remove method
14529 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14531 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14533 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14535 * screen.[Ch]: change method names to begin with lowercase
14537 * BufferView_pimpl.C (updateScrollbar): simplify further and
14538 hopefully make it a bit faster.
14540 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14542 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14543 calling directly xforms functions.
14545 * Painter.C (Painter):
14546 * lyx_cb.C (MenuWrite):
14547 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14550 * lyx_gui.C: remove bogus guiruntime extern declaration.
14552 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14554 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14556 (redoDrawingOfParagraph): ditto
14557 (redoParagraphs): ditto
14558 (cutSelection): don't create a object for CutAndPaste use the
14559 static method directly
14560 (pasteSelection): ditto
14562 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14565 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14567 * modifications to some other files because of this.
14569 * Makefile.am (lyx_SOURCES): add XFormsView
14571 * XFormsView.[Ch]: new files
14573 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14574 the main window. Move the gui dependent stuff to XFormsView
14576 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14578 * tabular.C (GetCellInset): update cur_cell also in the row/col
14579 version of this function.
14581 * lyxfunc.C: no need to include figure_form.h here.
14587 * lyxvc.C: no need to include forms.h here.
14589 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14591 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14593 * lyxfunc.C (Dispatch):
14595 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14596 constructor argument.
14598 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14600 * paragraph.C (Paragraph): dont't clear, and just set layout.
14601 (makeSameLayout): use params's copy contructor.
14603 * ParagraphParameters.[Ch] (makeSame): delete method
14605 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14607 * Variables.[Ch]: fix indentation, rename set to isSet
14609 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14611 * lyxfunc.C (Dispatch): fix typo
14613 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14615 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14618 * bufferlist.C: include assert.h for emergencyWrite().
14620 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14622 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14623 give up at last (bug #425202) !
14625 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14631 * spellchecker.C: strip spellchecker options and bring up
14632 preferences tab instead
14634 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14636 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14637 the istringstream constructor
14639 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14641 * paragraph.C (getLayout): fix return value
14643 * paragraph.h: do not declare getLayout as inline.
14645 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14647 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14649 * lyxcursor.h (operator<): new func
14650 (operator>): new func
14651 (operator>=): new func
14652 (operator<=): new func
14654 * text.C (changeCase): use selection.start and selection.end
14655 (changeRegionCase): require from to be <= to. Require par to be a
14658 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14660 2001-06-27 Juergen Vigna <jug@sad.it>
14662 * text.C (cursorLeftOneWord): changed to return the cursor and added
14663 overlay with BufferView * parameter which calls this one.
14665 (selectWord): use new getWord function.
14666 (changeCase): renamed from changeWordCase as and extended to work
14667 also on selections.
14669 * lyxtext.h: added enum word_location
14671 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14672 changeCase as this operates now also on selections.
14674 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14676 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14678 * many files: send debug output to Debug::INFO instead of
14681 * converter.C (View):
14683 (Move): send debug output to Debug::FILES instead of console.
14685 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14687 * lyxfunc.C (getStatus): use func_status
14689 * func_status.h: new header, describing the results of
14690 LyXFunc::getStatus;
14692 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14695 2001-06-25 The LyX Project <jug@sad.it>
14697 * buffer.C (sgmlOpenTag):
14699 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14701 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14703 * text2.C: remove some dead code
14705 * tabular.C (GetCellInset): store the last cell checked (gotten)
14707 * tabular.h: add the helper for the speedup
14709 * lyxtext.h: remove some dead code
14711 2001-06-26 The LyX Project <Asger>
14713 * paragraph.C: Change export to LaTeX of alignment to
14714 \begin{center} and family for better roundtrip work with reLyX.
14716 * Tune the math drawing a bit.
14718 2001-06-25 The LyX Project <Asger>
14720 * LColor.C (LColor): New color for math background. New color
14723 2001-06-25 The LyX Project <jug@sad.it>
14725 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14727 * lyxfunc.C (Open):
14728 * bufferlist.C (newFile): do not restrict to files ending with
14731 * BufferView_pimpl.C (MenuInsertLyXFile):
14733 2001-06-24 The LyX Project <jug@sad.it>
14735 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14738 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14740 * lyxtext.h: rename most methods to begin with a small char.
14741 Lots of changes because of this.
14743 * paragraph.C (Paragraph): do not call fitToSize
14744 (erase): call Pimpl::erase
14745 (insertChar): call Pimpl::insertChar
14746 (insertInset): call Pipl::insertInset
14747 (breakParagraph): do not call fitToSize
14748 (breakParagraphConservative): do not call fitToSize
14749 (fitToSize): remove method
14751 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14753 2001-06-24 The LyX Project <Asger>
14755 * Fix Qt compilation^2
14757 2001-06-24 The LyX Project <jug@sad.it>
14759 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14760 depthHook(getDepth()-1).
14763 * ParagraphParameters.h:
14764 * ParameterStruct.h: change type of depth to unsigned int ==
14765 depth_type. Many adaptations to other files before of that.
14767 2001-06-24 The LyX Project <Asger>
14769 * Fix Qt compilation.
14771 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14773 * paragraph.h: renamed several methods to begin with small letter.
14774 several changes to many parts of the code because of this.
14776 2001-06-23 The LyX Project <jug@sad.it>
14778 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14779 rewritten to discard all double spaces when KeepEmpty is off
14780 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14781 to only handle newlines but not fiddle with spaces and friends.
14783 * lyxfunc.C (MenuNew): when doing 'new from template', use
14784 template_path as default directory
14786 2001-06-23 The LyX Project <Asger>
14788 * Clean-up of header file includes all over
14789 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14791 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14793 * paragraph.h: renamed from lyxparagraph.h
14795 2001-06-23 Asger <lyx@violet.home.sad.it>
14797 * Buffer.h: Removed Buffer::resize
14798 * BufferList.h: Removed BufferList::resize
14799 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14800 the document lazily when we change the width, or the font settings.
14802 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14804 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14806 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14808 * buffer.h: remove out of date comment
14810 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14813 * screen.C: fix "theoretical" GC leak
14815 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14817 * LaTeX.C (scanAuxFile):
14818 (deplog): remove trailing \r when reading stream (useful under
14821 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14823 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14824 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14825 and BufferView::theLockingInset(Inset*), so should use them and not
14826 access bv_->text->the_locking_inset directly.
14828 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14830 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14833 * tex-defs.h: remove old unused file
14835 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14837 * BufferView_pimpl.C: fix typo, remove minibuffer message
14838 when buffer has loaded
14840 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14842 * lyxfunc.C (Dispatch): use stringstream
14843 (MenuNew): use stringstream
14844 (Open): use stringstream
14846 * importer.C (Import): use stringstream
14848 * bufferview_funcs.C (CurrentState): use stringstream
14850 * LaTeX.C (run): use stringstream
14852 * BufferView_pimpl.C (savePosition): use stringstream
14853 (restorePosition): use stringstream
14854 (MenuInsertLyXFile): use stringstream
14856 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14869 * vspace.C: removed // -*- C++ -*- as first line.
14872 * version.h: added // -*- C++ -*- as first line.
14874 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14876 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14878 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14881 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14883 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14886 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14888 * gettext.C: include LString.h even when --disable-nls is on.
14890 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14892 * converter.h (Get): changed argument type from int to
14893 FormatList::size_type to avoid unnecessary conversion.
14895 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14898 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14900 * gettext.h: include LString.h even when --disable-nls is on.
14902 2001-06-07 Juergen Vigna <jug@sad.it>
14904 * text.C (BreakAgain): subst spaces with tabs.
14906 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14907 (resizeInsetsLyXText): set force on resizeLyXText.
14909 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14911 * gettext.h (gettext_init):
14912 (locale_init): use a real definition instead of a macro
14914 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14916 * Bufferview_pimpl.C:
14918 * LColor.C: further lcolor tidies
14920 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14922 * BufferView_pimpl.C (updateScrollbar): simplify.
14924 * BufferView2.C: don't include insets/insetinfo.h, change
14925 prototype for insertInset and call the Pimpl version. let
14926 updateInset call Pimpl version.
14928 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14929 gotoInset to BufferView::Pimpl
14931 2001-06-01 Juergen Vigna <jug@sad.it>
14933 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14934 inside a LockingInset (is the update needed at all?).
14936 2001-05-31 Juergen Vigna <jug@sad.it>
14938 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14939 here not the old one otherwise how should we compare it afterwards
14942 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14947 * FontInfo.C: bring C functions into global namespace when
14950 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14952 * LString.h: make sure config.h has been loaded before LString.h.
14954 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14955 (one for each char read by EatLine!).
14957 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14960 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14962 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14963 to the same as the par we break from
14965 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14967 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14969 * MenuBackend.C (expand): also create menu entries for wide
14970 versions of the floats.
14972 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14974 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14976 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14977 frontends/Makefile.am
14983 * tabular.C (getTokenValue): add std::
14985 * tabular-old.C (getTokenValue): add std::
14986 (getTokenValue): ditto
14987 (getTokenValue): ditto
14989 * screen.C (ToggleSelection): adjust
14991 * lyxtext.h: put selection cursors inside a Selection struct.
14993 * lyxfunc.C (moveCursorUpdate): adjust
14995 * lyxfont.C (latexWriteStartChanges): add std::
14997 * lyxfind.C: adjust
14999 * font.h: delete with(char const *, LyXFont const &)
15001 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15003 * FontInfo.C (getFontname): add std::
15005 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15006 (workAreaButtonPress): adjust
15007 (tripleClick): adjust
15009 (moveCursorUpdate): adjust
15012 * BufferView2.C (gotoInset): adjust
15014 2001-05-30 Juergen Vigna <jug@sad.it>
15016 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15017 to check pspell I add this as default as I now have new pspell
15018 libraries and they seem to use this.
15020 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15022 * text2.C (CutSelection): make the cursor valid before the call to
15025 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15027 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15028 relied on 0 terminated strings and other horrors. Bug found due to
15029 the new assert in lyxstring!
15031 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15034 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15036 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15039 * lyxfunc.C (processKeySym): change method of getting to the
15042 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15043 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15044 * BufferView_pimpl.[Ch]: here as private methods.
15046 2001-05-28 Juergen Vigna <jug@sad.it>
15048 * text.C (SetHeightOfRow): added the update() call again as it is
15049 needed to initialize inset dimensions!
15051 2001-05-16 Juergen Vigna <jug@sad.it>
15053 * text2.C (SetCharFont): Add new function with BufferView * and
15054 bool toggleall parameters for setting insets internal fonts.
15055 (SetFont): Freeze the undo as we may change fonts in Insets and
15056 all this change should be inside only one Undo!
15058 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15059 setting font's in insets as for them we have the SetFont function!
15061 2001-05-15 Juergen Vigna <jug@sad.it>
15063 * text2.C (ClearSelection): to be sure we REALLY don't have any
15066 * tabular.C (TeXCellPreamble): fixed the left border problem for
15069 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15071 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15074 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15076 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15077 LFUN_BREAKPARAGRAPH.
15079 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15080 help test to "internal only", similar for LFUN_INSERT_URL
15082 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15083 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15084 auto_region_delete and deadkeys.
15086 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15089 * LColor.C: remove some dead entries, tidy a little
15091 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15093 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15095 (Dispatch): implement LFUN_ESCAPE
15097 * commandtags.h: add LFUN_ESCAPE
15099 * LyXAction.C (init): add entry for LFUN_ESCAPE
15101 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15102 Remove commented code.
15103 (insertNote): moved here
15104 (open_new_inset): moved here
15106 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15109 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15111 * kbmap.C (findbinding): clean it up and make it work correctly.
15113 * lyx_main.C (init): do not pass argc and argv as parameters
15115 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15117 * buffer.C: fix path for OS/2 & Win32
15121 * lyx_main.C: Added os:: class.
15123 * os2_defines.h: update
15125 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15127 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15128 better by trying again with reduced state.
15130 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15132 * lyxrc.C (read): print error about invalid key sequence only when
15133 debugging (because not all latinX keysyms are known to some X
15136 * kbsequence.C (getiso): add a few std:: qualifiers
15137 (getiso): comment out extra return statement.
15139 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15141 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15143 (Dispatch): enhance the accent inset a bit. (not perfect)
15145 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15147 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15149 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15151 * bufferlist.C (emergencyWrite): fix assert() call
15153 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15155 * text.C (InsertChar): Added trivial patch to only send the "you
15156 can not do multiple spaces this way" message once during a
15159 2001-05-08 Baruch Even <baruch@lyx.org>
15161 * Makefile.am: Changed order of libraries to get LyX to link properly
15162 with the gnome frontend.
15164 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15166 * LaTeXFeatures.h: add a std:: qualifier
15168 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15170 * paragraph.C (String): use stringstream
15172 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15174 * paragraph.C (writeFile): remove footflag arg
15176 * buffer.C (makeLaTeXFile): use stringstream
15177 (latexParagraphs): remove footnot gurba
15179 * LaTeXFeatures.C (getPackages): use stringstream
15180 (getMacros): likewise
15181 (getTClassPreamble): likewise
15182 (getFloatDefinitions): new method
15184 * paragraph.C (writeFile): reindent
15187 * WorkArea.h: revert the xpos + etc changes.
15189 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15191 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15193 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15194 (pasteSelection): likewise
15195 * text2.C (CreateUndo): likewise
15197 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15199 * minibuffer.C (peek_event): temporarily reduce the functionality
15200 of the minibuffer (to allow args on lfuns)
15202 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15203 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15205 * buffer.C (readInset): add compability reading of old float
15206 lists, add reading of new style float list.
15207 (readInset): avoid reevaluation of inscmd.getCmdName()
15208 (getLists): reindent
15210 * MenuBackend.C (MenuItem): implement parsing of
15211 md_floatlistinsert and md_floatinsert.
15212 (expand::LastFiles): move initalizaton of iterators out of loop,
15213 avoid reevaluation.
15214 (expand::Documents): introduce typdedef vector<string> Strings,
15216 (expand::ExportFormats): introduce typedef vector<Format const *>
15217 Formats, and use it.
15218 (expand): implement FloatListInsert and FloatInsert.
15220 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15221 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15222 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15224 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15226 (Dispatch::LFUN_FLOAT_LIST): implement
15228 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15230 * LaTeX.C (run): Fix problem with --export code.
15232 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15234 * BufferView.[Ch] (workarea): removed.
15235 (getClipboard) new method; wrapper for workarea()->getClipboard()
15237 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15240 * WorkArea.h (width, height, xpos, ypos): These methods all
15241 returned the dimensions of the work_area sub-area of WorkArea,
15242 resulting in a position error if the WorkArea were resized. Now
15243 return the dimensions of the entire WorkArea.
15245 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15247 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15249 * LaTeX.C (deplog): correct the syntax of regex reg1
15251 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15253 * undo.C: remove !NEW_INSETS cruft
15255 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15257 * text2.C: remove !NEW_INSETS cruft
15259 * text.C: remove !NEW_INSETS cruft
15261 * tabular.C: remove !NEW_INSETS cruft
15263 * spellchecker.C: remove !NEW_INSETS cruft
15265 * lyxtext.h: remove !NEW_INSETS cruft
15267 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15269 * lyxfunc.C: remove !NEW_INSETS cruft
15271 * lyxfind.C: remove !NEW_INSETS cruft
15273 * lyx_cb.C: remove !NEW_INSETS cruft
15275 * figureForm.C: remove !NEW_INSETS cruft
15277 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15279 * buffer.[Ch]: remove !NEW_INSETS cruft
15281 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15283 * CutAndPaste.C: remove !NEW_INSETS cruft
15285 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15287 * BufferView2.C: remove !NEW_INSETS cruft
15289 * BufferView.h: remove !NEW_INSETS cruft
15291 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15293 * Lsstream.h: include LString.h before the sstream headers to
15294 fix problem with gcc 2.95.3 and lyxstring
15296 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15298 * lyx_main.C: add using directives when needed for C functions
15299 declared in std:: namespace.
15301 2001-04-27 Juergen Vigna <jug@sad.it>
15303 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15304 (SetHeightOfRow): comment out the update call should not be needed!
15306 2001-04-13 Juergen Vigna <jug@sad.it>
15308 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15309 (LyXTabular): tried to minimize operator= operations (and realized
15310 hopfully Lars wish).
15312 2001-04-27 Juergen Vigna <jug@sad.it>
15314 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15316 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15318 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15320 * buffer.C (readInset): hack to make listof algorithm work
15322 * BufferView_pimpl.C: hack to make listof algorithm work
15324 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15326 * LyXAction.C: removed all !NEW_INSETS cruft
15327 (init): moved lfun_item in method
15329 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15331 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15333 * BufferView2.C (theLockingInset): white space.
15335 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15337 * minibuffer.C: include <iostream>
15339 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15341 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15343 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15345 * text.[Ch] (TransposeChars): new method
15347 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15349 * call message directly through LyXView instead of through LyXFunc
15350 * BufferView2.C: adjust
15351 * BufferView_pimpl.C: adjust
15352 * FontLoader.C: adjust
15354 * bufferview_funcs.C: adjust
15355 * converter.C: adjust
15356 * figureForm.C: adjust
15357 * importer.C: adjust
15359 * lyx_gui_misc.C: adjust
15360 * lyxfunc.C: adjust
15363 + more files in subdirs
15365 * lyxparagraph.h (size): move up int file
15368 * adjust all uses of Assert to lyx::Assert.
15370 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15371 lyxfunctional in namespace lyx
15372 * layout.C (hasLayout): ditto
15375 (delete_layout): ditto
15376 (NumberOfClass): ditto
15377 * converter.C (GetFormat): ditto
15382 * bufferlist.C (getFileNames): ditto
15383 (emergencyWriteAll): ditto
15386 * MenuBackend.C (hasSubmenu): ditto
15389 * BufferView_pimpl.C (getInsetByCode): ditto
15391 2001-04-18 Juergen Vigna <jug@sad.it>
15393 * vspace.C (asLatexString): fixed the 100% problem.
15395 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15397 * lyxfunc.C (Dispatch):
15399 * minibuffer.h: add a few std:: qualifiers
15401 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15403 * minibuffer.[Ch]: reimplement so that commands is initiated and
15404 run from lyxfunc, simplified som handling, and made the completion
15405 and history code for complete. wip.
15407 * lyxfunc.C (processKeySym): call message
15408 (miniDispatch): new temporary method
15409 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15410 (LFUN_MESSAGE): implement
15411 (LFUN_MESSAGE_PUSH): implement
15412 (LFUN_MESSAGE_POP): implement
15413 (initMiniBuffer): the initial/defualt minibuffer message.
15415 * lyxfont.[Ch]: inline some more getters
15417 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15419 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15421 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15422 (AutoSave): use LFUN_MESSAGE
15423 (Reconfigure): ditto
15425 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15427 * figureForm.C: use LFUN_MESSAGE
15429 * converter.C (runLaTeX): use LFUN_MESSAGE
15431 * bufferview_funcs.C: use LFUN_MESSAGE
15433 (changeDepth): ditto
15435 * bufferparams.h: use boost::
15437 * bufferlist.h: inherit privately from noncopyable
15439 * bufferlist.C (loadLyXFile): remove some commented code.
15441 * buffer.C (runChktex): use LFUN_MESSAGE
15443 * ShareContainer.h: inherit privately from noncopyable
15445 * ParagraphParameters.[hC] (depth): inline it.
15447 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15449 (message): new method
15450 (messagePush): ditto
15451 (messagePop): ditto
15452 (show): init minibuffer
15453 (showState): direct call
15455 * LaTeX.[Ch]: inherit privately from noncopyable
15456 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15457 instead of WriteStatus.
15459 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15461 * BufferView_pimpl.C (buffer): don't init minibuffer
15462 (workAreaButtonPress): use LFUN_MESSAGE
15463 (workAreaButtonRelease): ditto
15464 (savePosition): ditto
15465 (restorePosition): ditto
15466 (MenuInsertLyXFile): ditto
15467 (workAreaExpose): don't init minibuffer
15468 (update): remove commented code, simplify
15470 * BufferView2.C (openStuff): use LFUN_MESSAGE
15471 (toggleFloat): ditto
15474 (copyEnvironment): ditto
15475 (pasteEnvironment): ditto
15480 (updateInset): remove some commented code
15482 * lastfiles.h: inherit privately from noncopyable
15485 * lyx_main.h: ditto
15487 * lyxlex_pimpl.h: ditto
15489 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15490 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15491 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15493 * LyXAction.h: inherit privately from noncopyable, add methods
15494 func_begin, func_end, returning iterators to the func map.
15496 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15497 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15498 (func_begin): new method
15499 (func_end): new method
15501 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15503 (copySelection): ditto
15504 (pasteSelection): ditto
15506 * BufferView.C: whitespace change
15507 * BufferView.h: inherit privately from noncopyable
15509 2001-04-16 Allan Rae <rae@lyx.org>
15511 * tabular-old.C (l_getline):
15512 * spellchecker.C (sc_check_word):
15513 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15514 an unrecognised preprocessor directive. So ensure they're wrapped.
15516 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15518 * src/exporter.C (Export): Give an error message when path to file
15521 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15523 * LaTeX.C (deplog): Always check that foundfile exists.
15525 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15528 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15530 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15532 * tabular.[Ch] (getLabelList): implement new method
15534 * minibuffer.h: comment ouf setTiimer
15536 * minibuffer.C (ExecutingCB): constify res
15537 (peek_event): constify s
15538 (Set): constify ntext
15539 (Init): constify nicename
15541 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15543 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15544 (savePosition): use two params to Minibuffer::Set
15545 (restorePosition): ditto
15547 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15549 * lyx_main.C: include language.h
15551 * Makefile.am (lyx_main.o): add language.h
15553 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15559 * CutAndPaste.C: include gettext.h
15561 * lyxfont.h: remove old hack with ON and OFF.
15564 * lyxfont.h: do not include language.h...
15569 * bufferview_funcs.C:
15575 * paragraph.C: ... but do it here instead
15577 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15579 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15581 * tabular.C: small reformat
15583 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15586 (BreakParagraph): ditto
15587 (SetOnlyLayout): ditto
15590 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15593 * lastfiles.C: removed most using decl, add std:: where needed
15595 * buffer.C: ws changes
15597 * MenuBackend.C (class compare_format): put into anon namespace
15598 (expand): constify label, names, action, action2
15601 * text.C (SingleWidth): constify font
15602 (IsBoundary): constify rtl2
15603 (GetVisibleRow): constify ww
15605 * LaTeX.C (deplog): constify logfile
15607 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15609 (workAreaExpose): constify widthChange, heightChange
15611 * lyxrow.C (par): moved
15614 * lyxrow.h: as inlines here
15616 * lyxfont.h (shape): moved from lyxfont.C
15617 (emph): moved from lyxfont.C
15619 * lyxfont.C (LyXFont): use initialization list for all
15621 (shape): move to lyxfont.h as inline
15622 (emph): move to lyxfont.h as inline
15625 2001-04-04 Juergen Vigna <jug@sad.it>
15627 * vspace.C: had to include stdio.h for use of sscanf
15629 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15632 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15633 independent of xforms.
15635 2001-04-02 Juergen Vigna <jug@sad.it>
15637 * spellchecker.C: fixed namespace placing!
15639 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15641 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15642 the LyXParagraph * is 0.
15644 2001-03-29 Juergen Vigna <jug@sad.it>
15646 * vspace.C: added support for %, c%, p%, l%.
15647 (stringFromUnit): added helper function.
15648 (asLatexString): changed to give right results for the %-values.
15650 * buffer.C: convert the widthp in a width%.
15652 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15654 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15657 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15658 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15660 * lyx_cb.[Ch]: see above.
15662 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15666 * lyx.[Ch]: replaced by figure_form.[Ch].
15670 * lyxfunc.C: changed headers associated with above changes.
15672 2001-03-27 Juergen Vigna <jug@sad.it>
15674 * BufferView_pimpl.C: set the temporary cursor right!
15676 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15678 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15680 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15682 * LString.h: removed "using std::getline"!
15684 * BufferView_pimpl.C (Dispatch): changes due to changes in
15685 InsetInclude::Params.
15687 * buffer.C (tag_name): removed redundant break statements as they were
15688 producing lots of warnings with my compiler.
15690 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15692 * LString.h: add "using std::getline" when using the real <string>.
15694 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15696 * buffer.C: removed bitset usage.
15697 PAR_TAG moved to an anonymous name space.
15698 (tag_name): new funtion, also in the anonymous namespace.
15699 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15700 (makeDocBookFile): clean code. Completed transition from string arrays
15702 (SimpleDocBookOnePar): code clean.
15704 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15706 * tabular.C: add some comments.
15708 2001-03-22 Juergen Vigna <jug@sad.it>
15710 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15711 compatibility read a bit and fixed bug with minipage in different
15714 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15716 * buffer.C (pop_tag): removed.
15717 (push_tag): removed.
15718 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15719 array replaced with vector. Added support for CDATA sections.
15720 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15722 (makeDocBookFile): XML conformant declaration of CDATA section,
15723 fixed bug related to <emphasis> in the first paragraph char.
15724 (sgmlOpenTag): exclude empty tags.
15725 (sgmlCloseTag): ditto.
15727 * buffer.h (pop_tag): removed.
15728 (push_tag): removed.
15730 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15732 * language.h (Languages): added size_type and size().
15734 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15736 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15737 response on compability reading of minipages. One probliem is that
15738 the old usage of minipages was «flertydig»
15740 * several files here and in subdirs: don't use static at file
15741 scope use anon namespaces instead.
15743 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15745 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15746 LaTeX output. This is necessary for Literate document
15749 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15751 * buffer.C: insert hfill when needed.
15753 * tabular.C (l_getline): use string::erase, small whitespace change.
15755 * BufferView_pimpl.C: try the anon namespace.
15756 * WorkArea.C: ditto
15758 2001-03-16 Juergen Vigna <jug@sad.it>
15760 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15761 otherwise it won't open options-dialogs.
15763 * buffer.C: honor pextraWidth(p) on converting minipages.
15765 * tabular.C (l_getline): changed the functions to strip trailing \r.
15767 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15769 * BufferView_pimpl.C:
15770 * minibuffer..C: added "using SigC::slot" declaration.
15772 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15774 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15780 * paragraph.C: ditto
15782 * lyxtext.h: NO_PEXTRA
15784 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15786 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15787 * ParameterStruct.h: ditto
15788 * ParagraphParameters.h: ditto
15789 * lyxparagraph.h: ditto
15791 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15793 * buffer.C: add compability for minipage alignment.
15794 (latexParagraphs): remove unwanted pextra check.
15796 * several files: remove CXX_WORKING_NAMESPACES
15798 * buffer.C (pop_tag): tie is in namespace boost
15800 * BufferView.h: noncopyable is in namespace boost
15802 * lyx_main.h: ditto
15805 * lastfiles.h: ditto
15806 * bufferlist.h: ditto
15807 * ShareContainer.h: ditto
15809 * LyXAction.h: ditto
15812 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15814 * Merging changes from BRANCH_MVC back into HEAD.
15816 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15818 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15820 * BufferView_pimpl.C: change from intl.C
15824 * Makefile.am: move combox.*
15830 * intl.C: remove dialog (covered by prefs)
15832 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15834 * lyxfunc.C (Dispatch): removed redundant break statement.
15836 2001-03-14 Juergen Vigna <jug@sad.it>
15838 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15840 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15842 * buffer.C: add hack to fix compability reading of minipages.
15844 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15846 * buffer.C (getLists): Cleanup.
15848 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15850 * lyxfont.C (update): don't honor toggleall on font size.
15852 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15856 * Makefile.am: moved to frontends/xforms/
15860 * BufferView_pimpl.C: changes for moved mathpanel
15862 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15864 * gettext.h: fix gettext_init() in --disable-nls
15866 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15868 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15870 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15873 * lyx.h: strip external form
15875 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15877 * BufferView_pimpl.C: add comment, destroySplash()
15879 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15881 * BufferView_pimpl.C:
15885 * lyxfunc.C: use re-worked insetinclude
15887 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15889 * buffer.C: add using std::stringstream.
15891 * lyx_cb.C: readd using std::ios.
15893 * buffer.C: add using std::map.
15895 * BufferView_pimpl.C: add using std::vector.
15897 * ShareContainer.h: add std:: to swap.
15899 * buffer.h: add some typedefs
15900 * buffer.C (getLists): use them
15901 (getLists): renamed from getTocList.
15902 add a counter for the different float types and use it in the
15904 (getLists): use the same counter for the NEW_INSETS and the "non"
15907 * lyx_cb.h: remove unused items, includes, using etc.
15909 * ShareContainer.h: remove some commented code, add more comments
15910 and "documentation".
15912 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15914 * buffer.C (getTocList): make the list also when NEW_INSETS is
15917 * buffer.h: remove TocType
15919 * buffer.C (getTocList): change to return a map<string,
15920 vector<TocItem> >, implement for dynamic number of list.
15922 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15923 * text2.C (PasteSelection): adjust
15924 * CutAndPaste.C (pasteSelection): adjust
15926 * FloatList.C (FloatList): update from the new_insets branch.
15927 * Floating.[Ch]: ditto
15928 * LaTeXFeatures.C: ditto
15930 * lyxlex_pimpl.C: ditto
15932 * paragraph.C (Last): remove when NEW_INSETS is defined.
15934 * other file: changes because of the above.
15936 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15938 * lyxparagraph.h: rename next to next_, previous to previous_,
15939 make them private for NEW_INSETS. Rename Next() to next(),
15940 Previous() to previous().
15942 * other files: changes because of the above.
15944 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15947 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15950 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15952 * main.C (main): pass lyx_localedir to gettext_init().
15954 * gettext.h: remove locale_init and gettext_init macros
15956 * gettext.C (locale_init): new function
15957 (gettext_init): new function
15959 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15962 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15964 * Moved credits to frontends:
15965 * credits.[Ch]: removed
15966 * credits_form.[Ch]: removed
15967 * lyx_gui_misc.C: remove credits stuff
15970 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15972 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15974 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15975 unneeded destructor.
15977 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15978 a standalone pointer again.
15980 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15982 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15988 * ToolbarDefaults.C:
15997 * BufferView_pimpl.C: use new file dialog in GUII
16000 * lyx_cb.C: remove LayoutsCB to Toolbar
16002 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16004 * ShareContainer.h (get): add std:: qualifier
16006 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16008 * ShareContainer.h: define a proper ShareContainer::value_type
16009 type (and use typename to please compaq cxx)
16011 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16013 * lyxparagraph.h: move serveral local vars to
16014 ParameterStruct/ParagraphParameters., use ShareContainer in
16015 FontTable., make vars in FontTable private and add getter and
16018 * paragraph.C: changes because of the above.
16020 * lyxfont.h: remove copy constructor and copy assignment. (the
16021 default ones is ok), move number inside FontBits. move inlines to
16024 * lyxfont.C: add number to initializaton of statics, move several
16025 inlines here. constify several local vars. some whitespace
16026 cleanup. Dont hide outerscope variables.
16028 * Spacing.h: add two new constructors to match the set methods.
16030 * ShareContainer.h: new file, will perhaps be moved to support
16032 * ParameterStruct.h: new file
16034 * ParagraphParameters.h: new file
16036 * ParagraphParameters.C: new file
16038 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16039 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16041 * BufferView_pimpl.C: ParagraphParameter changes.
16042 * buffer.C: Likewise.
16043 * bufferview_funcs.C: Likewise.
16044 * text.C: Likewise.
16045 * text2.C: Likewise.
16047 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16049 * lyxfind.C (LyXReplace): do not redefine default argument in
16051 (IsStringInText): ditto
16052 (SearchForward): ditto
16053 (SearchBackward): ditto
16055 2001-03-06 Juergen Vigna <jug@sad.it>
16057 * lyxfind.C (IsStringInText): put parentes around expressions.
16059 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16061 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16063 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16065 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16067 * stl_string_fwd.h: add comment
16069 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16072 * tabular.C: remove unused DocBook methods
16078 killed DO_USE_DEFAULT_LANGUAGE
16080 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16082 * lyx_gui.C: do not include language.h.
16084 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16085 arguments in function implementation.
16087 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16089 * BufferView_pimpl.C: add <ctime>
16091 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16093 * BufferView_pimpl.C: add using std::find_if
16095 2001-02-27 José Matos <jamatos@fep.up.pt>
16097 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16100 2001-02-11 José Matos <jamatos@fep.up.pt>
16102 * buffer.C (makeDocBookFile): command styles now have a parameter as
16103 "title" by default.
16105 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16107 * layout_forms.[Ch]: removed
16108 * lyx_cb.[Ch]: out character
16109 * lyx_gui.C: out character
16110 * lyx_gui_misc.C: out character
16111 * bufferview_funcs.C: : out character,
16112 added toggleall as parameter in ToggleAndShow
16114 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16116 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16118 * text2.C (SetCurrentFont): Disable number property at boundary.
16120 2001-02-26 Juergen Vigna <jug@sad.it>
16122 * lyxfunc.C (getStatus): added a string argument override function so
16123 that this is correctly called from LyXFunc::Dispatch if it contains a
16124 do_not_use_argument which is used!
16125 (Dispatch): added check for "custom" export and call appropriate func.
16127 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16129 * lyxrc.C: Add language_command_local, language_use_babel and
16130 language_global_options.
16132 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16134 * buffer.C (makeLaTeXFile): Use language_use_babel and
16135 language_global_options.
16137 2001-02-23 Juergen Vigna <jug@sad.it>
16139 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16140 which works with LyXText and putted it inside BufferView. Here now we
16141 only call for that part the BufferView::Dispatch() function.
16143 * BufferView.C (Dispatch): added.
16145 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16146 functions which needs to use a LyXText over from LyXFunc.
16147 (MenuInsertLyXFile): added
16148 (getInsetByCode): added
16149 (moveCursorUpdate): added
16150 (static TEXT): added
16152 2001-02-22 Juergen Vigna <jug@sad.it>
16154 * BufferView_pimpl.C (update): call a status update to see if LyXText
16157 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16159 * vc-backend.C (revert): implement for CVS
16160 (getLog): implement for CVS
16162 2001-02-20 Juergen Vigna <jug@sad.it>
16164 * text2.C (ClearSelection): added BufferView param for inset_owner call
16166 * lyxfunc.C (TEXT): added this function and use it instead of
16167 directly owner->view()-text of getLyXText().
16169 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16171 * src/layout_forms.C: out preamble
16172 * src/layout_forms.h: out preamble
16173 * src/lyx_cb.C: out preamble
16174 * src/lyx_cb.h: out preamble
16175 * src/lyx_gui.C: out preamble
16176 * src/lyx_gui_misc.C: out preamble
16177 * src/lyxfunc.C: connect with guii preamble
16179 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16181 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16183 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16185 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16186 whether to run bibtex.
16188 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16190 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16192 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16194 * Makefile.am (lyx_SOURCES): removed bibforms.h
16196 * vspace.h: doxygen
16198 * text.C (GetVisibleRow): make several local vars const
16200 * tabular.C: small cleanup.
16202 * lyxserver.C (callback): use compare instead of strncmp
16204 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16205 inlines to after class or to paragraph.C
16207 * lyxfont.h: remove friend operator!=
16209 * converter.h: move friend bool operator< to non friend and after
16212 * combox.h: small cleanup
16214 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16215 to inlines after class def.
16217 * buffer.C (pop_tag): use string operations instead of strcmp
16219 * bmtable.c: doxygen, small cleanup
16221 * LaTeX.h: remove friend operator==
16223 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16235 * BufferView_pimpl.C:
16236 * BufferView.[Ch]: remove cruft
16238 2001-02-14 Juergen Vigna <jug@sad.it>
16240 * lyxfunc.C: removed #if 0 unused code
16242 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16244 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16246 * text2.C (SetSelection): added a BufferView * parameter
16248 2001-02-13 Juergen Vigna <jug@sad.it>
16250 * lyxfunc.C (Dispatch): fixed protected blank problem.
16251 * BufferView2.C (protectedBlank): added LyxText * parameter.
16253 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16254 (AppendColumn): same as above for column_info.
16256 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16257 (moveCursorUpdate): use a LyXText param for support of InsetText.
16259 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16260 (tripleClick): ditto
16262 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16264 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16266 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16268 * text2.C (SetSelection): set correct update status if inset_owner
16269 (ToggleFree): ditto
16271 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16273 * tabular.C: remove some commented code.
16275 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16277 * BufferView_pimpl.C: call hideSplash()
16279 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16282 * bibforms.h: remove
16285 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16286 add LFUN_CHILD_CREATE
16288 * counters.h: fix tiny typo
16293 * lyx.C: move splash to frontends/xforms/
16295 * lyx_gui_misc.C: move Include and Bibform to frontends
16297 * lyxvc.h: clarify comment
16299 * vspace.C: tiny housekeeping
16301 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16303 * text.C (PrepareToPrint): RTL Fix.
16305 * paragraph.C (GetUChar): New method.
16306 (String): Use GetUChar.
16308 * buffer.C (asciiParagraph): Use GetUChar.
16310 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16312 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16314 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16317 * buffer.C: rename to getLogName(), handle
16318 build log / latex log nicely
16320 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16323 * MenuBackend.h: remove support for reference menuitem type.
16325 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16327 * BufferView_pimpl.C: housekeeping
16328 * BufferView_pimpl.h:
16333 * minibuffer.h: move Timeout GUI-I
16335 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16337 * lyxrc.C (read): Update converters data-structures.
16339 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16341 * LaTeX.h (operator!=): add operator != for Aux_Info
16343 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16345 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16347 * LaTeXLog.C: deleted, useful code moved to Buffer
16350 * buffer.C: new function getLatexLogName()
16356 * lyxfunc.C: use frontends for LaTeX and VC logs
16358 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16360 * LaTeX.h: yet another std:: that Allan forgot.
16362 * Variables.C (set): renamed from isset(), because this clashes
16363 with some HP-UX macros (grr).
16365 2001-02-06 Allan Rae <rae@lyx.org>
16367 * LaTeX.h: Another bug fix. Missing std:: this time.
16369 2001-02-04 Allan Rae <rae@lyx.org>
16371 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16372 floats problem. I've left it commented out because it's not quite
16373 correct. It should also test that the current object is a table or
16374 figure inset. But I haven't gotten around to figuring out how to do
16375 that. I *think* it'll be something like: "table" == inset.type()
16377 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16380 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16382 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16383 all the citation/databases/styles in the auxilary file.
16384 (run): Rerun latex if there was a babel language error.
16386 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16388 * text.C (Backspace): Preserve the font when changing newline char
16390 (BreakParagraph): If the cursor is before a space, delete the space.
16392 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16394 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16396 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16397 new argument (code).
16398 (ChangeCitationsIfUnique): New method.
16400 * paragraph.C (GetPositionOfInset): Handle bibkey.
16402 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16404 * BufferView_pimpl.h: change type of Position::par_pos to
16405 LyXParagraph::size_type.
16407 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16409 * BufferView_pimpl.C (savePosition, restorePosition): Write
16410 messages to minibuffer.
16412 2001-01-28 José Matos <jamatos@fep.up.pt>
16414 * buffer.C (makeDocBookFile): adds support for document language.
16415 A silly restriction on the name of LatexCommand types where removed.
16416 Added support for CDATA sections, allows to chars unescaped, used
16417 among others in code, to avoid escape < and >.
16419 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16421 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16422 saved positions instrad of a stack. Furthermore, a position is
16423 stored using paragraph id/paragraph position.
16425 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16426 Remove LFUN_REF_BACK.
16428 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16430 * converter.C (dvipdfm_options): New method.
16432 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16434 * vspace.C (isValidLength): Fix for empty input string.
16436 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16438 * LyXAction.C (init): change description of LFUN_FIGURE to
16441 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16443 * LaTeX.C: add using directive
16445 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16447 * MenuBackend.C (expand): Fix the sorting of the formats.
16449 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16451 * lyx_main.C: tiny error message fix
16453 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16455 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16456 calling fl_initialize(). This fixes the problem with ',' as
16457 decimal separator in text files.
16459 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16461 * trans.C (process): Fix the keymap bug.
16463 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16465 * LaTeX.C (scanAuxFiles): New method. Provides support for
16466 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16467 (scanLogFile) Scan for "run BibTeX" messages.
16469 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16470 OT1 font encoding. Also, load the aecompl package if the ae
16473 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16475 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16477 * texrow.C (increasePos): turn two error messages into debug
16480 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16482 * LaTeX.C (scanAux): Handle the \@input macro.
16483 (runBibTeX): Use scanAux().
16485 * language.C (latex_options_): New field.
16487 * LaTeXFeatures.C (getMacros): Add language macros.
16489 * buffer.C (makeLaTeXFile): Small fix.
16491 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16493 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16495 * text2.C: add a using directive.
16497 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16502 * lyxfunc.C: kill LyXBell.
16504 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16506 * text.C (IsBoundary): Remove the error message
16508 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16510 * lyxrc.C (setDefaults): Correct initialization value for
16513 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16515 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16518 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16519 and GotoNextNote().
16521 * src/LyXAction.C: Added reference-next.
16523 * text.C (InsertChar): Use contains instead of strchr.
16525 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16527 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16529 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16530 alignment commands (when needed).
16532 * text.C (InsertChar): Add ':' to number separator chars.