1 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * tabular.C (cellstruct): use initialization, store a shared_ptr
4 to insettext instead of the insettext directly, adjust to fit.
5 (operator=): new function
7 (rowstruct): use initialization
8 (columnstruct): use initialization
9 (ltType): use initialization
12 * lyxlength.h (swap): new function
14 * LColor.[Ch] (operator=): use the common semantics
16 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
18 * lyxfind.C (findNextChange): update the bufferview after setting
21 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
23 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
24 number of InsetOptArgs has already been inserted.
26 * output_latex.C (latexOptArgInsets): new method. This outputs all
27 the optarg insets, up to the limit defined in the layout file.
28 (optArgInset): removed
29 (TeXOnePar): call latexOptArgInsets; correctly update texrow
31 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
33 * paragraph.C (isLetter): remove special spellchecker-related
34 code; return true also for digits
35 (isWord, isKomma): remove
37 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
38 * lyxfind.C (MatchString()): use isLetter instead of isWord
40 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
42 * pariterator.h (operatir=): comment out un-implemented member
45 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
48 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
50 * lyxfont.h: include LColor.h to satisfy concept checks.
52 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
54 * pariterator.h: add typdefs for value_type, difference_type,
55 pointer and reference to satisfy concept checks. Also add default
56 constructor for same reason.
58 * pariterator.C (operator++): add post-increment operator to
59 satisfy concept checks.
61 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
64 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
66 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
67 checks. Also rename base_type to BaseType to follow naming
70 * FloatList.h: include Floating.h to satisfy concept checks.
72 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
74 * lyxfunc.C (getStatus): when the origin of the request is menu or
75 toolbar, and the LyXView does not have focus, do as if there was
78 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
79 FuncRequest to individual entries of LFUN_SEQUENCE
81 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
83 * output_latex.C (TeXOnePar): override runparams.moving_arg
84 according to the needprotect value of the current paragraph (bug
87 * paragraph.C (simpleTeXOnePar): no need to override
88 runparams.moving_args here
90 2004-11-14 John Spray <spray_john@users.sourceforge.net>
92 * vspace.C: fix off-by-one-error, related to fix #1682
94 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96 * lengthcommon.C: a more general fix for bug 1682
98 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
100 * text.C (backspace): fix crash
102 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
104 * format.[Ch] (getFormatFromFile): new method
105 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
107 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
111 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
113 * lyxfunc.C (dispatch): remove the verbose argument
114 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
117 * kbmap.C (defkey): set the origin of func to KEYBOARD
119 * MenuBackend.C (MenuItem):
120 * ToolbarBackend.C (add): set the origin of func to UI
122 * funcrequest.[Ch]: add origin member, which indicates which part
123 of LyX requests an action
125 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
127 * converter.C (move): don't lie in the error message
128 * converter.h (isReachable, move): document
130 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
132 * buffer.C: remove unused using lyx::support::atoi
133 * paragraph_funcs.C: ditto
135 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
137 * bufferlist.C (exists): use bind and equal_to instead of
140 * lyxtextclasslist.C (NumberOfClass): ditto
142 * cursor.C (insert): use for_each instead of explicit for loop
144 * bufferlist.C (getFileNames): use std::transform and
145 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
147 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
150 * buffer.C (changeLanguage): use for_each instead of explicit for
152 (hasParWithID): implement using getParFromID
154 * LaTeXFeatures.C: ws change only
156 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
159 * BufferView_pimpl.C (trackChanges): use for_each instead of
162 2004-11-04 André Pönitz <poenitz@gmx.net>
165 * undo.C (textUndoOrRedo): fix crash when creating undo information.
167 * dociterator.C (asDocIterator): use hard assert again.
169 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 * lyxlength.C (asLatexString): rewrite so that it does not use
174 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
176 * text3.C (specialChar, dispatch): make sure cursor moves to the
177 right after inserting an inset
179 2004-11-02 José Matos <jamatos@lyx.org>
181 * output_docbook.C (docbook):
182 * paragraph.C (getID):
183 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
184 garantee that the output is always legal.
186 * tabular.C (docbook):
187 * outputprams.[Ch]: remove mixed contents.
189 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
191 * text2.C (setCounter): prevent endless loop
193 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
195 * exporter.C (copyFile): use the mover instead of support::copy()
196 * exporter.C (Export): pass format and latex name to copyFile()
197 * exporter.h (addExternalFile): document
198 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
200 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
202 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
204 2004-10-30 José Matos <jamatos@lyx.org>
206 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
207 text and no inset or font change. This allows to use CDATA
208 sections just for the whole paragraph.
210 2004-10-30 José Matos <jamatos@lyx.org>
212 * paragraph.C (getFirstWord): remove unused variable.
214 2004-10-30 José Matos <jamatos@lyx.org>
216 * paragraph.C (getFirstWord): the content should always be escaped
218 (simpleDocBookOnePar):
219 * output_docbook.C (makeEnvironment): replace reference to CDATA
222 2004-10-30 José Matos <jamatos@lyx.org>
224 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
226 2004-10-30 José Matos <jamatos@lyx.org>
228 * output_docbook.C (makeParagraphs):
229 * paragraph.[Ch] (emptyTag): for docbook and company, if the
230 standard paragraph has only a given type of content drop the wrapper.
232 2004-10-29 José Matos <jamatos@lyx.org>
234 * output_docbook.C (makeEnvironment):
236 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
238 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
240 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
241 (cleanID): sanitize any id.
243 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
245 * buffer.C, lyxlex_pimpl.C:
246 * lyxlex_pimpl.C (setFile):
247 s/getExtFromContents/getFormatFromContents/
249 2004-10-28 José Matos <jamatos@lyx.org>
251 * output_docbook.C (makeEnvironment): move id to broadest possible
254 * sgml.C (openTag): apply substitution of <> for all attributes.
256 2004-10-28 José Matos <jamatos@lyx.org>
258 * buffer.C (makeLinuxDocFile, makeDocBookFile):
259 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
260 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
262 * sgml.[Ch]: new version for open and closeTag for paragraph and
263 for strings. Now they handle the ids of paragraphs.
265 2004-10-26 Angus Leeming <leeming@lyx.org>
267 * Makefile.am: add mover.[Ch].
269 * converter.C (convert, move): use the new Movers to move external
270 files to the temp directory.
272 * lyx_main.C (init): ensure that the global system_movers data
275 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
278 * mover.[Ch]: new files, defining a Mover as a utility to move an
279 external file between directories and, if necessary, manipulate this
280 file using a helper script.
282 2004-10-25 José Matos <jamatos@lyx.org>
284 * output_docbook.C (makeCommand): merge two if's that tested the
287 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * sgml.C (escapeString): fix warning in a better way
291 2004-10-25 José Matos <jamatos@lyx.org>
293 * sgml.C (escapeString): import the require boosts header file for
294 tie, and avoid a signed unsigned comparison.
296 2004-10-25 José Matos <jamatos@lyx.org>
298 * sgml.h: add #include <string>
300 2004-10-25 José Matos <jamatos@lyx.org>
302 * sgml.[Ch] (escapeString): new function to escape all the string.
304 2004-10-24 José Matos <jamatos@lyx.org>
306 * paragraph.[Ch] (getFirstWord): new function to get the first
307 word. Useful for description.
308 (simpleDocBookOnePar): remove depth argument, add another that
309 says where to start the paragraph.
311 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
312 use the new functions to fix cleanly the support for descriptions.
314 2004-10-24 José Matos <jamatos@lyx.org>
316 * buffer.C (makeLinuxDocFile, makeDocBookFile):
317 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
318 * output_linuxdoc.C (linuxdocParagraphs):
319 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
320 add buffer as argument.
322 2004-10-24 José Matos <jamatos@lyx.org>
324 * output_docbook.C (makeEnvironment, searchEnvironment): place
325 CDATA inside paragraphs and fix scope for listitems.
327 2004-10-24 José Matos <jamatos@lyx.org>
329 * output_docbook.C: remove using statement for stack.
331 2004-10-23 José Matos <jamatos@lyx.org>
333 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
334 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
335 docbook. The new scheme is recursive and makes use of iterators, the
336 same as latex export works.
337 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
338 directly with the paragraph contents. This code was moved up to
339 output_docbook.C (docbookParagraphs).
340 * sgml.C (openTag, closeTag): removed unneeded newlines.
341 (closeEnvTags) removed.
343 2004-10-23 André Pönitz <poenitz@gmx.net>
345 * undo.C (textUndoOrRedo):
346 * dociterator.C (asDocIterator): work around crash
348 * cursor.C (getStatus): replace ASSERT by more verbose error message
349 and manual correction of the problem. Should increase stability
350 while providing more sensible information.
352 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
354 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
356 * bufferlist.C (previous, next): new methods
359 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
361 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
363 * buffer.C (makeDocBookFile): add dsssl stylesheet control
364 entities to preamble.
366 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
368 * messages.C (Pimpl): strip off translation context information
370 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
373 the cursor is correct (bug 1694)
375 2004-10-13 José Matos <jamatos@lyx.org>
377 * output_docbook.C (docbookParagraphs): fix closing tags in the
380 2004-10-09 José Matos <jamatos@lyx.org>
382 * buffer.C: format up to 237.
383 * bufferparams.C (write): use tostr to convert booleans to strings.
385 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
387 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
389 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
391 * LaTeX.C: implement use of babel language in xindy.
393 2004-10-05 José Matos <jamatos@lyx.org>
395 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
396 Add new translators to help reading and writing the lyx file.
398 2004-10-05 José Matos <jamatos@lyx.org>
400 * ParagraphParameters.C (read):
401 * text.C (readParToken): replace nexToken by more appropriate lex
404 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
406 * LaTeX.C (runMakeIndex):
407 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
408 (usually 'makeindex') configurable.
410 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
411 with a variable rather than with a number.
413 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
415 * output_latex.C (TeXOnePar): make sure font setting is the first
416 thing that gets output (and the last at the end). Should fix bug
419 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
421 * pch.h: use proper signal include
423 * LaTeX.h: Use preferred calling of Boost.Signal
426 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
428 * pch.h: dont include <boost/function/function0.hpp>
430 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
432 * paragraph_pimpl.h: remove usage of ShareContainer
434 * paragraph_pimpl.C: remove initialization of ShareContainer.
436 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
440 * BufferView.C (putSelectionAt): change the semantics when
441 backwards == true: now, this just swaps cursor and anchor wrt the
444 * BufferView.h (putSelectionAt): add some documentation
446 * lyxfind.C (findBackwards): rewrite using while(). In particular,
447 make sure backwardChar is done at least once (to avoid getting
449 (findNextChange): use putSelectionAt in the forward direction
450 (operator()): use Paragraph::isWord
452 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
454 * Spacing.C (set): c_str fix
456 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
458 * lyx_cb.C (Reconfigure): quote the name of configure script in
459 case it contains spaces
461 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
465 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
466 (BOOST_LIBS): use top_buildir when looking for the file
468 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
470 * pch.h: do not use include boost/format.hpp, multiple symbols
471 will result (gcc bug)
474 2004-08-23 José Matos <jamatos@lyx.org>
476 * bufferparams.C (readToken): fix reading of the author field.
478 2004-08-20 José Matos <jamatos@lyx.org>
480 * lyxrc.C: remove support/translator.h inclusion since it is not used.
482 2004-08-20 José Matos <jamatos@lyx.org>
484 * lyxlex.[Ch] (findToken): remove function.
486 * ParagraphParameters.C (findToken):
487 * bufferparams.C (findToken): replace call for previous function
488 with local copy. This local function has one more argument, the
489 read string argument.
491 2004-08-16 José Matos <jamatos@lyx.org>
493 * ParagraphParameters.C (write):
494 * Spacing.C (writeFile):
495 * bufferparams.C (writeLaTeX):
496 * lyx_cb.C (Reconfigure):
497 * paragraph.C (write):
498 * tabular.C (write): remove unnecessary space at end of line.
501 2004-08-16 José Matos <jamatos@lyx.org>
503 * text.C (readParagraph): remove debug message.
505 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
507 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
510 * output_plaintext.C (asciiParagraph): set depth correctly
512 * outputparams.h: add member depth
514 * paragraph_funcs.C (ownerPar): remove.
516 * text2.C (setCounter): remove first_pit; comment out some
517 non-working code that uses ownerPar
519 * BufferView.C (getParentLanguage): remove. Not used anymore, and
522 2004-08-16 José Matos <jamatos@lyx.org>
524 * text.C (readParToken, readParagraph, read): report all unknown tokens.
525 For the same level of importance use the same chanel to report problems.
526 (read): add code to deal with \begin_body and \end_body.
529 2004-08-15 José Matos <jamatos@lyx.org>
531 * lyxlex.C (getString): fix comment, buffer::readBody is now
534 * tex-strings.C (string_papersize): Default -> default,
535 Custom -> custom, for consistency with other options.
537 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
541 * Makefile.am: support pch
543 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * text.C (readParToken): remove the static LyXFont variable and
546 pass it as a parameter instead. This fixes a nasty bug where an
547 inset will be inserted with a bad font in some situations
548 (readParagraph): adapt
550 * text2.C (setCounter): reduce number of calls to pars_[pit]
552 * text.C (singleWidth): add an assert, fix a test
554 * rowpainter.C (paintText): reduce number of calls to singleWidth
556 * paragraph.C (isHfill):
559 2004-08-14 André Pönitz <poenitz@gmx.net>
564 * lyxtext.h (several functions): use a Paragraph & argument
567 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
569 * metricsinfo.h: add a new field ltr_pos to PainterInfo
571 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
573 * text.C (singleWidth): remove useless test
575 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * tabular.h: remove bogus comments
579 * tabular.C (getDescentOfRow):
580 (isPartOfMultiColumn): add assertions
582 * lyxlength.C (inPixels): remove #warning
584 2004-08-14 André Pönitz <poenitz@gmx.net>
586 * paragraph.h: inline getChar()
588 * BufferView.h: remove unused declarations
590 2004-08-14 José Matos <jamatos@lyx.org>
592 * Buffer.[Ch] (readDocument): new name for old readBody.
593 * Buffer.C: new file format, new keywords: \begin_document,
594 \begin_header, \begin_body, \end_body.
596 * bufferparams.C (readToken): replace all calls to lex.nextToken
597 by lex.next(). Do the same to eatLine except where really needed.
599 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
600 line when writing to the lyx file.
602 * output_plaintext.C (asciiParagraph): fix Bibliography style
605 * text.C (read): fix end of file handling.
607 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
609 * MenuBackend.C (Menu::operator[]): new method to access
610 individual menu items
611 (Menu::hasFunc): new method. search for an item that corresponds
613 (MenuBackend::specialMenu): new method
614 (MenuBackend::expand): if a special menu has been set, skip
615 entries whose func() appears in this menu
617 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
619 * text3.C: use Debug::DEBUG a bit more
621 * text.C (leftMargin): try to simplify a tiny bit change var x to
622 l_margin. Dont output the wide margins always.
623 (rightMargin): no margin in inner texts
625 * rowpainter.h (nestMargin): new func
626 (changebarMargin): new func
627 (rightMargin): new func
629 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
633 * factory.C (createInset): modify setDrawFrame
635 * cursor.C: use Debug::DEBUG a bit more
637 2004-08-14 André Pönitz <poenitz@gmx.net>
640 * Makefile.am: new files to accomodate an 'external' (x,y)-position
641 cache for all insets in (at least partially) visible (top-level)
644 * BufferView_pimpl.C: reset external coord cache before every update.
645 This means the coord cache only contains valid entries.
647 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
650 * BufferView_pimpl.C (getInsetByCode): move function out of class
651 and change in to a template in anon namespace. Also fix to do what
654 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
657 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
659 (breakParagraph): rename par to par_offset and use a local
660 reference. Add code to keep the language over a rebreak.
661 (breakParagraphConservative): rename par to par_offset, use a
663 (mergeParagraph): ditto
665 (isFirstInSequence): ditto
666 (outerFont): rename pit to par_offset
668 * paragraph.C: ws change
673 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
675 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
678 * paragraph.C (simpleTeXOnePar): when we have a \item with
679 optional argument, enclose the argument with curly brackets (in
680 case it contains a closing square bracket)
684 * text3.C (checkInsetHit): constify
686 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
688 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
691 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
693 Fix toggling of collapsable insets with the mouse (bug 1558)
695 * lyxfunc.C (dispatch): adapt to LCursor changes
697 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
698 make sure that dispatch is not invoked twice
700 * cursor.C (needsUpdate): new method
701 (dispatch): return void
702 (result): new method, to access the DispatchResult of the cursor.
704 2004-08-13 José Matos <jamatos@lyx.org>
706 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
708 2004-08-13 André Pönitz <poenitz@gmx.net>
710 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
712 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
715 2004-08-12 André Pönitz <poenitz@gmx.net>
717 * text3.C: take out the 'cursor right' form insertInset and only
718 do it in those places when it is really needed. Fixes crash on
721 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
723 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
725 * BufferView_pimpl.C (setBuffer): initialize the current font of
726 the underlying LyXText
728 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
730 * kbsequence.C (print): use UI native formatting for menu
733 * text.C (insertChar): call Paragraph::insertChar with a font
736 * paragraph.C (insertInset, insertChar): the version that takes a
737 LyXFont argument is now a wrapper around the other one (the
738 opposite used to be true).
740 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
741 argument. Font setting is done in Paragraph now.
743 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
745 * outputparams.h: add new members intitle and lang.
747 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
748 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
750 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
752 * text3.C (dispatch): remove special handling of button 4 and 5,
753 it is now taken care of in the frontend code.
755 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
757 * Spacing.h: add <string> (STLPort compile fix)
759 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
761 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
763 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
765 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
768 * converter.C (showMessage): inherit from unary_function, make
771 * buffer.C (writeFile): initialize retval
773 * InsetList.h: rename private variable list to list_
774 * InsetList.[Ch]: adjust accordingly.
776 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
778 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
779 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
780 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
781 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
782 * ParagraphParameters.C, LaTeXFeatures.C: replace
783 "support/std_sstream.h" with <sstream>
785 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
787 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
788 * lyxsocket.C (LyXServerSocket): ditto
789 (serverCallback): ditto
791 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
793 * LaTeXFeatures.C: check release date when loading jurabib.
795 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
797 * lyxserver.C (startPipe): call register_socket_callback
798 (endPipe): call unregister_socket_callback
800 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
802 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
803 (LyXServerSocket): register the callback
804 (LyXServerSocket): unregister the callback
805 (fd): delete function
806 (serverCallback): improve error checking and setup the callbacks.
807 (dataCallback): change arg to fd.
808 (writeln): new func (copied fro the client socket) used for server
810 (LyXDataSocket): simplify
811 (~LyXDataSocket): close ann unregiser callback
812 (server): delete function
813 (fd): delete function
814 (readln): small changes, improve some std::string usage
815 (writeln): constify a bit
817 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
819 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
822 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
824 * BufferView_pimpl.C (setBuffer): set the layout combox value only
825 after it has been populated
827 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
829 * text2.C (insertInset): move cursor when inserting inset.
831 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
833 * kbmap.C (findbindings): a couple of new methods. returns a
834 container of kb_sequence objects. The real work is done by the
835 private recursive version
836 (printbindings): uses findbindings to print out a bracketed list
837 of bindings (renamed from findbinding).
839 * MenuBackend.C (binding): use kb_keymap::findbindings
841 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
843 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
845 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
847 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
849 * paragraph.C (isWord): return true on insets that report
852 * text.C (getWord): use Paragraph::isWord to decide what is in a
853 word and what is not; fix bug 1609.
855 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
857 * tex-strings.C: add "none" to string_paperpackages[], fixes
858 off-by-one-error in the paperpackage selection.
861 * tex-strings.[Ch]: char const * string[n]
862 -> char const * const string[]
864 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
866 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
867 command, return early.
869 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
871 * debug.h: add DEBUG to enum and fix size of ANY.
873 * debug.C: add support for Debug::DEBUG
874 (showTags): cast errorTags.level to unsigned int
876 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
877 (redoCurrentBuffer): ditto
878 (updateScrollbar): ditto
879 * cursor.C (dispatch): ditto
880 * text2.C (setLayout): ditto
882 (updateCounters): ditto
884 (deleteEmptyParagraphMechanism): ditto
886 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
888 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
889 annotations to cleanup the Makefile slightly.
891 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
893 * lyxrc.C: do not set user_email to a default value but use empty
894 instead. The entry used to be translated, which does not work
895 since at the point where lyxrc is constructed there is no
896 translation service available
898 * messages.C (getLocaleDir): remove and use directly
899 lyx_localedir() instead
901 2004-06-02 Angus Leeming <leeming@lyx.org>
903 Fix crash caused by dereferencing null pointer 'exportdata' in
904 OutputParams by creating a new ExportData variable on the heap,
905 storing it in a boost::shared_ptr.
906 The crash was triggered when generating an Instant Preview
907 of an external inset.
909 * Makefile.am: add outputparams.C
911 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
912 (c-tor): allocate memory to it.
914 * exporter.C (c-tor): associated changes.
916 2004-06-01 Angus Leeming <leeming@lyx.org>
918 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
919 contains data before calling isInset(0). (Bug 1513.)
921 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
923 * exporter.C (checkOverwrite): new method
924 * exporter.C (copyFile): new method
925 * exporter.C (Export): copy referenced files to the document dir
926 * exporter.[Ch]: new class ExportedFile
927 * exporter.[Ch]: new class ExportData. Contains currently the
928 names of referenced external files
929 * outputparams.h: add exportdata member.
931 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
933 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
936 2004-05-19 Angus Leeming <leeming@lyx.org>
941 * lyxfunc.C: small changes due to the introduction of namespace
942 lyx::frontend and the moving of namespace biblio to lyx::biblio.
944 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
946 * text3.C (dispatch): supress update when only moving the cursor
947 * cursor.C (selHandle): remove commented code
949 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
951 * paragraph.C (startTeXParParams): correct column count
952 * CutAndPaste.C (pasteSelection): remove const_cast
953 * output_docbook.C (docbookParagraphs): remove const_cast
954 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
955 const_cast and return ParagraphList::const_iterator
956 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
957 * output_plaintext.C (writeFileAscii): remove const_cast
958 * paragraph.[Ch] (simpleTeXOnePar): make const
959 * paragraph_funcs.C (outerPar): use const iterators
960 * paragraph_pimpl.C (validate): use const iterators
961 * text.C (setHeightOfRow): use const iterators
963 2004-05-17 Angus Leeming <leeming@lyx.org>
966 * LyXAction.C (init): new LFUN_INSET_REFRESH.
968 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
969 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
970 if the citation engine has changed.
972 2004-05-14 José Matos <jamatos@lyx.org>
974 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
975 if the textclass does not provide it. Have it different for sgml and
977 support the language of document.
978 * output_docbook.C (docbookParagraphs):
979 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
980 first anchor as the id of the paragraph, remove special case code.
981 * sgml.C (escapeChar): escape only < & >.
983 2004-05-14 Angus Leeming <leeming@lyx.org>
985 * bufferparams.h: move biblio::CiteEngine enum here to minimize
986 dependencies on src/frontends/controllers/biblio.h. Define a
987 CiteEngine_enum wrapper class to enable the enum to be forward
990 2004-05-12 Angus Leeming <leeming@lyx.org>
992 * buffer.C: up LYX_FORMAT to 234.
993 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
994 use_numerical_citations with a single biblio::CiteEngine cite_engine
996 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
998 2004-05-13 José Matos <jamatos@lyx.org>
1001 * converter.C (Converter, readFlags): add xml member.
1002 * outputparams.h: add XML flavor.
1003 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1005 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1007 * lyxfunc.C (dispatch):
1008 (getStatus): fix handling of LFUN_SEQUENCE
1010 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1012 * debug.C (showLevel): do not forget the end-of-line marker
1014 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1016 * kbmap.C (read): do not stop parsing a bind file when an error
1019 2004-04-29 Angus Leeming <leeming@lyx.org>
1024 * text2.C: wrap a bunch of #warning statements
1025 inside #ifdef WITH_WARNINGS blocks.
1027 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1029 * buffer.C: increment format to 233.
1031 2004-04-28 Angus Leeming <leeming@lyx.org>
1033 * BufferView_pimpl.C:
1036 s/updateToolbar()/updateToolbars()/
1037 s/Toolbar.h/Toolbars.h/
1039 2004-04-28 Angus Leeming <leeming@lyx.org>
1041 * BufferView.[Ch] (c-tor):
1042 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1043 No longer passes these data to the WorkArea generator.
1045 2004-04-28 Angus Leeming <leeming@lyx.org>
1047 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1049 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1051 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1053 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1055 * output_latex.C (TeXEnvironment): make sure that there is a line
1056 break before \end{foo} for the last paragraph of a document
1057 (TeXOnePar): if the paragraph is at the end of the document (or
1058 inset) and the language has to be reset, then make sure that the
1059 line break is _before_ the language command, not after (fixes bug
1060 1225); also make sure that the language reset command is the first
1061 thing after the paragraph (to ensure proper nesting of
1062 environments and thus fix bug 1404)
1064 2004-04-21 John Levon <levon@movementarian.org>
1067 * ToolbarBackend.C: make "name" be a programmatic name
1068 and a gui_name field.
1070 * lyxfunc.C: display the minibuffer on M-x
1072 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1074 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1077 2004-04-19 Angus Leeming <leeming@lyx.org>
1079 * BufferView_pimpl.C (setBuffer): changed preview interface.
1081 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1084 2004-04-19 John Levon <levon@movementarian.org>
1086 * BufferView_pimpl.C:
1087 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1089 2004-04-05 Angus Leeming <leeming@lyx.org>
1091 * text.C (redoParagraphs): add call to updateCounters(), thereby
1092 fixing the missing "Figure #:" label from the caption of a
1095 2004-04-13 Angus Leeming <leeming@lyx.org>
1097 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1098 cursor is clicked out of an inset.
1100 2004-04-13 Angus Leeming <leeming@lyx.org>
1102 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1103 than an InsetOld one.
1105 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1107 * format.[Ch]: add editor to Format
1108 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1109 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1111 2004-04-08 André Pönitz <poenitz@gmx.net>
1113 * metricsinfo.h: remove PainterInfo::width member
1115 2004-04-08 Angus Leeming <leeming@lyx.org>
1117 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1118 "\providecommand" rather than "\newcommand", thereby preventing
1119 clashes with packages that define "\boldsymbol" themselves.
1122 2004-04-08 Angus Leeming <leeming@lyx.org>
1124 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1125 thereby squashing an unnecessary warning.
1127 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1129 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1132 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1134 * BufferView.C (setCursor): call redoParagraph (some insets could
1136 (putSelectionAt): remove the 'double update' trick
1138 * BufferView_pimpl.C (fitCursor): call refreshPar
1139 (workAreaDispatch): remove an uneeded update call
1140 (dispatch): remove some manual update calls
1142 * cursor.[Ch]: remove cached_y_, updatePos
1143 (selHandle): set noUpdate when appropriate
1145 * lyxfunc.C (dispatch): track if we need an update
1147 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1149 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1150 (paintSelection): cheap optimization, do not call cursorX when not
1152 (paintPars): change signature
1155 (paintTextInset): adjust
1159 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1161 * lengthcommon.C: compilation fix: remove explicit array size from
1162 unit_name[] and friends
1164 2004-04-05 Angus Leeming <leeming@lyx.org>
1166 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1168 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1169 present only for the preferences dialog.
1170 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1172 2004-04-05 Angus Leeming <leeming@lyx.org>
1174 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1175 to enable the frontends to export changes to lyxrc correctly.
1177 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1179 2004-04-07 André Pönitz <poenitz@gmx.net>
1181 * cursor.[Ch] (selClear, adjust): remove math
1183 * cursor_slice.C: more agressive assert
1186 * BufferView_pimpl.C: rework mouse event dispatch
1193 2004-04-05 André Pönitz <poenitz@gmx.net>
1195 * cursor.[Ch] (valign, halign...): remove unneeded functions
1197 2004-04-05 Angus Leeming <leeming@lyx.org>
1199 * lyxlength.[Ch] (unit_name et al.): const-correct.
1201 2004-04-05 Angus Leeming <leeming@lyx.org>
1203 * BufferView_pimpl.C:
1212 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1214 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1216 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1218 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1220 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1221 * BufferView_pimpl.[Ch] (getStatus)
1222 * BufferView.[Ch] (getStatus): add
1223 * lyxfunc.C (getStatus): move lfuns handled in
1224 BufferView::dispatch to te function above
1225 * Cursor.C (setSelection): set selection() = true
1227 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1229 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1231 2004-03-31 Angus Leeming <leeming@lyx.org>
1233 * lyxfunc.C (dispatch): Fall through to the generic
1234 Dialogs::show("preamble").
1236 2004-03-31 Angus Leeming <leeming@lyx.org>
1238 * lyxfunc.C (dispatch): Fall through to the generic
1239 Dialogs::show("spellchecker").
1241 2004-03-31 Angus Leeming <leeming@lyx.org>
1243 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1246 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1251 * insetiterator.[Ch]:
1256 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1258 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1260 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1261 insets where we are putting the cursor.
1263 2004-03-31 Angus Leeming <leeming@lyx.org>
1266 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1268 * lyxrc.[Ch] (read, write): overloaded member functions taking
1269 a std::[io]stream arguments.
1271 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1273 2004-03-31 Angus Leeming <leeming@lyx.org>
1275 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1276 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1278 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1279 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1281 2004-03-31 Angus Leeming <leeming@lyx.org>
1283 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1284 the LFUN_ALL_INSETS_TOGGLE code.
1286 2004-03-30 Angus Leeming <leeming@lyx.org>
1288 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1289 has died. Fall through to the generic Dialogs::show("document").
1291 2004-03-30 Angus Leeming <leeming@lyx.org>
1294 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1295 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1297 * lyxfunc.C (getStatus, dispatch): define the actions for these
1298 lfuns. Little more than a cut and pste job from ControlDocument.C
1300 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1302 2004-03-30 Angus Leeming <leeming@lyx.org>
1305 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1306 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1308 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1309 open/closed state of ollapsable insets. Usage:
1311 all-inset-toggle <state> <name>, where
1312 <state> == "open" || "closed" || "toggle" and
1313 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1315 * lyxtext.h, text2.C (toggleInset): removed.
1317 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1318 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1319 now passes LFUN_INSET_TOGGLE to the found inset.
1321 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1322 is now invoked as "all-insets-toggle toggle branch".
1324 2004-03-30 Angus Leeming <leeming@lyx.org>
1328 * pariterator.[Ch]: added/corrected header blurb.
1330 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1332 * dociterator.[Ch]: add an inset_ member
1333 (backwardPos): implemented
1334 (backwardPos, forwardPos): use inset_ when the stack is empty.
1335 (doc_iterator_begin, doc_iterator_end): implemented
1336 * pariterator.[Ch]: adjust, add begin, end
1337 * insetiterator.[Ch]: adjust, add begin, end
1341 * BufferView_pimpl.C:
1342 * CutAndPaste.C: adjust
1344 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1346 * buffer.C: increment file format to 232.
1347 * LaTeXFeatures.C: add bibtopic package.
1348 * bufferparams.[Ch]: param \use_bibtopic.
1350 * lyxrc.[Ch]: add lyxrc bibtex_command
1351 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1353 * buffer.C: increment file format to 231.
1355 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1357 * dociterator.C: implement forwardPar
1358 * iterators.[Ch]: remove, replaced by
1359 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1361 * BufferView_pimpl.C:
1364 * bufferview_funcs.C:
1370 * Makefile.am: adjust
1372 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1374 * CutAndPaste.C (pasteSelection): fix 2 crashes
1375 (eraseSelection): fix a crash
1376 * paragraph_funcs.C: remove a warning
1378 2004-03-28 Angus Leeming <leeming@lyx.org>
1381 * LyXAction.C (init): new LFUN_PRINT.
1383 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1385 2004-03-27 Angus Leeming <leeming@lyx.org>
1388 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1390 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1392 2004-03-27 Angus Leeming <leeming@lyx.org>
1394 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1395 insetlist always contains non-null pointers to insets.
1397 2004-03-26 Angus Leeming <leeming@lyx.org>
1399 * src/BufferView_pimpl.C:
1400 * src/CutAndPaste.C:
1403 * src/output_plaintext.C:
1404 * src/outputparams.h:
1405 * src/paragraph_funcs.C:
1409 * src/frontends/controllers/ControlErrorList.C:
1410 * src/frontends/gtk/FileDialogPrivate.C:
1411 * src/frontends/gtk/GPainter.C:
1412 * src/frontends/gtk/GToolbar.C:
1413 * src/frontends/qt2/QRef.C:
1414 * src/mathed/math_scriptinset.C: squash compiler warnings.
1416 2004-03-26 Angus Leeming <leeming@lyx.org>
1418 * ispell.C (LaunchIspell::start):
1419 * lyx_cb.C (AutoSaveBuffer::start):
1420 invoke run(DontWait) rather than runNonBlocking().
1422 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1424 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1426 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1428 * kbsequence.C (print): adjust
1430 * kbmap.C (printKeySym): rename and change signature
1431 (printKey): use LyXKeySym::print()
1433 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1435 * undo.C: add using std::advance to compile for stlport
1437 2004-03-24 Angus Leeming <leeming@lyx.org>
1439 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1440 it leads to a crash when no buffer is present.
1442 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1443 Martin Vermeer <martin.vermeer@hut.fi>
1445 * lyxfunc.C (dispatch):
1446 * bufferparams.C (readToken): use the new LColor::setColor
1448 * LColor.[Ch] (setColor): new version that takes two strings as
1449 argument and creates a new color entry if necessary
1451 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1453 * buffer.C (makeLaTeXFile): if the main latex file that is
1454 processed is usually a subdocument of some master, then pretend
1455 for a while that it is actually the master
1457 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1459 * buffer.C (getLabelList):
1460 (getBibkeyList): use getMasterBuffer()
1461 (getMasterBuffer): new method. Returns the main document in the
1462 case where one is using included documents.
1464 2004-03-25 André Pönitz <poenitz@gmx.net>
1468 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1470 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1472 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1473 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1475 * ParameterStruct.h: merge with ParagraphParameters
1477 * lyxtext.h: remove LyXText::parOffset() and getPar()
1479 * text3.C: Remove all 'manual' update calls. We do now one per user
1480 interaction which is completely sufficient.
1484 * BufferView_pimpl.C:
1485 * FontIterator.[Ch]:
1487 * ParagraphParameters.[Ch]:
1492 * cursor_slice.[Ch]:
1499 * output_docbook.[Ch]:
1500 * output_latex.[Ch]:
1501 * output_linuxdoc.[Ch]:
1502 * output_plaintext.[Ch]:
1504 * paragraph_funcs.[Ch]:
1505 * paragraph_pimpl.[Ch]:
1513 * frontends/controllers/ControlDocument.C:
1514 * frontends/controllers/ControlErrorList.C:
1515 * frontends/controllers/ControlSpellchecker.C:
1518 * insets/insetbase.h:
1519 * insets/insetbibitem.C:
1520 * insets/insetbox.C:
1521 * insets/insetbranch.C:
1522 * insets/insetcaption.C:
1523 * insets/insetcharstyle.C:
1524 * insets/insetcharstyle.h:
1525 * insets/insetcollapsable.C:
1526 * insets/insetcollapsable.h:
1527 * insets/insetert.C:
1528 * insets/insetfloat.C:
1529 * insets/insetfoot.C:
1530 * insets/insetmarginal.C:
1531 * insets/insetnote.C:
1532 * insets/insetoptarg.C:
1533 * insets/insettabular.C:
1534 * insets/insettext.C:
1535 * insets/insettext.h:
1536 * insets/insetwrap.C:
1537 * mathed/math_mboxinset.C:
1538 * mathed/math_nestinset.C:
1539 * mathed/math_scriptinset.C:
1540 * mathed/math_scriptinset.h:
1543 2004-03-24 Angus Leeming <leeming@lyx.org>
1545 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1546 deal with any child processes that have finished but are waiting to
1547 communicate this fact to the rest of LyX.
1549 2004-03-24 Angus Leeming <leeming@lyx.org>
1551 64-bit compile fixes.
1553 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1554 (c-tor): pass lyx::pos_types rather than ints.
1556 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1559 * text.C (Delete): compile fix.
1560 (getPar): ensure that function declaration is the same as that in
1563 2004-03-23 Angus Leeming <leeming@lyx.org>
1565 * ispell.C (LaunchIspell):
1566 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1567 a boost::shred_ptr rather than a std::auto_ptr.
1569 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1571 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1572 handle LFUN_FILE_INSERT_*
1574 * lyxrc.C (setDefaults, getDescription, output, read):
1575 * lyxrc.h: remove ps_command
1577 2004-03-22 Angus Leeming <leeming@lyx.org>
1579 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1580 Ensure that error_handler is processed once only and that all data
1581 is saved before attempting to output any warning messages.
1583 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1585 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1587 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1589 2004-03-19 André Pönitz <poenitz@gmx.net>
1591 * cursor.[Ch] (reset): take main text inset as argument
1593 * BufferView: adjust
1594 * BufferView_pimpl.C: adjust
1596 * paragraph.[Ch]: fix completely broken operator=()
1598 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1600 * LColor.C (getFromLyXName): make sure that the color name is used
1603 2004-03-17 Angus Leeming <leeming@lyx.org>
1606 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1608 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1609 dialog and to kill a forked process.
1611 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1613 * text2.C (setCursorFromCoordinates): fix font problem
1615 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1617 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1618 bogus "rebuild cursor" code
1620 2004-03-11 André Pönitz <poenitz@gmx.net>
1622 * buffer.[Ch]: use InsetText instead of LyXText as container for
1625 * dociterator.[Ch]: drop the BufferView * member which is not needed
1626 anymore after the change to buffer.C
1628 * paragraph_funcs.C:
1632 * BufferView_pimpl.[Ch]:
1634 * cursor_slice.[Ch]: adjust
1636 * text3.C: fix bug in mathDispatch
1638 2004-03-08 André Pönitz <poenitz@gmx.net>
1640 * undo.[Ch]: use 'StableDocumentIterator' as base for
1643 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1646 * bufferparams.[Ch]: add jurabib support and param.
1648 * LaTeX.C: add FIXME/comment.
1650 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1652 * buffer.C: increment file format to 230.
1654 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1656 * cursor.C (dispatch): avoid infinite loops
1658 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1660 * rowpainter.C (paintSelection): fix x coordinates
1662 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1664 * text.C (rowBreakPoint): fix breaking before displayed insets
1666 2004-03-01 André Pönitz <poenitz@gmx.net>
1668 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1670 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1674 * BufferView_pimpl.C:
1682 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1688 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1689 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1691 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1693 * Bidi.[Ch] (computeTables): const correctness
1694 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1695 fill_hfill, fill_label_hfill and x from Row
1696 * lyxtext.h: prepareToPrint returns a RowMetrics
1697 * rowPainter.C: adjust
1698 * text.C (prepareToPrint): use width, not textWidth. adjust
1699 (redoParagraphInternal, cursorX): adjust
1700 * text2.C (getColumnNearX): adjust
1701 (init): put a default value to the top LyXText::width
1703 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1705 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1707 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1709 * lyxtext.h: add FontIterator class
1711 * text.C (FontIterator, operator*, operator->, operator++): add
1712 (rowBreakPoint, setRowWidth): adjust (fixing a
1715 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1717 * BufferView_pimpl.C (workAreaDispatch): allow also
1718 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1720 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1722 * text.C (rowBreakPoint): fix a bug showing with very large insets
1724 2004-02-25 André Pönitz <poenitz@gmx.net>
1727 * cursor.[Ch]: move some mathed specific code to mathed
1729 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1731 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1732 use_tempdir in preferences
1733 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1735 * lyx_main.C: ensure that tempdir is valid
1736 * lyxlex.h: correct typo
1737 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1738 * paragraph.[Ch] (isMultiLingual): make const
1739 * cursor.[Ch] (openable): make const
1741 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1743 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1745 2004-02-20 André Pönitz <poenitz@gmx.net>
1747 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1749 * cursor.[Ch]: prepare for localized getStatus()
1755 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1757 2004-02-20 André Pönitz <poenitz@gmx.net>
1759 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1761 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1763 * text2.C (setCursorFromCoordinates): switch to absolute coords
1765 (cursorDown): adjust
1766 * text3.C (dispatch): adjust
1768 2004-02-16 André Pönitz <poenitz@gmx.net>
1770 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1773 * cursor_slice.[Ch]: remove unneeded acessor function
1775 * lyxtext.h: rename rtl() to isRTL()
1783 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1785 * rowpainter.C (paintSelection): coord fix
1787 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1789 * Spacing.C: compile fix
1791 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1793 * cursor.C (dispatch): restore current_ before returning
1795 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1797 * text2.C (cursorUp, cursorDown): fix coords
1800 2004-02-12 André Pönitz <poenitz@gmx.net>
1805 * text3.C: add LCursor & parameter to most cursor movement functions
1806 remove usage of LyXText::cursorRow() and cursorPar()
1808 * cursor.[Ch]: add textRow() needed members
1811 * BufferView_pimpl.C:
1814 * BufferView_pimpl.C: adjust
1816 2004-02-11 André Pönitz <poenitz@gmx.net>
1820 * BufferView_pimpl.C: shift undo/redo handling
1822 * cursor.[Ch]: fix mathed crash
1825 * lyxtext.h: move selectionAsText to LCursor
1833 * rowpainter.C: fix excessive drawing
1835 2004-02-06 André Pönitz <poenitz@gmx.net>
1838 * BufferView_pimpl.[Ch]:
1839 * text3.C: move some text specific LFUN handling
1841 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1843 * text3.C (checkInsetHit): adjust coords
1844 * text2.C (getColumnNearX): adjust coords
1845 (edit): adjust coords
1846 * text.C (getRowNearY): add two asserts
1848 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1851 * format.C: add using std::distance to compile on gcc 2.95/stlport
1853 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1855 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1857 2004-02-04 André Pönitz <poenitz@gmx.net>
1859 * BufferView.[Ch] (insertInset):
1860 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1865 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1867 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1868 on the default clause of the switch
1869 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1870 wasn't catched by LCursor::dispatch
1872 2004-02-03 André Pönitz <poenitz@gmx.net>
1875 * cursor.[Ch]: some additional asserts
1877 * undo.[Ch]: remove LyXText dependency in interface
1881 * lyxtext.h (firstPar, lastPar): remove dead functions
1886 * paragraph.[Ch]: adjust
1888 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1890 * lyxfind.C (find): fix argument order in call to ::find
1892 2004-02-02 André Pönitz <poenitz@gmx.net>
1894 * cursor.[Ch]: remove direct access to anchor
1896 * text.C: remove findText() hack
1898 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1900 * iterators.[Ch] (lockPath): remove in favour of...
1901 * BufferView.[Ch] (setCursor): this addition
1902 * BufferView.C (putSelectionAt): adjust
1903 * undo.C (performUndoOrRedo): adjust
1904 * lyxfunc.C (dispatch): adjust
1906 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1908 * iterators.C (lockPath): add a missing slice
1909 * undo.C (performUndoOrRedo): remove redundant positioning code
1911 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1913 * vc-backend.C (scanMaster): ";" -> ';'
1915 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1917 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1918 std::binary_function
1920 * lyxtextclass.C (compare_name): rename to...
1921 (LayoutNamesEqual): ...this
1923 * lyxlex_pimpl.C (compare_tags): inherit from
1924 std::binary_function, put back into anon namespace
1926 * lyxfind.C (MatchString): inherig from std::binary_function
1927 (findChange): use empty() istead of !size()
1929 * format.C (FormatNamesEqual): new functor
1936 * converter.C (compare_Converter): rename to...
1937 (ConverterEqual): ...this, and fixup a bit.
1938 (getConverter): use it, and make function const
1939 (getNumber): use it, and make function const
1943 * bufferlist.C: add using boost::bind
1945 * MenuBackend.C (MenuNamesEqual): new functor
1946 (hasMenu): use it, and make function const
1947 (hasSubmenu): use nested bind to get rid of compare_memfun.
1949 2004-01-30 André Pönitz <poenitz@gmx.net>
1951 * BufferView_pimpl.C:
1954 * cursor_slice.[Ch]:
1957 * paragraph_funcs.C:
1958 * paragraph_funcs.h:
1962 * text3.C: move some of the edit(x,y) handling to the insets
1963 some coordinate changes.
1965 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1967 * text.C: add using statements for std::advance and std::distance
1969 * paragraph.C: add using statement for std::distance
1971 * lyxfind.C: add using statement for std::advance
1973 * cursor.C (region): remove std:: from swap
1974 (openable): use nucleus in stead of operator->
1976 * BufferView.C: add using statements for std::distance and std::swap
1978 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1980 * iterators.C: Remove the pimple, move the needed structures to
1981 the header file. Create accessor for the positions stack.
1982 (asPosIterator): remove function
1984 * PosIterator.C (PosIterator): move constructors to top of file
1985 (PosIterator): reimplement the constructor taking a ParIterator in
1987 (setFrom): new function
1988 (operator!=): inline it
1990 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1992 * lyxfind.C (replaceAll): use std::advance
1994 * iterators.h: inherit from std::iterator.
1996 * PosIterator.C (advance, distance): remove
1997 * PosIterator.h: interit from std::iterator.
1999 2004-01-26 André Pönitz <poenitz@gmx.net>
2002 * BufferView_pimpl.[Ch]:
2006 * bufferview_funcs.C:
2016 * output_linuxdoc.C:
2017 * output_plaintext.C:
2019 * paragraph_funcs.[Ch]:
2020 * paragraph_pimpl.[Ch]:
2026 * text3.C: more IU: dumps most of the rest of the mathcursor
2027 implementation into cursor.[Ch]; "globalize" a bit of it.
2029 2004-01-25 Angus Leeming <leeming@lyx.org>
2031 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2033 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2035 * LaTeXFeatures.h: add nice_ and nice() const
2036 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2038 2004-01-20 André Pönitz <poenitz@gmx.net>
2041 * BufferView_pimpl.C:
2043 * bufferview_funcs.C:
2045 * cursor_slice.[Ch]:
2056 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2057 LCursor and mathcursor parts to LCursor and InsetBase.
2059 2004-01-15 André Pönitz <poenitz@gmx.net>
2061 * cursor_slice.[Ch]: add a few covienience functions
2063 * funcrequest.[Ch]: remove BufferView * member
2065 * BufferView_pimpl.C:
2072 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2074 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2076 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2077 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2079 2004-01-13 André Pönitz <poenitz@gmx.net>
2082 * lyxtext.h: hide cursor and selection anchor behind accessor function
2085 * BufferView_pimpl.[Ch]:
2087 * bufferview_funcs.C:
2097 * cursor_slice.[Ch]: some integer type changes for inset unification
2099 * lyxcursor.[hC]: remove, it's CursorSlice now.
2102 * BufferView_pimpl.[Ch]:
2103 * bufferview_funcs.C:
2109 * textcursor.[Ch]: adjust
2111 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2113 * text2.C (undoSpan): add and use
2114 * text.C (breakParagraph): use undoSpan (fix bug 578)
2117 2004-01-08 Angus Leeming <leeming@lyx.org>
2119 * BufferView_pimpl.C (MenuInsertLyXFile):
2120 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2121 * lyxfunc.C (menuNew, open, doImport):
2122 FileFilterList change to the FileDialog open and save functions.
2124 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2126 * ShareContainer.h: make isEqual and isUnique adaptable
2128 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2130 2004-01-07 Angus Leeming <leeming@lyx.org>
2133 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2135 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2137 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2138 functions replacing find, replace and replaceAll.
2140 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2141 LFUN_WORDFIND(FORWARD|BACKWARD).
2143 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2145 * text.C (breakParagraph): remove an outdated #warning
2147 2004-01-07 André Pönitz <poenitz@gmx.net>
2149 * lyxfind.C: somewhat clearer logic
2151 * text.C: prevent crash in cursorX on unitialized row cache
2153 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2155 * lyxcursor.[Ch] (operator>): add
2156 * textcursor.C (selStart, selEnd): use std::min and std::max
2158 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2160 * Chktex.C: include boost/format.hpp
2162 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2164 * InsetList.C: replace functor MathcIt with adaptable functor
2166 (insetIterator): modify accordingly
2168 * BranchList.h: move the BranchNamesEqual functor here from...
2169 * BranchList.C: ... to here
2171 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2173 (add): replace a finding loop with std::find_if.
2175 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2177 * output_docbook.C: moving LatexParam functionality into
2180 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2182 * buffer.C: increment format to 229.
2184 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2187 * lyx_sty.[Ch]: remove minipageindent_def
2193 * text3.C: remove LFUN_INSET_MINIPAGE
2195 2003-12-28 Angus Leeming <leeming@lyx.org>
2197 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2199 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2201 * text2.C (setParagraph): fix off-by-one crash
2203 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2205 * output_docbook.C: header stuff for AGU
2207 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2209 * text2.C (redoCursor): remove
2212 * BufferView_pimpl.C: remove calls to redoCursor and
2213 setCursor(cursor.par(), cursor.pos()) all around
2215 2003-12-15 Angus Leeming <leeming@lyx.org>
2217 * buffer.C: up the format to 228.
2219 2003-12-15 André Pönitz <poenitz@gmx.net>
2221 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2226 * BufferView_pimpl.C:
2235 2003-12-15 Angus Leeming <leeming@lyx.org>
2237 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2238 than getFromGUIName to manipulate the color.
2240 2003-12-14 Angus Leeming <leeming@lyx.org>
2242 * BranchList.[Ch]: minimize the API.
2243 (Branch::getBranch, getColor): now return a 'const &'.
2244 (Branch::setSelected) now returns a bool set to true if the
2245 selection status changes.
2246 (BranchList::clear, size, getColor, setColor, setSelected,
2247 allBranches, allSelected, separator): removed.
2248 (BranchList::find): new functions, returning the Branch with
2250 (BranchList::add, remove): return a bool indicating that
2251 the operation was successful.
2253 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2254 new InsetBranch::isBranchSlected member function.
2256 * LColor.[Ch]: mimimize the API.
2257 (fill): renamed as addColor and made private.
2258 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2259 versions of these functions taking a string arg have been removed.
2261 * bufferparams.C (readToken):
2262 * lyxfunc.C (dispatch):
2263 * lyxrc.C (read): changes due to the altered BranchList and
2266 * factory.C (createInset, readInset): changes due to altered
2269 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2272 * lyxfunc.C: remove insetminipage. "minipage-insert"
2273 now produces a frameless minipage box inset.
2275 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2277 * textcursor.[Ch] (selStart,selEnd): add new methods
2278 remove selection::start, end, use LyXCursor::operator<
2279 * lyxcursor.[Ch] (operator<): add
2280 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2281 * BufferView.[Ch] (unsetXSel): add
2282 * text2.C (clearSelection): use unsetXSel,adjust
2285 * rowpainter.C: adjust
2286 * bufferview_funcs.C (put_selection_at): adjust
2288 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2290 * BufferView_pimpl.C: small coord. correction
2292 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2294 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2295 dragging over the splash screen.
2297 2003-12-11 Angus Leeming <leeming@lyx.org>
2299 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2300 as it is now handled in LyXText::dispatch.
2302 * text3.C (doInsertInset): remove a level of nesting.
2304 2003-12-11 Angus Leeming <leeming@lyx.org>
2306 * factory.C (createInset): changes due to the changed interface to
2307 InsetCommandMailer::string2params.
2309 2003-12-10 Angus Leeming <leeming@lyx.org>
2311 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2312 'dialog-show-new-inset <inset name>'
2314 2003-12-10 Angus Leeming <leeming@lyx.org>
2316 * buffer.C: up the format to 227.
2318 * factory.C: the box inset is now identified simply by 'Box'.
2320 2003-12-10 Angus Leeming <leeming@lyx.org>
2322 * buffer.C: up the format to 226.
2324 * factory.C: the note inset is now identified simply by 'Note'.
2326 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2328 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2329 when a pit is enough. Standarize a couple of loops.
2331 2003-12-05 Angus Leeming <leeming@lyx.org>
2333 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2334 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2335 data to the re-worked "log" dialog.
2337 2003-12-03 André Pönitz <poenitz@gmx.net>
2343 * paragraph_funcs.C:
2345 * text2.C: use Inset::getText instead of Inset::getParagraph
2347 2003-12-03 André Pönitz <poenitz@gmx.net>
2351 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2352 InsetText::read() as LyXText::read()
2354 2003-12-02 Angus Leeming <leeming@lyx.org>
2356 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2357 type. Add a comment in the implementation that the function uses
2358 the stream's bad() function rather than fail() as the std::streams
2361 2003-12-02 André Pönitz <poenitz@gmx.net>
2363 * lyxlex.[Ch]: make interface more similar to std::stream
2365 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2367 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2369 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2371 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2373 * vspace.[Ch]: remove VSpace::NONE
2375 2003-12-01 André Pönitz <poenitz@gmx.net>
2378 * lyxtext.h: move ParagraphList member to LyXText
2379 rename LyXText::ownerParagraphs to LyXText::paragraph
2382 * bufferview_funcs.C:
2392 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2394 * undo.C: fix cursor positioning
2396 2003-12-01 John Levon <levon@movementarian.org>
2398 * BufferView_pimpl.C: fix a crash on exit with
2401 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2403 * BranchList.C: fix setSelected() method.
2405 2003-11-28 André Pönitz <poenitz@gmx.net>
2407 * ParagraphParameters.[Ch]:
2408 * ParameterStruct.h: remove space above/below from Paragraph to
2411 * BufferView_pimpl.C:
2417 * paragraph_funcs.C:
2423 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2425 * factory.C: Syntax change for CharStyles
2427 2003-11-28 André Pönitz <poenitz@gmx.net>
2432 * buffer.[Ch]: move LyXText member
2434 2003-11-28 André Pönitz <poenitz@gmx.net>
2436 * BufferView.[Ch]: make LyXText * text a private member
2438 * BufferView_pimpl.C:
2449 * output_plaintext.C: cleanup
2451 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2454 * lyxtextclass.[Ch]: parametrize SGML document header
2456 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2459 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2462 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2464 * text2.C (setFont): rework using PosIterator (no more recursive)
2465 (setCharFont): no more needed
2466 (setLayout): no more selection cursors fiddling (done by redoCursor)
2467 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2468 destroy remaining ones)
2470 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2472 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2474 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2477 * text3.C: adjust + re-allow multi par depth changes
2478 * textcursor.C: simplify a bit
2480 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2486 * src/output_docbook.C:
2487 * src/output_latex.C:
2492 * src/text2.C: Introducing a number of tags parametrizing various
2493 XML formats that we may want to support
2495 2003-11-25 André Pönitz <poenitz@gmx.net>
2497 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2499 * lyxtext.h (leftMargin/rightMargin): simplify interface
2506 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2508 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2509 master file to any child files. Fixes bug 546.
2511 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2513 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2515 2003-11-24 André Pönitz <poenitz@gmx.net>
2517 * rowpainter.C: simplification
2519 * text2.C (updateCounters): remove call to redoParagraph on
2520 changed labels as this is far too expensive.
2522 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2524 * converter.C (convert): fix a crash: this function gets
2525 called with buffer == 0 from importer code.
2527 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2529 * text3.C (cursorPrevious): make sure that we do not compare
2530 iterators form different containers.
2533 * rowpainter.C (paintSelection): make sure that we do not compare
2534 iterators from different containers.
2536 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2537 iterators from different ParagraphList containers.
2540 * text2.C (LyXText): change order of initialization slightly
2541 (operator=): new function. copy all variables except cache_par_
2542 (moveUp): make sure that we do not compare iterators from
2543 different ParagraphList constainers.
2546 * text.C (firstPar): new function
2547 (lastPar): new function
2548 (endPar): new function
2550 * lyxtext.h: move things around and group public functions, public
2551 variables, private functions, private variables
2553 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2555 * factory.C: change call to InsetERT constructor to avoid
2556 additional invocation of method status
2557 * text2.C (toggleInset): remove redundant update() call
2558 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2559 instead of a Bufferview pointer
2561 2003-11-21 André Pönitz <poenitz@gmx.net>
2563 * rowpainter.C: simplification
2565 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2567 * text3.C (dispatch): make possible to extend a word/row selection
2570 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2572 * lyxtext.h: x0_,y0_ -> xo_,yo_
2573 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2574 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2575 * rowpainter.C (paintRows): paint full paragraphs
2577 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2579 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2582 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2584 * lyxtext.h: add x0_, y0_
2585 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2586 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2588 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2590 * text2.C (setCursorIntern): move the x_target update here *
2591 * text3.C: change some bv() to true/false in calls to
2592 cursorUp/Down/Right/Left
2593 * cursor.C: use helper function.
2595 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2597 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2598 * paragraph_funcs.[Ch]: correct comment
2599 * rowpainter.C: do not paint selections away from bv->cursor()
2600 Fix a long standing selection painting bug.
2601 * text3.C: generalize mouse-selection code to LyXTexts other that
2603 * textcursor.C: do not use y coords if we can use par offsets
2605 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2607 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2608 cursor position after e.g. inset insert)
2610 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2612 * lyxfind.C (replace): adjust to locking removal + some
2615 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2617 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2620 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2623 * output_docbook.C: XML sanitation: new layout
2624 parameters InnerTag and CommandDepth
2626 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2628 * BufferView_pimpl.C:
2630 * text3.C: Fix the insertion and modification of button-style
2633 2003-11-13 André Pönitz <poenitz@gmx.net>
2635 * InsetList.[Ch]: remove deleteLyXText
2637 * paragraph.[Ch]: cache beginOfBody position
2642 * text3.C: remove superfluous update() calls
2646 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2648 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2649 * BufferView.C (fitLockedInsetCursor): remove
2650 * cursor.[Ch] (getDim): add
2651 * text.C (getRowNearY): add faster version
2652 * text3.C: remove some update calls
2654 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2666 * text3.C: The Character Style /XML short element patch.
2668 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2671 * factory.C: Small step to solving 'unable to insert some insets'
2674 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2676 * cursor.[Ch] (updatePos): new function for updating the y
2677 position of the tip inset
2678 * bufferview_funcs.C (put_selection_at):
2679 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2681 2003-11-11 André Pönitz <poenitz@gmx.net>
2683 * text.C: remove big comment on invalid Paragraph pointers as it is
2686 2003-11-11 André Pönitz <poenitz@gmx.net>
2688 * text_funcs.[Ch]: merge with ...
2696 * Makefile.am: remove text_funcs.[Ch]
2698 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2700 * cursor.C (getPos): return absolute cached y coord
2702 * BufferView_pimpl.C (fitCursor): new simplistic code
2703 (workAreaDispatch): add a fitCursor call
2705 2003-11-10 André Pönitz <poenitz@gmx.net>
2708 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2710 2003-11-10 André Pönitz <poenitz@gmx.net>
2712 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2713 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2714 indicate that the cursor needs to leave an inset
2716 * lyxtext.h: remove inset locking
2718 * cursor.[Ch]: re-implement functionality provided by inset locking
2721 * BufferView_pimpl.[Ch]:
2723 * bufferview_funcs.[Ch]:
2735 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2737 * PosIterator.[Ch]: replace the stack with a vector, add inset
2739 * iterators.[C]: adjust
2741 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2743 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2745 * paragraph_funcs.C (readParToken): put the correct id in the
2746 error item, not the id of the top paragraph
2748 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2750 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2751 * bufferview_funcs.C (put_selection_at): use the above
2753 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2755 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2757 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2759 * output_linuxdoc.h:
2760 * output_plaintext.h:
2762 * output_docbook.h: add #include statements
2764 2003-11-05 José Matos <jamatos@lyx.org>
2766 * output_docbook.[Ch]:
2767 * output_latex.[Ch]:
2768 * output_linuxdoc.[Ch]:
2769 * output_plaintext.[Ch]: New files for output formats.
2770 * output.[Ch]: New file for helper functions.
2773 * paragraph_funcs.[Ch]: output functions moved to new files.
2775 * outputparams.h: rename of latexrunparams.h
2783 * paragraph_funcs.[Ch]:
2784 * paragraph_pimpl.[Ch]:
2785 * tabular.[Ch]: rename ascii to plaintext
2786 and LatexRunParams to OutputParams.
2788 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2790 * iterators.[Ch] (text): require bv argument
2791 * undo.C (recordUndo):
2792 * lyxfunc.C (dispatch):
2793 * bufferview_funcs.C (put_selection_at): adjust
2795 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2797 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2799 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2801 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2804 2003-11-04 André Pönitz <poenitz@gmx.net>
2806 * cursor.[Ch]: restructure
2809 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2811 * iterators.[Ch] (asCursor): remove
2813 * lfuns.h: remove LFUN_INSET_EDIT
2819 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2821 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2823 * lyxfind.[Ch]: complete overhaul
2824 * BufferView_pimpl.C:
2826 * paragraph.[Ch] (insert): add
2828 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2832 * text.C: remove dead spellcheck code
2834 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2836 * dispatchresult.h: add a val setter
2838 * cursor.C (dispatch): use a tempvar for data_[i]
2840 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2842 * PosIterator.[Ch]: compile fix
2844 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2846 * text.C (cursorPar): deactivate the cursor cache
2848 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2850 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2852 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2854 * text3.C (dispatch): adjust for new DisptchResult semantics.
2856 * lyxfunc.C (dispatch): handle update when return from
2857 Cursor::dispatch, adjust for new DispatchResult semantics.
2859 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2860 DispatchResult(true) mean to not update. Add class functions for
2861 setting dispatched and update, as well as reading.
2863 * cursor.C (dispatch): don't handle update here
2865 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2867 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2868 * trans_mgr.C: adjust
2870 * paragraph_funcs.C (readParToken): exception safety
2872 * lyxvc.h: store the vcs pointer in a scoped_ptr
2875 * lyxsocket.C (serverCallback): exception safety
2877 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2879 * ispell.C (clone): make it return a auto_ptr
2881 * factory.C (createInset): exception safety
2882 (readInset): exception safety
2884 * bufferlist.C (newBuffer): exception safety
2886 * Thesaurus.C (Thesaurus): use initialization for aik_
2888 * MenuBackend.C (expandToc): exception safety.
2890 2003-11-03 André Pönitz <poenitz@gmx.net>
2894 * bufferview_funcs.C: remove getInsetFromId()
2897 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2903 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2905 * PosIterator.C (distance, advance): new
2906 * bufferview_funcs.[Ch] (put_selection_at): new
2907 * iterators.[Ch] (lockPath): new
2909 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2911 * iterators.[Ch] (asPosIterator): added
2912 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2913 * PosIterator.[Ch]: added
2915 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2919 * cursor.C (dispatch):
2920 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2922 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2923 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2924 contructor, add a class function dispatched. Remove operator>=
2926 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2928 * debug.C: only use the default constructor for debugstream
2931 * main.C (main): include debug.h and setup the lyxerr streambuf
2934 2003-10-31 José Matos <jamatos@lyx.org>
2936 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2938 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2939 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2940 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2941 * paragraph_pimpl.C (simpleTeXSpecialC):
2942 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2943 add LatexRunParams argument.
2945 * exporter.C (Export): change call accordingly.
2947 * latexrunparams.h: add new member to take care of the other backends.
2948 2003-10-30 José Matos <jamatos@lyx.org>
2950 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2951 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2952 factorise code for paragraph output.
2954 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2957 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2959 * text3.C (dispatch):
2960 * lyxfunc.C (dispatch):
2961 * cursor.C (dispatch):
2962 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2964 * dispatchresult.h: make the dispatch_result_t ctor explicit
2966 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2969 * buffer.C: small refactoring of docbook stuff
2971 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2973 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2976 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2978 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2979 operator dispatch_result_t, and operators for == != and >=
2981 * cursor.C (dispatch): adjust for operator dispatch_result_t
2982 removal. comment out call to update
2984 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2986 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2994 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2997 * dispatchresult.h: new file, DispatchResult broken out of
3000 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3002 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3004 * text.C (rowBreakPoint): put a hack inside #if 0
3006 2003-10-28 André Pönitz <poenitz@gmx.net>
3010 * paragraph_funcs.C:
3013 * text2.C: general cleanup (lots of small stuff)
3015 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3017 * text2.C (cursorEnd): simple fix to the "end key goes to one
3018 before the end on last row" bug
3020 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3022 * text.C (backspace): fix the "zombie characters"
3024 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3026 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3028 2003-10-27 André Pönitz <poenitz@gmx.net>
3030 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3032 * factory.C: handle new InsetPagebreak, InsetLine
3034 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3035 and move handling into new InsetPagebreak, InsetLine
3037 * BufferView_pimpl.C:
3039 * ParagraphParameters.C:
3040 * ParameterStruct.h:
3045 * paragraph_funcs.C:
3046 * paragraph_pimpl.C:
3052 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3055 * lyxrow_funcs.[Ch]:
3061 * text3.C: remove lastPos uses in favour of Row::endpos
3063 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3065 * undo.C (performUndoOrRedo): fix two crashes by setting a
3066 cursor by hand and reordering some calls. Use bv->lockInset instead
3067 of inset->edit because the latter loses cursor information
3069 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3071 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3073 (rowBreakPoint): fix width. change point to point + 1.
3074 Add a missing check.
3076 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3079 * lyxfunc.C: fix (at least partly) the problems
3080 with the Nav menu and headers inside branch insets
3083 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3085 * paragraph.C (getChar): add strong asserts
3087 * lyxrow_funcs.C (lastPos): remove hideous hack
3089 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3090 (fill): adjust to that (avoid an infinite loop)
3092 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3094 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3096 2003-10-23 André Pönitz <poenitz@gmx.net>
3098 * RowList_fwd.h: change list<> to vector<> to gain speed
3099 after suggestion from Alfredo
3101 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3103 * lyxtext.h: move the bidi stuff from here...
3106 * Bidi.[Ch]: ... to here
3108 2003-10-23 André Pönitz <poenitz@gmx.net>
3111 * text.C (isLastRow, isFirstRow): new functions
3113 * paragraph.h: new width cache member
3115 * rowpainter.C: replace RowList::iterator with Row & where possible
3117 * lyxfunc.C: replace several view()->text with a single call
3119 * toc.C: fix 'unused' warning
3121 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3123 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3124 when woring with stream::pos_type
3125 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3127 2003-10-22 André Pönitz <poenitz@gmx.net>
3130 * text.C: use Row & instead of RowList::iterator
3132 * lyxrow.h: rename end() to endpos()
3138 2003-10-22 Angus Leeming <leeming@lyx.org>
3140 * buffer.[Ch] (fully_loaded): new member function, returning true
3141 only when the file has been loaded fully.
3142 Used to prevent the premature generation of previews and by the
3143 citation inset to prevent computation of the natbib-style label.
3145 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3146 templates are all set up.
3148 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3150 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3152 * text.C: fixed an "oops" in the "is a bit silly"
3155 2003-10-21 André Pönitz <poenitz@gmx.net>
3157 * FuncStatus.[Ch]: small stuff, whitespace
3159 * lyxfont.[Ch]: operator<<() for debug reasons
3163 * lyxtext.h: whitespace, spelling
3165 * paragraph.C: naming of variables
3168 * text2.C: small stuff
3171 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3173 * text.C: (1) finish off the inset display() work;
3174 (2) fix the "is a bit silly" bug (accessing char
3177 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3179 * text.C: re-introduce display() for insets, fixing the
3180 various bugs (stretch of line above, math inset
3183 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3185 * text.C (rightMargin): remove spurious semicolon
3187 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3190 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3192 * text3.C: fix one crash due to wrong cursor def
3194 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3196 * vc-backend.C (scanMaster): make the regex static
3198 * LaTeX.C (scanAuxFile): make the regexs static
3200 * text3.C (doInsertInset, dispatch, dispatch):
3201 * text2.C (cursorUp, cursorDown):
3202 * text.C (selectNextWordToSpellcheck):
3203 * BufferView_pimpl.C (dispatch):
3204 * lyxfunc.C (dispatch): localDispatch -> dispatch
3206 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3208 * lyxsocket.C: include <cerrno>
3210 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3212 * lyxfunc.C (dispatch): remove textcache stuff
3214 * bufferlist.C (release): remove textcache stuff
3217 * TextCache.C: delete file
3218 * TextCache.h: delete file
3220 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3222 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3223 delete of the bv_->text.
3224 (resizeCurrentBuffer): remove texcache stuff
3225 (workAreaResize): ditto
3227 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3229 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3232 2003-10-16 André Pönitz <poenitz@gmx.net>
3239 * text3.C: speed up by storing y positions per paragraph plus per-row
3240 offset instead of having a 'full' y position in the row.
3242 2003-10-15 André Pönitz <poenitz@gmx.net>
3246 * undo.[Ch]: make undo aware of inner insets
3248 2003-10-14 Angus Leeming <leeming@lyx.org>
3250 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3251 static member functions LyX::ref() and LyX::cref.
3252 (lastfiles): new accessor functions for the new lastfiles_ member var.
3253 (addLyXView, views_): add a new LyXView to the list of views_.
3254 (updateInset): loop over all LyXViews to call their own updateInset
3255 member function, returning a pointer to the Buffer owning the inset.
3257 * BufferView_pimpl.C (loadLyXFile):
3258 * MenuBackend.C (expandLastfiles):
3259 * bufferlist.C (MenuWrite, QuitLyX):
3260 lastfiles is no longer a global variable.
3261 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3263 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3264 static function. Access through LyX::cref().emergencyCleanup().
3266 2003-10-14 André Pönitz <poenitz@gmx.net>
3268 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3270 * undo.[Ch]: restoring part of 'undo in insets'
3273 * undo_funcs.[Ch]: merge with undo.[Ch]
3275 * tabular.C: small cleansing stuff
3277 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3279 * paragraph_funcs.C (readParToken): report unknown insets as error
3280 boxes. Use the outer paragraph as location (also for unknown
3283 * factory.C (readInset): do not abort on reading an unknown inset.
3284 Eat it and return 0.
3286 2003-10-13 Angus Leeming <leeming@lyx.org>
3288 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3290 * lyxrc.C: displayTranslator is now a function,
3291 declared in GraphicsTypes.h.
3293 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3295 * format.C: new placeholder $$a to pass the socket address.
3297 * bufferlist.[Ch]: new function getBufferFromTmp.
3299 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3300 files in the temporary dir.
3302 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3304 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3306 * Makefile.am: add lyxsocket.[Ch].
3308 * lyx_main.C (error_handler): handle SIGPIPE.
3310 2003-10-13 André Pönitz <poenitz@gmx.net>
3312 * BufferView_pimpl.C:
3317 * undo_funcs.[Ch]: use paroffset_type instead of
3318 ParagraphList::iterators to prevent multiple conversion
3319 (and get a more robust interface)
3321 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3323 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3325 * text3.C (dispatch): ditto
3327 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3329 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3330 move the onlyfile, use onlyfile instead of foundfile in a couple
3333 * DepTable.C (update): flush the error stream a bit more
3335 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3337 * lyxserver.C (callback): adjust
3339 * lyxfunc.C (getStatus): add a missing brace in commented code
3340 (ensureBufferClean): reindent
3341 (dispatch): delete version taking a string
3343 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3345 * LaTeX.C (deplog): move found file handlig from here...
3346 (handleFoundFile): .. to new function here.
3347 (deplog): make sure to discover several files mentioned on the
3350 2003-10-10 André Pönitz <poenitz@gmx.net>
3357 * text3.C: fix some of the tabular crashes
3359 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3361 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3363 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3365 2003-10-09 André Pönitz <poenitz@gmx.net>
3367 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3370 * BufferView_pimpl.C:
3371 * bufferview_funcs.C:
3382 * undo_funcs.C: adjust
3384 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3386 * text2.C (incrementItemDepth): new function, use a backtracking
3387 algorithm to discover the correct item depth.
3388 (resetEnumCounterIfNeeded): new function, use a backtracking
3389 algorithm to discover if counter reset is needed.
3390 (setCounter): use them. Simplify a bit. Add different labels for
3391 different item depths for itemize.
3393 * paragraph.C (Paragraph): remove initialization of enumdepth
3396 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3397 enumerate and itemize. Change the type of itemdepth to signed char.
3399 2003-10-08 André Pönitz <poenitz@gmx.net>
3401 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3406 * tabular.[Ch]: fix crash after 'row-insert'
3408 2003-10-08 Angus Leeming <leeming@lyx.org>
3410 Fix doxygen warnings.
3412 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3413 Remove CutAndPaste:: prefix from header file declaration.
3415 * LColor.h (fill): remove LColor:: prefix from declaration.
3417 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3418 use lyx::depth_type rather than Paragraph::depth_type so that
3419 header file and .C file match.
3421 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3423 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3424 * aspell.C: \file aspell_local.C -> \file aspell.C
3425 * gettext.C: \file gettext.C -> \file src/gettext.C
3426 * gettext.h: \file gettext.h -> \file src/gettext.h
3427 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3428 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3429 * text.C: \file text.C -> \file src/text.C
3431 * toc.C: move comment so that doxygen is not confused.
3433 2003-10-07 Angus Leeming <leeming@lyx.org>
3435 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3437 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3440 * aspell_local.h: add forgotten std::string's.
3442 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3449 * text3.C: The Box patch. Fancybox support, minipage, parbox
3451 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3457 * ParagraphParameters.h:
3467 * lyxtextclasslist.h:
3470 * paragraph_pimpl.C:
3471 * textcursor.h: add <string> and other small fixes to make Lars'
3472 std::string patch compile with STLport.
3474 2003-10-06 Angus Leeming <leeming@lyx.org>
3476 * LColor.h: Add missing #include <string>.
3478 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * All most all file in all subdirs: Make <string> be the prefered
3481 way of getting to std::string, add using declarations.
3483 2003-10-06 André Pönitz <poenitz@gmx.net>
3485 * metricsinfo.C: initialize LyXFont before changing attribute.
3486 (fixes the 'math in \emph is upright' bug)
3488 2003-10-06 André Pönitz <poenitz@gmx.net>
3490 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3492 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3495 * paragraph_pimpl.C: Small fixes to build using STLport
3497 2003-10-02 André Pönitz <poenitz@gmx.net>
3500 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3502 2003-10-01 André Pönitz <poenitz@gmx.net>
3504 * factory.C: assert early
3506 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3508 * lyx_main.C: remove the global debug object
3510 * debug.h: adjust for new debugstream
3512 * debug.C: adjust for new debugstream and keep the global debug
3515 2003-09-22 Angus Leeming <leeming@lyx.org>
3517 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3518 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3519 an incomplete class LyXFont.
3521 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3523 * factory.C: bug fix in branches
3525 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3527 * lyxfunc.C (processKeySym): adjust
3529 (dispatch): change arg name from ev to func, adjust
3530 (sendDispatchMessage): ditto
3532 * lyx_main.C (defaultKeyBindings): adjust keybindings
3533 (deadKeyBindings): ditto
3535 * kbsequence.C (addkey): return a FuncRequest
3537 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3539 * kbmap.C (bind): take a FuncRequest as arg, adjust
3542 (defkey): change to take a FuncRequest as arg, adjust
3543 (findbinding): take a FuncRequest as arg, adjust.
3545 * funcrequest.h (operator=): added
3547 * funcrequest.C (FuncRequest): default kb_action changed from
3548 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3550 * buffer.C (dispatch): simplify
3551 (dispatch): adjust to take a FuncRequest as arg, adjust
3553 * boost.C (assertion_failed): change assertion message slightly
3555 * ToolbarBackend.C (read): simplify
3557 * MenuBackend.C (binding): adjust call to findbinding, add a
3558 message if no binding is found.
3560 (expandToc): correct by adding a empty FuncRequest
3562 * LyXAction.C: include <boost/assert.hpp>
3563 (isPseudoAction): delete function
3564 (LookupFunc): change name to...
3565 (lookupFunc): this. change return type to FuncRequest.
3566 (getActionName): take kb_action as arg, simplify
3567 (funcHasFlag): add an assert, simplify.
3569 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3571 * toc.C (action): return a FuncRequest, simplify
3573 * lyxfunc.C (processKeySym): adjust
3574 (getStatus): delete version that takes an int.
3576 (dispatch): delete version that takes action as int
3578 (sendDispatchMessage): simplify and adjust
3580 * funcrequest.C (getArg): take unsigned int as arg
3582 * ToolbarBackend.C (read): adjust
3583 (add): delete version that takes func as a string.
3584 (getIton): take a FuncRequest as arg
3586 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3589 * MenuBackend.C (MenuItem): add a new construct that only takes a
3590 Kind, simplify the constructor use for submenus.
3592 (expandLastfiles): adjust
3593 (expandDocuments): adjust
3594 (expandFormats): adjust
3595 (expandFloatListInsert): adjust
3596 (expandFloatInsert): adjust
3597 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3599 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3600 Remove class variables lyx_pseudo_map and lyx_arg_map
3602 * LyXAction.C (searchActionArg): delete function
3603 (getPseudoAction): delete function
3604 (retrieveActionArg): delete function
3605 (LookupFunc): make it return kb_action, simplify.
3606 (getActionName): simplify
3608 * factory.C (createInset): fix new bug
3610 2003-09-19 Angus Leeming <leeming@lyx.org>
3612 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3613 masterFilename_ parameter in the include inset.
3615 * factory.C (createInset): changes due to the changes to InsetInclude.
3617 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3619 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3621 2003-09-18 Angus Leeming <leeming@lyx.org>
3624 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3625 Inset::fillWithBibKeys.
3626 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3628 2003-09-18 Angus Leeming <leeming@lyx.org>
3630 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3632 (ctor): pass and store a 'Buffer const &'
3633 (buffer): new member function.
3635 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3636 '*this' to the LaTeXFeatures ctor.
3638 2003-09-18 Angus Leeming <leeming@lyx.org>
3644 * text.C: rename EnumLColor as LColor_color.
3646 2003-09-18 Angus Leeming <leeming@lyx.org>
3648 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3649 remove #include "insets/insetbase.h" from cursor.h.
3651 2003-09-18 Angus Leeming <leeming@lyx.org>
3653 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3654 InsetOld_code to remove #include "inset.h".
3656 * iterators.C: add #include "insets/inset.h"
3658 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3660 * BufferView.C: remove more locking stuff that apparently doesn't
3661 do anything sensible.
3663 2003-09-16 André Pönitz <poenitz@gmx.net>
3666 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3669 2003-09-16 Angus Leeming <leeming@lyx.org>
3671 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3673 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3676 * paragraph.h: remove #include "lyxfont.h". Forward declare
3679 2003-09-16 Angus Leeming <leeming@lyx.org>
3681 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3682 of support/textutils.h.
3683 (isWord): move the contents of support/textutils.h's IsWordChar here.
3689 * text2.C: add #include "paragraph.h".
3692 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3694 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3700 * LaTeX.C: use namespace alias for lyx::support::os
3702 2003-09-16 Angus Leeming <leeming@lyx.org>
3705 * bufferview_funcs.C:
3708 * paragraph_pimpl.C:
3710 * text.C: add #include "LColor.h".
3712 2003-09-16 Angus Leeming <leeming@lyx.org>
3714 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3715 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3717 Store the FontBits::color variable as an int rather than as an
3718 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3721 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3722 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3723 string calls together.
3725 * lyxrc.C: add #include "LColor.h".
3727 2003-09-15 Angus Leeming <leeming@lyx.org>
3729 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3732 2003-09-15 Angus Leeming <leeming@lyx.org>
3734 * LColor.h: add an EnumLColor wrapper for LColor::color.
3736 * lyxfont.[Ch] (color, setColor, realColor):
3737 * lyxtext.h, text.C (backgroundColor):
3738 pass EnumLColor args to/from the functions, rather than LColor::color
3742 * lyxtext.h: forward declare EnumLColor.
3744 * lyx_main.C: add #include "LColor.h".
3746 2003-09-15 Angus Leeming <leeming@lyx.org>
3748 * .cvsignore: add lyx-gtk.
3750 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3755 * ParagraphParameters.C
3759 * bufferview_funcs.C
3769 * vc-backend.C: remove usage of STRCONV
3771 2003-09-15 Angus Leeming <leeming@lyx.org>
3773 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3774 explicitly define the color passed to the painter.
3776 2003-09-15 Angus Leeming <leeming@lyx.org>
3778 * bufferparams.C (BufferParams): reorder member initializers to avoid
3781 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3783 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3784 * text.C (updateRowPositions): remove an unusual nop
3786 2003-09-12 André Pönitz <poenitz@gmx.net>
3788 * BufferView_pimpl.C:
3797 * Counters.[Ch]: finish the 'automatic counters' job
3799 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3801 * aspell.C: include <boost/assert.cpp> (compile fix)
3803 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3805 * boost.C (assertion_failed): use lyx::support::abort instead of
3808 2003-09-10 Angus Leeming <leeming@lyx.org>
3810 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3811 with their _fwd progeny.
3813 2003-09-09 Angus Leeming <leeming@lyx.org>
3815 134 files throughtout the source tree: replace 'using namespace abc;'
3816 directives with the appropriate 'using abc::xyz;' declarations.
3818 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3820 * boost.C (emergencyCleanup): moved here from LAssert.c
3821 (assertion_failed): new function, called by BOOST_ASSERT
3823 * several files: change Assert to BOOST_ASSERT
3825 2003-09-09 Angus Leeming <leeming@lyx.org>
3827 * buffer.[Ch]: Add an Impl class and move Buffer's member
3828 variables into it. As a result move several header files out of
3831 Add header files to lots of .C files all over the tree as a result.
3833 2003-09-09 Angus Leeming <leeming@lyx.org>
3835 * buffer.[Ch]: make Buffer's member variables private. Add
3838 Lots of changes all over the tree as a result.
3840 2003-09-08 Angus Leeming <leeming@lyx.org>
3842 * graph.C: #include <config.h>.
3844 2003-09-08 Angus Leeming <leeming@lyx.org>
3848 * BufferView_pimpl.C:
3877 * toc.C: remove redundant using directives.
3879 2003-09-07 Angus Leeming <leeming@lyx.org>
3881 * LaTeXFeatures.h: remove #include "support/types.h".
3882 * ToolbarBackend.h: remove #include <algorithm>.
3883 * changes.h: remove #include <ctime>.
3884 * debug.h: remove #include <iosfwd>.
3885 * graph.h: remove #include "support/std_string.h".
3886 * lyx_main.h: remove #include <csignal>.
3887 * lyxlex_pimpl.h: remove #include <fstream>.
3888 * sgml.h: remove #include <algorithm>, <utility>.
3889 * toc.h: remove #include "support/std_ostream.h".
3890 Add #include <iosfwd>.
3892 2003-09-07 Angus Leeming <leeming@lyx.org>
3894 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3896 * converter.h: forward declare LatexRunParams.
3897 * encoding.h: remove #include "lyxrc.h".
3898 * lyxtext.h: remove #include "LColor.h".
3899 * lyxtextclass.h: remove #include "support/types.h".
3900 * trans.h: remove #include "tex-accent.h".
3901 * trans_mgr.h: remove #include "tex-accent.h".
3902 * insets/inset.h: remove #include "support/types.h", <vector>.
3903 * insets/insetcollapsable.h: remove #include "LColor.h".
3904 * insets/insetinclude.h: remove #include "dimension.h".
3905 * insets/insetlatexaccent.h: remove #include "dimension.h".
3906 * insets/insetoptarg.h:: remove #include "insettext.h".
3907 * insets/insettext.h: remove #include "dimension.h",
3908 <boost/shared_ptr.hpp>
3910 * insets/renderers.h: add #include "dimension.h".
3911 * insets/updatableinset.h: add #include "support/types.h".
3913 * many .C files: Associated changes.
3915 2003-09-06 Angus Leeming <leeming@lyx.org>
3917 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3918 one, inside testInvariant.
3920 * PrinterParams.C: new file.
3921 * PrinterParams.[Ch]: move the function bodies out of line.
3923 2003-09-06 Angus Leeming <leeming@lyx.org>
3925 * ParagraphParameters.h: forward declare ParameterStruct rather than
3926 including its header file.
3927 (depth): moved out-of-line.
3929 2003-09-06 Angus Leeming <leeming@lyx.org>
3931 * BufferView_pimpl.h:
3934 * lyxfunc.h: forward declare LyXKeySym rather than
3935 #include "frontends/LyXKeySym.h".
3937 * BufferView_pimpl.C:
3940 * lyxfunc.C: associated changes.
3942 2003-09-06 Angus Leeming <leeming@lyx.org>
3944 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3945 As a result, can remove the #include "insets/inset.h" from BufferView.h
3947 2003-09-06 Angus Leeming <leeming@lyx.org>
3949 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3950 As a result, can remove the #include "insets/inset.h" from BufferView.h
3952 2003-09-06 Angus Leeming <leeming@lyx.org>
3958 * bufferview_funcs.C:
3959 * BufferView_pimpl.C:
3964 * ParagraphParameters.C:
3969 * frontends/controllers/ControlDocument.C:
3970 * insets/insetcaption.C: rearrange the #includes into some sort of
3973 * buffer.h: remove #includes ErrorList.h, undo.h
3975 2003-09-06 Angus Leeming <leeming@lyx.org>
3977 * support/types.h: add a 'depth_type' typedef, used to store the
3978 nesting depth of a paragraph.
3981 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3982 defining explicitly.
3985 * paragraph_funcs.h:
3986 * ParagraphParameters.h:
3987 * sgml.h: use lyx::depth_type rather than Paragraph or
3988 ParameterStruct's depth_type.
3991 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3994 * BufferView_pimpl.C:
3996 * ParagraphParameters.C:
3999 * bufferview_funcs.C:
4006 * frontends/LyXView.C:
4007 * frontends/controllers/ControlDocument.C:
4008 * frontends/controllers/ControlErrorList.C:
4009 * insets/insetbibitem.C:
4010 * insets/insetbranch.C:
4011 * insets/insetcaption.C:
4012 * insets/insetcollapsable.C:
4013 * insets/insetenv.C:
4014 * insets/insetert.C:
4015 * insets/insetfloat.C:
4016 * insets/insetfoot.C:
4017 * insets/insetfootlike.C:
4018 * insets/insetnewline.C:
4019 * insets/insetquotes.C:
4020 * insets/insettabular.C:
4021 * insets/insettext.C:
4022 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4024 * frontends/controllers/ControlChanges.C: #include "changes.h".
4026 2003-09-06 Angus Leeming <leeming@lyx.org>
4028 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4029 than #including paragraph.h.
4032 * RowList.h: deleted. Superfluous.
4042 * insets/insettext.h: use ParagraphList_fwd.h rather than
4045 * paragraph.h: don't forward declare ParagraphList.
4048 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4049 rather than ParagraphList.h. paragraph.h is still needed for the
4050 Paragraph::depth_type parameters.
4052 * textcursor.h: enable it to compile stand-alone in light of the
4055 * bufferview_funcs.C:
4067 * frontends/controllers/ControlParagraph.C:
4068 * frontends/controllers/ControlTabular.C:
4069 * insets/insetmarginal.C:
4070 * insets/insetminipage.C:
4071 * insets/insetnote.C:
4072 * insets/insetoptarg.C: add header files needed to compile again.
4074 2003-09-06 Angus Leeming <leeming@lyx.org>
4076 * RowList_fwd.h: new file, forward-declaring Row rather than
4077 #including lyxrow.h.
4082 * insets/insettext.h: use it instead of RowList.h
4084 * bufferview_funcs.C:
4091 * text3.C: #include "RowList.h".
4093 2003-09-05 Angus Leeming <leeming@lyx.org>
4095 * factory.C (createInset):
4096 * vspace.C (c-tor): replace sscanf call with an istringstream.
4097 * ispell.C: re-add missing HP/UX headers.
4098 * lyxserver.C: re-add missing os2 headers.
4100 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4109 * text3.C: re-add missing system headers, needed for 2.95.2.
4111 2003-09-05 Angus Leeming <leeming@lyx.org>
4113 Changes most place everywhere due to the removal of using directives
4114 from support/std_sstream.h.
4116 2003-09-05 Angus Leeming <leeming@lyx.org>
4118 Replace LString.h with support/std_string.h,
4119 Lsstream.h with support/std_sstream.h,
4120 support/LIstream.h with support/std_istream.h,
4121 support/LOstream.h with support/std_ostream.h.
4123 Changes resulting throughout the tree.
4125 2003-09-05 Angus Leeming <leeming@lyx.org>
4127 * sgml.h: ensure that the header file can be compiled stand-alone.
4128 * *.C: strip out redundant #includes. (320 in total.)
4130 2003-09-04 Angus Leeming <leeming@lyx.org>
4132 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4133 here (from getPackages).
4135 * debug.[Ch]: add a new EXTERNAL tag.
4137 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4139 * text2.C (cursorEnd): simplify
4141 (getColumnNearX): adjust
4143 * text.C (computeBidiTables): adjust
4146 * rowpainter.C (paintChars): adjust
4147 (paintSelection): adjust
4148 (paintChangeBar): adjust
4151 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4153 (numberOfSeparators): adjust
4155 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4161 * text3.C: Restricts the mouse click functionality
4162 of insets like bibtex, include, toc and floatlist to the visible
4163 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4164 up the dialogs. Cursor has to be in front of the inset (i.e.
4165 start of row) for this to function.
4167 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4169 * bufferview_funcs.C (currentState): output row information
4171 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4173 * bufferview_funcs.C (currentState): output paragraph position
4175 2003-09-04 Angus Leeming <leeming@lyx.org>
4177 * FloatList.h: move out #include "Floating.h".
4178 * LaTeX.h: move out #include "DepTable.h".
4179 * LyXAction.h: move out #include "funcrequest.h".
4180 * buffer.h: move out #include "author.h", "iterators.h".
4181 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4182 * lyx_main.h: move out #include "errorlist.h".
4183 * lyxfunc.h: move out #include "FuncStatus.h".
4184 * lyxtext: move out #include "lyxcursor.h".
4185 * paragraph_pimpl.h: move out #include "counters.h".
4187 2003-09-03 Angus Leeming <leeming@lyx.org>
4189 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4190 preamble_snippets list, enabling us to add snippets to the preamble
4191 only if the snippet was not there already.
4193 2003-09-04 Angus Leeming <leeming@lyx.org>
4195 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4197 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4202 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4204 * BranchList.C: point fix, earlier forgotten
4206 2003-09-02 Angus Leeming <leeming@lyx.org>
4208 * box.C (contains): renamed from 'contained' after a fantastic
4211 2003-09-02 John Levon <levon@movementarian.org>
4217 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4219 2003-09-02 John Levon <levon@movementarian.org>
4221 * text2.C: simplification of cursorEnd(), including partial
4224 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4226 * buffer.C (readFile): add a space
4228 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4230 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4232 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4234 * buffer.C (readFile): new function, take a filename and a
4235 ParagraphList::iterator
4237 (readFile): adjust, make it private. don't use setStream, make
4238 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4239 always contain the filename.
4241 * BufferView.C (insertLyXFile): simplify and make it work for
4244 2003-08-30 John Levon <levon@movementarian.org>
4246 * Makefile.am: fix dist (from Kayvan)
4248 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4250 * most files: change to use const Buffer refs
4252 2003-08-27 André Pönitz <poenitz@gmx.net>
4254 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4255 on top of ownerPar().
4257 2003-08-27 John Levon <levon@movementarian.org>
4259 * funcrequest.C: properly initialise POD members
4261 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4263 * lyxtext.h (top_y): move top_y from here
4268 * BufferView_pimpl.[Ch]: to here
4269 * frontends/screen.C:
4270 * insets/insettabular.C:
4271 * insets/insettext.C: adjust
4272 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4274 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4277 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4279 2003-08-26 André Pönitz <poenitz@gmx.net>
4281 * paragraph_func.[Ch] (outerPar): new function
4284 * paragraph_funcs.C:
4285 * paragraph_funcs.h:
4286 * paragraph_pimpl.C:
4287 * text2.C: remove Inset::par_owner
4289 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4294 * text2.C: eliminates the needFullRow/display() stuff
4295 altogether, putting the logic in metrics/draw in the insets.
4297 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4299 * text2.C (redoParagraphInternal, redoParagraphs):
4300 * text.C (redoParagraph): add a call to updateRowPositions at the
4301 end of each 'metrics-like' call. Remove all others.
4302 (getRow): remove the 'y-computing' version.
4303 (getRowNearY): do not compute nor return the real y. Solve the
4304 'y < 0' problem and simplify.
4306 2003-08-22 Angus Leeming <leeming@lyx.org>
4308 * *.[Ch]: clean-up of licence and author blurbs.
4309 Also move config.h out of a few .h files and into a few .C files.
4311 2003-08-22 André Pönitz <poenitz@gmx.net>
4313 * lyxrow.[Ch]: add x_ and *fill_ members
4318 * text2.C: adjust/remove prepareToPrint() calls
4320 2003-08-22 André Pönitz <poenitz@gmx.net>
4322 * lyxrow.[Ch]: add end_ member
4324 * lyxrow_funcs.C: use LyXRow::end_
4326 * lyxtext.h (singleWidth): add LyXFont parameter
4329 * text2.C: adjust LyXText::singleWidth() calls
4331 * text.C (redoParagraph): simplify row breaking logic
4334 2003-08-19 André Pönitz <poenitz@gmx.net>
4336 * funcrequest.C: initialize button_ member
4339 * rowpainter.[Ch]: interface consolidation
4341 2003-08-18 André Pönitz <poenitz@gmx.net>
4344 * BufferView_pimpl.C:
4346 * paragraph_funcs.C:
4348 * text3.C: remove LyXScreen::draw() and fitCursor calls
4350 * BranchList.h: remove spurious semicolons
4352 * MenuBackend.C: fix branchlist related crash
4354 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4362 * bufferparams.[Ch]:
4366 * text3.C: implements the 'branch inset'
4367 idea. This allows the output of various versions of a document
4368 from a single source version, selectively outputing or suppressing
4369 output of parts of the text.
4370 This implementation contains a 'branch list editor' in a separate
4371 tab of the document settings dialog. Branches are user definable
4372 and have a "display colour" to distinguish them on-screen.
4374 ColorHandler was somewhat cleaned up.
4375 (1) make possible a dynamically growing LColor list by allowing
4376 the graphic context cache to grow along (vector);
4377 (2) eliminate an IMHO unnecessary step in colour allocation.
4379 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4381 * BufferView_pimpl.C: compile fix
4383 2003-08-15 André Pönitz <poenitz@gmx.net>
4385 * rowpainter.C: remove extra metrics calls
4387 * lyxtext.h: merge the two constructors into a single one,
4388 pass reference to owner's par list
4390 * BufferView_pimpl.C:
4394 2003-08-15 André Pönitz <poenitz@gmx.net>
4396 * lyxrow_funcs.[Ch]:
4399 * paragraph_funcs.C:
4404 * text_funcs.C: split LyXText::rowlist_ into individual
4405 Paragraph::rows_ chunks
4408 * BufferView_pimpl.[Ch]:
4411 * text3.C: remove toggleSelection()
4413 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4415 * bufferlist.C: beautify two alerts (shorter text of buttons)
4416 * buffer.C: Remove redundant ' ' from message
4418 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4419 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4420 rename VALIGN_CENTER to VALIGN_MIDDLE
4422 2003-08-11 André Pönitz <poenitz@gmx.net>
4424 * lyxtext.h (getPar):
4425 * text.C: new function
4427 2003-08-11 André Pönitz <poenitz@gmx.net>
4430 * tracer.[Ch]: remove unneeded files
4432 * InsetList.[Ch]: remove resizeInsetsLyXText()
4437 * text3.C: merge insertParagraphs() and appendParagraph()
4438 remove breakAgain(), update()
4440 * BufferView_pimpl.[Ch]:
4441 * bufferview_funcs.[Ch]:
4445 * tabular.C: adjust after text & InsetList changes.
4447 2003-08-08 André Pönitz <poenitz@gmx.net>
4449 * text.C (insertChar, backspace): replace rowlist fiddling
4450 with rebreak of full par
4453 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4454 checkParagraph, updateInset): removed
4456 2003-08-07 André Pönitz <poenitz@gmx.net>
4459 * text3.C: merge some LFUN handlers, remove dead code
4461 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4463 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4465 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4467 * text2.C (DEPM): fix part of bug 1255 and 1256
4469 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4471 * BufferView_pimpl.C (workAreaDispatch): change to use
4472 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4473 that are no mouse related.
4475 2003-08-05 André Pönitz <poenitz@gmx.net>
4478 * BufferView_pimpl.[Ch]:
4479 * bufferview_funcs.C:
4481 * text3.C: rip out "deep update"
4483 * textcursor.[Ch] (last_sel_cursor): remove unused member
4485 2003-08-04 André Pönitz <poenitz@gmx.net>
4488 * BufferView_pimpl.[Ch]:
4489 * ParagraphParameters.C:
4490 * bufferview_funcs.C:
4496 * text3.C: replace "complicated" BufferView::update(...) calls with
4499 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4501 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4503 * Makefile.am (lyx_SOURCES): add paper.h
4505 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4507 * Makefile.am: move things around so that both lyx-qt and
4508 lyx-xforms can be built (according to --with-frontend). Then lyx
4509 is a symbolic link to lyx-[firstfrontend]
4511 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4513 * Always use std::endl with lyxerr
4515 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4517 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4519 2003-08-01 André Pönitz <poenitz@gmx.net>
4522 * BufferView_pimpl.[Ch]:
4524 * text3.C: merge BufferView::repaint() and BufferView::update()
4526 2003-08-01 José Matos <jamatos@lyx.org>
4528 * buffer.[Ch]: file_format is no longer a buffer data element.
4530 2003-08-01 André Pönitz <poenitz@gmx.net>
4535 * text2.C: make redoParagraph more independent of current cursor
4537 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4539 * text2.C: remove unneeded members
4541 2003-07-30 André Pönitz <poenitz@gmx.net>
4543 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4545 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4546 create a single function...
4548 * paragraph_funcs.C (moveItem): ... here.
4551 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4553 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4555 * LColor.[Ch]: Add comment and greyedout logical colors.
4557 2003-07-30 André Pönitz <poenitz@gmx.net>
4559 * tabular.C: don't use Assert too heavily. This crashes where it
4562 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4564 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4565 is disabled (bug 1232)
4567 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4569 * factory.C: limited 'arg' scope
4571 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4573 * factory.C: fixed Note submenu issues
4575 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4577 * factory.C: submenu for Note/Comment/Greyedout
4579 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4582 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4584 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4587 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4588 greyedout. Patch provided by Jürgen Spitzmüller.
4590 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4592 * kbmap.C (read): fix error message when reading bind files
4594 2003-07-29 Angus Leeming <leeming@lyx.org>
4596 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4597 certainly does not do what it purports to do. I am doing it, and
4598 us, a favour by killing it.
4600 2003-07-28 José Matos <jamatos@lyx.org>
4602 * buffer.C (readBody, do_writeFile):
4603 * paragraph.C(readParagraph): \end_document replaces \the_end.
4605 2003-07-29 André Pönitz <poenitz@gmx.net>
4608 * BufferView_pimpl.[Ch]:
4612 * textcursor.[Ch]: remove toggleToggle & Co
4614 2003-07-28 José Matos <jamatos@fep.up.pt>
4616 * buffer.C (readParagraph):
4617 * params_func (readParToken, readParagraph):
4618 * paragraph.C (write): \layout -> \begin_layout.
4620 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4622 * lyxlex_pimpl.C (setFile): clean up slightly.
4624 * bufferparams.h: add compressed var
4626 * buffer_funcs.C (readFile): adjust for LyXLex change
4627 (newFile): ditto + simplify
4629 * buffer.C (writeFile): handle writing of compressed files
4631 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4632 Check if the file is compressed and set a bufferparm if so.
4634 * Makefile.am (lyx_LDADD): remove explicit -lz
4636 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4638 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4639 makeDocBookFile): put the real LyX version in the first line of
4643 * version.C.in: remove lyx_docversion
4645 * tabular.C (write_attribute): add a template-based version to
4646 write enums properly
4648 2003-07-28 André Pönitz <poenitz@gmx.net>
4653 * text3.C: use doubles again for x-coordinates. They are needed.
4655 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4657 * messages.C (getLocaleDir): use lyx_localedir()
4659 * lyxlex_pimpl.C (setFile): compress stuff
4661 * buffer.C (writeFile): add some compression stuff
4662 (do_writeFile): new func, dont call expliti close... will this
4665 * Makefile.am (lyx_LDADD): add -lz
4667 2003-07-28 José Matos <jamatos@fep.up.pt>
4669 * buffer.C: increment file format.
4670 * paragraph_funcs (readParagraph, readParToken):
4671 * paragraph.C (readParagraph): add \end_layout.
4673 2003-07-27 Angus Leeming <leeming@lyx.org>
4675 * Makefile.am: remove special casing for configure-time setting of
4676 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4678 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4679 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4681 2003-07-26 André Pönitz <poenitz@gmx.net>
4683 * paragraph_func.[Ch]:
4684 * paragraph.C (realizeFont): inline it whereever it is used
4689 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4692 2003-07-26 André Pönitz <poenitz@gmx.net>
4696 * text2.C: get rid of LyXText::need_break_row
4698 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4700 * toc.[Ch]: put namespace toc inside namespace lyx
4702 * MenuBackend.C (expandToc2): adjust for lyx::toc
4705 * lyxfunc.C (dispatch): adjust for lyx::find
4707 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4708 lyx::find instead. Reorganize a bit.
4709 (LyXReplace): rename to replace
4710 (LyXFind): rename to find
4712 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4715 2003-07-26 André Pönitz <poenitz@gmx.net>
4717 * text.C (setHeightOfRow): restrict scope of temporary variable
4719 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4720 code (never has been used?)
4722 2003-07-27 Asger Alstrup <alstrup@local>
4724 * text.C (fill): Optimise algorithm to exploit that we can reuse
4725 the LyXFont for many characters.
4726 (setHeightOfRow): Same thing.
4727 (rowBreakPoint): Same thing.
4729 2003-07-26 Asger Alstrup <alstrup@local>
4731 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4733 * text.C (singleWidth): Spurious font copying in hot-spot
4734 singleWidth avoided. Reorder tests for arabic for efficiency.
4736 * text.C (fill): handle empty paragraphs better.
4738 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4741 * encoding.h: add includes
4743 * lyxrc.C: remove reading of bind files
4745 * lyx_main.C (init): setup bindings and menus only if we have a
4748 * kbmap.C (read): new method. Do the actual reading of bind
4751 * converter.C (dvipdfm_options):
4754 (output): adapt PAPER_* enums.
4756 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4758 * bufferparams.h: remove paper-related enums from there
4760 * paper.h: New file. A trivial header file to hold paper-related
4761 enums. It should later expand to contain many paper-related
4764 * lyxrc.C: declare extern displayTranslator
4766 2003-07-27 José Matos <jamatos@fep.up.pt>
4768 * tabular.[Ch] (linuxdoc): add support for tables and figures
4771 2003-07-27 José Matos <jamatos@fep.up.pt>
4773 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4774 consistency in both functions.
4775 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4777 2003-07-26 Asger Alstrup <alstrup@local>
4779 * rowpainter.C (paintRows): Change algorithm to work directly on
4780 the insets rather than asking every character in the document
4781 whether its an inset.
4783 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4785 * buffer.C (openFileWrite): factorize some code
4787 2003-07-26 Angus Leeming <leeming@lyx.org>
4790 * lyx_main.[Ch]: replace occurances of system_tempdir with
4793 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4795 * rename Inset to InsetOld
4797 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4799 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4800 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4801 which I think is a bit clearer. EDIT is gone, since it was
4802 premature optimisation, and broken for mathed anyway.
4803 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4804 with cursor positioning in insets as well (math insets still do not
4805 work, but that's a different story anyway.) It mysteriously
4806 crashes sometimes with undo in the first paragraph, but I'm fairly
4807 confident that this is a compiler bug.
4809 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4811 * paragraph.C (Paragraph): adjust for new clone return type
4813 (copyIntoMinibuffer): ditto
4815 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4817 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4818 by not having a special case, and always doing a full rebreak of
4819 the document after undo.
4821 2003-07-23 Angus Leeming <leeming@lyx.org>
4823 * factory.C (createInset): InsetExternal::setParams now takes a
4826 2003-07-23 Angus Leeming <leeming@lyx.org>
4828 * factory.C (createInset): changed interface to the external and
4829 graphics mailers' string2params functions.
4831 2003-07-23 Angus Leeming <leeming@lyx.org>
4833 * factory.C (createInset): pass a
4834 Buffer const * parameter to InsetExternalMailer's string2params.
4836 2003-07-22 John Levon <levon@movementarian.org>
4838 * Thesaurus.h: include the right aiksaurus header
4840 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4842 * MenuBackend.C (expand): check menu shortcuts unconditionally
4844 2003-07-21 Angus Leeming <leeming@lyx.org>
4846 * factory.C (createInset): pass a
4847 buffer_path parameter to InsetGraphicsMailer's string2params.
4849 2003-07-21 Angus Leeming <leeming@lyx.org>
4851 * BufferView_pimpl.C (buffer):
4854 * lyxfunc.C (dispatch):
4855 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4856 rather than the grfx shortcut.
4858 2003-07-21 André Pönitz <poenitz@gmx.net>
4860 * rowpainter.C: remove unused variables
4863 * tabular_funcs.h: move to tabular.C
4864 * Makefile.am: adjust
4866 * tabular.[Ch]: basic optical cleaning
4868 * author.h: pass references, not values
4870 2003-07-18 André Pönitz <poenitz@gmx.net>
4878 * text3.C: two-phase drawing for InsetText and InsetTabular
4879 some float -> int changes.
4881 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4883 * lyx_main.C: fix the fix
4885 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4887 * lyx_main.C: fix a crash in batch mode if no files specified
4890 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4892 * format.[Ch] (papersize): moved to BufferParams
4893 * converter.[Ch] (dvips_options): moved to BufferParams
4894 (dvipdfm_options): moved to anon namespace
4895 * bufferparams.[Ch]: added above functions.
4897 2003-07-17 André Pönitz <poenitz@gmx.net>
4901 * text2.C: don't call inset->update() anymore
4903 * metricsinfo.[Ch]: add convenience constructor
4905 2003-07-16 André Pönitz <poenitz@gmx.net>
4910 * text2.C: replace the LyXCursor::irow_ member with
4911 on-demand computation of the value
4913 2003-07-16 John Levon <levon@movementarian.org>
4915 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4917 2003-07-15 André Pönitz <poenitz@gmx.net>
4920 * text2.C: remove no more needed refresh_row
4922 2003-07-15 André Pönitz <poenitz@gmx.net>
4927 * text3.C: refresh_status tristate -> need_update bool
4929 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4931 * lyxtext.h (init): remove reinit argument (act as if always true)
4932 * text2.C: adjust to that
4934 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4936 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4937 * text3.C: use it to delete selections in some cases
4938 (bugs 441, 673, 702, 954).
4940 2003-07-14 André Pönitz <poenitz@gmx.net>
4942 * rowpainter.[Ch]: reduce interface
4944 2003-07-14 André Pönitz <poenitz@gmx.net>
4946 * BufferView_pimpl.C:
4947 * text2.C: adjust after removing unused BufferView * argument
4949 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4951 * text2.C (init): fix a crash fired on resize
4953 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4955 * buffer.[Ch]: added new closing signal
4956 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4957 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4958 BufferView::Pimpl via the closing the signal
4960 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4962 * buffer.[Ch]: take out all bv-related from buffer
4964 * BufferView_pimpl.[Ch]: connect to new signals
4965 * CutAndPaste.C: removed useless asserts
4966 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4969 * lyxfunc.C: moved view-related funciontality from vc here
4970 * paragraph.C: removed outdated comments
4973 2003-07-10 André Pönitz <poenitz@gmx.net>
4975 * BufferView_pimpl.C:
4979 * text2.C: remove InsetText::InnerCache, clean up consequences
4981 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4983 * ispell.C: fix two typos in error messages
4985 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4987 * Extend Note inset to other forms of annotation like Comment
4988 and Greyedout. Right button click gives dialog.
4990 Files modified or added (+):
4994 * ControlNote.[Ch] +
4996 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4997 frontends/controllers
5001 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5003 * aspell.C: add missing namespace lyx::support
5005 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5007 * BufferView.[Ch] (newFile): Add
5008 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5009 * LaTeX.[Ch] (message): added this signal and use it
5010 * buffer.[Ch] (busy, message): added these signals and use them
5011 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5015 * importer.C: use buffer signals instead of direct bv calling
5016 * lyx_cb.[Ch] (ShowMessage): removed
5019 * paragraph_funcs.C:
5020 * text2.C: use buffer signals
5022 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5024 * introduce namespace lyx::graphics
5026 2003-07-02 André Pönitz <poenitz@gmx.net>
5028 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5030 2003-07-01 André Pönitz <poenitz@gmx.net>
5037 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5038 text*.C to text_func.C
5040 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * introduce namespace lyx::support
5044 2003-06-30 André Pönitz <poenitz@gmx.net>
5049 * text.C: re-enable --with-included-string
5051 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5053 * textcursor.C: add <config.h>
5055 * text.C (getWord): remove const from word_location arg
5057 * lyxvc.C (getLogFile): fix const type order
5059 * lyxtext.h: remove const from word_location arg, add arg name
5061 * lyxlayout.h: currect type on labeltype.
5063 * importer.C: correct \file
5065 * converter.C (intToFormat): use std:: on ret val, ws changes
5067 * bufferlist.h: correct \file
5069 * buffer.C (makeLinuxDocFile): fix const type order
5070 (makeDocBookFile): ditto
5071 (fillWithBibKeys): use std:: on stdlib args.
5073 * CutAndPaste.C: fix authors.
5074 (availableSelections): use std:: on return vector
5076 2003-06-27 André Pönitz <poenitz@gmx.net>
5078 * BufferView_pimpl.C:
5079 * bufferview_funcs.C:
5087 * text3.C: remove LyXCursor::row_ member
5090 * text.C: rename fullRebreak() to partialRebreak() and implement
5091 a fullRebreak() that really bereks fully
5093 * textcursor.h: new struct for cursor-related data
5095 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5097 * lyx_main.C (LyX): get full path of document loaded on the
5100 2003-06-26 André Pönitz <poenitz@gmx.net>
5102 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5103 remove unused/broken operator>,<,>=.
5105 * text.C: remove only use of broken operator<= in an Assert().
5107 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5109 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5110 moved errorlist_.clear to showErrorList
5112 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5114 * converter.C (scanLog, runLaTeX):
5115 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5116 move the bv->showErrorList call to the callers
5117 * lyxfunc.C: i.e. here...
5119 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5120 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5121 namespace, the second to...
5122 * buffer_funcs (BufferFormat, parseErrors): added
5123 * errorlist.C (ErrorList(TeXErrors const &)): removed
5125 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5127 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5129 2003-06-24 "Garst R. Reese" <reese@isn.net>
5133 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5135 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5137 * version.C.in: change docversion to 1.4
5139 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5141 * buffer.C: fix a bug just introduced
5143 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5145 * buffer.[Ch]: added the parseError signal and use it, removed
5147 * BufferView.[Ch] (addError): moved to ...
5148 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5149 to the Buffer::parseError signal to catch (guess what) parse errors
5150 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5152 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5154 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5155 ability to create a buffer and to return an existing one from
5156 the list. Moved these functions to...
5157 * buffer_funcs.[Ch]: added
5158 * BufferView.[Ch] (loadLyXFile): added
5159 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5160 job removed from bufferlist::loadLyXFile.
5161 * buffer.C (setReadOnly): make it work without view
5162 (i.e added an if (users))
5164 2003-06-19 Angus Leeming <leeming@lyx.org>
5167 * LyXAction.C (init):
5168 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5169 with LFUN_DIALOG_SHOW <name> <data>.
5171 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5173 * CutAndPaste.C (availableSelections): small compilation fix for
5174 ancient (gcc 2.9x) compilers
5176 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5178 * text3.C (cursorNext): add tmp var
5180 * text2.C (updateCounters): for function calling out of for clause
5181 (replaceSelectionWithString): ditto
5182 (insertStringAsParagraphs): ditto
5183 (getColumnNearX): add tmp var
5184 (setCursorFromCoordinates): add tmp var
5185 (cursorDownParagraph): add tmp var
5186 (deleteEmptyParagraphMechanism): add tmp var
5188 * text.C (insertChar): add tmp var
5190 * rowpainter.C (paintDepthBar): add tmp var
5192 * CutAndPaste.C (availableSelections): potentially check all
5193 paragraphs in a cut to fill the shown strings.
5195 2003-06-18 André Pönitz <poenitz@gmx.net>
5197 * kbmap.[Ch]: use vector<> instead of list<>
5199 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5201 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5202 pasteSelection with index
5204 * text2.C (pasteSelection): modify, call pasteSelection with index
5206 * paragraph.C (asString): reimplement version with no interval to
5207 call the one with interval.
5209 * lyxtext.h: add index arg to pasteSelection
5211 * MenuBackend.C (MenuItem): handle PasteRecent
5212 (Menu::read::Menutags): add md_pasterecent
5214 (expandPasteRecent): new function
5217 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5219 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5221 (availableSelections): new function
5223 2003-06-17 Angus Leeming <leeming@lyx.org>
5225 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5227 2003-06-17 Angus Leeming <leeming@lyx.org>
5230 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5232 * lyxfunc.C (dispatch): invoke it.
5234 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5236 * iterators.C (operator++, ParPosition): reintroduce some
5237 const_cast for the benefit of older compilers.
5239 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5241 * text3.C (dispatch): do not modify clipboard when doing
5242 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5243 LFUN_DELETE_SKIP on a selection selection
5245 2003-06-16 André Pönitz <poenitz@gmx.net>
5251 * tabular.[Ch]: IU of clone() and getLabelList();
5253 2003-06-13 André Pönitz <poenitz@gmx.net>
5255 * tabular.h: compactification
5257 2003-06-12 André Pönitz <poenitz@gmx.net>
5261 * tabular_funcs.h: some renaming plus whitespace
5263 2003-06-12 André Pönitz <poenitz@gmx.net>
5266 * BufferView_pimpl.C:
5272 * toc.C: Return a Paragraph & for ParIterator::operator*()
5274 2003-06-11 John Levon <levon@movementarian.org>
5278 * ToolbarBackend.C: add "Toolbars" section and
5281 2003-06-10 Angus Leeming <leeming@lyx.org>
5284 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5286 * lyxfunc.C (dispatch): invoke it.
5288 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5290 * main.C: protect <ios> with HAVE_IOS
5291 (main): protect sync_with_stdio with HAVE_IOS
5293 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5295 * text2.C (cutSelection): adjust
5296 (pasteSelection): adjust
5298 * messages.C: handle get of empty string
5300 * main.C (main): use sync_with_stdio(false)
5302 * lyxfunc.C (dispatch): adjust
5304 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5305 (WriteAs): remove unneeded BufferView arg.
5307 * bufferparams.h: use correct types on papersize, papersize2 and
5310 * bufferparams.C (readToken): adjust for type
5311 (writeLaTeX): add missing cases to switch.
5313 * bufferlist.C (quitWriteBuffer): adjust
5316 * buffer.C (asciiParagraph): remove some commented code.
5318 * CutAndPaste.C: remove current_view extern variable.
5319 (cutSelection): add BufferParams arg.
5320 (eraseSelection): add BufferParams arg.
5321 (pasteSelection): add Buffer const & arg
5323 2003-06-07 John Levon <levon@movementarian.org>
5326 * paragraph_funcs.C:
5327 * paragraph_pimpl.C:
5331 * paragraph.C: allow InsetERT to freely space lines,
5332 and some consolidation of code
5334 2003-06-06 José Matos <jamatos@fep.up.pt>
5336 * buffer.C (makeDocBookFile): fix bug #821
5338 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5340 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5342 2003-06-04 Angus Leeming <leeming@lyx.org>
5344 * buffer.C: bump format to 224.
5346 2003-06-05 André Pönitz <poenitz@gmx.net>
5348 * text2.C (redoParagraphs): remove two const_cast<>
5350 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5352 * ParagraphList.h: remove last remnants of NO_STD_LIST
5354 2003-06-03 Angus Leeming <leeming@lyx.org>
5356 * factory.C (createInset): small change to the way InsetExternal's params
5359 2003-06-04 André Pönitz <poenitz@gmx.net>
5361 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5363 * paragraph_pimpl.h:
5364 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5366 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5368 * undo_funcs.C: make some simple cases of undo work again
5370 2003-06-03 John Levon <levon@movementarian.org>
5372 * ispell.C: HPUX doesn't have sys/select.h
5375 2003-06-03 John Levon <levon@movementarian.org>
5377 * CutAndPaste.C: update tabular and include inset
5382 * paragraph.C: remove owningBuffer(), don't pass Buffer
5385 * factory.C: insetGraphicsParams changed
5387 2003-06-02 John Levon <levon@movementarian.org>
5393 * text3.C: remove insetparent
5395 2003-06-02 John Levon <levon@movementarian.org>
5398 * buffer.C: fix inset_iterator.end(), move out of line
5401 2003-06-01 John Levon <levon@movementarian.org>
5403 * text3.C: use a proper cut/paste when doing inset
5404 insert (from Jürgen Spitzmüller)
5406 2003-06-01 John Levon <levon@movementarian.org>
5408 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5410 2003-05-30 André Pönitz <poenitz@gmx.net>
5412 * rowpainter.C: unify second drawing phase
5414 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5416 * trans_mgr.C: remove one case of current_view
5418 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5420 * paragraph_funcs.h: remove paragraph.h include
5422 * paragraph.h: delete NO_STD_LIST stuff
5424 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5426 * buffer.h: remove paragraph.h include
5428 * ParagraphList.C: delete file
5430 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5432 * toc.C (getTocList): adjust
5434 * paragraph_pimpl.C (validate): adjust
5436 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5438 * paragraph.C (Paragraph): adjust
5439 (getPositionOfInset): use const_iterator, adjust
5440 (bibitem): use const_iterator, adjust
5441 (setInsetOwner): adjust
5443 * iterators.C (operator++): adjust
5445 * InsetList.[Ch]: Replace selfmade iterator with standard
5446 vector::iterator also introduce const_iterator. Remove getPos,
5447 getInset and setInset from InsetTable. Adjust accordingly.
5449 * BufferView.C (lockInset): adjust
5450 (ChangeInsets): adjust
5452 * tabular.[Ch]: delete commented same_id functions
5454 2003-05-28 John Levon <levon@movementarian.org>
5456 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5458 2003-05-28 André Pönitz <poenitz@gmx.net>
5460 * metricsinfo.[Ch]: remove 'fullredraw' member
5462 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5464 * lyxtextclass.C (operator): remove caching.
5466 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5470 * text2.C (cursorBottom): adjust
5471 (setCounter): use ParagraphList::find, adjust
5473 * text.C (workWidth): use ParagraphList::find, adjust
5475 * lyxcursor.C (LyXCursor): adjust
5477 * buffer.C (inset_iterator): adjust
5479 * ParagraphList.h: make iterator(value_type) private, make
5480 ParagraphList a friend of iterator.
5482 * ParagraphList.C (find): new function
5484 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5486 2003-05-27 André Pönitz <poenitz@gmx.net>
5488 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5490 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5492 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5494 2003-05-26 John Levon <levon@movementarian.org>
5496 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5498 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5500 * remove same_id from function signatures, adjust.
5502 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5504 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5506 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5508 * paragraph.C (Paragraph): get rid of same_ids parameter
5510 * ParagraphList.C (insert): adjust
5513 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5515 * paragraph_funcs.C (breakParagraph): adjust
5516 (breakParagraphConservative): adjust
5518 * buffer.C (readParagraph): adjust
5520 * ParagraphList.C (insert): take a reference instead of a pointer
5523 * paragraph.[Ch] (id): new function
5525 * bufferlist.C (newFile): adjust
5527 * ParagraphList.C (ParagraphList): adjust
5529 (push_back): take a reference instead of a pointer.
5531 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5533 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5536 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5537 set else use old code.
5539 * ParagraphList.C: remove all NO_NEXT code and only compile this
5540 code of NO_STD_LIST is set.
5542 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5544 * BufferView_pimpl.C:
5554 * graphics/GraphicsConverter.C:
5555 * graphics/PreviewLoader.C: header adjustment
5557 2003-05-23 Angus Leeming <leeming@lyx.org>
5559 * LaTeXFeatures.[Ch] (useBabel): new method.
5560 * bufferparams.C (writeLaTeX): use it.
5562 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5564 * ParagraphList.h (set): remove unused function.
5566 2003-05-23 André Pönitz <poenitz@gmx.net>
5569 * BufferView_pimpl.C:
5573 * undo_funcs.C: setUndo reworked
5575 * iterators.[Ch]: add access to topmost ParagraphList
5577 * lyxtext.[Ch] (workWidth): add a const
5579 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5581 * texrow.[Ch] (increasePos): remove function
5582 * exporter.C (export): removed unused var and outdated comment
5584 2003-05-23 Angus Leeming <leeming@lyx.org>
5586 * latexrunparams.h: rename fragile as moving_arg.
5587 * paragraph.C (simpleTeXOnePar): ditto.
5588 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5590 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5594 (textUndoOrRedo): comment out a currently unused var.
5596 * paragraph.h (NO_NEXT): enable NO_NEXT
5598 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5600 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5602 * exporter.C (Export): adjust for removeAutoInsets removal.
5604 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5606 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5608 * BufferView.[Ch] (removeAutoInsets): delete function
5610 2003-05-22 Angus Leeming <leeming@lyx.org>
5612 * latexrunparams.h: add a free_spacing variable.
5614 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5615 to pass moving_arg, as the data is stored in runparams.fragile.
5617 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5618 to Inset::latexOptional or to simpleTeXOnePar.
5620 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5621 free_spacing arg to Inset::latexOptional.
5623 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5626 2003-05-22 Angus Leeming <leeming@lyx.org>
5628 * latexrunparams.h: add fragile and use_babel variables.
5630 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5631 * buffer.C (makeLaTeXFile): store this returned value in
5632 runparams.use_babel, thus passing it to the inset::latex methods.
5634 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5635 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5637 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5638 longer has a fragile arg, as it is stored in runparams.fragile.
5640 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5641 moving_arg parameter as the data is stored in runparams.fragile.
5643 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5644 a fragile parameter as the data is stored in runparams.fragile.
5646 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5648 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5650 2003-05-22 Angus Leeming <leeming@lyx.org>
5652 * latexrunparams.h: add a 'bool nice' which defaults to false.
5654 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5655 now encapsulated within runparams.
5657 * bufferlist.C (updateIncludedTeXfiles):
5658 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5660 2003-05-22 Angus Leeming <leeming@lyx.org>
5662 * latexrunparams.h: new file containing struct LatexRunParams.
5663 * Makefile.am: add new file.
5665 * LaTeX.[Ch] (c-tor, run):
5666 * buffer.[Ch] (makeLaTeXFile):
5667 * bufferlist.[Ch] (updateIncludedTeXfiles):
5668 * converter.C (convert, scanLog):
5669 * converter.[Ch] (runLaTeX):
5670 * exporter.C (Export):
5671 * paragraph.[Ch] (simpleTeXOnePar):
5672 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5673 * paragraph_funcs.[Ch] (latexParagraphs):
5674 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5675 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5676 pass around a LatexRunParams parameter.
5678 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5680 * paragraph.[Ch]: remove unused constructor
5682 * ParagraphList.C (erase): new function, taking two iterators
5684 2003-05-22 André Pönitz <poenitz@gmx.net>
5686 * undo_funcs.C: remove duplicated code
5688 * iterator.[Ch]: operator=
5690 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5692 * tabular.C (SetMultiColumn): ws changes
5694 * rowpainter.C (paintFirst): get rid of a ->previous
5696 * lyx_cb.C (getPossibleLabel): parlist simplification
5698 * BufferView.C (ChangeInsets): simplify slightly.
5700 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5702 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5703 * lfuns.h: new LFUN_SPACE
5704 * lyxfunc.C: protected space has a new lfun
5705 * paragraph_funcs.C: read new space insets
5707 * factory.C: handle new space insets
5709 2003-05-22 André Pönitz <poenitz@gmx.net>
5712 * BufferView_pimpl.C:
5715 * undo_funcs.C: return a ParIterator from getParFromID.
5717 * iterators.[Ch]: add two const's
5719 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5721 * toc.C (getTocList): adjust
5723 * iterators.[Ch]: rework for parlist
5725 * buffer.C (par_iterator_begin): adjust
5726 (par_iterator_end): adjust
5728 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5730 * BufferView.C (removeAutoInsets): adjust
5731 (ChangeInsets): adjust
5733 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5735 * text.C (top_y): fix bug 1110
5737 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5739 * errorlist.[Ch]: added
5742 * BufferView_pimpl.C:
5743 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5746 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5748 * Makefile.am: ensure that lyx is relinked upon changes to the
5749 various "convenience" libs.
5751 2003-05-20 Angus Leeming <leeming@lyx.org>
5753 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5754 files are compiled in alphabetical order again.
5756 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5758 2003-05-19 Angus Leeming <leeming@lyx.org>
5760 * gettext.[Ch]: remove "char const * _(char const *)".
5762 2003-05-19 André Pönitz <poenitz@gmx.net>
5764 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5773 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5775 2003-05-19 André Pönitz <poenitz@gmx.net>
5779 * lyxtextclass.[Ch]:
5781 * paragraph_funcs.[Ch]:
5783 * text3.C: more insetenv work
5785 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5787 * ParagraphParameters.C (params2string): small bug fixed
5789 2003-05-16 André Pönitz <poenitz@gmx.net>
5792 * bufferview_funcs.C: patch from Kornel Benko to prevent
5793 crash when _(...) is called twice in a statement
5795 2003-05-16 André Pönitz <poenitz@gmx.net>
5802 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5804 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5806 * lyx_main.C (init): remove spurious static_cast
5808 2003-05-14 André Pönitz <poenitz@gmx.net>
5810 * BufferView.C: fix format string
5812 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5814 * BufferView.[Ch] (insertErrors): removed
5815 * BufferView.[Ch] (showErrorList): added
5816 * buffer.C (runChkTeX):
5817 * converter.C (scanLog): call showErrorList instead of inserterrors
5819 2003-05-13 André Pönitz <poenitz@gmx.net>
5821 * BufferView_pimpl.C:
5823 * bufferview_func.C:
5830 * tabular_funcs.h: tostr() from its own header
5832 * ParagraphParameters.C:
5837 * text3.C: STRCONV()
5839 2003-05-12 André Pönitz <poenitz@gmx.net>
5842 * BufferView_pimpl.C:
5846 * ParagraphParameters.C:
5850 * bufferview_funcs.C:
5863 * paragraph_funcs.C:
5867 * text3.C: boost::format -> bformat all over the place
5870 2003-05-09 André Pönitz <poenitz@gmx.net>
5872 * LColor.[Ch]: Pimpl the #include <map> away
5874 2003-05-09 John Levon <levon@movementarian.org>
5876 * bufferlist.C: never remove emergency saves
5878 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5880 * Makefile.am: better lib building
5882 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5884 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5886 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5887 (simpleTeXSpecialChars): adjust
5888 (simpleTeXSpecialChars): adjust
5889 * paragraph.C (simpleTeXOnePar): adjust
5890 * buffer.C (makeLaTeXFile): adjust
5892 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5894 * text2.C (changeDepth): parlist cleanup
5895 (getColumnNearX): ditto
5897 * rowpainter.C (getLabelFont): parlist cleanup
5899 * bufferlist.C (newFile): parlist cleanup
5901 * CutAndPaste.C (eraseSelection): parlist cleanup
5903 * BufferView_pimpl.C (trackChanges): parlist cleanup
5906 * BufferView.C (lockInset): parlist cleanup.
5907 (ChangeInsets): ditto
5909 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5911 * CutAndPaste.h: Update file header.
5913 * CutAndPaste.C: Update file header.
5914 Store the parts cut out of the Document in a limited_stack.
5915 (copySelection): adjust
5916 (pasteSelection): new function, takes the index in the limited stack.
5917 (nrOfParagraphs): adjust
5918 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5919 simplify error inset insertion.
5920 (checkPastePossible): adjust
5922 2003-05-06 John Levon <levon@movementarian.org>
5924 * text2.C: don't cast wrap inset to float
5926 2003-05-05 André Pönitz <poenitz@gmx.net>
5929 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5931 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5932 few naked Paragraph *.
5934 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5936 * bufferparams.C: Output warning if a document with missing
5937 TeX document class is loaded
5938 * exporter.C: Disable TeX exports if the document class is missing
5941 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5942 isTeXClassAvailable()
5944 2003-05-03 John Levon <levon@movementarian.org>
5947 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5948 explicit cursor show/hide
5950 * BufferView_pimpl.h:
5951 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5952 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5954 * lyxfunc.C: hide cursor before dispatching.
5959 * text3.C: remove explicit cursor hides
5961 2003-05-02 André Pönitz <poenitz@gmx.net>
5963 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5966 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5969 * text2.C: tiny whitespace
5971 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5973 * undo_funcs.C: almost only ws changes.
5975 * ParagraphList.C (splice): just return if pl is empty.
5977 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5979 * ParagraphList.C (splice): new function.
5981 * CutAndPaste.C (pasteSelection): use it
5983 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5985 * CutAndPaste.C (pasteSelection): remove the last next and
5986 previous from this file.
5988 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5990 * CutAndPaste.C (pasteSelection): more clean up, user proper
5991 ParagraphList functions for pasteing.
5993 * ParagraphList.C (insert): new function, three arg insert
5995 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5997 * ParagraphList.C (insert): new function, three arg insert
5999 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6002 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6004 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6006 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6008 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6010 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6012 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6013 (copySelection): clean up a bit.
6014 (pasteSelection): use make_pair
6016 * ParagraphList.C (ParagraphList): implement copy constructor
6017 (operator=): implement, base on copy constructor.
6020 * paragraph.C (erase): return a bool
6022 * paragraph_pimpl.C (erasePos): remove function, move contents...
6023 (erase): ... here. Return a bool.
6024 (erase): call erase instead of erasePos.
6026 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6028 * ParagraphList.h: define PitPosPair
6029 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6030 ParagraphList, fix a bug on pasting multiple pars
6031 * text2.C: change interface to C&P
6033 2003-04-30 André Pönitz <poenitz@gmx.net>
6035 * undo_func.C: revert part of yesterday's patch 2
6037 2003-04-30 John Levon <levon@movementarian.org>
6039 * LColor.C: s/tabular/table/
6041 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6043 * text3.C (dispatch): do not convert iterator -> pointer
6044 * undo_funcs.C (setCursorParUndo): ditto
6045 * text_funcs.C (transposeChars): ditto
6047 * text2.C (setLayout): ws changes only
6049 * text.C (breakParagraph): do not convert iterator -> pointer
6051 (acceptChange): ditto
6052 (rejectChange): ditto
6057 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6060 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6062 * text3.C (gotoInset): YABG (yet another bad getChar)
6064 2003-04-29 André Pönitz <poenitz@gmx.net>
6066 * paragraph.h: make operator= private unimplemented as long as
6069 * ParagraphList.C: whitespace
6072 * paragraph_pimpl.[Ch]:
6073 * paragraph_funcs.C:
6075 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6078 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6080 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6082 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6083 * paragraph.[Ch] (erase):
6084 * paragraph_pimpl.[Ch] (erase): change return type and value
6085 * text2.C (cutSelection): some rework
6087 2003-04-28 John Levon <levon@movementarian.org>
6089 * bufferlist.C: changes for unsaved changes dialog
6091 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6093 * bufferlist.C (newFile): set language (messages_) for new
6096 * buffer.C (readFile): ws changes only.
6098 2003-04-28 André Pönitz <poenitz@gmx.net>
6103 * BufferView_pimpl.C:
6104 * BufferView.C: getParFromID related ParagraphList::iterator changes
6106 2003-04-28 André Pönitz <poenitz@gmx.net>
6108 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6111 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6113 * messages.C: remove one more localedir class variable.
6115 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * messages.C (getLocaleDir): singleton generation function
6119 (Messages): add a default constructor.
6121 * main.C (main): do not setup localedir here, do not call
6124 * gettext.C (_): use it.
6125 (gettext_init): delete funciton
6127 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6129 * gettext.C (getLyXMessages): new singleton generating function.
6131 * buffer.C (updateDocLang): adjust
6133 * Makefile.am (messages.o): add target
6134 (main.o): remove target
6136 2003-04-27 John Levon <levon@movementarian.org>
6141 * lyxvc.C: specify cancel button in Alert::prompt
6143 2003-04-26 John Levon <levon@movementarian.org>
6148 * LyXAction.C: add LFUN_INSET_SETTINGS
6150 * lyxfunc.C: don't enable tabular-feature when there's
6151 just any locking inset
6153 2003-04-26 John Levon <levon@movementarian.org>
6155 * bufferlist.C: re-add Cancel to buffer close question
6157 * lyxfunc.C: fix import UI a bit
6159 2003-04-25 John Levon <levon@movementarian.org>
6161 * gettext.C: remove the broken asserts for now
6163 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6165 * messages.C: make case where setlocale cannot comply work better.
6167 * buffer.C (updateDocLang): new function
6168 (changeLanguage): use it
6171 * text2.C (setCounter): use B_ a bit.
6173 * lyxlayout.C (Read): be sure to trim the label strings.
6175 * messages.C (Messages): fix typo in comment
6177 * buffer.C (readFile): set message_ after file is loaded.
6178 (makeDocBookFile): remove double return
6179 (changeLanguage): reset message_ upon language change.
6180 (B_): new func, use this to get translated buffer strings.
6182 * main.C: add myself and Jean Marc as authors.
6184 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6186 * messages.[hC]: pimplify Messages, and three different pimpls to be
6187 used in different circumstances.
6189 * gettext.[Ch]: change for use with new message code.
6191 2003-04-24 André Pönitz <poenitz@gmx.net>
6193 * factory.C: support for eqref
6195 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6197 * messages.[Ch]: add missing char
6199 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6201 * messages.[Ch]: New files
6203 2003-04-18 John Levon <levon@movementarian.org>
6207 * BufferView_pimpl.C:
6211 * text2.C: remove layout-copy/paste (bug 778)
6213 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6215 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6217 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6219 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6220 if they succeed. Act accordingly.
6222 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6224 * text2.C (setCharFont): adjust
6225 (setCounter): adjust
6226 (insertStringAsLines): adjust
6228 * text.C (leftMargin): adjust
6229 (setHeightOfRow): adjust
6231 * rowpainter.C (paintFirst): adjust
6234 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6236 (isFirstInSequence): ditto
6237 (getEndLabel): ditto
6240 * paragraph.C (getParLanguage): comment out some hard stuff.
6242 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6244 (simpleDocBookOnePar): ditto
6245 (makeDocBookFile): use ParagraphList::iterator
6247 * CutAndPaste.C (pasteSelection): adjust
6249 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6251 * text2.C (getFont): adjust
6252 (getLayoutFont): adjust
6253 (getLabelFont): adjust
6255 * paragraph_funcs.C (TeXOnePar): adjust
6257 * buffer.C (simpleLinuxDocOnePar): adjust
6258 (simpleDocBookOnePar): adjust
6260 * CutAndPaste.C (pasteSelection): adjust
6262 * BufferView.C (getEncoding): adjust
6264 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6266 2003-04-16 John Levon <levon@movementarian.org>
6268 * lyxfind.C: use parlist stuff for search/changes
6270 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6272 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6274 * text2.C (deleteEmptyParagraphMechanism): adjust
6276 * text2.[Ch] (ownerParagraph): delete func (both of them
6278 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6280 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6282 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6284 * ParagraphList.C: prepare for NO_NEXT
6286 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6288 * text2.C (getFont): adjust
6289 (getLayoutFont): adjust
6290 (getLabelFont): adjust
6292 * paragraph.C (getFont): adjust
6293 (getLabelFont): adjust
6294 (getLayoutFont): adjust
6296 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6298 2003-04-15 John Levon <levon@movementarian.org>
6302 * lyx_main.C: handle Include in .ui files
6304 2003-04-15 John Levon <levon@movementarian.org>
6306 * MenuBackend.C: make the doc files length shorter
6309 * ToolbarBackend.C: handle toolbar placement flags,
6312 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6314 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6317 * paragraph_funcs.C (TeXOnePar): adjust
6319 * paragraph.C (getLabelFont): add outerfont arg, adjust
6320 (getLayoutFont): ditto
6321 (simpleTeXOnePar): adjust
6323 * paragraph_pimpl.C (realizeFont): delete func
6325 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6327 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6328 row argument, constify cur argument.
6330 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6332 * text2.C (getFont): adjust
6333 (getLayoutFont): adjust
6334 (getLabelFont): adjust
6336 * paragraph_funcs.C (TeXOnePar): adjust
6337 (outerFont): new func...
6338 (realizeFont): ...moved out from here, changed this to facilitate
6341 * paragraph.C (getFont): take outerfont as arg, adjust
6342 (simpleTeXOnePar): add outerfont arg, adjust
6344 * buffer.C (simpleLinuxDocOnePar): adjust
6345 (simpleDocBookOnePar): adjust
6347 * CutAndPaste.C (pasteSelection): adjust
6349 * BufferView.C (getEncoding): adjust
6351 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6353 * text2.C (setCharFont): adjust
6354 (setCounter): adjust
6356 * text.C (leftMargin): adjust
6357 (setHeightOfRow): adjust
6359 * rowpainter.C (paintFirst): adjust
6362 * paragraph_pimpl.C (realizeFont): adjust
6364 * paragraph.C (isFirstInSequence): move from here...
6365 * paragraph_funcs.C (isFirstInSequence): ...to here
6367 * paragraph.C (outerHook): move from here...
6368 * paragraph_funcs.C (outerHook): ...to here
6370 * paragraph.C (depthHook): move from here...
6371 * paragraph_funcs.C (depthHook): ...to here
6373 * paragraph.C (getEndLabel): move from here...
6374 * paragraph_funcs.C (getEndLabel): ...to here
6376 * text2.C (realizeFont): move from here...
6377 * paragraph_funcs.C (realizeFont): ...to here
6379 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6381 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6383 2003-04-14 Angus Leeming <leeming@lyx.org>
6385 * LColor.[Ch]: scrap LColor mathcursor.
6387 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6389 * lyxlex.[Ch] (text): delete function
6390 * trans.C (Load): adjust
6391 * paragraph_funcs.C (readParToken): adjust
6393 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6395 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6396 vector<char> instead of a char[].
6398 * lyxlex_pimpl.C (getString): adjust
6400 (lex): use getString
6404 * lyxlex.C (text): use pimpl_->getString()
6408 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6411 (makeFontEntriesLayoutSpecific): temp var for par.size()
6412 (setLayout): temp var for ownerParagraphs().end()
6413 (fullRebreak): temp var for rows().end()
6414 (selectionAsString): temp var for boost::next(startpit), realize
6415 that the while really is a regular for loop.
6416 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6417 setCursor in one place.
6418 (setParagraph): temp vr for ownerParagraphs().end()
6419 (updateCounters): make the while loop a for loop
6420 (cutSelection): temp var for ownerParagraphs().end()
6421 (updateInset): make the do {} while() a regular for loop
6422 (getCursorX): use temp vars
6423 (setCurrentFont): use temp vars
6424 (getColumnNearX): use temp vars
6426 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * text.C (transformChar): use temp var for getChar
6429 (computeBidiTables): use temp var for row->par()
6430 (fill): move temp vars for row->par() and pit->layout() earlier in
6432 (labelFill): use temp var for row->par()
6433 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6434 asc and desc, realize that pit never changes and that firstpit is
6435 just a duplicate and not needed. Exchange rit->par() with pit in a
6437 (breakAgain): use a temp var for boost::next(rit)
6438 (breakAgainOneRow): ditto
6439 (breakParagraph): use a temp var for rows().begin()
6440 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6441 (cursorRightOneWord): use temp var for cursor.par() and
6442 cursor.pos(), remove usage of tmpcursor.
6443 (cursorLeftOneWord): use temp var for cursor.par() and
6444 cursor.pos() only set cur at end of function.
6446 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6448 * text.C, text2.C: exchange all usage of Paragraph::next with
6449 boost::next(ParagraphList::iterator)
6451 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6453 * text2.C (cursorTop): simplify implementation
6454 (cursorBottom): ditto
6455 (setParagraph): use ParagraphList::iterator
6456 (setCurrentFont): adjust
6457 (getColumnNearX): adjust
6458 (cursorRight): adjust
6459 (cursorLeft): remove usage of Paragraph::previous
6460 (cursorUpParagraph): ditto
6461 (deleteEmptyParagraphMechanism): slight cleanup
6463 * text.C (isBoundary): take a Paragraph const & instead of a
6465 (addressBreakPoint): ditto
6466 (leftMargin): remove usage of Paragraph::previous.
6467 (setHeightOfRow): ditto
6468 (cursorLeftOneWord): ditto
6469 (selectNextWordToSpellcheck): ditto
6472 (breakParagraph): remove one usage of Paragraph::next
6473 (redoParagraph): ditto
6474 (acceptChange): ditto
6475 (insertChar): adjust
6476 (rowBreakPoint): adjust
6478 * bufferview_funcs.C (toggleAndShow): adjust
6480 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6482 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6483 methods to access it.
6485 * text.C: Added updateRowPositions to compute all row positions.
6486 Make top_y and getRowNearY() to use the cached y position
6488 2003-04-11 John Levon <levon@movementarian.org>
6490 * text.C (rowBreakPoint): reintroduce the labelEnd
6491 checks, code copied from the row fill stuff. Deep voodoo.
6493 * text.C (fill): add a comment and debugging for the
6496 2003-04-11 John Levon <levon@movementarian.org>
6498 * text.C: make sure fullrow insets get wrapped to the next line,
6499 even when they're in a manual label
6501 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6503 * text2.C (insertParagraph): make it take ParagraphList::iterator
6505 (setLayout): make it return ParagraphList::iterator
6506 (redoParagraphs): ditto
6508 (checkParagraph): ditto
6510 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6512 * text2.C: adjust several funcs.
6513 (realizeFont): take a ParagraphList::iterator as arg.
6514 (getLayoutFont): ditto
6515 (getLabelFont): ditto
6516 (setCharFont): ditto
6518 * text.C: adjust several funcs.
6520 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6522 * text.C (selectNextWordToSpellcheck): don't accidentally
6525 2003-04-10 John Levon <levon@movementarian.org>
6527 * ToolbarBackend.C (getIcon): special handling for
6530 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6532 * text2.C (cursorRight): a getChar assert fixed
6534 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6536 * text2.C (getFont): change to take a ParagraphList::iterator
6537 instead of Paragraph*
6538 Adjust several functions.
6540 * text.C (transformChar): change to take a ParagraphList::iterator
6541 instead of Paragraph*
6542 (singleWidth): ditto
6543 Adjust several functions.
6545 * rowpainter.C: adjust several functions
6546 * rowpainter.h:store a ParagraphList::iterator and not a
6550 2003-04-09 John Levon <levon@movementarian.org>
6555 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6556 and the "help" bits as well
6558 2003-04-09 John Levon <levon@movementarian.org>
6561 * ToolbarBackend.C: allow multiple toolbars
6563 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6565 * undo_funcs.C (setCursorParUndo): adjust
6567 * text_funcs.C (transposeChars): adjust
6569 * text3.C (gotoNextInset): adjust
6572 * text2.C (setLayout): adjust
6573 (changeDepth): adjust
6575 (redoParagraphs): adjust
6576 (selectionAsString): adjust
6577 (setParagraph): adjust
6578 (insertInset): adjust
6579 (cutSelection): adjust
6580 (copySelection): adjust
6581 (pasteSelection): adjust
6582 (insertStringAsLines): adjust
6583 (updateInset): adjust
6584 (setCursor): change to take a ParagraphList::iterator parameter
6585 (setCursorIntern): change to take a ParagraphList::iterator parameter
6586 (setCurrentFont): adjust
6587 (cursorLeft): adjust
6588 (cursorRight): adjust
6589 (deleteEmptyParagraphMechanism): adjust
6591 * text.C (breakParagraph): adjust
6592 (insertChar): adjust
6593 (acceptChange): adjust
6594 (rejectChange): adjust
6595 (selectNextWordToSpellcheck): adjust
6596 (changeCase): adjust
6600 * lyxfind.C (SearchForward): adjust
6601 (SearchBackward): adjust
6602 (nextChange): adjust
6604 * lyxcursor.C (par): adjust
6606 * lyxcursor.h: store a ParagraphList::iterator instead of a
6609 * lyx_cb.C (getPossibleLabel): adjust
6611 * bufferview_funcs.C (toggleAndShow): adjust
6613 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6616 * BufferView.C (removeAutoInsets): adjust
6617 (lockedInsetStoreUndo): adjust
6619 2003-04-09 John Levon <levon@movementarian.org>
6621 * ToolbarBackend.C: try icon without argument
6622 if with argument fails
6624 2003-04-08 John Levon <levon@movementarian.org>
6627 * ToolbarBackend.C: add getIcon(), handle tooltip,
6628 and change from "Icon" to "Item".
6630 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6632 * BufferView.C (lockInset): another bad getchar crunched
6634 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6636 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6639 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6641 * lyxfind.C (searchForward, searchBackwards): bug 782
6643 2003-04-07 John Levon <levon@movementarian.org>
6645 * paragraph.C: remove dead comment
6647 * text.C: remove troublesome depth-fiddling code
6648 in leftMargin() and rightMargin() (bug 1017)
6650 * text.C: fix breaking of rows in nested lists
6653 * text2.C (updateCounters): fix up depth values
6656 2003-04-07 John Levon <levon@movementarian.org>
6658 * BufferView_pimpl.C: clear message when doc finishes resizing,
6659 and after a mouse event
6661 * lyxfunc.C: clear message after exiting inset
6663 2003-04-07 John Levon <levon@movementarian.org>
6665 * bufferview_funcs.C: show math status not outside
6666 status in the statusbar
6668 2003-04-07 John Levon <levon@movementarian.org>
6670 * lyxfunc.C: note status changed after a depth change
6672 2003-04-04 Angus Leeming <leeming@lyx.org>
6674 * LaTeX.h: move AuxInfo operator==, != out of line.
6675 Remove LaTeX virtual destructor; nothing derives from it.
6676 Move operator()() out of public area and rename it startscript().
6677 Change protected for private.
6679 2003-04-04 Angus Leeming <leeming@lyx.org>
6682 * text2.C: remove unneeded #includes.
6684 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6686 * text2.C (dEPM): fix the heigth of the next row
6688 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6690 * text.C: squashed an invalid getChar requester + some ws changes
6692 2003-04-03 John Levon <levon@movementarian.org>
6694 * bufferview_funcs.h:
6695 * bufferview_funcs.C:
6698 * text2.C: make getStatus work for the env depth lfuns
6700 2003-04-03 John Levon <levon@movementarian.org>
6702 * bufferview_funcs.h:
6703 * bufferview_funcs.C:
6706 * text2.C: parlistize decDepth(), by merging it with incDepth()
6708 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6710 * lyxrow.h: store a ParagraphList::iterator instead of a
6711 Paragraph* and adjust other class functions to suit.
6713 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6716 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6718 * text2.C (setCursor): do not anchor to cursor row for the time being
6720 2003-04-02 John Levon <levon@movementarian.org>
6727 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6729 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6731 * paragraph.h: make ParagraphList and ParagraphList::iterator
6732 friends of Paragraph.
6734 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6736 * ParagraphList.C: Use the private next_ and previous_ from
6739 2003-04-01 John Levon <levon@movementarian.org>
6743 * Makefile.am: rename, remove defaults gunk
6746 * MenuBackend.C: remove defaults gunk
6749 * Languages.C: remove defaults gunk
6752 * lyx_main.C: error out if files couldn't be found.
6754 2003-04-02 John Levon <levon@movementarian.org>
6756 * text2.C: make incDepth() use parlist
6758 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6760 * undo_funcs.C (firstUndoParagraph): adjust
6762 * text3.C (gotoInset): adjust
6763 (dispatch): adjust, and rewrite loop.
6765 * text2.C (init): adjust, and rewrite loop.
6766 (redoParagraphs): adjust
6767 (updateInset): adjust, and rewrite loop.
6768 (deleteEmptyParagraphMechanism): adjust
6770 * tabular.C (LyXTabular): adjust
6771 (SetMultiColumn): adjust
6774 * lyxtext.[Ch] (ownerParagraph): delete function
6775 (ownerParagraphs): new function returns a ParagraphList.
6777 * BufferView.C (removeAutoInsets): adjust
6778 (insertErrors): adjust
6779 (setCursorFromRow): adjust
6781 2003-04-01 Angus Leeming <leeming@lyx.org>
6783 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6786 2003-04-02 John Levon <levon@movementarian.org>
6792 * text_funcs.C: make transposeChars a free function
6794 * lyxrow_funcs.C: remove wrong comment
6796 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6799 * rowpainter.C: adjust
6804 * lyxrow_funcs. [Ch]: new files
6806 * lyxrow.[Ch]: remove next and previous pointers
6807 (next,previous): remove accessor functions
6808 (isParEnd): move to lyxrow_funcs
6809 (lastPos): move to lyxrow_funcs
6810 (nextRowIsAllInset): move to lyxrow_funcs
6811 (lastPrintablePos): move to lyxrow_funcs
6812 (numberOfSeparators): move to lyxrow_funcs
6813 (numberOfHfills): move to lyxrow_funcs
6814 (numberOfLabelHfills): move to lyxrow_funcs
6815 (hfillExpansion): move to lyxrow_funcs
6819 * bufferview_funcs.C (toggleAndShow): adjust
6821 * RowList.h: Remove class RowList from file leave just a
6824 * RowList.C: delete file
6826 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6829 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6831 * text3.C (cursorPrevious): adjust
6832 (cursorNext): adjust
6835 * text2.C (redoHeightOfParagraph): adjust
6836 (redoDrawingOfParagraph): adjust
6839 * text.C (breakParagraph): adjust
6840 (insertChar): adjust
6843 * rowpainter.C (RowPainter): adjust
6844 (leftMargin): simplify and adjust
6845 (most rowpainter functions): adjust.
6847 * rowpainter.h: store the row as RowList::iterator not as Row*
6849 * lyxcursor.C (row): taka RowList::iterator as arg
6852 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6855 2003-04-01 Angus Leeming <leeming@lyx.org>
6857 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6858 stuff like bool Bool.
6860 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6862 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6865 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6867 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6870 * lyxtext.h (rows): drop one version and leve a const variant that
6871 returns a RowList::iterator.
6873 2003-03-31 Angus Leeming <leeming@lyx.org>
6875 * text.C (fill): ensure that the signature is the same as that in the
6878 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6880 * text2.C (redoParagraphs): adjust
6881 (updateCounters): adjust
6882 (checkParagraph): adjust
6883 (getColumnNearX): adjust and reformat a bit.
6885 * text.C (top_y): adjust
6887 (leftMargin): adjust
6888 (prepareToPrint): adjust
6890 (getRowNearY): adjust
6892 * lyxtext.h: make rowlist_ mutable.
6894 * RowList.h: add const_iterator
6895 * RowList.C: adjust for RowList::const_iterator.
6897 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6900 2003-03-31 John Levon <levon@movementarian.org>
6903 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6905 * lyx_main.C: set default fonts from using lyx_gui funcs
6907 * exporter.C: pdf_mode moved from lyxrc
6910 * lyxfunc.C: changes from above
6912 2003-03-31 John Levon <levon@movementarian.org>
6914 * lyx_main.C: fix to the last fix
6916 2003-03-31 John Levon <levon@movementarian.org>
6918 * bufferlist.C: "Load original" -> "Load Original"
6924 * format.C: more Alert cleanups
6926 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6928 * text2.C (removeParagraph): make it take a RowList::iterator as
6930 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6931 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6933 * text.C (anchor_row): make it take a RowList::iterator as arg,
6935 (computeBidiTables): make it take a const reference to Row instead
6936 of Row pointer, adjust.
6937 (leftMargin): make it take a RowList::iterator as arg, adjust.
6938 (rowBreakPoint): adjust
6939 (breakAgainOneRow): make it take a RowList::iterator as arg,
6941 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6943 * bufferview_funcs.C (toggleAndShow): adjust
6945 2003-03-30 John Levon <levon@movementarian.org>
6949 * boost-inst.C: moved to support
6951 * several files: changes as a result
6953 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6955 * text2.C (LyXText): adjust.
6957 (removeRow): make it take a RowList::iterator as arg, adjust.
6958 (fullRebreak): adjust
6959 (deleteEmptyParagraphMechanism): adjust
6960 (clearPaint): adjust
6963 * text.C (top_y): adjust
6964 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6965 (breakAgain): make it take a RowList::iterator as arg, adjust.
6966 (breakParagraph): adjust
6967 (insertChar): adjust
6970 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6971 need_break_row, and refresh_row.
6973 * text3.C (dispatch): adjust
6975 * text2.C (checkParagraph): adjust
6977 (setCursorFromCoordinates): adjust
6979 * text.C (top_y): adjust
6981 (getRow): make it return a RowList::iterator, adjust
6982 (getRowNearY): make it return a RowList::iterator, adjust
6984 * text2.C (init): adjust
6985 (insertRow): remove function
6986 (insertParagraph): adjust
6987 (redoParagraphs): adjust
6988 (fullRebreak): adjust
6989 (updateCounters): adjust
6991 * text.C (top_y): rewrite to use RowList iterators.
6993 (setHeightOfRow): rewrite to sue RowList iterators.
6994 (appendParagraph): adjust
6995 (breakAgain): adjust
6996 (breakAgainOneRow): adjust
6997 (breakParagraph): adjust
6999 (getRowNearY): adjust, and remove commented code.
7001 * lyxtext.h (firstRow): delete function
7002 (lastRow): delete function
7003 (rows): new function (const and non-const versions.)
7004 (insertRow): delete function
7006 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7008 2003-03-29 John Levon <levon@movementarian.org>
7010 * BufferView_pimpl.C: always update scrollbar top
7011 because pasting text when we're anchored could mean we
7012 miss an update altogether
7014 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7016 * text2.C (init): use rowlist_.end() and not 0.
7017 (insertRow): change to take a RowList::iterator as arg, adjust
7019 (insertParagraph): change to take a RowList::iterator as arg,
7021 (redoParagraphs): remove some debug msgs.
7023 * text.C (appendParagraph): change to take a RowList::iterator
7024 arg, adjust for this.
7025 (breakAgain): add an assert
7026 (breakAgainOneRow): ditto
7028 2003-03-29 John Levon <levon@movementarian.org>
7030 * text2.C: do not clear selection after inc/decDepth
7033 2003-03-29 John Levon <levon@movementarian.org>
7036 * buffer.C: fix broken strerrors according to Lars
7038 2003-03-29 John Levon <levon@movementarian.org>
7040 * converters.C: more Alert cleanups
7042 2003-03-29 John Levon <levon@movementarian.org>
7044 * bufferview_funcs.C: remove pointless Alert
7046 * buffer.C: fix confusing error message when
7047 a template is chmoded 000
7049 2003-03-29 John Levon <levon@movementarian.org>
7053 * BufferView_pimpl.C: Alert fixes
7057 * tabular-old.C: remove unused table compat reading
7059 2003-03-29 John Levon <levon@movementarian.org>
7064 * lyx_cb.C: more Alert cleanups
7066 * lyxfunc.C: don't allow chktex if not latex document
7068 2003-03-29 John Levon <levon@movementarian.org>
7072 * buffer.C: warnings pushed down from support/,
7075 2003-03-29 John Levon <levon@movementarian.org>
7077 * lyxfunc.C: safety check for C-r (revert)
7079 2003-03-29 John Levon <levon@movementarian.org>
7082 * bufferlist.C: several UI fixes using Alert::prompt.
7083 Fix the pointless looping quit code. Fix stupid revert
7088 * lyx_cb.C: use Alert::prompt
7090 * lyx_main.C: remove a silly question
7092 * lyxfunc.C: remove a couple of silly questions,
7095 2003-03-28 John Levon <levon@movementarian.org>
7097 * text2.C: fix bug 974 (End on empty par)
7099 2003-03-28 John Levon <levon@movementarian.org>
7101 * BufferView_pimpl.C:
7103 * lfuns.h: remove do-nothing math greek lfuns
7105 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7107 * lyxgluelength.h (isValidGlueLength): add default arg on
7108 parameter 2. Remove default arg from friend in class.
7110 * lyxlength.h (isValidLength): add default arg on parameter 2.
7111 Remove default arg from friend in class.
7113 * text2.C (LyXText): adjust, initialize refresh_row.
7117 (insertParagraph): adjst
7118 (redoParagraphs): adjust
7119 (fullRebreak): adjust
7120 (updateCounters): adjust
7121 (deleteEmptyParagraphMechanism): first attempt at fixing a
7124 * text.C (top_y): adjust
7125 (setHeightOfRow): adjust
7127 (getRowNearY): adjust
7129 * lyxtext.h: include RowList.h
7130 (~LyXText): not needed anymore, deleted.
7131 (firstRow): modify for RowList
7132 (lastRow): new function
7133 Delete firstrow and lastrow class variables, add a Rowlist
7134 rowlist_ class variable.
7136 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7139 * RowList.C (insert): fix case where it == begin().
7141 2003-03-26 Angus Leeming <leeming@lyx.org>
7143 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7144 the thesaurus dialog.
7146 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7148 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7150 * RowList.[Ch]: new files
7152 * ParagraphList.C (erase): handle the case where it == begin
7155 2003-03-25 John Levon <levon@movementarian.org>
7159 * aspell.C: add new aspell support
7162 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7165 2003-03-25 Angus Leeming <leeming@lyx.org>
7168 * LyXAction.C (init): new LFUN_INSET_INSERT.
7170 * BufferView_pimpl.C (dispatch): split out part of the
7171 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7173 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7176 2003-03-25 Angus Leeming <leeming@lyx.org>
7178 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7180 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7183 * text3.C: remove useless row->height(0)
7185 2003-03-25 John Levon <levon@movementarian.org>
7189 * text3.C: rename the refreshing stuff to better names
7191 2003-03-24 John Levon <levon@movementarian.org>
7193 * BufferView_pimpl.h:
7194 * BufferView_pimpl.C: update layout choice on a mouse
7197 2003-03-23 John Levon <levon@movementarian.org>
7199 * Makefile.am: fix commandtags.h reference
7201 2003-03-22 John Levon <levon@movementarian.org>
7203 * BufferView_pimpl.C:
7208 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7210 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7213 * text.C: take the rtl methods out of line
7215 2003-03-21 André Pönitz <poenitz@gmx.net>
7217 * metricsinfo.[Ch]: new files containing structures to be passed around
7218 during the two-phase-drawing...
7220 2003-03-21 André Pönitz <poenitz@gmx.net>
7222 * lyxtextclass.C: read 'environment' tag.
7224 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7226 * text2.C (removeRow): fix bug 964
7228 2003-03-20 John Levon <levon@movementarian.org>
7232 * text2.C: paint cleanups. Inset::update() dropped font
7235 2003-03-19 John Levon <levon@movementarian.org>
7237 * lyxfunc.C: only fitcursor/markDirty if available()
7239 2003-03-19 John Levon <levon@movementarian.org>
7241 * commandtags.h: rename to ...
7243 * lfuns.h: ... this, and renumber / cleanup
7245 2003-03-19 John Levon <levon@movementarian.org>
7247 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7248 fit the cursor after an lfun
7252 * BufferView_pimpl.h:
7253 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7255 * LyXAction.C: layout-character should have ReadOnly
7257 * ParagraphParameters.C:
7259 * bufferview_funcs.C:
7266 * undo_funcs.C: changes from above
7268 2003-03-18 John Levon <levon@movementarian.org>
7270 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7271 remove it from update()
7273 * lyxfunc.C: update layout choice after an lfun
7275 * text3.C: remove extra updateLayoutChoice()s
7277 2003-03-18 John Levon <levon@movementarian.org>
7279 * text.C: top_y change means full repaint, fix
7280 a drawing bug with cursor movement
7282 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7286 * text2.C: anchor row on setCursor
7288 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7290 * lyxtext.h: remove almost all mutable keywords
7293 * text3.C: remove const keywords accordingly
7295 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7297 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7299 (TeXEnvironment): ditto
7302 2003-03-17 John Levon <levon@movementarian.org>
7304 * text.C (rowBreakPoint): remove attempt to fix displayed
7305 math insets inside a manual label
7307 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7309 * lyxtext.h: remove BufferView* as first arg from almost all class
7311 * other files: adjust.
7313 2003-03-17 John Levon <levon@movementarian.org>
7317 * text2.C: more paint cleanups
7319 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7322 * rowpainter.C: remove "smart" background painting code
7324 2003-03-16 John Levon <levon@movementarian.org>
7329 * text3.C: add helper functions for setting refresh_row/y
7331 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7333 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7334 newline inset which *can* get inserted in the pass_thru layouts.
7335 This is primarily for literate documents.
7337 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7339 * buffer.C: increment LYX_FORMAT to 223
7341 2003-03-14 André Pönitz <poenitz@gmx.net>
7343 * textclass.h: prepare for environment handling, ws changes
7344 * lyxlayout.C: read latexheader and latexfooter tags
7346 2003-03-14 John Levon <levon@movementarian.org>
7348 * text2.C: rewrite ::status() a bit
7350 2003-03-13 John Levon <levon@movementarian.org>
7352 * lyxtext.h: add some docs
7354 2003-03-13 John Levon <levon@movementarian.org>
7359 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7361 2003-03-13 John Levon <levon@movementarian.org>
7363 * text3.C: fix appendix redrawing
7365 2003-03-13 John Levon <levon@movementarian.org>
7367 * text.C (setHeightOfRow):
7369 * rowpainter.C: make appendix mark have the text
7370 "Appendix" so the user knows what it is
7373 * LColor.C: s/appendixline/appendix/ from above
7375 2003-03-13 John Levon <levon@movementarian.org>
7377 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7379 * text.C: fix a getChar(pos) bug properly
7381 2003-03-13 Angus Leeming <leeming@lyx.org>
7384 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7385 Probably only temporary. Let's see how things pan out.
7387 * BufferView.C (unlockInset):
7388 * BufferView_pimpl.C (fitCursor):
7389 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7391 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7392 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7394 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7395 new functions that convert ParagraphParameters to and from a string.
7397 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7398 BufferView::Pimpl's dispatch.
7399 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7401 2003-03-13 André Pönitz <poenitz@gmx.net>
7405 * factory.C: make it aware of InsetEnv
7407 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7409 * text2.C (setCursor): never ask for one past last
7410 (setCursor): add some debugging messages.
7412 * text.C (singleWidth): never ask for one past last
7413 (singleWidth): ditto
7415 (rightMargin): ditto
7416 (rowBreakPoint): ditto
7417 (setHeightOfRow): ditto
7418 (prepareToPrint): ditto
7420 * rowpainter.C (paintBackground): never ask for one past last
7421 (paintText): never ask for one past last
7423 * paragraph_pimpl.C (getChar): make the assert stricter, never
7424 allow the one past last pos to be taken
7426 * paragraph.C (getChar): ws changes only
7428 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7429 (numberOfSeparators): ditto
7430 (numberOfHfills): ditto
7432 2003-03-12 John Levon <levon@movementarian.org>
7438 * paragraph_funcs.C: fix per-buffer authorlists
7440 2003-03-12 John Levon <levon@movementarian.org>
7442 * text.C: fix newline in right address
7444 2003-03-12 Angus Leeming <leeming@lyx.org>
7446 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7447 duplicate those in LyXFunc::dispatch.
7451 * ToolbarDefaults.C:
7452 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7453 Add LFUN_FONTFREE_UPDATE.
7455 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7456 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7458 * bufferview_func.[Ch]: several new functions to facilliate
7459 transfer of data to and from the character dialog.
7461 2003-03-12 John Levon <levon@movementarian.org>
7466 * paragraph_funcs.C:
7467 * paragraph_pimpl.C:
7471 * text3.C: remove META_NEWLINE in favour of an inset
7474 * rowpainter.C: remove paintNewline (done by inset)
7476 2003-03-12 John Levon <levon@movementarian.org>
7478 * paragraph_pimpl.C: complain about bad getChar()s
7479 for a while at least
7481 2003-03-12 John Levon <levon@movementarian.org>
7484 * buffer.C: move paragraph read into a separate function,
7485 a little renaming to reflect that.
7488 * bufferparams.C: remove the author_ids map, not necessary now
7491 * factory.C: moved Buffer::readInset to here
7493 * paragraph_funcs.h:
7494 * paragraph_funcs.C: readParagraph free function moved from
7497 * tabular.C: name change
7499 2003-03-12 John Levon <levon@movementarian.org>
7502 * ParagraphParameters.C: move par params input to
7505 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7506 behave like a normal read from the stream wrt reading
7507 a line vs. a \\token
7509 2003-03-12 John Levon <levon@movementarian.org>
7512 * ParagraphParameters.h:
7513 * ParagraphParameters.C: move output code to a
7516 2003-03-12 John Levon <levon@movementarian.org>
7518 * BufferView.C (insertLyXFile):
7521 * tabular.C: use a parlist iterator for creating the
7524 2003-03-12 John Levon <levon@movementarian.org>
7526 * buffer.C: make current_change static local not
7529 2003-03-12 John Levon <levon@movementarian.org>
7531 * buffer.C: fix insertStringAsLines for change tracking
7533 2003-03-12 John Levon <levon@movementarian.org>
7540 * bufferparams.C: move author list into params. Rename some
7541 functions. Move the header reading into a separate token
7542 loop. Move the header token reading into BufferParams.
7544 2003-03-12 John Levon <levon@movementarian.org>
7546 * changes.C: put debug inside lyxerr.debugging() checks
7548 2003-03-11 André Pönitz <poenitz@gmx.net>
7550 * factory.C: make it aware of InsetHFill
7552 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7554 * buffer.C (latexParagraphs): move function from here...
7555 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7558 2003-03-10 Angus Leeming <leeming@lyx.org>
7560 * LyXAction.C (init): fix bug in poplating array with multiple entries
7561 with the same LFUN (spotted by JMarc).
7563 2003-03-10 John Levon <levon@movementarian.org>
7566 * text2.C: move getColumnNearX() near its
7569 2003-03-10 John Levon <levon@movementarian.org>
7571 * text.C: fix break before a minipage
7573 2003-03-10 John Levon <levon@movementarian.org>
7575 * text.C: fix the last commit
7577 2003-03-09 John Levon <levon@movementarian.org>
7581 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7582 bug 365 (don't break before insets unless needed). Don't
7583 return a value > last under any circumstances.
7585 2003-03-09 Angus Leeming <leeming@lyx.org>
7587 * BufferView_pimpl.C (trackChanges, dispatch): call
7588 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7590 2003-03-09 Angus Leeming <leeming@lyx.org>
7592 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7593 than Dialogs::showAboutlyx().
7595 2003-03-09 Angus Leeming <leeming@lyx.org>
7597 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7598 than Dialogs::showTabularCreate().
7600 2003-03-09 John Levon <levon@movementarian.org>
7604 * text2.C: 3rd arg to nextBreakPoint was always the same.
7607 2003-03-08 John Levon <levon@movementarian.org>
7614 * text2.C: Remove the "main" bit from the "main body"
7617 2003-03-08 John Levon <levon@movementarian.org>
7619 * text.C (leftMargin): The left margin of an empty
7620 manual label paragraph should not include the label width
7623 * text.C (prepareToPrint): don't attempt to measure hfills
7624 for empty manual label paragraphs - the answer should be 0
7626 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7628 * CutAndPaste.C: remove commented code and reindent.
7630 2003-03-08 John Levon <levon@movementarian.org>
7633 * lyxfunc.C: move reloadBuffer()
7636 * BufferView.C: to here
7638 * lyxvc.C: add comment
7641 * vc-backend.C: call bv->reload() to avoid
7642 getStatus() check on MENURELOAD
7644 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7646 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7647 to an old format .dep file.
7649 2003-03-07 Angus Leeming <leeming@lyx.org>
7651 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7652 when the LFUN_MOUSE_RELEASE should have been handled by
7653 inset->localDispatch.
7655 2003-03-07 Angus Leeming <leeming@lyx.org>
7657 * BufferView_pimpl.C (dispatch):
7658 * LyXAction.C (init):
7659 * ToolbarDefaults.C (init):
7661 * lyxfunc.C (getStatus):
7662 remove LFUN_INSET_GRAPHICS.
7664 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7666 2003-03-07 Angus Leeming <leeming@lyx.org>
7669 * LyXAction.C (init):
7670 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7672 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7675 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7677 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7678 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7680 2003-03-07 Angus Leeming <leeming@lyx.org>
7682 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7685 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7687 * ParagraphList.C (front): new function
7690 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7692 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7693 and top_row_offset_. removed var first_y.
7695 * text2.C (LyXText, removeRow):
7697 * BufferView_pimpl.C:
7698 use these methods instead of using first_y
7700 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * text2.C (pasteSelection): adjust for checkPastePossible
7704 * CutAndPaste.C: remove Paragraph * buf and replace with
7705 ParagraphList paragraphs.
7706 (DeleteBuffer): delete
7707 (cutSelection): change the tc type to textclass_type
7708 (copySelection): change the tc type to textclass_type
7709 (copySelection): adjust for ParagraphList
7710 (pasteSelection): change the tc type to textclass_type
7711 (pasteSelection): adjust for Paragraphlist
7712 (nrOfParagraphs): simplify for ParagraphList
7713 (checkPastePossible): simplify for ParagraphList
7714 (checkPastePossible): remove unused arg
7716 * ParagraphList.C (insert): handle the case where there are no
7719 * CutAndPaste.h: make CutAndPaste a namespace.
7721 * text3.C (dispatch): adjust
7723 * text.C (breakParagraph): add a ParagraphList as arg
7725 * paragraph_funcs.C (breakParagraph): change to take a
7726 BufferParams and a ParagraphList as args.
7727 (breakParagraphConservative): ditto
7728 (mergeParagraph): ditto
7729 (TeXDeeper): add a ParagraphList arg
7730 (TeXEnvironment): ditto
7733 * buffer.C (readLyXformat2): adjust
7734 (insertStringAsLines): adjust
7735 (latexParagraphs): adjust
7737 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7738 (cutSelection): adjust
7739 (pasteSelection): adjust
7741 * BufferView_pimpl.C (insertInset): adjust
7743 2003-03-05 Angus Leeming <leeming@lyx.org>
7746 * LyXAction.C (init):
7747 * BufferView_pimpl.C (dispatch):
7748 * lyxfunc.C (getStatus):
7749 remove LFUN_CHILD_INSERT.
7751 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7753 2003-03-05 Angus Leeming <leeming@lyx.org>
7756 * LyXAction.C (init):
7757 * src/factory.C (createInset):
7758 * lyxfunc.C (getStatus):
7759 * text3.C (dispatch):
7760 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7762 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7764 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7766 * ParagraphList.C (insert): handle insert right before end()
7767 (erase): fix cases where it can be first or last paragraph.
7769 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7771 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7772 Paragraph::next and Paragraph::previous
7775 * text.C (breakParagraph): adjust
7777 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7778 BufferParams& as arg.
7779 (breakParagraph): use ParagraphList::insert
7780 (breakParagraphConservative): take a Buffer* instead of a
7781 BufferParams& as arg.
7782 (breakParagraphConservative): use ParagraphList::insert.
7784 * buffer.C (insertStringAsLines): un-const it
7785 (insertStringAsLines): adjust
7787 * ParagraphList.C (insert): new function
7789 * CutAndPaste.C (pasteSelection): adjust
7791 * text.C (backspace): adjust
7793 * tabular.C (SetMultiColumn): adjust
7795 * CutAndPaste.C (cutSelection): adjust
7796 (pasteSelection): adjust
7798 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7799 Buffer const * as arg
7801 * ParagraphList.C (erase): new function
7802 * paragraph_funcs.C (mergeParagraph): use it
7803 (mergeParagraph): make it take a Buffer* instead of a
7804 BufferParams* as arg
7806 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7808 (breakParagraphConservative): ditto
7810 * paragraph.h: remove the breakParagraph friend
7812 * paragraph.C (eraseIntern): new function
7813 (setChange): new function
7815 * paragraph_funcs.C (mergeParagraph): make it take a
7816 ParagraphList::iterator instead of a Paragraph *, adjust
7819 * paragraph.h: move an #endif so that the change tracking stuff
7820 also works in the NO_NEXT case.
7822 2003-03-04 Angus Leeming <leeming@lyx.org>
7825 * LyXAction.C: new LFUN_INSET_MODIFY.
7827 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7828 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7830 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7832 * several files: ws changes only
7834 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7835 (TeXEnvironment): ditto
7838 * buffer.C (makeLaTeXFile): adjust
7839 (latexParagraphs): make it take ParagraphList::iterator as args
7841 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7843 * buffer.C (latexParagraphs): adjust
7845 * paragraph.C (TeXOnePar): move function...
7846 (optArgInset): move function...
7847 (TeXEnvironment): move function...
7848 * paragraph_pimpl.C (TeXDeeper): move function...
7849 * paragraph_funcs.C: ...here
7851 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7853 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7855 * buffer.C (readInset): remove compability code for old Figure and
7858 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7860 * buffer.C: ws changes
7863 * BufferView_pimpl.C: ditto
7866 * bufferlist.h: ditto
7870 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7872 * converter.[Ch]: split into itself +
7875 * Makefile.am: += graph.[Ch] + format.[Ch]
7882 * lyxrc.C: added #include "format.h"
7884 2003-02-27 Angus Leeming <leeming@lyx.org>
7886 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7889 * factory.C (createInset): add "label" to the factory.
7891 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7892 string and do no more.
7894 2003-02-27 Angus Leeming <leeming@lyx.org>
7897 * LyXAction.C (init):
7898 * factory.C (createInset):
7899 * BufferView_pimpl.C (dispatch):
7900 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7902 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7904 * lyxfunc.C (dispatch):
7905 * text3.C (dispatch): pass name to params2string.
7907 2003-02-26 Angus Leeming <leeming@lyx.org>
7909 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7911 Rearrange the ~includes. Strip out the unnecessary ones.
7913 * factory.C (createInset): reformat.
7914 create new insets for the various LFUN_XYZ_APPLY lfuns.
7916 2003-02-26 John Levon <levon@movementarian.org>
7919 * lyxrow.C: add isParStart,isParEnd helpers
7921 * paragraph.h: make isInserted/DeletedText take refs
7923 * paragraph_funcs.h:
7924 * paragraph_funcs.C: remove #if 0'd code
7929 * text.C: use lyxrow helpers above.
7930 Move draw and paint routines to RowPainter.
7931 Make several methods use refs not pointers.
7932 Make backgroundColor() const.
7933 Add markChangeInDraw(), isInInset().
7934 Merge changeRegionCase into changeCase.
7935 Make workWidth() shouldn't-happen code into an Assert.
7938 * rowpainter.C: new class for painting a row.
7941 * vspace.C: make inPixels take a ref
7943 2003-02-26 Angus Leeming <leeming@lyx.org>
7945 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7948 2003-02-25 John Levon <levon@movementarian.org>
7950 * ispell.C: give the forked command a more accurate name
7952 2003-02-22 John Levon <levon@movementarian.org>
7955 * toc.C: make TocItem store an id not a Paragraph *
7958 2003-02-21 Angus Leeming <leeming@lyx.org>
7960 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7961 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7962 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7963 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7964 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7965 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7967 * BufferView_pimpl.C (dispatch):
7968 * LyXAction.C (init):
7969 * factory.C (createInset):
7970 * lyxfunc.C (getStatus, dispatch):
7971 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7973 2003-02-21 Angus Leeming <leeming@lyx.org>
7975 * BufferView_pimpl.C (MenuInsertLyXFile):
7976 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7977 * lyxfunc.C (menuNew, open, doImport):
7978 no longer pass a LyXView & to fileDlg.
7980 2003-02-21 Angus Leeming <leeming@lyx.org>
7982 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7983 * LyXAction.C: change, BIBKEY to BIBITEM.
7984 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7985 Change InsetBibKey to InsetBibitem.
7986 Change BIBKEY_CODE to BIBITEM_CODE.
7987 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7988 * factory.C: replace insetbib.h with insetbibitem.h.
7989 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7990 * paragraph.C: replace insetbib.h with insetbibitem.h.
7991 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7992 Change bibkey() to bibitem().
7993 * text.C: remove insetbib.h.
7994 * text2.C: replace insetbib.h with insetbibitem.h.
7995 change bibkey() to bibitem().
7996 * text3.C: remove insetbib.h.
7997 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7999 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8001 * lyxrc.C (output): enclose user email in quotes (in case there are
8004 2003-02-18 John Levon <levon@movementarian.org>
8006 * buffer.h: add std::
8008 2003-02-17 John Levon <levon@movementarian.org>
8014 * pspell.C: reworking. Especially in ispell, a large
8015 number of clean ups and bug fixes.
8017 * lyxfunc.C: fix revert to behave sensibly
8019 2003-02-17 André Pönitz <poenitz@gmx.net>
8022 * commandtags.h: new LFUN_INSERT_BIBKEY
8032 * paragraph_func.C: remove special bibkey handling
8034 2003-02-17 John Levon <levon@movementarian.org>
8036 * text.C (Delete): fix case where delete at the end of
8037 the very first paragraph would not merge the pars
8039 2003-02-17 John Levon <levon@movementarian.org>
8041 * lyxrow.C: fix lastPrintablePos()
8043 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8045 * bufferparams.C (writeLaTeX): add a std:here
8047 * buffer.C: and remove a using directive there
8049 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8051 * buffer.C (makeLaTeXFile): move the code that generates the
8054 * bufferparams.C (writeLaTeX): ... in this new method
8056 * LaTeXFeatures.C (getEncodingSet): make const
8057 (getLanguages): make const
8059 * MenuBackend.C (binding): returns the binding associated to this
8061 (add): sets the status of each item by calling getStatus. Adds
8063 (read): add support for OptSubMenu
8064 (expand): remove extra separator at the end of expanded menu
8066 2003-02-15 John Levon <levon@movementarian.org>
8069 * BufferView_pimpl.C:
8071 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8072 inset code that had no actual effect. Remove unneeded status
8075 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8077 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8080 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8082 * text.C (drawLengthMarker): also draw an arrow marker for
8083 symbolic lengths (medskip...)
8085 2003-02-14 John Levon <levon@movementarian.org>
8088 * tabular.C: better method names
8090 2003-02-14 John Levon <levon@movementarian.org>
8092 * BufferView_pimpl.C:
8097 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8098 it's a more accurate name. Remove some pointless uses.
8100 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8102 * text2.C (LyXText): change order of initilizers to shut off
8105 2003-02-14 John Levon <levon@movementarian.org>
8107 * buffer.C: use ParIterator for getParFromID()
8111 * paragraph_pimpl.h:
8112 * paragraph_pimpl.C: remove unused getParFromID()
8114 2003-02-14 John Levon <levon@movementarian.org>
8116 * buffer.C: remove some very old #if 0'd parse code
8118 2003-02-13 John Levon <levon@movementarian.org>
8122 * text2.C: move hfillExpansion(), numberOfSeparators(),
8123 rowLast(), rowLastPrintable(), numberofHfills(),
8124 numberOfLabelHfills() ...
8127 * lyxrow.C: ... to member functions here.
8132 * text.C: remove LyXText::beginningOfMainBody(), and call
8133 p->beginningOfMainBody() directly. Move the check for
8134 LABEL_MANUAL into the latter.
8141 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8147 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8148 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8150 2003-02-13 John Levon <levon@movementarian.org>
8152 * CutAndPaste.C: remove debug
8154 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8156 * paragraph.C (asString): remove two unused variables
8158 * lyxtextclass.C (readTitleType):
8160 (LyXTextClass): handle new members titletype_ and titlename_
8162 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8164 2003-02-09 John Levon <levon@movementarian.org>
8167 * buffer.C: replace hand-coded list with a map for the dep clean
8169 2003-02-08 John Levon <levon@movementarian.org>
8171 * LaTeX.C: consolidate code into showRunMessage() helper
8173 2003-02-08 John Levon <levon@movementarian.org>
8178 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8179 and pass the size in explicitly
8181 * BufferView_pimpl.h:
8182 * BufferView_pimpl.C:
8184 * BufferView.C: add getCurrentChange()
8186 * BufferView_pimpl.h:
8187 * BufferView_pimpl.C: handle change lfuns
8189 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8190 for changes. Mark pasted paragraphs as new.
8192 * support/lyxtime.h:
8193 * support/lyxtime.C:
8194 * DepTable.C: abstract time_t as lyx::time_type
8197 * LColor.C: add colours for new text, deleted text, changebars
8199 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8200 package use "usenames" option.
8204 * LyXAction.C: add change lfuns
8208 * author.C: author handling
8211 * buffer.C: add a per-buffer author list, with first entry as
8212 current author. Handle new .lyx tokens for change tracking. Output
8213 author list to .lyx file. Output dvipost stuff to .tex preamble.
8214 Bump lyx format to 222.
8217 * bufferlist.C: add setCurrentAuthor() to reset current author details
8221 * bufferparams.C: add param for tracking
8223 * bufferview_funcs.C: output change info in minibuffer
8227 * changes.C: add change-tracking structure
8230 * debug.C: add CHANGES debug flag
8233 * lyxfind.C: add code for finding the next change piece
8236 * lyxrc.C: add user_name and user_email
8239 * lyxrow.C: add a metric for the top of the text line
8242 * text.C: implement accept/rejectChange()
8245 * text.C: paint changebars. Paint new/deleted text in the chosen
8246 colours. Strike through deleted text.
8250 * paragraph_pimpl.h:
8251 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8252 in the current change to the insert functions. Rework erase to
8253 mark text as deleted, adding an eraseIntern() and a range-based
8254 erase(). Implement per-paragraph change lookup and
8257 * paragraph_funcs.C: Fixup paste for change tracking.
8259 * tabular.C: mark added row/columns as new.
8261 * text.C: fix rowLast() to never return -1. Don't allow
8262 spellchecking of deleted text. Track transpose changes. Don't
8263 allow paragraph break or merge where appropriate.
8265 * text2.C: leave cursor at end of selection after a cut.
8267 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8269 * text.C (getLengthMarkerHeight):
8270 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8271 visible on screen too.
8273 2003-02-07 John Levon <levon@movementarian.org>
8275 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8277 2003-02-05 Angus Leeming <leeming@lyx.org>
8279 * lyxserver.C (read_ready): revert my patch of 11 September last year
8280 as it sends PC cpu through the roof. Presumably this means that
8281 the lyxserver will no longer run on an Alpha...
8283 2003-01-30 Angus Leeming <leeming@lyx.org>
8285 * factory.C (createInset): create an InsetCommandParam of type "index"
8286 and use it to 'do the right thing'.
8288 * text2.C (getStringToIndex): ensure that cursor position is always
8289 reset to the reset_cursor position.
8291 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8293 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8296 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8300 * lyxfunc.C: Output messages with identical spelling, punctuation,
8303 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8305 * MenuBackend.C (expandFormats): List only viewable export formats
8308 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8311 * lyxfunc.C (getStatus): Make sure that formats other than
8312 "fax" can also be disabled
8314 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8316 * text3.C (dispatch): put the lfuns that insert insets in 3
8317 groups, and call doInsertInset with appropriate arguments.
8318 (doInsertInset): new function, that creates an inset and inserts
8319 it according to some boolean parameters.
8321 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8323 * buffer.C (readFile): remember to pass on 'par' when calling
8324 readFile recursively.
8326 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8328 * MenuBackend.C (expandFormats): add "..." to import formats.
8330 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8332 * paragraph.C (asString): Remove XForms RTL hacks.
8334 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8335 * buffer.C: fix typo
8337 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8339 * Makefile.am (LIBS): delete var
8340 (lyx_LDADD): add @LIBS@ here instead.
8342 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8344 * Clarify the meaning of "wheel mouse jump"
8346 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8348 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8351 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8353 * importer.C (Loaders): do not preallocate 3 elements in the
8354 vector, since one ends up with 6 elements otherwise
8356 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8358 * DepTable.C (write): write the file name as last element of the
8359 .dep file (because it may contain spaces)
8360 (read): read info in the right order
8362 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8364 * paragraph_pimpl.C (simpleTeXBlanks):
8365 (simpleTeXSpecialChars):
8366 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8368 * tabular.C (latex): add some missing case statements. Reindent.
8370 * MenuBackend.C (expandToc): remove unused variable.
8372 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8381 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8384 2003-01-05 John Levon <levon@movementarian.org>
8387 * BufferView.C: add getEncoding()
8390 * kbsequence.C: do not store last keypress
8393 * lyxfunc.C: store last keypress here instead. Pass encoding
8396 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8398 * lyx_main.C (init): remove annoying error message when following
8399 symbolic links (bug #780)
8401 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8403 * text.C (insertChar):
8404 * lyxrc.C (getDescription): remove extra spaces
8406 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8408 * lyxrc.C (getDescription): remove extra spaces
8410 2002-12-20 John Levon <levon@movementarian.org>
8412 * text3.C: hack fix for page up/down across tall rows
8414 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8416 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8419 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8421 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8422 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8423 thesaurus is not compiled in
8425 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8427 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8429 2002-12-16 Angus Leeming <leeming@lyx.org>
8432 * lyx_main.C (init): remove override_x_deadkeys stuff.
8434 2002-12-12 John Levon <levon@movementarian.org>
8436 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8437 insert. Only remove shift modifier under strict
8440 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8442 * MenuBackend.C (expandToc): fix crash.
8444 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8446 * MenuBackend.C (expandToc): gettext on float names.
8448 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8450 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8451 implement bool empty() [bug 490]
8453 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8455 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8457 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8459 * several files: ws changes
8461 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8463 * text2.C (setCounter): clean up a bit, use boost.format.
8464 (updateCounters): initialize par upon declaration.
8466 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8467 if the layout exists. We do not just store the layout any more.
8468 (SwitchLayoutsBetweenClasses): use boost.format
8470 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8472 * converter.C (convert): if from and to files are the same, use a
8473 temporary files as intermediary
8475 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8478 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8480 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8482 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8484 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8486 * tabular.C (asciiPrintCell): use string(size, char) instead of
8489 * sgml.C (openTag): fix order of arguments to string constructor
8492 * lyxfunc.C (dispatch): use boost.format
8494 * lots of files: change "c" -> 'c'
8496 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8498 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8500 2002-11-25 Angus Leeming <leeming@lyx.org>
8502 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8504 * lyx_main.C (init): compile fix.
8506 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8508 * lyx_cb.C (start): boost.formatify
8509 do not include <iostream>
8511 * lengthcommon.C: ws only
8513 * boost-inst.C,BoostFormat.h: add more explict instantations
8515 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8517 * lots of files: handle USE_BOOST_FORMAT
8519 2002-11-21 John Levon <levon@movementarian.org>
8521 * pspell.C: fix compile
8523 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8525 * lyxfunc.C (dispatch): use boost::format
8529 * lyxfont.C (stateText): use boost::format
8531 * lyx_main.C (LyX): use boost::format
8533 (queryUserLyXDir): ditto
8536 (typedef boost::function): use the recommened syntax.
8538 * importer.C (Import): use boost::format
8540 * debug.C (showLevel): use boost::format
8542 * converter.C (view): use boost::format
8547 * bufferview_funcs.C (currentState): use boost::format
8549 * bufferlist.C (emergencyWrite): use boost::format
8551 * buffer.C (readLyXformat2): use boost::format
8552 (parseSingleLyXformat2Token): ditto
8554 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8556 * LaTeX.C (run): use boost::format
8558 * Chktex.C (scanLogFile): use boost::format
8560 * BufferView_pimpl.C (savePosition): use boost::format
8561 (restorePosition): ditto
8562 (MenuInsertLyXFile): ditto
8564 * BoostFormat.h: help file for explicit instation.
8566 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8568 * tabular.C (latex): Support for block alignment in fixed width
8571 2002-11-17 John Levon <levon@movementarian.org>
8573 * BufferView_pimpl.C:
8575 * lyxfunc.C: split filedialog into open/save
8577 2002-11-08 Juergen Vigna <jug@sad.it>
8579 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8580 by my last patch (hopefully).
8582 2002-11-08 John Levon <levon@movementarian.org>
8591 * toc.C: ParConstIterator, and use it (from Lars)
8593 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8595 * lyxtextclass.[Ch]: revise and add doxygen comments
8597 2002-11-07 John Levon <levon@movementarian.org>
8599 * text.C: fix progress value for spellchecker
8601 * toc.C: fix navigate menu for insetwrap inside minipage
8603 * paragraph_funcs.C: added FIXME for suspect code
8605 2002-11-07 John Levon <levon@movementarian.org>
8607 * BufferView_pimpl.C: fix redrawing of insets
8610 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8612 * text2.C (updateCounters): fix bug 668
8614 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8616 * text3.C (dispatch): Do not make the buffer dirty when moving the
8619 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8621 * vc-backend.C: STRCONV
8624 * text2.C (setCounter): STRCONV
8626 * paragraph.C (asString): STRCONV
8628 * lyxlength.C (asString): STRCONV
8629 (asLatexString): ditto
8631 * lyxgluelength.C (asString): STRCONV
8632 (asLatexString): ditto
8634 * lyxfunc.C (dispatch): STRCONV
8637 * lyxfont.C (stateText): STRCONV
8639 * importer.C (Import): STRCONV
8641 * counters.C (labelItem): STRCONV
8642 (numberLabel): ditto
8643 (numberLabel): remove unused ostringstream o
8648 * bufferview_funcs.C (currentState): STRCONV
8650 * buffer.C (readFile): STRCONV
8651 (asciiParagraph): ditto
8652 (makeLaTeXFile): ditto
8654 * Spacing.C (writeEnvirBegin): STRCONV
8656 * LaTeXFeatures.C (getLanguages): STRCONV
8657 (getPackages): ditto
8659 (getBabelOptions): ditto
8660 (getTClassPreamble): ditto
8661 (getLyXSGMLEntities): ditto
8662 (getIncludedFiles): ditto
8666 (scanAuxFile): ditto
8669 * LString.h: add the STRCONV macros
8671 * BufferView_pimpl.C (savePosition): STRCONV
8672 (restorePosition): ditto
8673 (MenuInsertLyXFile): ditto
8675 * vc-backend.C (scanMaster): change from submatch[...] to
8678 * funcrequest.C: include config.h
8680 * factory.C: include config.h
8682 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8684 * box.C: include config.h
8686 * LaTeX.C (scanAuxFile): change from submatch[...] to
8690 2002-10-25 Angus Leeming <leeming@lyx.org>
8692 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8694 * ispell.[Ch] (setError): new method.
8695 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8696 Use setError() insetead of goto END.
8698 * lyx_cb.C (AutoSave): move out child process into new class
8701 2002-10-30 John Levon <levon@movementarian.org>
8703 * text3.C: make start appendix undoable
8705 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8707 * lyxlength.C (inPixels): Fix returned value.
8709 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8712 2002-10-24 Angus Leeming <leeming@lyx.org>
8714 * lyxgluelength.h: no need to forward declare BufferParams
8715 or BufferView, so don't.
8717 2002-10-21 John Levon <levon@movementarian.org>
8719 * BufferView.C: menuUndo ->undo, redo
8721 * BufferView.h: document, remove dead, make some methods private
8723 * paragraph_funcs.h:
8724 * paragraph_funcs.C:
8725 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8730 * sgml.C: move sgml open/close tag into sgml.C
8732 * bufferview_funcs.h: unused prototype
8735 * lyxfunc.C: remove unused
8738 * text.C: remove unused
8740 2002-10-21 John Levon <levon@movementarian.org>
8744 * BufferView_pimpl.h:
8745 * BufferView_pimpl.C: fix mouse wheel handling based on
8746 patch from Darren Freeman
8748 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8750 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8752 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8754 * lyxlength.C (inPixels): Fix hanfling of negative length.
8755 Fix LyXLength::MU case.
8757 2002-10-16 John Levon <levon@movementarian.org>
8759 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8761 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8763 * converter.C (view): add support for $$i (file name) and $$p
8764 (file path) for the viewer command. If $$i is not specified, then
8765 it is appended to the command (for compatibility with old syntax)
8767 2002-10-14 Juergen Vigna <jug@sad.it>
8769 * undo_funcs.C (textHandleUndo): alter the order in which the
8770 new undopar is added to the LyXText, as we have to set first
8771 the right prev/next and then add it as otherwise the rebuild of
8772 LyXText is not correct. Also reset the cursor to the right paragraph,
8773 with this IMO we could remove the hack in "redoParagraphs()".
8775 2002-10-09 Angus Leeming <leeming@lyx.org>
8777 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8778 to turn off an optimisation if a new inset is to be inserted.
8780 2002-10-11 André Pönitz <poenitz@gmx.net>
8782 * lyxtext.h: make some functions public to allow access
8783 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8785 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8787 * text3.C (dispatch): when changing layout, avoid an infinite loop
8790 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8792 * lyxrc.C (read): treat a viewer or converter command of "none" as
8795 * MenuBackend.C (expandFormats): for an update, also allow the
8796 formats that are not viewable
8798 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8799 script if it is newer than the lyxrc.defaults in user directory
8801 2002-10-07 André Pönitz <poenitz@gmx.net>
8803 * text.C: Vitaly Lipatov's small i18n fix
8805 2002-09-25 Angus Leeming <leeming@lyx.org>
8807 * ispell.h: doxygen fix.
8809 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8811 * buffer.h (readFile): Add a new argument to the method, to allow
8812 reading of old-format templates.
8814 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8816 * toc.C (getTocList): Get TOC from InsetWrap.
8818 2002-09-16 John Levon <levon@movementarian.org>
8820 * lyxfunc.C: check tabular for cut/copy too
8822 2002-09-12 John Levon <levon@movementarian.org>
8827 * factory.C: add header
8829 * paragraph_funcs.h:
8830 * paragraph_funcs.C: cleanup
8832 2002-09-11 John Levon <levon@movementarian.org>
8834 * PrinterParams.h: odd/even default to true
8836 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8838 * PrinterParams.h: update printer parameters for new xforms dialog
8840 2002-09-11 Angus Leeming <leeming@lyx.org>
8842 * lyxserver.C (read_ready): re-write to make it more transparent
8843 and to make it work in coherent fashion under Tru64 Unix.
8845 2002-09-11 André Pönitz <poenitz@gmx.net>
8849 * text3.C: implement LFUN_WORDSEL
8851 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8853 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8854 make floatlist_ a boost::shared_ptr<FloatList>
8856 * lyxtextclass.C: include FloatList.h
8857 (LyXTextClass): initialize floatlist_
8858 (TextClassTags): add TC_NOFLOAT
8859 (Read): match "nofloat" to TC_NOFLOAT and use it.
8860 (readFloat): modify call to floatlist_
8864 * FloatList.[Ch] (FloatList): remove commented out float
8866 (erase): new function
8868 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8870 * MenuBackend.C (expandToc): fix crash when there is no document
8873 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8875 * many files: Add insetwrap.
8877 2002-09-09 John Levon <levon@movementarian.org>
8879 * text2.C: remove confusing and awkward depth wraparound
8881 2002-09-09 John Levon <levon@movementarian.org>
8883 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8886 * buffer.C: remove getIncludeonlyList()
8889 * lyxfunc.C: remove headers
8891 2002-09-09 Juergen Vigna <jug@sad.it>
8893 * text.C (getColumnNearX): fix form Michael this is most
8894 probably a cut&paste bug.
8896 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8898 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8900 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8901 references, ws changes.
8903 * text2.C (init): update counters after init
8904 (insertParagraph): no need to set counter on idividual paragraphs.
8905 (setCounter): access the counters object in the textclass object
8906 on in the buffer object.
8907 (updateCounters): ditto
8909 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8910 shared_ptr<Counters> to avoid loading counters.h in all
8912 (LyXTextClass): initialize ctrs_
8913 (TextClassTags): add TC_COUNTER, and ...
8914 (Read): use it here.
8915 (CounterTags): new tags
8916 (readCounter): new function
8917 (counters): new funtion
8918 (defaultLayoutName): return a const reference
8920 * counters.C (Counters): remove contructor
8921 (newCounter): remove a couple of unneeded statements.
8922 (newCounter): simplify a bit.
8923 (numberLabel): some small formatting changes.
8925 * buffer.[Ch]: remove all traces of counters, move the Counters
8926 object to the LyXTextClass.
8928 2002-09-06 Alain Castera <castera@in2p3.fr>
8930 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8931 package to set the horizontal alignment on fixed width columns.
8934 * lyx_sty.h: added tabularnewline macro def.
8936 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8938 2002-09-06 John Levon <levon@movementarian.org>
8940 * LyXAction.C: tooltips for sub/superscript
8942 * MenuBackend.C: a bit more verbose
8944 * lyxfunc.C: tiny clean
8946 * undo_funcs.C: document undo_frozen
8948 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8950 * counters.C (Counters): add missing algorithm counter.
8952 * text2.C (setCounter): lookup the counter with layouts latexname
8953 instead of by section number.
8954 (setCounter): use a hackish way to lookup the correct enum
8956 a float name->type change
8957 reset enum couners with counter name directly instead of depth value.
8959 * counters.C (Counters): remove the push_backs, change to use the
8960 float type not the float name.
8961 (labelItem): remove unused string, float name->type change
8963 * counters.h: don't include vector, loose the enums and sects vectors
8965 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8967 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8968 (Read): add float->TC_FLOAT to textclassTags
8969 (Read): and handle it in the switch
8970 (readFloat): new function
8972 * FloatList.C (FloatList): comment out the hardcoded float
8975 * lyxlayout.h: ws change.
8977 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8979 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8981 2002-09-03 Angus Leeming <leeming@lyx.org>
8983 * BufferView_pimpl.h: qualified name is not allowed in member
8984 declaration: WorkArea & Pimpl::workarea() const;
8986 * factory.C: added using std::endl directive.
8988 * text3.C: added using std::find and std::vector directives.
8990 2002-08-29 André Pönitz <poenitz@gmx.net>
8993 * text2.C: remove unused member number_of_rows
8996 * BufferView2.C: remove file, move contents to...
8997 * BufferView.C: ... here
8999 * BufferView_pimpl.C:
9000 * factory.C: move more inset creation to factory
9002 * vspace.C: avoid direct usage of LyXText, ws changes
9005 don't provide direct access to WorkArea, use two simple
9006 acessors haveSelction() and workHeight() instead
9009 2002-08-29 John Levon <levon@movementarian.org>
9011 * BufferView_pimpl.C (dispatch): do not continue when
9014 2002-08-28 André Pönitz <poenitz@gmx.net>
9016 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9019 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9021 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9023 * buffer.C: increment LYX_FORMAT to 221
9025 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9026 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9028 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9030 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9032 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9034 * factory.C (createInset): use LyXTextClass::floats
9036 * MenuBackend.C (expandFloatListInsert):
9037 (expandFloatInsert):
9040 * text2.C (setCounter):
9042 * LaTeXFeatures.C (useFloat):
9043 (getFloatDefinitions):
9045 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9047 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9048 floatlist_, with accessor floats().
9050 * FloatList.h: remove global FloatList
9052 2002-08-26 André Pönitz <poenitz@gmx.net>
9054 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9058 * BufferView_pimpl.C:
9059 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9061 2002-08-25 John Levon <levon@movementarian.org>
9063 * LyXAction.C: fix margin note description
9065 2002-08-24 John Levon <levon@movementarian.org>
9069 * bufferview_funcs.C:
9071 * undo_funcs.C: cleanups
9073 * lyxfunc.C: disable CUT/COPY when no selection
9075 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9077 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9078 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9080 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9081 Add backward compatibility to "mono", "gray" and "no".
9083 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9085 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9086 (and file_format >= 200).
9088 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9090 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9092 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9094 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9096 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9098 * BufferView_pimpl.C:
9105 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9106 inset and code to make it work with the paragraph code. The inset
9107 can be anywhere in the paragraph, but will only do the expected
9108 thing in LaTeX if the layout file contains the parameter line
9110 (or more generally, a nonzero value) for that layout.
9112 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9114 * paragraph.h: remove the declaration of undefined counters class
9117 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9119 * text2.C (setCounter): fixed enumeration mis-count as reported by
9120 Dr. Richard Hawkins.
9122 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9124 * paragraph_funcs.h: remove some unneeded includes
9126 * text.C (backspace): pasteParagraph now in global scipe
9128 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9129 (pasteSelection): ditto
9131 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9132 * paragraph_funcs.C (pasteParagraph): ... here
9134 2002-08-20 André Pönitz <poenitz@gmx.net>
9136 * commandtags.h: new LFUNs for swapping/copying table row/colums
9139 * lyxfunc.C: support for new lfuns
9141 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9144 * buffer.[Ch]: remove NO_COMPABILITY stuff
9146 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9148 * boost.C (throw_exception): new file, with helper function for
9149 boost compiled without exceptions.
9154 * ParameterStruct.h:
9155 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9157 * bufferlist.C (emergencyWriteAll): use boost bind
9159 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9161 * text.C: include paragraph_funcs.h
9162 (breakParagraph): breakParagraph is now in global scope
9164 * paragraph_funcs.[Ch]: new files
9166 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9169 * buffer.C: include paragraph_funcs.h
9170 (insertStringAsLines): breakParagraph is now in global scope
9172 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9175 * CutAndPaste.C: include paragraph_funcs.h
9176 (cutSelection): breakParagraphConservative is now in global scope
9177 (pasteSelection): ditto
9179 * buffer.h: declare oprator== and operator!= for
9180 Buffer::inset_iterator
9182 * bufferlist.C (emergencyWrite): don't use fmt(...)
9184 * text3.C: add using std::endl
9186 * BufferView.C (moveCursorUpdate): remove default arg
9188 2002-08-20 André Pönitz <poenitz@gmx.net>
9190 * buffer.[Ch]: move inline functions to .C
9193 * BufferView_pimpl.C:
9195 * buffer.[Ch]: use improved inset_iterator
9198 * paragraph.[Ch]: write one paragraph at a time
9200 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9202 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9203 style if style is not specified.
9205 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9207 * text2.C (setCounter): when searching for right label for a
9208 caption, make sure to recurse to parent insets (so that a caption
9209 in a minipage in a figure float works) (bug #568)
9211 2002-08-20 André Pönitz <poenitz@gmx.net>
9213 * text3.C: new file for LyXText::dispatch() and helpers
9215 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9217 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9219 2002-08-19 André Pönitz <poenitz@gmx.net>
9222 * text.C: new LyXText::dispatch()
9224 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9226 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9228 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9230 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9233 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9235 * Makefile.am: use $(variables) instead of @substitutions@
9237 2002-08-15 André Pönitz <poenitz@gmx.net>
9240 * BufferView_pimpl.C: streamlining mathed <-> outer world
9244 * LyXAction.C: remove unused LFUN_MATH
9246 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9248 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9250 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9252 * paragraph.C (Paragraph): reformat a bit
9253 (cutIntoMinibuffer): use builtin InsetList function instad of
9257 * buffer.C: include boost/bind.hpp, add using std::for_each
9258 (writeFileAscii): use ParagraphList iterators
9259 (validate): use for_each for validate traversal of paragraphs
9260 (getBibkeyList): use ParagraphList iterators
9261 (resizeInsets): use for_each to resizeInsetsLyXText for all
9263 (getParFromID): use ParagraphList iterators
9265 * BufferView2.C (lockInset): use paragraph list and iterators
9267 2002-08-14 John Levon <levon@movementarian.org>
9269 * lyxserver.C: remove spurious xforms include
9271 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9273 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9275 2002-08-13 André Pönitz <poenitz@gmx.net>
9278 * lyxfunc.C: further cleaning
9280 2002-08-13 André Pönitz <poenitz@gmx.net>
9282 * funcrequest.h: new constructor
9284 * funcrequest.C: move stuff here from .h
9287 * BufferView_pimpl.C:
9290 * lyxfunc.C: subsequent changes
9292 * lyxfunc.h: new view() member function
9294 * lyxfunc.C: subsequent changes
9296 2002-08-13 Angus Leeming <leeming@lyx.org>
9299 * BufferView_pimpl.C:
9307 changes due to the changed LyXView interface that now returns references
9308 to member variables not pointers.
9310 2002-08-13 Angus Leeming <leeming@lyx.org>
9312 * WordLangTuple (word, lang_code): return references to strings,
9317 * lyxtext.h: forward-declare WordLangTuple.
9322 * text.C: #include "WordLangTuple.h".
9325 * text.C: (selectNextWordToSpellcheck): constify return type.
9327 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9333 * paragraph_pimpl.h:
9336 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9338 Made updateCounter always count from start of buffer, and removed
9339 second argument (par).
9340 Reverted floats number display to '#'. Perhaps I'll try again when the
9341 code base is sanitized a bit.
9343 2002-08-12 Angus Leeming <leeming@lyx.org>
9345 * buffer.[Ch] (getLabelList): constify.
9347 2002-08-07 André Pönitz <poenitz@gmx.net>
9349 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9351 * funcrequest.h: extension to keep mouse (x,y) position
9353 2002-08-12 Juergen Vigna <jug@sad.it>
9355 * BufferView2.C (insertErrors): forbid undo when inserting error
9358 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9360 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9362 * ParagraphList.[Ch]: new files
9364 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9366 * BufferView2.C (lockInset): ParagraphList changes
9369 * bufferlist.C: ditto
9373 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9375 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9376 unused class variable counter_,
9378 * paragraph.[Ch] (getFirstCounter): delete unused function
9380 * counters.C: include LAssert.h
9381 (reset): add a new function with no arg, change other version to
9382 not have def. arg and to not allow empty arg.
9384 * text2.C (setCounter): remove empty arg from call to Counters::reset
9386 2002-08-11 John Levon <levon@movementarian.org>
9388 * Makefile.am: add WordLangTuple.h
9390 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9392 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9393 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9395 * insets/insettext.C: InsetList changes
9397 * graphics/GraphicsSupport.C (operator()): InsetList changes
9399 * toc.C (getTocList): InsetList changes
9401 * paragraph_pimpl.[Ch]: InsetList changes
9403 * paragraph.[Ch]: InsetList changes
9405 * buffer.C (inset_iterator): InsetList changes
9406 (setParagraph): ditto
9407 * buffer.h (inset_iterator): ditto
9408 * iterators.C (operator++): ditto
9409 * iterators.h: ditto
9411 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9413 * InsetList.[Ch]: new files, most InsetList handling moved out of
9416 * BufferView2.C (removeAutoInsets): InsetList changes
9418 (ChangeInsets): ditto
9420 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9422 * paragraph_pimpl.h (empty): new function
9424 * paragraph.[Ch] (empty): new function
9426 * other files: use the new Paragraph::empty function
9428 2002-08-09 John Levon <levon@movementarian.org>
9430 * lyxtext.h: remove unused refresh_height
9432 2002-08-09 John Levon <levon@movementarian.org>
9439 * paragraph.C: move sgml char escaping out of paragraph
9442 * paragraph.C: remove id setter
9446 * paragraph_pimpl.C: remove dead tex_code_break_column
9448 * bufferview_funcs.C: small cleanup
9450 * lyxfunc.C: remove dead proto
9452 * lyxtext.h: make some stuff private. Remove some dead stuff.
9454 * lyxgluelength.C: make as[LyX]String() readable
9456 2002-08-08 John Levon <levon@movementarian.org>
9461 * ToolbarDefaults.C:
9464 * toc.C: lyxaction cleanup
9466 2002-08-08 John Levon <levon@movementarian.org>
9468 * BufferView2.C: small cleanup
9471 * lyxfind.C: move unnecessary header into the .C
9473 2002-08-08 John Levon <levon@movementarian.org>
9475 * funcrequest.h: just tedious nonsense
9478 * lyx_main.C: cleanups
9481 * vspace.C: remove dead header lyx_main.h
9483 2002-08-07 Angus Leeming <leeming@lyx.org>
9486 * paragraph_pimpl.h:
9487 Forward declare class Counters in paragraph.h by moving the ctrs member
9488 variable into Paragraph::Pimpl.
9489 (counters): new method, returning a reference to pimpl_->ctrs.
9491 * text2.C: ensuing changes.
9493 2002-08-07 John Levon <levon@movementarian.org>
9495 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9497 * BufferView_pimpl.C: announce X selection on double/triple
9500 * lyx_main.C: use correct bool in batch dispatch
9502 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9504 2002-08-07 André Pönitz <poenitz@gmx.net>
9506 * funcrequest.h: new class to wrap a kb_action and its argument
9509 * BufferView_pimpl[Ch]:
9513 * lyxrc.C: subsequent changes
9516 2002-08-07 John Levon <levon@movementarian.org>
9518 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9519 document options change.
9521 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9526 * makefile.am: move counters functionality over from
9527 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9529 2002-08-06 John Levon <levon@movementarian.org>
9531 * WordLangTuple.h: new file for word + language code tuple
9542 * BufferView2.C: use WordLangTuple
9545 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9547 2002-08-06 John Levon <levon@movementarian.org>
9549 * lyx_main.C: fix cmdline batch handling
9551 2002-08-06 André Pönitz <poenitz@gmx.net>
9553 * lyxrc.C: set default for show_banner to true
9555 2002-08-06 John Levon <levon@movementarian.org>
9557 * pspell.C: fix a crash, and allow new aspell to work
9559 2002-08-06 John Levon <levon@movementarian.org>
9562 * kbmap.C: small cleanup
9565 * vspace.C: add const
9567 2002-08-05 John Levon <levon@movementarian.org>
9569 * LyXAction.C: back to tabular-insert
9571 2002-08-04 John Levon <levon@movementarian.org>
9574 * BufferView.C: cosmetic change
9576 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9586 * BufferView2.C: purge all "Lyx" not "LyX" strings
9589 * lyxcursor.C: attempt to add some documentation
9594 * ToolbarDefaults.C:
9595 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9596 merge with LFUN_TABULAR_INSERT
9603 * pspell.C: split up i/pspell implementations into separate
9604 files, many cleanups
9606 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9608 * text2.C: some cleanup
9610 * lyxfunc.C: don't check for isp_command == "none" any more, it
9611 didn't make any sense
9613 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9618 * makefile.am: move counters functionality over
9619 from text2.C/paragraph.[Ch] to counters.[Ch], and
9621 2002-08-02 John Levon <levon@movementarian.org>
9623 * buffer.C: s/lyxconvert/lyx2lyx/
9625 2002-08-02 Angus Leeming <leeming@lyx.org>
9627 * lyxlex.C: revert John's change as it breaks reading of the user
9630 2002-08-02 Angus Leeming <leeming@lyx.org>
9632 * importer.C (Import):
9633 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9634 changes due to LyXView::view() now returning a boost::shared_ptr.
9636 2002-08-02 John Levon <levon@movementarian.org>
9638 * lyxlex.C: small cleanup
9640 2002-08-02 John Levon <levon@movementarian.org>
9642 * text2.C (status): small cleanup, no logic change
9644 2002-08-01 John Levon <levon@movementarian.org>
9647 * buffer.C (writeFile): don't output alerts, caller
9651 * lyx_cb.C: from above
9653 * lyxfunc.C: allow to open non-existent files
9655 2002-07-31 John Levon <levon@movementarian.org>
9657 * lyxserver.C: don't let incidental errors get
9660 2002-07-30 John Levon <levon@movementarian.org>
9662 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9664 2002-07-30 John Levon <levon@movementarian.org>
9667 * lyxserver.C: remove I/O callback too
9669 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9671 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9674 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9676 * many files: strip,frontStrip -> trim,ltrim,rtrim
9678 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9680 * PrinterParams.h: remove extern containsOnly, and include
9681 support/lstrings.h instead.
9683 * LaTeX.C (scanAuxFile): modify because of strip changes
9685 * buffer.C (makeLaTeXFile): ditto
9686 * bufferparams.C (writeFile): ditt
9687 * lyxfont.C (stateText): ditto
9688 * lyxserver.C (read_ready): ditto
9689 * vc-backend.C (scanMaster): ditto
9691 * BufferView_pimpl.h: ws changes
9693 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9695 2002-07-26 André Pönitz <poenitz@gmx.net>
9697 * kb_sequence.C: remove unnedred usings
9699 2002-07-26 Juergen Vigna <jug@sad.it>
9701 * lyxfind.C (LyXReplace): we have to check better if the returned
9702 text is not of theLockingInset()->getLockingInset().
9704 2002-07-25 Juergen Vigna <jug@sad.it>
9706 * lyxfind.C (LyXReplace): don't replace if we don't get the
9709 * undo_funcs.C (createUndo): remove debugging code.
9711 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9713 * buffer.C (parseSingleLyXformat2Token): Use default placement
9714 when reading old floats.
9716 * FloatList.C (FloatList): Change the default placement of figure
9717 and tables to "tbp".
9719 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9721 * MenuBackend.C: using std::max
9723 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9725 * MenuBackend.C (expandToc):
9726 (expandToc2): code moved from xforms menu frontend. It is now
9727 generic and TOCs are transparent to menu frontends.
9729 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9731 * toc.C (getTocList): protect against buf=0
9733 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9734 Menu as first parameter. Now, this calls itself recursively to
9735 expand a whole tree (this will be useful for TOC handling)
9736 (expandFloatInsert): remove 'wide' version of floats
9738 * MenuBackend.h (submenuname): returns the name of the submenu.
9739 (submenu): returns the submenu itself, provided it has been
9740 created by MenuBackend::expand
9742 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9744 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9745 insets which have noFontChange == true. (bug #172)
9747 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9749 * BufferView_pimpl.C: add connection objects and use them...
9752 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9754 * MenuBackend.C (expandLastfiles):
9757 (expandFloatListInsert):
9758 (expandFloatInsert):
9759 (expand): split expand in parts
9761 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9763 * lyx_gui.C: use lyx_gui::exit()
9765 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9767 * LyXAction.C: show the failing pseudo action
9769 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9771 * buffer.C (readFile): Run the lyxconvert script in order to read
9774 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9778 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9780 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9784 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9786 2002-07-22 Herbert Voss <voss@lyx.org>
9789 * lyxlength.[Ch]: add support for the vertical lengths
9791 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9793 * toc.[Ch]: std:: fixes
9795 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9797 * lyxrc.C: do not include lyx_main.h
9799 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9805 * BufferView2.C: include "lyxlex.h"
9808 * bufferparams.h: do not #include "lyxlex.h"
9810 * lyxtextclasslist.C (Add): remove method
9811 (classlist): renamed to classlist_
9813 * paragraph_pimpl.C:
9817 * bufferview_funcs.C:
9822 * toc.C (getTocList): use BufferParams::getLyXTextClass
9824 * toc.C (getTocList): use InsetFloat::addToToc
9826 * toc.[Ch]: new files, containing helper functions to handle table
9829 * lyxfunc.C (dispatch): no need to remove spaces around command
9831 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9832 first command of the sequence; it is not very clever, but I do not
9833 have a better idea, actually
9835 * LyXAction.C (LookupFunc): make sure to remove space at the
9836 beginning and end of the command
9838 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9840 * MenuBackend.C (getMenubar): new method: return the menubar of
9842 (read): treat differently reading of menu and menubar (in
9843 particular, the menubar has no name now)
9844 (Menu::menubar): remove
9846 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9849 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9851 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9852 a bibitem inset in a RTL paragraph.
9854 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9856 * paragraph_pimpl.C: constify
9858 * BufferView_pimpl.C:
9860 * lyxfunc.C: fix dispatch in a nicer way
9862 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9864 * lyxfunc.C (dispatch):
9865 * BufferView_pimpl.C:
9866 * BufferView_pimpl.h:
9868 * BufferView.h: rename Dispatch() to dispatch()
9870 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9872 * lyxlayout.C (Read): honor DependsOn tag
9874 * lyxlayout.[Ch] (depends_on): new method
9876 * version.C.in: update lyx_docversion
9878 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9880 * paragraph.C (validate): remove from here...
9881 * paragraph_pimpl.C (validate): ... and move here
9882 (isTextAt): make it const
9884 * buffer.C (getLists): ws cleanup
9886 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9888 * language.C (read): Use iso8859-1 encoding in latex_lang
9889 (this prevents LyX from crashing when using iso10646-1 encoding).
9891 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9893 * text2.C (toggleInset): if cursor is inside an inset, close the
9894 inset and leave cursor _after_ it
9896 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9898 * lyxfunc.C: move minibuffer completion handling out of here
9900 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9902 * BufferView_pimpl.C:
9903 * LaTeX.C: fix dispatch calls
9905 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9907 * text.C (drawChars): Fix Arabic text rendering.
9909 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9913 * lyxfunc.C: remove message-push/pop
9917 * lyxfunc.C: rationalise some code by removing verboseDispatch
9918 in favour of a bool argument to dispatch()
9920 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9922 * lyx_main.C (init): make sure to read symlinks as absolute paths
9924 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9927 * lyxfunc.C: no need for commandshortcut to be a member
9929 2002-07-15 André Pönitz <poenitz@gmx.net>
9931 * converter.C: add support for $$s (scripts from lib/scripts dir)
9932 * lyx_main.C: white space
9934 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9938 * lyxrc.C: remove second exit confirmation
9940 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9945 * BufferView_pimpl.h:
9946 * BufferView_pimpl.C:
9947 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9949 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9951 * MenuBackend.C (expand): add numeric shortcuts to document menu
9953 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9955 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9957 * lyxfont.C (setLyXFamily):
9964 * buffer.C (asciiParagraph): use ascii_lowercase
9966 2002-07-15 Mike Fabian <mfabian@suse.de>
9968 * lyxlex_pimpl.C (search_kw):
9969 * lyxlex.C (getLongString):
9970 * converter.h (operator<):
9971 * converter.C (operator<):
9972 * buffer.C (parseSingleLyXformat2Token):
9974 * ToolbarDefaults.C (read):
9975 * MenuBackend.C (checkShortcuts):
9977 * LColor.C (getFromGUIName):
9978 (getFromLyXName): use the compare_ascii_no_case instead of
9979 compare_no_case, because in turkish, 'i' is not the lowercase
9980 version of 'I', and thus turkish locale breaks parsing of tags.
9982 2002-07-16 Angus Leeming <leeming@lyx.org>
9984 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9985 now takes a Buffer const & argument.
9987 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9989 * BufferView.C (resize): check there's a buffer to resize
9991 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9993 * lyxfunc.C: remove dead code
9996 * lyxserver.C: use lyx_guii::set_read_callback
9998 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10000 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10001 an inset in a RTL paragraph.
10003 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10005 * lyxfunc.C: repaint after a font size update
10007 2002-07-15 André Pönitz <poenitz@gmx.net>
10009 * lyxlength.C: inBP should be able to return negative values
10011 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10013 * lyxfunc.C: use lyx_gui::update_fonts()
10015 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10017 * lyxfunc.C: use lyx_gui::update_color()
10019 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10025 * lyxrc.C: remove file->new asks for name option, and let
10026 buffer-new take an argument
10028 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10030 * BufferView_pimpl.C: remove unneeded extra repaint()
10032 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10034 * LyXAction.C: allow command-sequence with NoBuffer
10036 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10038 2002-07-10 Angus Leeming <leeming@lyx.org>
10040 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10042 2002-07-09 Angus Leeming <leeming@lyx.org>
10044 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10046 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10048 * lengthcommon.h: whitespace
10050 * lyxfunc.C: update scrollbar after goto paragraph
10052 * lyxtext.h: factor out page break drawing, and fix it so
10053 page break/added space paints as selected nicely
10055 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10057 * BufferView_pimpl.C: add FIXMEs, clean up a little
10059 2002-07-09 André Pönitz <poenitz@gmx.net>
10061 * lyxfont.[Ch]: support for wasy symbols
10063 2002-07-08 André Pönitz <poenitz@gmx.net>
10065 * BufferView_pimpl.C: apply John's patch for #93.
10067 2002-07-05 Angus Leeming <leeming@lyx.org>
10069 * BufferView_pimpl.C (buffer): generate previews if desired.
10071 * LColor.h: add "preview" to the color enum.
10073 * LColor.C (LColor): add a corresponding entry to the items array.
10075 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10078 2002-07-05 Angus Leeming <leeming@lyx.org>
10080 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10081 The body of the code is now in the method that is passed an ostream &
10082 rather than a file name.
10083 Pass an additional only_preamble parameter, useful for the forthcoming
10086 2002-07-03 André Pönitz <poenitz@gmx.net>
10088 * lyxfunc.C: simplify getStatus() a bit for math stuff
10090 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10092 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10094 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10096 * text.C (changeRegionCase): do not change case of all the
10097 document when region ends at paragraph end (bug #461)
10099 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10101 * paragraph.C (startTeXParParams):
10102 (endTeXParParams): add \protect when necessary
10104 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10106 * BufferView_pimpl.C (workAreaExpose): remove warning
10108 2002-06-27 Angus Leeming <leeming@lyx.org>
10110 * Makefile.am: add lyxlayout_ptr_fwd.h.
10112 2002-06-26 André Pönitz <poenitz@gmx.net>
10114 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10116 2002-06-25 Angus Leeming <leeming@lyx.org>
10118 * lyxfunc.C (dispatch): Comment out the call to
10119 grfx::GCache::changeDisplay. The method no longer exists now that the
10120 pixmap generation part of the graphics loader has been moved into
10123 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10125 * text2.C: layout as layout
10127 * text.C: layout as layout
10129 * tabular.C (OldFormatRead): layout as layout
10131 * paragraph_pimpl.C (TeXDeeper): layout as layout
10132 (realizeFont): layout as layout
10134 * paragraph.C (writeFile): layout as layout
10135 (validate): layout as layout
10136 (getFont): layout as layout
10137 (getLabelFont): layout as layout
10138 (getLayoutFont): layout as layout
10139 (breakParagraph): layout as layout
10140 (stripLeadingSpaces): layout as layout
10141 (getEndLabel): layout as layout
10142 (getMaxDepthAfter): layout as layout
10143 (applyLayout): layout as layout
10144 (TeXOnePar): layout as layout
10145 (simpleTeXOnePar): layout as layout
10146 (TeXEnvironment): layout as layout
10147 (layout): layout as layout
10148 (layout): layout as layout
10150 * lyxtextclass.C (compare_name): new functor to work with
10151 shared_ptr, layout as layout
10152 (Read): layout as layout
10153 (hasLayout): layout as layout
10154 (operator): layout as layout
10155 (delete_layout): layout as layout
10156 (defaultLayout): layout as layout
10158 * lyxlayout_ptr_fwd.h: new file
10160 * lyxlayout.C (Read): layout as layout
10162 * lyx_cb.C (MenuInsertLabel): layout as layout
10164 * bufferlist.C (newFile): layout as layout
10166 * buffer.C (readLyXformat2): layout as layout
10167 (parseSingleLyXformat2Token): layout as layout
10168 (insertStringAsLines): layout as layout
10169 (asciiParagraph): layout as layout
10170 (latexParagraphs): layout as layout
10171 (makeLinuxDocFile): layout as layout
10172 (simpleLinuxDocOnePar): layout as layout
10173 (makeDocBookFile): layout as layout
10174 (simpleDocBookOnePar): layout as layout
10175 (getLists): layout as layout
10177 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10179 * CutAndPaste.C (cutSelection): layout as layout
10180 (pasteSelection): layout as layout
10181 (SwitchLayoutsBetweenClasses): layout as layout
10183 * BufferView_pimpl.C (Dispatch): layout as layout
10184 (smartQuote): layout as layout
10186 * BufferView2.C (unlockInset): layout as layout
10188 2002-06-24 André Pönitz <poenitz@gmx.net>
10190 * lyxfunc.C: fix #487
10192 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10196 * lyxfunc.C: remove display_shortcuts, show_banner
10198 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10200 * Buffer_pimpl.C: oops, update on resize
10202 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10209 * BufferView.C: use repaint()
10211 * BufferView_pimpl.h:
10212 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10213 as it's a clearer description. Remove superfluous
10216 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10218 * text.C: fix bug 488. Not ideal, but getting
10219 getWord() to work properly for the insets that
10220 matter is more difficult ...
10222 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10224 * BufferView_pimpl.C:
10227 * lyxfunc.C: remove the six million index lyxfuncs to just
10228 one, and DTRT (bug 458)
10230 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10234 * BufferView_pimpl.h:
10235 * BufferView_pimpl.C: clean up resize() stuff,
10236 and unnecessary updateScreen()s
10238 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10242 * BufferView_pimpl.h:
10243 * BufferView_pimpl.C:
10246 * minibuffer.C: remove focus management of workarea,
10247 not needed. Use screen's greyOut()
10249 2002-06-17 Herbert Voss <voss@lyx.org>
10251 * converter.C: (convert) do not post a message, when converting
10252 fails, let the calling function decide what to do in this case
10254 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10256 * lyxfunc.C: tidy up a little
10258 2002-06-16 <alstrup@diku.dk>
10260 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10261 Got rid of FORMS_H_LOCATION include. Now we are
10264 2002-06-15 LyX Development team <lyx@rilke>
10266 * buffer.[Ch] (sgmlOpenTag):
10267 (sgmlCloseTag): Added support for avoiding pernicious mixed
10268 content. Return number of lines written.
10270 (makeLinuxDocFile):
10271 (makeDocBookFile): Fixed calls to sgml*Tag.
10272 Simple white space clean.
10274 (simpleDocBookOnePar): Simple white space clean.
10276 * tabular.[Ch] (docBook): Renamed to docbook and got another
10277 argument to related with the pernicious mixed content.
10279 (docbookRow): Fixed calls for docbook inset method.
10281 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10283 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10284 so it's X11 independent.
10288 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10290 2002-06-15 Lyx Development team <lyx@electronia>
10292 * intl.h: Renamed getTrans to getTransManager.
10294 2002-06-14 Angus Leeming <leeming@lyx.org>
10296 * Makefile.am: nuke forgotten stl_string_fwd.h.
10298 2002-06-12 Angus Leeming <leeming@lyx.org>
10300 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10302 2002-06-13 Angus Leeming <leeming@lyx.org>
10305 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10307 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10309 * kbmap.C (getiso): add support for cyrillic and greek
10311 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10315 * BufferView_pimpl.h:
10316 * BufferView_pimpl.C: move bogus scrolling logic
10319 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10322 * BufferView_pimpl.C: view->resize() change
10324 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10326 * BufferView_pimpl.C: topCursorVisible
10329 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10333 * lyx_gui.C: move to frontends/
10337 * lyx_main.C: changes from above
10339 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10346 * lyx_main.C: minor tidy
10348 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10350 * BufferView_pimpl.h:
10351 * BufferView_pimpl.C:
10353 * BufferView.C: make painter() const,
10356 * BufferView2.C: use screen() accessor
10359 * lyx_main.C: some minor cleanup
10361 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10363 * BufferView_pimpl.h:
10364 * BufferView_pimpl.C: remove enter/leaveView,
10367 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10372 * BufferView_pimpl.h:
10373 * BufferView_pimpl.C: only construct screen once,
10376 * lyxrc.C: remove pointless comment
10378 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10381 * BufferView.C: remove active() and belowMouse()
10383 * BufferView_pimpl.h:
10384 * BufferView_pimpl.C: use workarea() not workarea_,
10385 and make it use a scoped_ptr instead
10387 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10389 * lyx_gui.C: add debug message on BadWindow
10391 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10393 * sp_spell.C: fdopen is not part of the C++ standard.
10395 * paragraph.C (InsetIterator): use >= instead of ==
10397 2002-06-07 Angus Leeming <leeming@lyx.org>
10399 Fixes needed to compile with Compaq cxx 6.5.
10400 * BufferView_pimpl.C:
10407 * lyxtextclasslist.C:
10412 all c-library variables have been moved into namespace std. Wrap
10413 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10418 Add a using std::abs declaration.
10420 * kbmap.h (modifier_pair):
10421 * paragraph.h (InsetTable, InsetList):
10422 * lyxfont.h (FontBits):
10423 type definition made public.
10425 * bufferlist.C (emergencyWriteAll): the compiler complains that
10426 there is more than one possible lyx::class_fun template to choose from.
10427 I re-named the void specialisation as lyx::void_class_fun.
10429 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10431 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10432 the compiler is is unable to find tostr in write_attribute.
10434 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10436 * buffer.C (sgmlError): hide #warning
10438 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10440 * xtl/*: get rid of xtl, which is not in use anyway
10442 * LyXAction.C (init):
10443 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10444 were unimplemented xtl experimentation
10446 2002-06-04 André Pönitz <poenitz@gmx.net>
10448 * lyxfunc.C: disable array operation on simple formulae
10450 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10452 * converter.C: constify a bit
10454 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10456 * lyx_gui.C: check xforms version correctly
10458 2002-04-30 Herbert Voss <voss@lyx.org>
10460 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10463 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10465 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10466 attempt to register it with a VCS)
10468 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10470 * lyx_main.C (init): honor variables LYX_DIR_13x and
10473 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10477 * lyx_main.C: fix a crash on bad command line,
10478 and give a useful exit status on error
10480 * lyxfunc.C (doImport): allow -i lyx to work
10482 2002-03-30 André Pönitz <poenitz@gmx.net>
10484 * lyxfunc.C: mathed font changes
10486 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10501 * trans_mgr.h: srcdocs, and some minor cleanups
10503 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10505 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10506 call getFont all the time)
10508 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10510 * switch from SigC signals to boost::signals
10512 2002-05-29 André Pönitz <poenitz@gmx.net>
10514 * paragraph_pimpl.C (getChar): don't call size() too often...
10516 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10518 * paragraph_pimpl.C (insertChar): do not try to update tables when
10519 appending (pos == size())
10521 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10522 in order to reduce drastically the number of comparisons needed to
10523 parse a large document
10525 2002-05-29 André Pönitz <poenitz@gmx.net>
10531 * textclasslist.[Ch]:
10532 * sp_ispell.h: whitespace change
10534 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10536 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10537 lyxaction directly now.
10539 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10543 * lyxvc.C: remove unused headers
10545 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10552 * undo_funcs.C: some cleanups. Use shared_ptr
10553 and a template for the undo stacks.
10555 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10557 * BufferView_pimpl.h:
10558 * BufferView_pimpl.C:
10565 * text2.C: use key_state/mouse_state
10567 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10569 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10572 * chset.C: change include order
10573 (loadFile): use boost regex and get rid of LRegex and LSubstring
10575 * Makefile.am (BOOST_LIBS): new variable
10576 (lyx_LDADD): use it
10578 * LaTeX.C: change include order.
10579 (scanAuxFile): use boost regex and get rid of LRegex and
10583 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10588 * FontInfo.C: moved to frontends/xforms/
10591 * FontLoader.C: moved into frontends for GUIIzation
10596 * lyxfunc.C: changes from above
10598 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10600 * LColor.C: remove spurious X include
10602 * BufferView_pimpl.C:
10607 * text2.C: move font metrics to frontends/
10609 2002-05-24 Juergen Vigna <jug@sad.it>
10611 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10612 setting the undo_cursor.
10614 * ParagraphParameters.h: include local includes first.
10616 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10618 * BufferView_pimpl.C:
10619 * BufferView_pimpl.h:
10623 * screen.C: move WorkArea into frontends/
10629 * BufferView2.C: move LyXScreen into frontends/
10633 * lyx_gui.C: move lyxlookup into frontends/xforms/
10635 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10638 * BufferView_pimpl.C:
10648 * bufferview_funcs.C:
10661 * vc-backend.C: move LyX/XFormsView into frontends/
10663 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10675 * text2.C: move Painter to frontends/
10677 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10679 * buffer.C: comment out some some code that depend upon lyx_format
10682 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10683 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10685 * buffer.h (NO_COMPABILITY): turn off compability
10687 * ColorHandler.C: include scoped_array.hpp
10689 * font.C: Use more specific smart_ptr header.
10692 * ShareContainer.h: ditto
10693 * lyx_main.h: ditto
10695 * FontInfo.h: ditto
10696 * BufferView_pimpl.h: ditto
10697 * ColorHandler.h: ditto
10699 * kbmap.C (defkey): change call to shared_ptr::reset
10701 2002-05-21 Juergen Vigna <jug@sad.it>
10703 * buffer.C (insertErtContents): fix to insert ert asis if it is
10704 non empty. Skip it completely if it contains only whitespaces.
10706 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10708 * BufferView_pimpl.C:
10709 * BufferView2.C: clear selection on paste (bug 393)
10711 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10713 * DepTable.C: include ctime
10715 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10717 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10719 2002-05-14 Juergen Vigna <jug@sad.it>
10721 * text.C (breakParagraph): fixed function to honor the keepempty
10722 layout in the right maner and also to permit the right breaking
10723 algorithm on empty or non empyt keepempty paragraphs.
10725 * paragraph.C (breakParagraph): we have to check also if the par
10726 is really empty (!size()) for isempty otherwise we do the wrong
10729 2002-05-10 Juergen Vigna <jug@sad.it>
10731 * buffer.[Ch] : The following are only changes to the ert
10732 compatibility read reading old LaTeX layout and font stuff and
10733 convert it to ERTInsets.
10735 * buffer.h: added isErtInset().
10737 * buffer.C (struct ErtComp): add a fromlayout bool to check
10738 if we're inside a LaTeX layout.
10739 (isErtInset): new helper function.
10740 (insertErtContents): look for other ert insets before this one
10741 and insert the contents there, so that we don't have subsequent
10742 ERT insets with nothing between them. This way we create only one
10743 inset with multiple paragraphs. Also check if we don't insert only
10744 spaces ' ' as they are ignored anyway afterwards in the .tex file
10745 so if we have only spaces we will ignore this latex part in the
10747 (parseSingleLyXformat2Token \\layout): better compatibility when
10748 reading layout-latex stuff.
10749 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10751 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10752 stuff after reading the inset only get the information back from
10755 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10757 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10759 * LaTeXFeatures.C (getBabelOptions): New method.
10761 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10763 * BufferView_pimpl.C (Dispatch): work around missing argument for
10766 2002-05-08 Juergen Vigna <jug@sad.it>
10768 * text.C (leftMargin): handle paragraph leftindent.
10770 * paragraph.C (writeFile): write the new \\leftindent tag.
10771 (validate): handle leftindent code.
10772 (TeXEnvironment): handle paragraphleftindent code again.
10774 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10776 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10777 for paragrap_extra indent code and new token \\leftindent.
10778 (latexParagraphs): handle the leftindent as environment.
10780 * ParameterStruct.h: added leftindent support.
10782 * ParagraphParameters.C (leftIndent): added support functions for
10783 the paragraph left indent.
10785 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10788 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10790 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10793 * text.C (computeBidiTables): No bidi in insetERT.
10795 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10798 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10800 * version.C.in: pre 5
10802 2002-05-02 José Matos <jamatos@fep.up.pt>
10803 * buffer.C (makeDocBookFile): white space changes, add newline to
10805 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10807 * tabular.C (docBook): fix typo.
10809 2002-05-03 Juergen Vigna <jug@sad.it>
10811 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10812 change in LyXText as we can not be sure it was not freed.
10813 (drawOneRow): remove unused code.
10815 * text.C (drawInset): redo the calculation of the need_break_row as
10816 it could have a row which was already freed.
10817 (draw): look at the return value of drawInset and return false if
10818 it also returned false.
10819 (paintRowText): look at the return value of draw and return false if
10820 it also returned false.
10822 * lyxtext.h: added bool return type to drawInset() and draw() so that
10823 if we have a change in the row so that the rowbreak has to be redone
10824 we abort drawing as it will be called again.
10826 2002-05-02 Juergen Vigna <jug@sad.it>
10828 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10829 a change in the maintext also if we're inside an inset.
10830 (Dispatch): set the cursor again after a break line and after the
10831 screen has been updated as it could be we're in a different row.
10833 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10834 to set the cursor behind the pargraph with > size().
10835 (setCursor): check also for the same paragraph when checking where
10836 to put the cursor if we have a NFR inset.
10838 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10839 parts of layout read further up as it still was in the wrong
10842 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10844 * screen.C (drawFromTo): change sine fullRebreak always return
10847 * buffer.C (parseSingleLyXformat2Token): reindent some
10849 * BufferView_pimpl.C (update): change since fullRebreak always
10851 (Dispatch): git rid of the last hardcoded "Standard"s.
10853 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10855 * text2.[Ch] (fullRebreak): make it return void now that we always
10858 2002-04-30 Juergen Vigna <jug@sad.it>
10860 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10861 ert compatibility check for "latex" layout.
10863 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10865 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10866 minipages: use col% instead of p%, and also use the current font.
10867 (makeLaTeXFile): Fix use babel condition.
10868 (parseSingleLyXformat2Token): Correct font when reading old floats.
10870 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10872 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10873 inserting list of floats.
10875 2002-04-25 Herbert Voss <voss@lyx.org>
10877 * MenuBackend.C (expand): don't add the graphics extensions to the
10880 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10882 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10883 non-existing layout, do not complain if it was the default layout
10884 of the original class (bug #342)
10886 2002-04-24 Juergen Vigna <jug@sad.it>
10888 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10889 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10891 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10893 * buffer.C (getBibkeyList): If using \bibliography, return the
10894 option field with the reference itself. Enables us to provide natbib
10895 support when using \bibliography.
10897 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10899 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10901 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10902 natbib is provided by the LaTeX class.
10904 2002-04-23 Juergen Vigna <jug@sad.it>
10906 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10909 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10911 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10913 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10915 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10916 ensuremath around textordmasculine, textordfeminine and
10919 2002-04-19 Juergen Vigna <jug@sad.it>
10921 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10922 reinitializing the buffer otherwise row-dimensions may be wrong.
10923 (update): reset also the selection cursors if they do exits otherwise
10924 their x/y positions may be wrong.
10926 * text2.C (cursorDown): don't enter the inset if we came from a row
10927 above and are one row over the inset.
10929 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10930 really leaving an inset.
10932 2002-04-18 Juergen Vigna <jug@sad.it>
10934 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10935 of the selected paragraph does not have the selected layout also if
10938 * text2.C (setLayout): fixed bug which did not change last selected
10941 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10942 changed the read and substituted \\end_float with \\end_inset!
10944 * BufferView_pimpl.C (cursorPrevious):
10945 (cursorNext): fixed to make it work with rows heigher than the work
10946 area without moving the cursor only the draw of the row.
10947 (workAreaMotionNotify): fix jumping over high rows.
10949 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10951 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10954 2002-04-16 Juergen Vigna <jug@sad.it>
10956 * text2.C (setCursor): set also the irow().
10957 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10959 (cursorDown): support for locking an inset if the x_fix value goes
10960 inside it. That way I can transverse insets too with cursor up/down.
10962 * lyxrow.h: added irow helper function same as other (i) functions.
10964 * BufferView_pimpl.C (cursorPrevious):
10965 (cursorNext): fixed for insets!
10967 2002-04-15 Juergen Vigna <jug@sad.it>
10969 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10970 position otherwise it is wrong in some cases.
10972 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10973 inside the inset before the call.
10975 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10977 * buffer.[Ch] (getBibkeyList): make it const.
10979 2002-04-12 Juergen Vigna <jug@sad.it>
10981 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10983 * text2.C (getCursorX): new helper function
10984 (setCursor): compute also ix_
10985 (setCursorFromCoordinates): set also ix.
10987 * lyxcursor.h: added ix_ and helper functions.
10989 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10991 * buffer.C (insertStringAsLines): dont break paragraph if the this
10992 paragraph is inside an inset which does not permit it!
10994 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10995 also with no chars on this paragraph.
10996 (paintRowText): only paint stuff if it's inside the workarea!
10998 * paragraph.C (breakParagraph): honor keepempty flag and break the
10999 paragraph always below not above.
11001 * BufferView2.C (unlockInset): update the paragraph layout on inset
11002 unlock as we changed paragraph in such a case.
11004 * lyxfind.C (LyXFind): clear the former selection if not found!
11006 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11007 again called in insertChar().
11009 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11010 an inset which uses the whole row!
11011 (rightMargin): ditto.
11012 (insertChar): force a rebreak if we inserted an inset!
11014 2002-03-28 Herbert Voss <voss@lyx.org>
11016 * lyxlength.[Ch]: add inBP() to get the right PS-point
11017 units (BigPoint). With inPixels we have rounding errors
11019 2002-04-11 Juergen Vigna <jug@sad.it>
11021 * text2.C (setCursorFromCoordinates): set iy to the right value.
11022 (setCursor): add check if row->previous exists!
11024 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11025 an old float_type as this was the case in the old code!
11027 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11029 * BufferView2.C (showLockedInsetCursor): use iy
11030 (fitLockedInsetCursor): ditto
11032 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11033 locked insets as there we have the right value now.
11035 * lyxcursor.C: added iy_ variable and iy functions to set to the
11036 baseline of cursor-y of the locked inset.
11038 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11039 (setCursor): fixed for insets which need a full row.
11041 * text.C (rowLastPrintable): don't ignore the last space when before
11042 an inset which needs a full row.
11043 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11044 as last character of a row when before a inset which needs a full row.
11046 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11048 * version.C.in: update date
11050 * text2.C (fullRebreak): try to always return true and see what
11053 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11055 * MenuBackend.C (expand): use Floating::listName
11057 * FloatList.C (FloatList): add listName argument to the built-in
11060 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11061 text associated with the float.
11063 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11065 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11067 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11069 * ShareContainer.h: add a couple of missing typenames.
11071 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11073 * lyxrc.C (getDescription): use _() correctly rather than N_().
11075 2002-03-28 Herbert Voss <voss@lyx.org>
11077 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11078 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11080 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11082 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11083 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11085 2002-03-29 Juergen Vigna <jug@sad.it>
11087 * lyxfunc.C (dispatch): add a missing fitCursor call.
11089 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11090 it was scrolled by a cursor move, so return the bool status.
11092 * BufferView.C (fitCursor): return the bool flag also to the outside
11093 world as this is needed.
11095 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11097 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11098 call the edit() as it is not needed (and wrong) IMO.
11099 (workAreaButtonPress): set the screen_first variable before evt.
11100 unlock the inset as this may change screen_first and then we have
11101 a wrong y position for the click!
11103 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11105 * MenuBackend.C (expand): another translation that I missed
11107 2002-03-28 Juergen Vigna <jug@sad.it>
11109 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11111 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11113 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11115 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11117 * MenuBackend.C (expand): fix export/view/update when there is no
11120 2002-03-27 Herbert Voss <voss@lyx.org>
11122 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11125 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11127 * bufferview_funcs.C (currentState): only show paragraph number
11128 for is DEVEL_VERSION is set.
11130 * lyxfunc.C (dispatch): put warning in INFO channel
11132 * MenuBackend.C (expand): translate the name of floats
11134 * FloatList.C (FloatList): mark the float names for translation
11136 * converter.C (convert): use LibScriptSearch
11138 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11140 * MenuBackend.C (defaults): fix default menu (we might as well get
11143 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11145 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11148 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11150 * lyxvc.C: reorder includes.
11152 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11154 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11157 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11159 * CutAndPaste.C: change layouts earlier on paste
11160 to avoid crashing when calling getFont()
11162 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11164 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11167 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11169 * WorkArea.C: remove 'Pending' debug message.
11171 * most files: ws cleanup
11173 * buffer.[Ch]: ws changes
11175 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11177 2002-03-21 Juergen Vigna <jug@sad.it>
11179 * tabular.C (SetMultiColumn): collapse also the contents of the
11180 cells and set the last border right. Added a Buffer const * param.
11182 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11184 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11187 2002-03-19 Juergen Vigna <jug@sad.it>
11189 * text2.C (clearSelection): reset also xsel_cache.
11191 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11192 where it needs to be called (John tells us to do so too :)
11193 (selectionLost): reset sel_cache.
11195 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11197 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11199 * text2.C (setCursorIntern): put debuging code in INSETS channel
11201 2002-03-19 André Pönitz <poenitz@gmx.net>
11203 * lyxfunc.C: tiny whitespace change
11205 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11207 * ToolbarDefaults.C (init):
11208 * LyXAction.C (init):
11210 * BufferView_pimpl.C (Dispatch):
11211 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11213 2002-03-19 Allan Rae <rae@lyx.org>
11215 * exporter.C (Export): removeAutoInsets before doing anything else.
11216 While I've just introduced a dependency on BufferView this really is
11217 the best place to clean the buffer otherwise you need to cleanup in
11218 a dozen places before calling export or cleanup in a dozen functions
11221 * converter.C (runLaTeX):
11222 (scanLog): Better handling of removeAutoInsets and screen updates.
11224 * lyxfunc.C (dispatch): small whitespace changes
11226 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11228 * WorkArea.C (C_WorkAreaEvent): return a value.
11229 (event_cb): return 1 if we handled the event, 0 otherwise.
11231 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11233 2002-03-18 Juergen Vigna <jug@sad.it>
11235 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11236 (GetAdditionalWidth): ditto.
11237 (RightLine): ditto.
11240 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11241 inset if we're there actually (probably not used right now but this
11242 is the direction to go for unifying code).
11243 (paste): disable code to clear the selection.
11245 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11246 inside an InsetText and move the check further up as it is in the
11249 * text2.C (pasteSelection): set a selection over the pasted text.
11251 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11253 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11254 and libgraphics to build on Cygwin.
11256 2002-03-15 Juergen Vigna <jug@sad.it>
11258 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11259 inserting an Inset into the paragraph. I know this is not the best
11260 fix but we already use current_view in CutAndPaste so we will remove
11261 all of it's using at the same time.
11263 * buffer.C (sgmlError): deactivated function till it is rewritten in
11264 the right mode, now it can create problems.
11266 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11267 before accessing it.
11269 2002-03-14 Juergen Vigna <jug@sad.it>
11271 * undo_funcs.C (textHandleUndo): do the right thing when updating
11272 the inset after the undo/redo.
11274 * text2.C (setCursor): just some testcode for #44 not ready yet.
11276 * undo_funcs.C (textHandleUndo): set the next() and previous()
11277 pointers of the paragraph to 0 before deleting otherwise we have
11278 problems with the Paragraph::[destructor].
11280 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11281 on a paragraph insertion.
11283 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11285 * buffer.C (asciiParagraph): use += operator for char append to
11288 * paragraph.C (getFontSettings): compare >= not just >
11289 (highestFontInRange): ditto
11292 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11294 * paragraph.C: change several algorithm to be more appripriate for
11295 the problem domain. This is lookip in FontList and in the InsetList.
11297 2002-03-13 André Pönitz <poenitz@gmx.net>
11300 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11302 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11307 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11309 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11311 * Painter.C (display): anon helper function, adjust code for this
11313 (pixmap): remove function.
11315 * Painter.h: remove private display variable.
11317 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11319 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11321 * WorkArea.[Ch]: remove figinset_canvas cruft.
11323 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11325 * lyxtextclass.C (operator): add one item cache optimization.
11327 * bufferlist.h: doxy changes
11329 * bufferlist.C: ws changes
11331 * DepTable.[Ch] (ext_exist): place const in the right spot.
11333 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11335 (workAreaExpose): call resizeInsets when the with BufferView changes.
11336 (Dispatch): adjust for protectedBlank removal
11337 (specialChar): call updateInset if the insert went ok.
11339 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11340 specialChar instead.
11342 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11344 * BufferView.h: doxy change
11346 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11348 * lyxtextclass.C (operator[]): remove non-const version
11349 (defaultLayout): remove non-const version
11351 2002-03-12 Juergen Vigna <jug@sad.it>
11353 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11354 did resize the LyXText too.
11356 * buffer.C (readLyXformat2): set layout information on newly allocated
11359 * tabular.C (OldFormatRead): set layout information on the paragraph.
11361 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11363 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11365 2002-03-11 Juergen Vigna <jug@sad.it>
11367 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11369 (resizeCurrentBuffer): force also the insets to resize themselfes.
11370 (moveCursorUpdate): fixed up for InsetText.
11372 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11375 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11376 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11377 value of Dialogs::tooltipsEnabled().
11378 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11380 2002-03-08 Juergen Vigna <jug@sad.it>
11382 * BufferView_pimpl.C (updateInset): update inset inside inset also
11383 if it isn't inside theLockingInset().
11385 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11387 * buffer.C (asciiParagraph): redo some of the word and line length
11389 (getLists): look for Caption instead of caption.
11391 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11393 * buffer.C (Buffer): initialize niceFile to true
11395 (makeLinuxDocFile):
11396 (makeDocBookFile): make sure niceFile is true on exit
11398 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11400 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11402 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11404 * LyXSendto.C: remove.
11405 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11406 * lyx_gui.C: remove now-redundant comment.
11407 * ColorHandler.h: remove forward declaration of class WorkArea.
11408 * lyxfunc.C: remove #include "WorkArea.h".
11410 2002-03-07 Juergen Vigna <jug@sad.it>
11412 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11413 got moved away with the DEPM and also set the inset_owner always
11414 right which before could have been omitted.
11416 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11418 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11419 wanted layout is not found.
11421 2002-03-07 Juergen Vigna <jug@sad.it>
11423 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11425 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11427 * paragraph.C (breakParagraph): use default layout not layout of
11429 (Paragraph): clear ParagraphParameters.
11431 2002-03-06 Juergen Vigna <jug@sad.it>
11433 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11434 otherwise it would not be a valid lenght. Fixed a special case in
11435 the minipage compatibility read where we end the document with a
11438 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11439 was set as it could be 0 for InsetTexts first entry.
11441 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11443 * paragraph.C (writeFile): if layout is empty write out
11444 defaultLayoutName().
11446 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11447 file without named layout we set layout to defaultLayoutName().
11449 2002-03-06 Juergen Vigna <jug@sad.it>
11451 * CutAndPaste.C (copySelection): set layout for new paragraph.
11453 * text.C (prepareToPrint): leave ERT inset left aligned
11454 (leftMargin): don't indent paragraphs inside ERT insets
11456 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11458 * paragraph.C (breakParagraph): dont call clear do the work manually
11460 * paragraph.[Ch] (clear): remove function
11462 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11464 * paragraph.C (Paragraph): dont call clear, the work has already
11467 * lyxtextclass.C (operator): assert if n is empty
11469 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11470 work manually instead.
11472 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11474 * BufferView_pimpl.C: protect selectionLost against text == 0
11476 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11478 * text.C (breakParagraph): fix a setting layout to '0' problem.
11480 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11482 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11483 final location of file, for the included files, and graphics.
11485 2002-03-05 Juergen Vigna <jug@sad.it>
11487 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11489 2002-03-04 Juergen Vigna <jug@sad.it>
11491 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11493 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11494 last column of multicolumn cells.
11495 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11497 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11499 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11500 file if it doesn't go to a temporary file.
11502 * buffer.C (sgmlOpenTag):
11503 (sgmlCloseTag): remove extra newline insertion.
11505 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11507 * text.C (getRowNearY): comment out debug msg
11509 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11511 * text2.C: first -> first_y
11513 * text.C (getRowNearY): add some attemts at a possible
11514 optimization, not working.
11516 * tabular.[Ch]: add BufferParams to several function so that newly
11517 created paragraph can be initialized to he default layotu for the
11520 * tabular-old.C (ReadOld): add buf->params to call of Init
11522 * screen.C: rename text->first to text->first_y
11524 * paragraph.C (breakParagraph): always set layout in the broken
11527 * lyxtextclass.C (Read): remove lowercase
11530 (delete_layout): ditto
11532 * lyxtext.h: rename first -> first_y
11534 * lyxlayout.C (Read): remove lowercase
11537 (obsoleted_by): ditto
11539 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11541 * buffer.C (insertErtContents): add params are to InsetERT
11542 (parseSingleLyXformat2Token): add code to check if a paragraphs
11543 layout really exist.
11544 (parseSingleLyXformat2Token): add params to several inset
11546 (asciiParagraph): remove lowercase, do the layout comparisons with
11549 * BufferView_pimpl.C (cursorNext): first -> first_y
11550 (resizeCurrentBuffer): first -> first_y
11551 (updateScrollbar): first -> first_y
11552 (scrollCB): first -> first_y
11553 (workAreaMotionNotify): first -> first_y
11554 (workAreaButtonPress): first -> first_y
11555 (checkInsetHit): first -> first_y
11556 (cursorPrevious): first -> first_y
11557 (cursorNext): first -> first_y
11558 (Dispatch): add buffer_->params to severl inset contructors
11560 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11562 * lyxlayout.C (Read): remove some debug info that I forgot.
11564 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11565 clean up the code slightly.
11566 (makeLinuxDocFile): ditto
11567 (makeDocBookFile): ditto
11569 * text2.C: layout as string
11571 * text.C: layout as string
11573 * paragraph_pimpl.C: layout as string
11575 * paragraph.[Ch]: layout as string
11577 * lyxtextclasslist.[Ch]: layout as string
11579 * lyxtextclass.[Ch]: layout as string
11581 * lyxtext.h: layout as string
11583 * lyxlayout.[Ch]: layout as string
11585 * lyx_cb.C: layout as string
11587 * bufferview_funcs.C: layout as string
11589 * bufferparams.C: layout as string
11591 * buffer.C: layout as string
11593 * LyXView.[Ch]: layout as string
11595 * LaTeXFeatures.[Ch]: layout as string
11597 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11599 * BufferView_pimpl.C: change current_layout to string, remove
11604 (workAreaButtonRelease): layout as string
11606 * BufferView2.C (unlockInset): adjust
11608 * vspace.C (asLatexCommand): use an explict temp variable.
11610 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11612 * Makefile.am: use FRONTEND_*
11614 2002-03-01 Juergen Vigna <jug@sad.it>
11616 * tabular.C (SetWidthOfMulticolCell): changed to something better
11617 I hope but still work in progress.
11618 (recalculateMulticolumnsOfColumn): renamed function from
11619 recalculateMulticolCells as it is more appropriate now.
11620 (SetWidthOfCell): calculate multicols better.
11622 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11624 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11626 * lyxfunc.C (processKeySym): print sequence also if it is
11627 `deleted' (complete)
11629 * kbsequence.C (print): print sequence even if it is deleted
11630 (complete would be a better word, actually).
11632 * lyxfunc.C (dispatch): print complete options after a prefix key
11634 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11636 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11638 * text2.C (setCharFont): eliminate setCharFont code duplication.
11640 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11642 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11643 LFUN_TABULAR_FEATURE (bug #177)
11645 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11647 * Makefile.am: remove figure.h
11649 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11651 * Bufferview_pimpl.C:
11663 * text2.C: remove #include "lyx_gui_misc.h".
11665 * LaTeX.C: added #include <cstdio>
11667 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11669 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11670 that the paragraph following this one can have.
11672 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11674 * vspace.C (asLatexCommand): fix bogus gcc warning
11676 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11678 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11680 * text2.C (setLayout): get rid of redundant code
11682 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11684 * text2.C (incDepth): make sure depth cannot be increased beyond
11687 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11689 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11690 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11692 * PainterBase.h (image):
11693 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11694 a LyXImage const *.
11696 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11700 * BufferView_pimpl.C:
11701 * BufferView_pimpl.h:
11721 * sp_spell.C: remove fig inset, and the crap house of
11722 cards that follows it
11724 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11729 * os2_errortable.h:
11730 * nt_defines.h: move .h into support/
11732 * vms_defines.h: remove
11734 * WorkArea.C: add space in debug output
11738 * buffer.C: add WITH_WARNINGS
11742 * bufferlist.C: s/retrive/retrieve/, add docs
11751 * chset.C: add docs
11753 * lyxgui.C: add ID to X error handler
11755 * lyxtestclass.c: fix typo
11757 2002-02-26 Juergen Vigna <jug@sad.it>
11759 * tabular_funcs.C (write_attribute): changed so that some default
11760 attributes are not written at all.
11761 (getTokenValue): set default values before trying to read the
11762 value so we have the return value always set as default if we don't
11763 find the token we search for.
11765 * tabular.C (Write): write bools as bools not as strings!
11767 2002-02-22 Juergen Vigna <jug@sad.it>
11769 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11770 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11772 * text.C (leftMargin): don't add an indent for paragraphs inside
11773 tabular cells (fix #208).
11775 2002-02-21 José Matos <jamatos@fep.up.pt>
11777 * tabular.C (docBook): fixed support for long tables.
11779 2002-02-20 Juergen Vigna <jug@sad.it>
11781 * text2.C (getFont): get the drawing font of the Inset if this
11782 paragraph is inside an inset (only important for InsetERT for now).
11784 * buffer.C (insertErtContents): use new lanugage params in ERT
11787 * CutAndPaste.C: commenting out seemingly uneeded code.
11789 2002-02-19 Allan Rae <rae@lyx.org>
11791 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11792 Iterators might be simple to use but they also get invalidated.
11793 (removeAutoInsets): renamed saved cursor tracking variables and added
11794 some comments to clarify what everything does.
11796 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11803 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11804 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11807 * vc-backend.h: remove #include "support/syscall.h"
11811 * converter.C: rearrange #includes in Lars' approved fashion.
11813 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11814 forward declare class Timeout in the header file.
11816 * XFormsView.C: changes due to the above.
11818 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11819 similar to LyXView.
11821 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11822 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11824 2002-02-18 José Matos <jamatos@fep.up.pt>
11826 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11829 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11831 * a lot of small ws changes
11832 * add a lot of using std::XXX
11833 * use std construcs some places where approp.
11834 * use some exisint stuff from lyxfunctional where approp.
11835 * Make file changes to use partial linking (lets test this now...)
11837 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11841 remove #include "support/syscontr.h" as it's redundant. Always has been.
11849 change Systemcalls::System to Systemcalls::Wait and
11850 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11851 No change of functionality, just reflects the stripped down Systemcalls
11854 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11856 * debug.[Ch]: add a GRAPHICS type to the enum.
11858 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11860 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11862 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11865 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11867 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11868 match the changes below.
11870 * text2.C (toggleInset): if there is not editable inset at cursor
11871 position, try to see if cursor is _inside_ a collapsable inset
11874 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11876 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11877 document menu has a nice checkbox
11879 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11881 * lyxlength.C (asLatexString): change PW to output as percent of
11884 * lengthcommon.C: change '%' to 't%'
11886 * lyxfunc.C (dispatch): a few comments from Martin
11888 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11892 * BufferView_pimpl.h:
11893 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11896 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11898 * vspace.C (inPixels): fix compiler warning
11900 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11902 * lyxfunc.C (getStatus): fix status message for disabled commands.
11904 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11906 * BufferView_pimpl.C: fix crash on close buffer
11907 during selection (#227)
11909 2002-01-27 Herbert Voss <voss@lyx.org>
11911 * buffer.C: link old Figure to new graphic inset
11913 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11915 * FontLoader.C (getFontinfo): Change the latex font names in order
11916 to match the names of type1inst.
11918 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11920 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11922 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11923 (extchanged): ditto
11925 (remove_files_with_extension): ditto
11926 (remove_file): ditto
11929 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11930 document is smaller than the work area height. Do not initialize
11931 static variables to 0.
11933 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11935 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11937 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11938 LFUN_LAYOUT_PARAGRAPHS.
11940 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11941 tabular. It is possible to provide a possible cell, which will
11942 typically be the actcell from the corresponding insettabular
11944 * lyxfunc.C (getStatus): small cleanup; disable
11945 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11948 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11950 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11952 * paragraph.C (startTeXParParams):
11953 (endTeXParParams): new methods. The LaTeX code to
11954 start/end paragraph formatting
11955 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11956 empty (fixes bug #200)
11958 * vspace.C (inPixels): adapt to the change below
11959 (inPixels): [later] more cleanups (remove unused variables)
11961 * lyxlength.C (inPixels): change to use a width and a height as
11964 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11966 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11967 Replaced with \paperwidth
11969 * DepTable.C (insert): add std:: qualifier
11971 2002-01-18 Allan Rae <rae@lyx.org>
11973 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11976 * text.C (drawInset): Turned out I didn't know enough about how
11977 rebreaking worked. This fixes most of the redraw problems. I see
11978 an occasional cursor trail when a line is broken now and the cursor
11979 placement can seem out by a few pixels also after a rebreak.
11981 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11983 * buffer.C (parseSingleLyXformat2Token): update because minipage
11984 width is now a LyXLength
11986 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11988 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11991 2002-01-17 Juergen Vigna <jug@sad.it>
11993 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11995 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11996 is set correctly and the inset is updated correctly.
11998 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12000 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12001 the beginning of the loop.
12003 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12005 * lyxrc.C: improve help for use_scalable_fonts
12007 2002-01-17 Allan Rae <rae@lyx.org>
12009 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12011 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12013 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12014 make sure to set their inset_owner to the right value (bug #171)
12016 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12019 * DepTable.C: Implement mtime checking to reduce time spent doing
12022 2002-01-16 Juergen Vigna <jug@sad.it>
12024 * tabular.C (GetAdditionalHeight): one of error fixed.
12026 * lyxrc.C (output): small fix in writing use_pspell.
12028 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12030 * sp_base.h: #include LString.h
12032 2002-01-16 Allan Rae <rae@lyx.org>
12034 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12035 Can someone check this please?
12037 * text.C (drawInset): It was possible that p.row would be removed by
12038 breakAgainOneRow upsetting a few other settings. There may be another
12039 small tweak possible by setting need_break_row = 0 when p.row has been
12040 removed but I don't know enough about the logic here.
12042 2002-01-15 Allan Rae <rae@lyx.org>
12044 * text.C (insertChar): removed conditional truism.
12046 * BufferView2.C (removeAutoInsets): More tweaks.
12047 cur_par_prev could be a stray pointer. Check for trailing empty line
12048 in case last line was cur_par and only had an error inset on it.
12050 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12052 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12055 * vc-backend.C (most methods):
12056 * exporter.C (Export):
12057 * converter.C (convert):
12059 * LyXSendto.C (SendtoApplyCB):
12060 * lyxfunc.C (dispatch):
12064 * lyx_cb.C (AutoSave):
12066 * BufferView_pimpl.C (MenuInsertLyXFile):
12067 * buffer.C (runChktex): use Buffer::filePath().
12069 * buffer.h: rename filename to filename_; rename filepath to
12070 filepath_ and make it private
12071 (filePath): new method
12073 * buffer.C (writeFile): use fileName()
12076 * lyx_main.C (init): fix starting of LyX when the binary is a
12077 link from so,ewhere else.
12079 * minibuffer.C: include <cctype> for isprint
12081 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12083 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12084 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12085 name clash with InsetCollapsable's width function.
12087 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12089 * lastfiles.C: include <iterator>
12091 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12093 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12096 * buffer.C (makeLaTeXFile): ditto.
12097 Also make loop operation more transparent.
12099 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12101 * ToolbarDefaults.C: remove trailing comma closing namespace.
12103 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12105 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12108 * trans.C (Load): comment out unused variable, allowed.
12110 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12112 * minibuffer.[Ch] (append_char): new method to recieve input from the
12113 drop-down completion browser. If a key was pressed, then recieve this
12114 char and append it to the existing string.
12115 (peek_event): modify the positioning data passed to the completion
12116 browser so that it can be placed above the minibuffer rather than below.
12117 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12119 * LyXAction.C (init): alloe error-next for readonly documents.
12121 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12124 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12126 * bufferlist.C (readFile): create the buffer _after_ checking that
12129 * lyxfunc.C (verboseDispatch): fix handling of arguments
12131 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12133 * lyxrc.C: use string::erase() instead of initializing to "".
12136 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12138 * BufferView_pimpl.h:
12139 * BufferView_pimpl.C:
12142 * text2.C: tell X when we have made a selection for copying
12144 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12146 * BufferView_pimpl.C (MenuInsertLyXFile):
12147 * lyxfunc.C (menuNew):
12149 (doImport): add shortcuts to directory buttons
12151 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12154 * lyxfunc.C (setStatusMessage):
12155 (getStatusMessage): new methods
12156 (getStatus):use setStatusMessage instead of setErrorMessage
12157 (dispatch): when function is disabled, set error message here
12158 [instead of in getStatus previously]
12160 * BufferView_pimpl.C (workAreaButtonRelease): update
12161 toolbar/menubar here too.
12163 2002-01-13 Allan Rae <rae@lyx.org>
12165 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12166 Now seems indestructible. Remaining task is to audit all other
12167 code affected by deleteEmptyParagraphMechanism. One small quirk
12168 left is that an empty document with an error in the preamble can
12169 be made to report an error but no error box appears. I don't know
12171 (removeAutoInsets): Improved comments.
12173 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12176 * Thesaurus.C: update for Aiksaurus 0.14
12178 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12180 * text2.C (firstParagraph): removed member function, all uses
12181 replaces with ownerParagraph
12182 (redoParagraphs): here
12183 (updateInset): here
12184 (toggleAppendix): here
12185 * BufferView2.C (insertErrors): here
12186 (setCursorFromRow): here
12188 2002-01-13 Allan Rae <rae@lyx.org>
12190 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12191 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12192 There is still a way to segfault this although you may have to do this
12193 multiple times: Have an InsetERT with an unknown command in it.
12194 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12195 <down-arrow>, <Enter> again, View->DVI, BANG!
12197 * text2.C (setCursor):
12198 (deleteEmptyParagraphMechanism):
12199 * lyxtext.h (setCursor):
12200 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12201 Making use of the return value may help fix other bugs.
12203 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12205 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12207 * LyXView.C (updateMenubar): call MenuBar::update here
12208 (updateToolbar): but not here
12209 (showState): do not update toolbar/menubar
12211 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12212 should need to care about that.
12214 * lyxfunc.C (verboseDispatch): simplify a bit
12215 (getStatus): have a version which takes a pseudoaction, and
12216 another which requires a (kb_action,string).
12218 * LyXAction.C (retrieveActionArg): make it work also when action
12219 is not a pseudo-action.
12220 (getActionName): simplify a bit
12223 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12225 * lyxfunc.C (verboseDispatch): new families of methods with
12226 several ways to specify a command and a bool to indicate whether
12227 the command name and shortcut should be displayed in minibuffer
12228 (eventually, we could extend that to a finer bitmask like
12229 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12230 (dispatch): the pristine dispatch command which just, well,
12231 dispatchs! Note it still sets its result to minibuffer; I'm not
12234 * lyxfunc.h: remove setHintMessage
12236 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12238 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12240 * BufferView_pimpl.C (specialChar): delete new inset if we have
12241 not been able to insert it.
12243 * kbmap.C: revert to using int instead of kb_action, since all we
12244 are dealing with is pseudo-actions.
12246 * LyXAction.C (searchActionArg): change to return int instead of
12247 kb_action, since the result is a pseudoaction.
12249 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12251 * buffer.C (insertErtContents): Fix (partially) the font bug.
12253 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12255 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12256 as the other one is broken on my machine!
12258 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12261 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12263 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12265 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12266 reflect their actual use. Provide compatibility code for older lyxrc
12269 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12271 change names of popup font variables in line with the changes to lyxrc.C
12273 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12275 * buffer.C (asciiParagraph): avoid outputing a word twice after
12278 * lyxrc.C (getDescription): document that document_path and
12279 template_path can be empty.
12281 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12283 * LaTeXFeatures.C (getMacros):
12284 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12286 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12288 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12290 (getPackages): rename feature "floats" to "float". Use an array to
12291 iterate over 'simple' features (i.e. just a \usepackage). Add
12292 handling of "amsmath" (renamed from "amsstyle").
12294 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12296 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12299 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12301 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12302 FuncStaus::FuncStatus & FuncStaus::some_method().
12304 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12306 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12307 of the func_satus stuff. Edited and massaged in various ways by
12310 * lyxfunc.C (getStatus): use FuncStatus
12312 2002-01-08 Juergen Vigna <jug@sad.it>
12314 * text.C (nextBreakPoint): use function Inset::isChar().
12316 * paragraph.C (TeXOnePar): use function
12317 Inset::forceDefaultParagraphs.
12319 * buffer.C (latexParagraphs): use function
12320 Inset::forceDefaultParagraphs.
12322 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12324 * lyx_gui.C (init): set the style of the menu popups to
12325 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12327 2002-01-07 Juergen Vigna <jug@sad.it>
12329 * text.C (setHeightOfRow): small fix
12330 (prepareToPrint): don't look at alignment if we don't have the place
12333 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12335 * box.C: New file. Move the Box methods and functions out of box.h,
12336 following Lars' suggestion.
12338 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12340 * box.h: #include "support/LOstream.h", needed for inlined function.
12343 * lyxtextclasslist.C: added some using std declarations.
12345 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12347 * box.h: make signed dimensions to allow insets wider than
12348 the screen (bug #162)
12350 * BufferView_pimpl.C: add some insetHit debug
12352 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12354 * vc-backend.C: add FIXME
12356 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12358 * lyxfunc.C (getStatus): enable code for showing math font status
12361 2002-01-07 Juergen Vigna <jug@sad.it>
12363 * text.C (nextBreakPoint): removed debug output not needed anymore.
12365 2002-01-06 Juergen Vigna <jug@sad.it>
12367 * text.C (nextBreakPoint): fixed up this function we had this bug
12368 since ever but now hopefully we break row better.
12369 (insertChar): we have to check if an inset is the next char as it
12370 could now happen that a large inset is causing a break.
12372 2002-01-05 Juergen Vigna <jug@sad.it>
12374 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12375 if it doesn't like to be drawed.
12377 2002-01-04 Juergen Vigna <jug@sad.it>
12379 * BufferView2.C (lockInset): forgot to set a cursor.
12381 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12383 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12385 * FormMathsPanel.C:
12388 * form_maths_panel.C:
12389 * form_maths_panel.h:
12390 * form_maths_panel.fd: implemented sub- and super- buttons in math
12393 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12394 (or ^ space) to be used as in TeX (req'd by André).
12396 * lyxfunc.C: Allow ^ and _ again to be used both as
12397 super/subscript (mathed) and as themselves (in text).
12399 2002-01-03 Allan Rae <rae@lyx.org>
12401 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12402 "LyX" or the filename of the current buffer if it has one. This is a
12403 modified form of John Levon's patch.
12405 * XFormsView.C (setWindowTitle): also set icon title.
12407 * LyXView.h (setWindowTitle): signature changed.
12408 * XFormsView.h (setWindowTitle): ditto.
12410 2002-01-02 Juergen Vigna <jug@sad.it>
12412 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12414 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12416 * screen.C (topCursorVisible): introduce a temp var for
12417 text->cursor.row(), handle the case where this row is null. (kindo
12420 * text2.C (setCursor): add a couple of asserts.
12422 * paragraph.h (inset_iterator): add -> operator
12424 * paragraph.[Ch] (autoDeleteInsets): remove member function
12426 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12427 cursor pos correctly and handle inset deletion by itself.
12428 (insertErrors): move iterator declaration out of for expression
12430 * lyxtextclass.C: add <algorithm>
12432 * Makefile.am: added the new files to sources, removed layout.C
12434 * layout.C: removed file
12436 * layout.h: remove LYX_DUMMY_LAYOUT
12438 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12442 * lyxtextclass.[Ch]:
12443 * lyxtextclasslist.[Ch]: new files
12445 * include order changes to a lot of files, also changes because of
12448 2001-12-27 Juergen Vigna <jug@sad.it>
12450 * buffer.C (asciiParagraph): more fixes.
12452 * tabular.C (ascii): make ascii export support export of only the
12453 data separated by a column-delimiter.
12454 (ascii): better support for ascii export.
12456 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12458 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12460 * tabular_funcs.C: use a "using std::getline" instead of the
12461 previous fix from Angus (necessary for cxx + lyxstring)
12463 2001-12-24 Juergen Vigna <jug@sad.it>
12465 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12467 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12468 problems. First check a minipage also if we have some ert-contents
12469 (not only on par->size(), second set the right depth of the paragraph
12470 on the relink to the root-paragraph-list!
12472 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12473 which then did not anymore update the main paragraphs on undo/redo!
12475 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12477 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12478 code. Support all font-changing funcs (even those which are not in
12479 menu currently). Support for reporting font settings in
12480 mathed (disabled until Andre provides a function on mathed's side).
12482 * func_status.h (toggle): small helper function to set toggle
12485 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12487 * tabular_funcs.C: getline -> std::getline
12489 2001-12-21 Juergen Vigna <jug@sad.it>
12491 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12492 accessed and could be 0 (I couldn't generate this but it seems
12495 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12497 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12498 * tabular_funcs.h: here and include iosfwd
12500 2001-12-20 Juergen Vigna <jug@sad.it>
12502 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12503 inside inset but undo_par was.
12505 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12507 * Thesaurus.C: always include <config.h> in sources.
12511 * box.h: do not include <config.h> in header files
12513 * text.C (paintLastRow): remove unused variable
12515 * text.C (transformChar):
12517 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12519 * Painter.C (text):
12520 * font.C (width): rewrite to use uppercase() instead of
12523 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12525 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12527 * lyxfind.C: clean up of find failure position change
12529 2001-12-20 Juergen Vigna <jug@sad.it>
12531 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12533 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12534 (TeXRow): added to LaTeX a single tabular row.
12535 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12536 (Latex): simplified and finally good LT-h/f support.
12537 (various_functions): just small adaptions for LT-h/f support.
12539 * tabular_funcs.[hC]: added and moved here all not classfunctions
12542 2001-12-19 Juergen Vigna <jug@sad.it>
12544 * tabular.[Ch]: better support for longtabular options (not finished
12547 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12549 * text.C (paintLastRow): use the label font instead of the font of
12550 the last character to compute the size of *_BOX. This makes more
12551 sense and avoids a crash with empty paragraphs.
12552 Use Painter::rectangle to draw EMPTY_BOX.
12554 2001-12-19 Juergen Vigna <jug@sad.it>
12556 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12557 the paragraphs if the replaced paragraph is not the first one!
12558 Tried to delete not used paragraphs but does not work yet so for
12559 now it's inside #ifdef's and by default off!
12561 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12563 * MenuBackend.C: include "lyx_main.h" instead of declaring
12564 lastfiles (actually was declared as LastFiles* instead of a
12567 2001-12-17 Juergen Vigna <jug@sad.it>
12569 * tabular.C (AppendColumn): applied John's fix
12571 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12575 * BufferView_pimpl.h:
12576 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12579 * box.h: new start of class for above
12581 * lyxfunc.C: ignore space-only minibuffer dispatches.
12582 Show the command name when it doesn't exist
12584 * minibuffer.C: don't add empty lines to the history
12586 * minibuffer.C: add a space on dropdown completion
12588 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12590 * text.C: fix line above/below drawing in insets
12592 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12594 * lyxlength.C (LyXLength): Initialize private variables.
12596 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12598 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12599 when inserting error insets.
12601 2001-12-13 Juergen Vigna <jug@sad.it>
12603 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12604 actually sometimes the before-paragraph.
12605 (setUndo): don't clear the redostack if we're not actually undoing!
12607 2001-12-06 Juergen Vigna <jug@sad.it>
12609 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12610 and fixed redoing of main paragraph, so we can use it now ;)
12612 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12614 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12616 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12619 2001-12-13 André Pönitz <poenitz@gmx.net>
12622 * undo_func.C: minor cleanup
12624 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12626 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12627 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12628 font in urw-fonts package which is marked as -urw-fontspecific and
12629 does not work (incidentally, changing the encoding in the
12630 fonts.dir of this package to -adobe-fontspecific fixes the
12633 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12634 is a crash when undoing first paragraph (Juergen, please take a
12635 look). THis does not mean the undo fix is wrong, just that it
12638 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12639 the (Paragraph*) version when needed instead of duplicating the
12642 * text.C (workWidth): use Inset::parOwner to find out where the
12643 inset has been inserted. This is a huge performance gain for large
12644 documents with lots of insets. If Inset::parOwner is not set, fall
12645 back on the brute force method
12647 * paragraph_pimpl.C (insertInset):
12648 * paragraph.C (Paragraph):
12649 (cutIntoMinibuffer): set parOwner of insets when
12650 inserting/removing them
12652 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12654 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12660 * mathed/formulabase.C:
12661 * mathed/math_cursor.[Ch]:
12662 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12665 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12667 * lyxlength.[Ch] (operator!=): new function
12669 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12671 * text.C (workWidth): use Inset::parOwner to find out where the
12672 inset has been inserted. This is a huge performance gain for large
12673 documents with lots of insets. If Inset::parOwner is not set, fall
12674 back on the brute force method
12676 * paragraph_pimpl.C (insertInset):
12677 * paragraph.C (Paragraph):
12678 (cutIntoMinibuffer): set parOwner of insets when
12679 inserting/removing them
12681 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12683 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12685 * tabular-old.C (getTokenValue):
12686 * tabular.C (getTokenValue):
12687 (write_attribute): new versions for LyXLength
12688 (everywhere): adjust the use of widths
12690 * tabular.h: change the type of widths from string to LyXLength
12692 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12694 * paragraph.C: fixed missing line number count when exporting
12695 Environments to LaTeX file
12697 * buffer.C: added informational message for checking line numbers.
12699 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12701 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12702 paragraph, do the 'double space' part, but not the 'empty
12705 * text.C (workWidth): small optimization
12706 (getLengthMarkerHeight): use minimal size for negative lengths.
12708 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12710 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12712 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12714 2001-12-11 André Pönitz <poenitz@gmx.net>
12717 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12719 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12721 * text2.C: keep selection on a setFont()
12723 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12725 * lyx_cb.C: another bv->text misuse, from insert label
12727 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12730 * kbsequence.C: re-instate nmodifier mask
12732 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12734 * lyx_main.h: make lyxGUI private.
12736 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12738 * lyxfind.C: place the cursor correctly on failed search
12740 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12742 * text.C (getLengthMarkerHeight): for small heights, the arrows
12743 are not always on top/bottom of the text
12744 (drawLengthMarker): smaller arrows; take the left margin in
12745 account; draw also vfills.
12747 (paintLastRow): remove special code for vfill and standard spaces,
12748 since everything is handled in drawLengthMarker now.
12750 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12752 * buffer.C (insertErtContents): try to handle font and language
12753 interaction a bit better.g
12755 * ColorHandler.C (updateColor): change the hash to cover the whole
12756 LColor enum, ws cleanup
12757 (getGCLinepars): ditto
12758 (getGCLinepars): only lookup in the linecache once.
12760 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12762 * iterators.C (operator++): Make the iterator more robust
12764 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12766 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12768 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12771 * text.C: better added space drawing
12773 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12776 * BufferView2.C: fix layout combo update on inset unlock
12778 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12780 * Makefile.am: don't compile unused files
12782 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12786 * LyXAction.C: remove old LFUN_LAYOUTNO
12788 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12790 * paragraph_pimpl.h:
12791 * paragraph_pimpl.C: isTextAt() doesn't need font param
12793 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12796 * lyxlex.C: little cleanup
12798 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12800 * BufferView_pimpl.C: fix insertAscii for insets
12802 2001-12-05 Juergen Vigna <jug@sad.it>
12804 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12805 set the right font on the "multi" paragraph paste!
12807 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12813 * lyxlength.C: remove out-commented code.
12815 * BufferView_pimpl:
12829 * vc-backend.C: change "while(" to "while ("
12831 * lyxlength.[Ch]: add zero function to check if length is zero or
12833 * lyxgluelength.C: use it
12835 2001-12-05 Allan Rae <rae@lyx.org>
12837 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12838 Works for 2.95.3, from what I understand of Garst's reports this should
12839 work for other g++ versions. We're screwed if the abs(int) definition
12840 changed between bugfix releases of gcc.
12842 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12844 * text.C: fix chapter label offset !
12846 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12849 * text.C: fix hfill at end of line, clean up
12851 2001-12-04 Juergen Vigna <jug@sad.it>
12853 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12854 that we force an update of the inset and it's owners if neccessary.
12856 2001-12-03 Juergen Vigna <jug@sad.it>
12858 * text.C (rowLast): simplified code
12860 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12862 * lyxfunc.C: fix show options on timeout
12864 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * screen.C (topCursorVisible): scroll half a page when the cursor
12867 reached top of bottom of screen
12869 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12871 * minibuffer.C: deactivate on loss of focus
12873 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12875 * vspace.[Ch] (operator!=): add operator.
12877 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12879 * BufferView_pimpl.C: refuse to open an inset when
12880 there's a selection.
12882 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12884 * BufferView_pimpl.C: allow to click on RHS of full row insets
12886 2001-11-30 Juergen Vigna <jug@sad.it>
12888 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12889 insets for undo reasons.
12891 2001-11-28 André Pönitz <poenitz@gmx.net>
12893 * vspace.[Ch]: cosmetical changes
12895 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12905 * kbsequence.C: part re-write of old kb code
12908 * WorkArea.C: remove Lgb_bug_find_hack
12910 2001-11-30 José Matos <jamatos@fep.up.pt>
12912 * buffer.C (makeDocBookFile): add a comment to point a hack.
12913 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12914 Fixed a double write of labels.
12916 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12919 * LaTeX.h Fixed bug in LaTeX class where it would not
12920 re-run latex if no depfiles were changed, but the .dvi was removed.
12922 2001-11-28 André Pönitz <poenitz@gmx.net>
12924 * all the files from the change on 2001/11/26:
12925 use lyx::layout_type instead of LyXTextClass::size_type
12926 use lyx::textclass_type instead of LyXTextClassList::size_type
12928 2001-11-29 Juergen Vigna <jug@sad.it>
12930 * text.C: added support for paragraph::isFreeSpacing()
12932 * buffer.C: same as above
12934 * paragraph.h: inserted isFreeSpacing() function to enable
12935 FreeSpacing inside InsetERT.
12937 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12938 of the paragraph's in the cut/copy buffer to 0!
12940 * text2.C (removeRow): remove the assert as it can!
12942 * lyxtext.h: added helper function firstRow returning firstrow and
12943 made firstrow private again.
12945 * BufferView2.C (lockInset): don't relock if we're already locked!
12947 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12948 the only paragraph.
12949 (removeRow): added Assert::(firstrow)
12951 * debug.C: forgot to add INSETTEXT here.
12953 2001-11-28 Juergen Vigna <jug@sad.it>
12955 * sp_spell.C (initialize): changed error text to more general
12956 spellchecker command use (not only ispell!)
12958 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12960 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12962 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12964 * vspace.C: initialise lyxgluelength on failure
12966 2001-11-28 Allan Rae <rae@lyx.org>
12968 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12969 declaration & definition that looks like a function declaration.
12971 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12973 * BufferView2.C (copy):
12974 (copyEnvironment): do not clear the selection when doing a copy.
12976 * text.C (paintFirstRow): compilation fix
12978 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12980 * tabular.C (Latex): correct line count when writing latex.
12982 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12984 * paragraph_pimpl.h:
12985 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12988 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12992 * LColor.C: change vfillline->added_space
12994 * text.C: add markers and text for added space
12996 * vspace.C: fix comment
12998 2001-11-28 André Pönitz <poenitz@gmx.net>
13000 * paragraph.C: whitespace changes
13001 * all the other files from the change on 2001/11/26:
13002 change *::pos_type into lyx::pos_type
13004 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13006 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13007 language of the document when inserting error insets.
13009 2001-11-26 André Pönitz <poenitz@gmx.net>
13011 * BufferView_pimpl.[Ch]:
13019 * paragraph_pimpl.[Ch]:
13022 * text2.C: reduce header dependencies, introduce type for positions
13024 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13026 * <various>: change to use Alert.h
13028 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13030 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13031 when encountering an unknown token.
13032 (readLyXformat2): Show an error message if there were unknown tokens.
13034 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13037 * BufferView_pimpl.C:
13041 * text2.C: use par->isInset()
13043 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13045 * paragraph_pimpl.h:
13046 * paragraph_pimpl.C: cleanup
13048 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13050 * text2.C (removeRow):
13051 * text.C (setHeightOfRow): remove useless (and costly) call to
13054 2001-11-20 Allan Rae <rae@lyx.org>
13056 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13057 Now need Inset*::checkInsertChar() to return true for appropriate
13058 cases so that the characters in the minibuffer will actually be
13061 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13063 * text.C: change the order of the includes.
13064 (workWidth): initialize it at once.
13065 (workWidth): make maxw unsigned
13066 (setHeightOfRow): remove unused variable (inset)
13067 (selectSelectedWord): remove unused variable (inset)
13068 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13070 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13072 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13073 server is not running.
13075 (closeConnection): add debug info when server is disabled.
13077 * ColorHandler.C (getGCForeground): send debug message to GUI
13080 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13082 * kbmap.C (bind): modify because return conventions of
13083 kb_sequence::parse have changed.
13085 * kbsequence.C (parse): only ignore spaces and not any stupid
13086 control character. This avoids tests like s[i] <= ' ', which are
13087 guaranteed to fail with 8bit characters and signed chars.
13088 Change return code to string::npos when there have been no error
13089 (0 was a bad idea when error is at first character)
13091 2001-11-14 José Matos <jamatos@fep.up.pt>
13094 * buffer.C (simpleDocBookOnePar): removed unused argument.
13096 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13098 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13099 insets which are part of a word. Paragraph::isLetter takes care of
13100 that now. Use Paragraph::isInset to identify insets.
13101 (selectSelectedWord): do not test for hyphenation break.
13103 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13104 that protected spaces are considered as spaces.
13106 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13109 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13112 * lyxserver.C: fix it. and small cleanup.
13114 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13116 * BufferView_pimpl.C: use inline helpers
13119 * LaTeXFeatures.C: fix typos
13122 * Spacing.C: move spacing_string into class
13124 * ToolbarDefaults.C: move stuff into namespace anon
13126 * layout.h: update enum
13128 * lyxfunc.C: use better debug
13130 * minibuffer.h: fix typo
13134 * WorkArea.C: add and use Debug::WORKAREA
13138 * text2.C: code re-organisation, inline helpers
13140 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13142 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13143 std::vector.empty().
13145 2001-11-09 Allan Rae <rae@lyx.org>
13147 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13148 '\n's after tables. Tabular and ERT inset work now makes this no
13151 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13154 * minibuffer.C: fix crash, improve drop-down completion
13156 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13159 * lyxserver.C: invalidate fd's when doing endPipe()
13161 2001-11-08 José Matos <jamatos@fep.up.pt>
13163 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13164 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13167 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13169 2001-11-07 José Matos <jamatos@fep.up.pt>
13172 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13175 * buffer.C (sgmlOpenTag):
13176 * buffer.C (sgmlCloseTag): removed debug info.
13178 * buffer.h (sgmlOpenTag):
13179 * buffer.h (sgmlCloseTag): made public.
13181 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13183 * buffer.C (saveParamsAsDefaults):
13184 * lyx_cb.C (MenuLayoutSave): remove
13186 * LyXAction.C (init):
13188 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13190 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13192 * buffer.C (setPaperStuff): removed from here...
13194 * bufferparams.C (setPaperStuff): ... and moved there.
13196 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13200 * XFormsView.C: add support for drop-down completion
13202 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13204 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13207 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13209 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13212 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13214 * lyx_main.C: change ref to known bugs
13216 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13218 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13219 to work around older babel problems.
13221 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13223 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13225 2001-10-24 Juergen Vigna <jug@sad.it>
13227 * tabular-old.C (ReadOld): below variable changes reflected.
13229 * tabular.[Ch]: added ltType struct for longtable header/footer
13230 defines and changed all instances where they are used. Added
13231 future support for double top/bottom rows.
13233 2001-10-24 José Matos <jamatos@fep.up.pt>
13235 * buffer.h (docbookHandleCaption):
13236 * buffer.C (docbookHandleCaption): removed unused function.
13237 (makeDocBookFile): moved docbook supported version to v4.1.
13239 2001-10-24 José Matos <jamatos@fep.up.pt>
13242 * tabular.C (docbookRow): new function to export docbook code of a row.
13243 (DocBook): now honors the longtable flags.
13245 2001-10-23 José Matos <jamatos@fep.up.pt>
13248 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13249 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13251 * buffer.C (makeLinuxDocFile):
13252 (makeDocBookFile): reworked the preamble, more clean, and with
13253 support for lyx defined entities. Changed the document declaration
13254 to be more XML friendly.
13256 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13257 if we need to output XML that should be done with a filter.
13259 2001-10-22 Juergen Vigna <jug@sad.it>
13261 * sp_pspell.h (class PSpell): add alive function needed in the
13262 controller to see if the spellchecker could be started.
13264 2001-10-22 Juergen Vigna <jug@sad.it>
13266 * buffer.C (insertStringAsLines): modify the font for inserting
13267 chars in certain conditions by calling checkInsertChar(font).
13269 2001-10-19 Juergen Vigna <jug@sad.it>
13271 * text.C (workWidth): use getRow instead of wrong algorithm.
13272 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13274 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13279 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13281 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13283 * text.C (workWidth): do not search for the exact row when
13284 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13285 optimization for big documents.
13287 2001-10-18 Juergen Vigna <jug@sad.it>
13289 * text.C (workWidth): new function with added Inset * parameter.
13291 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13293 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13295 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13296 change return type of getColumnNearX.
13299 * text.C (changeRegionCase): use uppercase/lowercase instead of
13302 (rightMargin): simplify code by factoring out the uses of
13307 (appendParagraph): use Paragraph::size_type
13309 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13311 * vspace.C (asLatexString): add a missing break
13313 2001-10-15 Herbert Voss <voss@perce.de>
13315 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13317 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13319 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13322 2001-10-10 André Pönitz <poenitz@gmx.net>
13324 * lyxfunc.C: removed greek_kb_flag.
13326 2001-10-10 Herbert Voss <voss@perce.de>
13328 * lyx_main.C: delete global string help_lyxdir.
13330 2001-10-09 Herbert Voss <voss@perce.de>
13332 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13334 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13336 * lyx_main.C: added global string help_lyxdir.
13338 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13340 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13342 * lyxrc.C (set_font_norm_type): support iso8859-4
13344 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13346 * LaTeX.C (deplog): add another regex for MikTeX
13348 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13350 * lyxrc.C (set_font_norm_type): support iso8859-3
13352 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13354 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13356 * LaTeXFeatures.C: remove special case of french and index
13358 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13359 before \begin{document}). This solves several incompatibilities.
13361 2001-10-03 Garst Reese <reese@isn.net>
13363 * lyx_cb.C: change CheckTex error msg.
13365 2001-10-03 José Matos <jamatos@fep.up.pt>
13367 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13369 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13371 * .cvsignore: update
13373 * lyx_main.C (commandLineVersionInfo): use new style version info.
13375 * buffer.C (writeFile):
13377 (makeLinuxDocFile):
13378 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13380 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13382 * version.h: update to use stuff in version.C
13384 * version.C.in: new file. Contains version information determined
13385 at compile time. This is a merging of version.h and
13388 2001-10-03 Juergen Vigna <jug@sad.it>
13390 * BufferView_pimpl.C (update): don't change "dirty" status in
13393 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13395 * WorkArea.C (c-tor): re-position version string slightly.
13397 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13399 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13400 revert to previous code.
13402 WorkArea.[Ch]: (show, destroySplash): methods removed.
13404 WorkArea.C: rework code so that it's an amalgam of the codes before and
13405 after the splash screen was moved to WorkArea.
13407 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13410 * vspace.C (inPixels):
13413 * buffer.C (insertStringAsLines):
13414 (asciiParagraph): fix types to be large enough
13416 * lyxlex_pimpl.h: change member status from short to int
13418 * layout.h: fix type of endlabeltype
13421 * kbsequence.C (parse): change return type to string::size_type
13423 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13426 * Bullet.C (bulletSize):
13427 (bulletEntry): do not use short ints as parameters
13429 * BufferView2.C (insertLyXFile): change a char to an int.
13431 * WorkArea.C (WorkArea): remove unneeded floats in computation
13433 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13435 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13437 * paragraph.C (asString): Do not ignore newline/hfill chars when
13438 copying to the clipboard.
13440 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13442 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13443 after a multi-line inset.
13445 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13447 * paragraph.C (validate): Set NeedLyXFootnoteCode
13449 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13451 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13452 and decrease-error to decrease.
13454 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13456 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13457 it more readable (should be equivalent)
13459 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13461 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13463 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13465 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13466 of a cursor (row, etc.) after a character has been deleted
13467 (deleteEmptyParagraphMechanism): call the method above on _all_
13468 cursors held by the LyXText when a double space has been
13471 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13473 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13475 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13477 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13478 background. Use greyOut() and the new show() methods to toggle between
13479 the foreground and background. Add code to remove the splash after
13480 its initial showing.
13482 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13483 (create_forms): no longer call Dialogs::showSplash.
13485 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13487 * .cvsignore: add version_info.h
13489 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13491 * version_info.h.in: new file
13493 * Makefile.am: add version_info.h.in
13495 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13496 version_info.h instead of VERSION_INFO
13498 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13500 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13501 The ERT inset now returns string().
13503 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13505 * lyxtext.h, text.C (selectNextWord): renamed as
13506 selectNextWordToSpellcheck.
13508 * text.C (selectNextWordToSpellcheck): Modified to not select
13509 words inside an ERT inset.
13511 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13513 * lyx_cb.C (MenuLayoutSave): change a bit the question
13515 * sp_base.h: include <sys/types.h>
13517 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13519 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13521 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13523 * several files: fix typos in user-visible strings
13525 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13527 * text2.C (pasteSelection): do not set the selection, since it
13528 will be cleared later. Actually, the intent was to fix the way the
13529 selection was set, but I figured rmoving the code was just as good.
13531 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13533 * FontLoader.C (available): Check if font is available without
13536 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13538 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13540 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13542 * lyxrc.[Ch]: added display_graphics variable and associated code.
13544 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13546 * bufferparams.C (hasClassDefaults): new method. Returns true if
13547 the buffer parameters correspond to known class defaults
13549 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13551 * XFormsView.C (show): set minimum size to the main window.
13553 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13555 * text2.C (copySelection):
13557 * lyxfind.C (LyXReplace):
13558 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13559 LyXText::selectionAsString.
13561 * paragraph.C (asString): add "label" argument to the second form
13563 * text2.C (selectionAsString): add "label" argument and pass it to
13564 Paragraph::asString.
13566 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13568 * lyx_main.C (commandLineHelp): remove version information
13570 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13572 * lyx_main.C: add -version commandline option
13574 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13576 * paragraph.h: make the optional constructor arg required instead.
13577 some modifications to other files because of this.
13579 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13581 * lyxserver.C (C_LyXComm_callback): make it static
13583 * lyx_main.C (error_handler): make it static
13585 * lyx_gui.C (LyX_XErrHandler): make it static
13587 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13589 * WorkArea.C: make the extern "C" methods static.
13591 * Makefile.am (lyx_LDADD): simplify
13593 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13595 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13596 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13598 * LyXAction.C (init):
13599 * lyxfunc.C (dispatch): associated code removal.
13601 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13603 * lyxfont.h (isSymbolFont): shut off warning
13605 * text.C (setHeightOfRow):
13606 (getVisibleRow): fix crash with empty paragraphs which have a
13609 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13611 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13614 2001-09-04 José Matos <jamatos@fep.up.pt>
13617 * tabular.C (docbook): rename docBook method to docbook.
13619 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13621 * Makefile.am: add dependencies to main.o.
13623 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13625 * FontLoader.C (available): Return false if !lyxrc.use_gui
13627 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13629 * FontInfo.C (query):
13630 * converter.C (view):
13631 * importer.C (Import):
13632 * exporter.C (Export): Can not -> cannot.
13634 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13636 * BufferView_pimpl.C: allow to create index inset even if
13639 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13641 * buffer.C (getLists): replace boost::tie code with an explicit pair
13642 as boost::tie can break some compilers.
13644 * iterators.h: Added a std:: declaration to the return type of
13647 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13649 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13652 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13654 * iterators.[Ch]: New files. Provide paragraph iterators.
13656 * buffer.C (changeLanguage): Use paragraph iterators.
13657 (isMultiLingual): ditto
13659 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13661 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13663 * FontLoader.C: Support for cmr font.
13665 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13667 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13668 (available): New method.
13670 * FontInfo.C (getFontname): Use scalable fonts even when
13671 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13674 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13676 * converter.C (Formats::view): reverted! Incorrect fix.
13678 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13680 * converter.C (Formats::view): only output the -paper option
13681 if the dvi viewer is xdvi, thereby fixing bug #233429.
13683 2001-08-23 Herbert Voss <voss@perce>
13685 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13687 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13689 * Spacing.h (Spacing): Set space to Default on in the default
13692 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13694 * vc-backend.h (RCS::versionString): add RCS to version
13695 (CVS::versionString): add CVS to version
13697 * vc-backend.C (scanMaster): do not add CVS to version.
13698 (scanMaster): do not add RCS to version
13700 * lyxvc.C (versionString): new method
13702 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13704 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13706 * Spacing.C (set): initialize fval
13708 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13710 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13713 2001-08-16 Juergen Vigna <jug@sad.it>
13715 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13717 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13719 * BufferView_pimpl.C:
13722 * text2.C: setParagraph takes linespacing now
13724 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13726 * LyxAction.C: add internal LFUN_CITATION_INSERT
13728 * LyXView.C: actually apply fix
13730 * bufferlist.C: fix open non-existent file
13732 * lyxfind.C: fix indentation
13734 * lyxfunc.C: remove unneeded assert, fix typo
13736 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13738 * MenuBackend.C: use "Floatname List"
13740 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13742 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13743 when converting LaTeX layout to insetERT.
13744 Generate a non-collapsed float when reading old float
13746 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13748 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13751 2001-08-13 Juergen Vigna <jug@sad.it>
13753 * text.C (fill): return 0 instead of 20 as this seems to be the more
13756 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13758 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13761 2001-08-13 Juergen Vigna <jug@sad.it>
13763 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13765 (SearchBackward): comment out the unlocking of the inset_owner this
13766 should not be needed!
13768 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13770 * Many files: Remove inherit_language, and add latex_language
13772 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13773 collapsible insets.
13775 2001-08-10 Juergen Vigna <jug@sad.it>
13777 * text.C (prepareToPrint): fixed hfill-width in draw!
13779 * BufferView2.C (selectLastWord): save the selection cursor as this
13780 now is cleared in the function LyXText::clearSelection!
13782 2001-08-08 Juergen Vigna <jug@sad.it>
13784 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13785 BACKSPACE type functions.
13787 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13788 is only cutted from the document but not put in the cut-buffer, where
13789 still the old stuff should be.
13791 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13793 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13795 * tabular.C (SetWidthOfCell): fixed special case where the width
13797 (LeftLine): handle '|' in align_special.
13799 (LeftAlreadyDrawed): ditto
13800 (SetWidthOfCell): ditto
13802 2001-08-07 Juergen Vigna <jug@sad.it>
13804 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13806 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13808 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13809 * lyxlex.[hC]: ditto
13811 2001-08-06 Juergen Vigna <jug@sad.it>
13813 * text.C (getVisibleRow): fix up row clearing a bit.
13815 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13817 * minibuffer.C: make sure the X server sees the changes in the input.
13819 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13821 * paragraph.C (getFont): split into...
13822 (getLabelFont): this
13823 (getLayoutFont): and this
13824 * paragraph_pimpl.C (realizeFont): calling this
13826 * text2.C (getFont): split into...
13827 (getLayoutFont): this
13828 (getLabelFont): and this
13829 (realizeFont): all three calling this
13831 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13834 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13836 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13838 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13840 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13841 layouts from the Quote inset insertion.
13843 2001-08-03 Juergen Vigna <jug@sad.it>
13845 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13847 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13848 only if status not is already CHANGED_IN_DRAW (second level).
13850 * text.C (draw): don't set the need_break_row when inside an
13853 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13855 * buffer.C (parseSingleLyXformat2Token): handle more latex
13858 * bufferview_funcs.[hC]: change function names to
13859 begin with small char, adjust other files.
13861 2001-08-02 André Pönitz <poenitz@gmx.net>
13864 BufferView_pimpl.C: remove broken special code for math-greek
13866 2001-08-02 Juergen Vigna <jug@sad.it>
13868 * BufferView_pimpl.C (update): redone this function so that we
13869 update the text again if there was a CHANGE_IN_DRAW.
13871 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13872 (drawFromTo): added a new internal bool which is used by draw() and
13874 (general): some cursor drawing problems fixed.
13876 2001-08-01 Juergen Vigna <jug@sad.it>
13878 * lyxfind.C (LyXFind): fixed
13879 (SearchForward): ditto
13880 (SearchBackward): ditto
13882 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13883 spurius drawing of the cursor in the main area.
13885 * text2.C (status): small fix which could lead to a segfault!
13886 (clearSelection): remove unneeded BufferView param.
13888 2001-08-01 André Pönitz <poenitz@gmx.net>
13890 * lyxfunc.C: small change due to changed mathed interface
13892 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13894 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13896 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13898 * lyxfunc.c: fail gracefully if file doesn't exist
13903 * BufferView_pimpl.C: IsDirWriteable() proto changed
13905 * LyXView.C: fix updateWindowTitle() to store the last title
13907 2001-07-31 Juergen Vigna <jug@sad.it>
13909 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13910 the font (wrong since using of Paragraph::highestFontInRange).
13912 * paragraph.C (highestFontInRange): added a default_size parameter.
13914 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13915 (setHeightOfRow): reformat
13917 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13919 * converter.[hC] + affected files: move to (inital-char)lowercase
13922 * ParagraphParameters.C (ParagraphParameters): remove commented code
13924 * PainterBase.[Ch]: remove commented code
13926 * LaTeXFeatures.h: add "bool floats" for float.sty
13928 * LaTeXFeatures.C (LaTeXFeatures): init floats
13929 (require): handle float
13930 (getPackages): do it with floats
13932 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13934 * BufferView_pimpl.C (Dispatch): improve handling of
13935 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13937 * commandtags.h: #include lyxfont.h here temporarily to avoid
13940 * bufferlist.h: include LString.h here.
13942 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13944 * text2.C (getStringToIndex): new method.
13946 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13948 * *: Reduced header file dependencies all over.
13950 2001-07-30 Baruch Even <baruch@lyx.org>
13952 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13954 2001-07-29 Baruch Even <baruch@lyx.org>
13956 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13958 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13960 * ParameterStruct.h (endif): add a default constructor to make
13961 sure that all variables is initialized.
13963 * ParagraphParameters.C (ParagraphParameters): adjust
13965 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13967 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13968 index; also, check that there is something to index, and that it
13969 does not span over several paragraphs.
13970 (doubleClick): use WHOLE_WORD_STRICT for double click.
13972 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13974 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13977 2001-07-26 Baruch Even <baruch@lyx.org>
13979 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13980 an InsetFig figure, backwards compatible reading of old figure code.
13982 2001-07-27 Juergen Vigna <jug@sad.it>
13984 * text2.C: font.realize function adaption.
13986 * text.C (draw): add a warnings lyxerr text if needed.
13988 * layout.C: font.realize function adaption.
13990 * language.C: add inherit_language and implement it's handlings
13992 * bufferview_funcs.C (StyleReset): remove language parameter from
13993 font creation (should be language_inherit now).
13995 * bufferparams.C (writeFile): handle ignore_language.
13997 * paragraph.C (getFontSettings): the language has to be resolved
13998 otherwise we have problems in LyXFont!
14000 * lyxfont.C (lyxWriteChanges): added document_language parameter
14001 (update): removed unneeded language parameter
14003 * paragraph.C (validate): fixed wrong output of color-package when
14004 using interface colors for certain fonts in certain environments,
14005 which should not seen as that on the final output.
14007 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14009 * BufferView_pimpl.C:
14014 * LyXAction.C: add thesaurus support
14017 * lyxfind.C: add "once" parameter, for thesaurus, to not
14018 move to the next match
14020 2001-07-26 Juergen Vigna <jug@sad.it>
14022 * lyxfont.C (realize): honor ignore_language too!
14025 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14027 * text.C (draw): one place more for ignore_language to not draw
14030 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14032 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14034 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14036 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14037 the minipage conversion problem.
14039 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14041 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14044 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14046 * BufferView.h: don't forward declare WorkArea
14048 * BufferView.C: don't include WorkArea.h
14050 2001-07-25 André Pönitz <poenitz@gmx.net>
14054 * lyxfunc.C: new LFUN 'math-space'
14056 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14058 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14060 * text2.C (toggleInset): call open/close
14062 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14064 * lyxfunc.C (dispatch): add debug for the disabled case
14066 * font.C (buttonText): make similar to rectText
14068 * buffer.C (readInset): comment out parsing of insetlist and
14071 * PainterBase.C (rectText): small correction
14073 * BufferView_pimpl.C: comment out insettheorem and insetlist
14074 * LyXAction.C: ditto
14075 * commandtags.h: ditto
14077 2001-07-24 Juergen Vigna <jug@sad.it>
14079 * text.C (draw): honor the ignore_language.
14081 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14083 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14085 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14088 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14090 * lyxtext.h: remove unused (and unimplemented) methods
14092 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14094 * text.C (getVisibleRow): honor background color
14097 * Painter.h: remove default color argument for fillRectangle
14099 * text.C (backgroundColor): new method
14101 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14103 * text.C (getVisibleRow): adjust
14105 * font.[Ch] (rectText): new method, metrics
14106 (buttonText): new method, metrics
14108 * PainterBase.[hC]: make rectText and buttonText always draw and take
14111 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14113 * ToolbarDefaults.C (read):
14114 * MenuBackend.C (read): allow escaping in all strings
14116 * BufferView_pimpl.C (insertAndEditInset): new method.
14117 (Dispatch): use insertAndEditInset whenever appropriate.
14119 * BufferView_pimpl.C (insertNote): removed
14121 * BufferView_pimpl.C (smartQuote): new method, moved from
14122 BufferView; if an insetquote cannot be inserted, insert a '"'
14125 * BufferView2.C: remove insertCorrectQuote();
14127 * lyxfunc.C (getStatus): Add support for all remaingin
14128 inset-insert lfuns.
14130 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14132 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14133 command (necessary to pass " as parameter of self-insert.
14135 * text.C (selectWordWhenUnderCursor):
14136 (selectWord): add word_location parameter
14137 (selectWordWhenUnderCursor): same + remove special code for word
14139 (selectNextWord): use kind() to guess type of insetspecialchar,
14142 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14143 (insertErtContents): create ert insets as collapsed.
14144 (readInset): better compatibility code for Info inset.
14146 2001-07-20 Juergen Vigna <jug@sad.it>
14148 * lyxfunc.C (dispatch): use always LyXFind now!
14150 * text2.C (init): add a reinit flag so that the LyXText can be
14151 reinited instead of deleted and reallocated (used in InsetText).
14153 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14159 2001-07-18 Juergen Vigna <jug@sad.it>
14161 * text.C (selectNextWord): handle insets inside inset by calling
14162 always the bv->text functions so that we can go up the_locking_inset!
14164 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14165 in strange locations when inside an inset!
14167 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14168 handling to include insets.
14170 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14172 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14174 * LyXAction.C (init):
14176 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14177 LIGATURE_BREAK, since the name is so stupid.
14179 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14181 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14184 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14186 * sp_form.[Ch]: remove.
14188 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14190 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14193 * src/buffer.C (readInset): ditto.
14195 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14197 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14198 menuSeparator(), endOfSentenceDot(), ldots() and
14199 hyphenationPoint(), which are therefore removed.
14200 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14202 * LyXAction.C (init):
14203 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14205 * paragraph.C (getWord): removed.
14207 * BufferView_pimpl.C (Dispatch): use last word or selection for
14208 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14210 * lyx_main.C (queryUserLyXDir): do not ask before creating
14211 user_dir, except if it has been named explicitely.
14213 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14215 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14216 a document of zero size.
14218 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14220 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14221 approriately in the c-tor and in require().
14222 (getPackages): output the appropriate LaTeX for natbib support.
14224 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14225 variables "use_natbib" and "use_numerical_citations" when reading the
14227 (readInset): read the various natbib cite commands.
14228 (validate): white-space change.
14230 * bufferparams.[Ch]: new variables "bool use_natbib" and
14231 "bool use_numerical_citations".
14232 (writeFile): output them in the LyX file.
14234 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14236 * lyxfunc.C (getStatus): add support for all the inset insertion
14239 * text2.C (insertInset):
14240 * paragraph.C (insetAllowed):
14241 * BufferView_pimpl.C (insertInset): update to take in account the
14242 renaming of insertInsetAllowed
14244 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14246 * text2.C (getInset): new method. returns inset at cursor position.
14248 * BufferView_pimpl.C (Dispatch): changes because of this.
14250 * LyXAction.C (init): rename open-stuff to inset-toggle.
14252 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14254 * text2.C (toggleInset): renamed from openStuff; use
14257 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14259 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14261 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14263 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14265 * buffer.C (readLyXformat2): Add filename to the error dialog
14267 2001-07-18 Juergen Vigna <jug@sad.it>
14269 * tabular.C (GetCellNumber): put an assert here instead of the check!
14271 2001-07-17 Juergen Vigna <jug@sad.it>
14273 * BufferView_pimpl.C (toggleSelection): adapted too.
14275 * text.C (selectNextWord): adapted for use with insets.
14276 (selectSelectedWord): ditto
14278 2001-07-17 Juergen Vigna <jug@sad.it>
14280 * sp_spell.C (PSpell): fix initialitation order.
14282 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14284 * paragraph.C: spacing
14286 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14288 * sp_spell.C: repair language selection for pspell
14290 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14292 * lyxfunc.h: change more methods to begin with lower char.
14294 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14296 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14297 for unknown layouts.
14299 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14301 * buffer.C (readLyXformat2): Generate an error dialog if there are
14304 2001-07-16 Juergen Vigna <jug@sad.it>
14306 * sp_spell.C: always compile ISpell part.
14308 * lyxrc.C: added use_pspell entry and it's handling.
14310 2001-07-13 Juergen Vigna <jug@sad.it>
14312 * sp_spell.C: removed double includes.
14314 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14316 Consistent use of Lsstream.h:
14317 * Lsstream.h: added using std::stringstream for consistencies sake.
14319 * buffer.C: removed using std::stringstream
14321 * lyxfont.C (stateText):
14322 * paragraph.C (asString):
14323 * text.C (selectNextWord, selectSelectedWord):
14324 * text2.C (setCounter):
14325 * vspace.C (asString, asLatexString):
14326 std::ostringstream -> ostringstream.
14328 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14330 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14331 * commandtags.h: add LFUN_HELP_ABOUTLYX
14332 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14334 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14336 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14338 * lyx_gui_misc.C: remove spellchecker
14339 * lyxfunc.C: showSpellchecker
14341 * sp_ispell.h: added
14342 * sp_pspell.h: added
14343 * sp_spell.C: added
14344 * sp_form.[Ch]: removed
14345 * spellchecker.[Ch]: removed
14347 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14349 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14351 (simpleTeXSpecialChars): Simply print the input character without
14352 any special translation if pass_thru is set.
14354 * layout.h: Added bool pass_thru to layout class for being able to
14355 implement pass through of a paragraph for Literate Programming.
14357 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14358 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14359 * layout.C (Read): add "passthru" to list of layout tags and add
14360 code to set the pass_thru boolean when it is read.
14362 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14364 * trans_decl.h: remove allowed from KmodInfo
14366 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14367 remove allowed code
14370 * paragraph_pimpl.C (erase): use boost::prior
14372 * Painter.C (text): use data() instead of c_str() when length is
14374 * WorkArea.C (putClipboard): ditto
14375 * font.h (width): ditto
14377 * BufferView2.C: use it-> instead of (*it). for iterators
14379 * paragraph_pimpl.C: ditto
14380 * paragraph.C: ditto
14381 * minibuffer.C: ditto
14382 * language.C: ditto
14384 * encoding.C: ditto
14385 * counters.C: ditto
14386 * converter.C: ditto
14388 * Variables.C: ditto
14389 * TextCache.C: ditto
14390 * MenuBackend.C: ditto
14391 * LyXAction.C: ditto
14393 * FloatList.C: ditto
14394 * DepTable.C: ditto
14395 * ColorHandler.C (LyXColorHandler): ditto
14397 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14399 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14401 * text2.C (openStuff): reintroduce this method (which had been
14402 nuked in NEW_INSETS frenzy).
14404 * lyxfunc.C (Dispatch): when an action has not been handled, use
14405 its name in the error message, not its number.
14407 * paragraph.C (inInset): change method name to begin with lowercase.
14410 * text2.C: updates because of this.
14412 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14414 * ToolbarDefaults.C (add): add spaces in error message
14416 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14418 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14419 (readLyXformat2): rename return_par to first_par, use lyxlex's
14420 pushToken and remove the manual push handling.
14421 (parseSingleLyXformat2Token): add another ert comp. variable:
14422 in_tabular, rename return_par to first_par. handle newlines better
14424 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14426 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14428 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14430 * text2.C (getParFromID): removed
14432 * buffer.C (getParFromID): new method moved form lyxtext.
14433 * BufferView2.C (insertErrors): adjust
14434 (setCursorFromRow): adjust
14435 * BufferView_pimpl.C (restorePosition): adjust
14436 * lyxfunc.C (Dispatch): adjust
14437 * undo_funcs.C (textUndo): adjust
14439 (textHandleUndo): adjust
14440 (textHandleUndo): adjust
14442 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14444 * buffer.C: up' the LYX_FORMAT
14446 * lyxfont.h: turn NO_LATEX on as default
14448 * buffer.C (insertErtContents): new methods of tex style compability.
14449 (parseSingleLyXformat2Token): use it several places.
14450 * tabular.C (OldFormatRead): and here
14452 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14454 * text2.C: remove some commented code.
14457 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14458 * trans.C: changes because of the above.
14460 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14462 * text2.C (setCounter): Fix counters bug with bibliography layout.
14464 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14466 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14467 own member functions
14468 (simpleTeXSpecialChars): ditto
14470 2001-07-06 Juergen Vigna <jug@sad.it>
14472 * a lot of files: changed the access to LyXText::status and the
14473 call of undo-functions.
14475 * undo.[Ch]: added a inset_id to the undo informations.
14477 * undo_funcs.[Ch]: added and moved here all undo functions.
14479 * lyxtext.h: give the status enum a weight, made status_ a private
14480 variable and made accessor functions for it, removed the whole bunch
14481 of undo-functions as they are now in their own file, make some
14482 functions publically available. Added function ownerParagraph with
14485 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14486 made InInset() a const function, added getParFromID() function.
14488 * buffer.[Ch]: added const version for inset_iterator functions,
14489 added getInsetFromID() function.
14491 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14492 changed undo functions for new version.
14494 2001-07-05 Juergen Vigna <jug@sad.it>
14496 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14497 unknow mechanism does not call the proper constructor but only this
14498 one also if I request the other!?
14500 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14502 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14504 * text2.C (LyXText): use initialization lists.
14506 * lyxtext.h (Selection): initialize set_ and mark_
14507 (init): remove method
14509 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14511 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14513 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14515 * screen.[Ch]: change method names to begin with lowercase
14517 * BufferView_pimpl.C (updateScrollbar): simplify further and
14518 hopefully make it a bit faster.
14520 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14522 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14523 calling directly xforms functions.
14525 * Painter.C (Painter):
14526 * lyx_cb.C (MenuWrite):
14527 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14530 * lyx_gui.C: remove bogus guiruntime extern declaration.
14532 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14534 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14536 (redoDrawingOfParagraph): ditto
14537 (redoParagraphs): ditto
14538 (cutSelection): don't create a object for CutAndPaste use the
14539 static method directly
14540 (pasteSelection): ditto
14542 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14545 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14547 * modifications to some other files because of this.
14549 * Makefile.am (lyx_SOURCES): add XFormsView
14551 * XFormsView.[Ch]: new files
14553 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14554 the main window. Move the gui dependent stuff to XFormsView
14556 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14558 * tabular.C (GetCellInset): update cur_cell also in the row/col
14559 version of this function.
14561 * lyxfunc.C: no need to include figure_form.h here.
14567 * lyxvc.C: no need to include forms.h here.
14569 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14571 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14573 * lyxfunc.C (Dispatch):
14575 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14576 constructor argument.
14578 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14580 * paragraph.C (Paragraph): dont't clear, and just set layout.
14581 (makeSameLayout): use params's copy contructor.
14583 * ParagraphParameters.[Ch] (makeSame): delete method
14585 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14587 * Variables.[Ch]: fix indentation, rename set to isSet
14589 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14591 * lyxfunc.C (Dispatch): fix typo
14593 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14595 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14598 * bufferlist.C: include assert.h for emergencyWrite().
14600 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14602 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14603 give up at last (bug #425202) !
14605 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14611 * spellchecker.C: strip spellchecker options and bring up
14612 preferences tab instead
14614 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14616 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14617 the istringstream constructor
14619 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14621 * paragraph.C (getLayout): fix return value
14623 * paragraph.h: do not declare getLayout as inline.
14625 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14627 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14629 * lyxcursor.h (operator<): new func
14630 (operator>): new func
14631 (operator>=): new func
14632 (operator<=): new func
14634 * text.C (changeCase): use selection.start and selection.end
14635 (changeRegionCase): require from to be <= to. Require par to be a
14638 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14640 2001-06-27 Juergen Vigna <jug@sad.it>
14642 * text.C (cursorLeftOneWord): changed to return the cursor and added
14643 overlay with BufferView * parameter which calls this one.
14645 (selectWord): use new getWord function.
14646 (changeCase): renamed from changeWordCase as and extended to work
14647 also on selections.
14649 * lyxtext.h: added enum word_location
14651 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14652 changeCase as this operates now also on selections.
14654 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14656 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14658 * many files: send debug output to Debug::INFO instead of
14661 * converter.C (View):
14663 (Move): send debug output to Debug::FILES instead of console.
14665 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14667 * lyxfunc.C (getStatus): use func_status
14669 * func_status.h: new header, describing the results of
14670 LyXFunc::getStatus;
14672 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14675 2001-06-25 The LyX Project <jug@sad.it>
14677 * buffer.C (sgmlOpenTag):
14679 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14681 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14683 * text2.C: remove some dead code
14685 * tabular.C (GetCellInset): store the last cell checked (gotten)
14687 * tabular.h: add the helper for the speedup
14689 * lyxtext.h: remove some dead code
14691 2001-06-26 The LyX Project <Asger>
14693 * paragraph.C: Change export to LaTeX of alignment to
14694 \begin{center} and family for better roundtrip work with reLyX.
14696 * Tune the math drawing a bit.
14698 2001-06-25 The LyX Project <Asger>
14700 * LColor.C (LColor): New color for math background. New color
14703 2001-06-25 The LyX Project <jug@sad.it>
14705 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14707 * lyxfunc.C (Open):
14708 * bufferlist.C (newFile): do not restrict to files ending with
14711 * BufferView_pimpl.C (MenuInsertLyXFile):
14713 2001-06-24 The LyX Project <jug@sad.it>
14715 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14718 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14720 * lyxtext.h: rename most methods to begin with a small char.
14721 Lots of changes because of this.
14723 * paragraph.C (Paragraph): do not call fitToSize
14724 (erase): call Pimpl::erase
14725 (insertChar): call Pimpl::insertChar
14726 (insertInset): call Pipl::insertInset
14727 (breakParagraph): do not call fitToSize
14728 (breakParagraphConservative): do not call fitToSize
14729 (fitToSize): remove method
14731 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14733 2001-06-24 The LyX Project <Asger>
14735 * Fix Qt compilation^2
14737 2001-06-24 The LyX Project <jug@sad.it>
14739 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14740 depthHook(getDepth()-1).
14743 * ParagraphParameters.h:
14744 * ParameterStruct.h: change type of depth to unsigned int ==
14745 depth_type. Many adaptations to other files before of that.
14747 2001-06-24 The LyX Project <Asger>
14749 * Fix Qt compilation.
14751 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14753 * paragraph.h: renamed several methods to begin with small letter.
14754 several changes to many parts of the code because of this.
14756 2001-06-23 The LyX Project <jug@sad.it>
14758 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14759 rewritten to discard all double spaces when KeepEmpty is off
14760 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14761 to only handle newlines but not fiddle with spaces and friends.
14763 * lyxfunc.C (MenuNew): when doing 'new from template', use
14764 template_path as default directory
14766 2001-06-23 The LyX Project <Asger>
14768 * Clean-up of header file includes all over
14769 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14771 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14773 * paragraph.h: renamed from lyxparagraph.h
14775 2001-06-23 Asger <lyx@violet.home.sad.it>
14777 * Buffer.h: Removed Buffer::resize
14778 * BufferList.h: Removed BufferList::resize
14779 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14780 the document lazily when we change the width, or the font settings.
14782 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14784 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14786 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14788 * buffer.h: remove out of date comment
14790 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14793 * screen.C: fix "theoretical" GC leak
14795 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14797 * LaTeX.C (scanAuxFile):
14798 (deplog): remove trailing \r when reading stream (useful under
14801 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14803 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14804 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14805 and BufferView::theLockingInset(Inset*), so should use them and not
14806 access bv_->text->the_locking_inset directly.
14808 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14810 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14813 * tex-defs.h: remove old unused file
14815 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14817 * BufferView_pimpl.C: fix typo, remove minibuffer message
14818 when buffer has loaded
14820 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14822 * lyxfunc.C (Dispatch): use stringstream
14823 (MenuNew): use stringstream
14824 (Open): use stringstream
14826 * importer.C (Import): use stringstream
14828 * bufferview_funcs.C (CurrentState): use stringstream
14830 * LaTeX.C (run): use stringstream
14832 * BufferView_pimpl.C (savePosition): use stringstream
14833 (restorePosition): use stringstream
14834 (MenuInsertLyXFile): use stringstream
14836 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14849 * vspace.C: removed // -*- C++ -*- as first line.
14852 * version.h: added // -*- C++ -*- as first line.
14854 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14856 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14858 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14861 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14863 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14866 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14868 * gettext.C: include LString.h even when --disable-nls is on.
14870 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14872 * converter.h (Get): changed argument type from int to
14873 FormatList::size_type to avoid unnecessary conversion.
14875 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14878 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14880 * gettext.h: include LString.h even when --disable-nls is on.
14882 2001-06-07 Juergen Vigna <jug@sad.it>
14884 * text.C (BreakAgain): subst spaces with tabs.
14886 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14887 (resizeInsetsLyXText): set force on resizeLyXText.
14889 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14891 * gettext.h (gettext_init):
14892 (locale_init): use a real definition instead of a macro
14894 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14896 * Bufferview_pimpl.C:
14898 * LColor.C: further lcolor tidies
14900 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14902 * BufferView_pimpl.C (updateScrollbar): simplify.
14904 * BufferView2.C: don't include insets/insetinfo.h, change
14905 prototype for insertInset and call the Pimpl version. let
14906 updateInset call Pimpl version.
14908 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14909 gotoInset to BufferView::Pimpl
14911 2001-06-01 Juergen Vigna <jug@sad.it>
14913 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14914 inside a LockingInset (is the update needed at all?).
14916 2001-05-31 Juergen Vigna <jug@sad.it>
14918 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14919 here not the old one otherwise how should we compare it afterwards
14922 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14927 * FontInfo.C: bring C functions into global namespace when
14930 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14932 * LString.h: make sure config.h has been loaded before LString.h.
14934 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14935 (one for each char read by EatLine!).
14937 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14940 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14942 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14943 to the same as the par we break from
14945 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14947 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14949 * MenuBackend.C (expand): also create menu entries for wide
14950 versions of the floats.
14952 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14954 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14956 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14957 frontends/Makefile.am
14963 * tabular.C (getTokenValue): add std::
14965 * tabular-old.C (getTokenValue): add std::
14966 (getTokenValue): ditto
14967 (getTokenValue): ditto
14969 * screen.C (ToggleSelection): adjust
14971 * lyxtext.h: put selection cursors inside a Selection struct.
14973 * lyxfunc.C (moveCursorUpdate): adjust
14975 * lyxfont.C (latexWriteStartChanges): add std::
14977 * lyxfind.C: adjust
14979 * font.h: delete with(char const *, LyXFont const &)
14981 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14983 * FontInfo.C (getFontname): add std::
14985 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14986 (workAreaButtonPress): adjust
14987 (tripleClick): adjust
14989 (moveCursorUpdate): adjust
14992 * BufferView2.C (gotoInset): adjust
14994 2001-05-30 Juergen Vigna <jug@sad.it>
14996 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14997 to check pspell I add this as default as I now have new pspell
14998 libraries and they seem to use this.
15000 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15002 * text2.C (CutSelection): make the cursor valid before the call to
15005 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15007 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15008 relied on 0 terminated strings and other horrors. Bug found due to
15009 the new assert in lyxstring!
15011 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15014 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15016 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15019 * lyxfunc.C (processKeySym): change method of getting to the
15022 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15023 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15024 * BufferView_pimpl.[Ch]: here as private methods.
15026 2001-05-28 Juergen Vigna <jug@sad.it>
15028 * text.C (SetHeightOfRow): added the update() call again as it is
15029 needed to initialize inset dimensions!
15031 2001-05-16 Juergen Vigna <jug@sad.it>
15033 * text2.C (SetCharFont): Add new function with BufferView * and
15034 bool toggleall parameters for setting insets internal fonts.
15035 (SetFont): Freeze the undo as we may change fonts in Insets and
15036 all this change should be inside only one Undo!
15038 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15039 setting font's in insets as for them we have the SetFont function!
15041 2001-05-15 Juergen Vigna <jug@sad.it>
15043 * text2.C (ClearSelection): to be sure we REALLY don't have any
15046 * tabular.C (TeXCellPreamble): fixed the left border problem for
15049 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15051 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15054 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15056 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15057 LFUN_BREAKPARAGRAPH.
15059 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15060 help test to "internal only", similar for LFUN_INSERT_URL
15062 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15063 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15064 auto_region_delete and deadkeys.
15066 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15069 * LColor.C: remove some dead entries, tidy a little
15071 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15073 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15075 (Dispatch): implement LFUN_ESCAPE
15077 * commandtags.h: add LFUN_ESCAPE
15079 * LyXAction.C (init): add entry for LFUN_ESCAPE
15081 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15082 Remove commented code.
15083 (insertNote): moved here
15084 (open_new_inset): moved here
15086 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15089 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15091 * kbmap.C (findbinding): clean it up and make it work correctly.
15093 * lyx_main.C (init): do not pass argc and argv as parameters
15095 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15097 * buffer.C: fix path for OS/2 & Win32
15101 * lyx_main.C: Added os:: class.
15103 * os2_defines.h: update
15105 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15107 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15108 better by trying again with reduced state.
15110 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15112 * lyxrc.C (read): print error about invalid key sequence only when
15113 debugging (because not all latinX keysyms are known to some X
15116 * kbsequence.C (getiso): add a few std:: qualifiers
15117 (getiso): comment out extra return statement.
15119 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15121 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15123 (Dispatch): enhance the accent inset a bit. (not perfect)
15125 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15127 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15129 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15131 * bufferlist.C (emergencyWrite): fix assert() call
15133 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15135 * text.C (InsertChar): Added trivial patch to only send the "you
15136 can not do multiple spaces this way" message once during a
15139 2001-05-08 Baruch Even <baruch@lyx.org>
15141 * Makefile.am: Changed order of libraries to get LyX to link properly
15142 with the gnome frontend.
15144 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15146 * LaTeXFeatures.h: add a std:: qualifier
15148 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15150 * paragraph.C (String): use stringstream
15152 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15154 * paragraph.C (writeFile): remove footflag arg
15156 * buffer.C (makeLaTeXFile): use stringstream
15157 (latexParagraphs): remove footnot gurba
15159 * LaTeXFeatures.C (getPackages): use stringstream
15160 (getMacros): likewise
15161 (getTClassPreamble): likewise
15162 (getFloatDefinitions): new method
15164 * paragraph.C (writeFile): reindent
15167 * WorkArea.h: revert the xpos + etc changes.
15169 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15171 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15173 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15174 (pasteSelection): likewise
15175 * text2.C (CreateUndo): likewise
15177 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15179 * minibuffer.C (peek_event): temporarily reduce the functionality
15180 of the minibuffer (to allow args on lfuns)
15182 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15183 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15185 * buffer.C (readInset): add compability reading of old float
15186 lists, add reading of new style float list.
15187 (readInset): avoid reevaluation of inscmd.getCmdName()
15188 (getLists): reindent
15190 * MenuBackend.C (MenuItem): implement parsing of
15191 md_floatlistinsert and md_floatinsert.
15192 (expand::LastFiles): move initalizaton of iterators out of loop,
15193 avoid reevaluation.
15194 (expand::Documents): introduce typdedef vector<string> Strings,
15196 (expand::ExportFormats): introduce typedef vector<Format const *>
15197 Formats, and use it.
15198 (expand): implement FloatListInsert and FloatInsert.
15200 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15201 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15202 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15204 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15206 (Dispatch::LFUN_FLOAT_LIST): implement
15208 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15210 * LaTeX.C (run): Fix problem with --export code.
15212 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15214 * BufferView.[Ch] (workarea): removed.
15215 (getClipboard) new method; wrapper for workarea()->getClipboard()
15217 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15220 * WorkArea.h (width, height, xpos, ypos): These methods all
15221 returned the dimensions of the work_area sub-area of WorkArea,
15222 resulting in a position error if the WorkArea were resized. Now
15223 return the dimensions of the entire WorkArea.
15225 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15227 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15229 * LaTeX.C (deplog): correct the syntax of regex reg1
15231 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15233 * undo.C: remove !NEW_INSETS cruft
15235 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15237 * text2.C: remove !NEW_INSETS cruft
15239 * text.C: remove !NEW_INSETS cruft
15241 * tabular.C: remove !NEW_INSETS cruft
15243 * spellchecker.C: remove !NEW_INSETS cruft
15245 * lyxtext.h: remove !NEW_INSETS cruft
15247 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15249 * lyxfunc.C: remove !NEW_INSETS cruft
15251 * lyxfind.C: remove !NEW_INSETS cruft
15253 * lyx_cb.C: remove !NEW_INSETS cruft
15255 * figureForm.C: remove !NEW_INSETS cruft
15257 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15259 * buffer.[Ch]: remove !NEW_INSETS cruft
15261 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15263 * CutAndPaste.C: remove !NEW_INSETS cruft
15265 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15267 * BufferView2.C: remove !NEW_INSETS cruft
15269 * BufferView.h: remove !NEW_INSETS cruft
15271 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15273 * Lsstream.h: include LString.h before the sstream headers to
15274 fix problem with gcc 2.95.3 and lyxstring
15276 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15278 * lyx_main.C: add using directives when needed for C functions
15279 declared in std:: namespace.
15281 2001-04-27 Juergen Vigna <jug@sad.it>
15283 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15284 (SetHeightOfRow): comment out the update call should not be needed!
15286 2001-04-13 Juergen Vigna <jug@sad.it>
15288 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15289 (LyXTabular): tried to minimize operator= operations (and realized
15290 hopfully Lars wish).
15292 2001-04-27 Juergen Vigna <jug@sad.it>
15294 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15296 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15298 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15300 * buffer.C (readInset): hack to make listof algorithm work
15302 * BufferView_pimpl.C: hack to make listof algorithm work
15304 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15306 * LyXAction.C: removed all !NEW_INSETS cruft
15307 (init): moved lfun_item in method
15309 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15311 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15313 * BufferView2.C (theLockingInset): white space.
15315 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15317 * minibuffer.C: include <iostream>
15319 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15321 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15323 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15325 * text.[Ch] (TransposeChars): new method
15327 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15329 * call message directly through LyXView instead of through LyXFunc
15330 * BufferView2.C: adjust
15331 * BufferView_pimpl.C: adjust
15332 * FontLoader.C: adjust
15334 * bufferview_funcs.C: adjust
15335 * converter.C: adjust
15336 * figureForm.C: adjust
15337 * importer.C: adjust
15339 * lyx_gui_misc.C: adjust
15340 * lyxfunc.C: adjust
15343 + more files in subdirs
15345 * lyxparagraph.h (size): move up int file
15348 * adjust all uses of Assert to lyx::Assert.
15350 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15351 lyxfunctional in namespace lyx
15352 * layout.C (hasLayout): ditto
15355 (delete_layout): ditto
15356 (NumberOfClass): ditto
15357 * converter.C (GetFormat): ditto
15362 * bufferlist.C (getFileNames): ditto
15363 (emergencyWriteAll): ditto
15366 * MenuBackend.C (hasSubmenu): ditto
15369 * BufferView_pimpl.C (getInsetByCode): ditto
15371 2001-04-18 Juergen Vigna <jug@sad.it>
15373 * vspace.C (asLatexString): fixed the 100% problem.
15375 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15377 * lyxfunc.C (Dispatch):
15379 * minibuffer.h: add a few std:: qualifiers
15381 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15383 * minibuffer.[Ch]: reimplement so that commands is initiated and
15384 run from lyxfunc, simplified som handling, and made the completion
15385 and history code for complete. wip.
15387 * lyxfunc.C (processKeySym): call message
15388 (miniDispatch): new temporary method
15389 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15390 (LFUN_MESSAGE): implement
15391 (LFUN_MESSAGE_PUSH): implement
15392 (LFUN_MESSAGE_POP): implement
15393 (initMiniBuffer): the initial/defualt minibuffer message.
15395 * lyxfont.[Ch]: inline some more getters
15397 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15399 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15401 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15402 (AutoSave): use LFUN_MESSAGE
15403 (Reconfigure): ditto
15405 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15407 * figureForm.C: use LFUN_MESSAGE
15409 * converter.C (runLaTeX): use LFUN_MESSAGE
15411 * bufferview_funcs.C: use LFUN_MESSAGE
15413 (changeDepth): ditto
15415 * bufferparams.h: use boost::
15417 * bufferlist.h: inherit privately from noncopyable
15419 * bufferlist.C (loadLyXFile): remove some commented code.
15421 * buffer.C (runChktex): use LFUN_MESSAGE
15423 * ShareContainer.h: inherit privately from noncopyable
15425 * ParagraphParameters.[hC] (depth): inline it.
15427 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15429 (message): new method
15430 (messagePush): ditto
15431 (messagePop): ditto
15432 (show): init minibuffer
15433 (showState): direct call
15435 * LaTeX.[Ch]: inherit privately from noncopyable
15436 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15437 instead of WriteStatus.
15439 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15441 * BufferView_pimpl.C (buffer): don't init minibuffer
15442 (workAreaButtonPress): use LFUN_MESSAGE
15443 (workAreaButtonRelease): ditto
15444 (savePosition): ditto
15445 (restorePosition): ditto
15446 (MenuInsertLyXFile): ditto
15447 (workAreaExpose): don't init minibuffer
15448 (update): remove commented code, simplify
15450 * BufferView2.C (openStuff): use LFUN_MESSAGE
15451 (toggleFloat): ditto
15454 (copyEnvironment): ditto
15455 (pasteEnvironment): ditto
15460 (updateInset): remove some commented code
15462 * lastfiles.h: inherit privately from noncopyable
15465 * lyx_main.h: ditto
15467 * lyxlex_pimpl.h: ditto
15469 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15470 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15471 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15473 * LyXAction.h: inherit privately from noncopyable, add methods
15474 func_begin, func_end, returning iterators to the func map.
15476 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15477 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15478 (func_begin): new method
15479 (func_end): new method
15481 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15483 (copySelection): ditto
15484 (pasteSelection): ditto
15486 * BufferView.C: whitespace change
15487 * BufferView.h: inherit privately from noncopyable
15489 2001-04-16 Allan Rae <rae@lyx.org>
15491 * tabular-old.C (l_getline):
15492 * spellchecker.C (sc_check_word):
15493 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15494 an unrecognised preprocessor directive. So ensure they're wrapped.
15496 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15498 * src/exporter.C (Export): Give an error message when path to file
15501 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15503 * LaTeX.C (deplog): Always check that foundfile exists.
15505 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15508 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15510 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15512 * tabular.[Ch] (getLabelList): implement new method
15514 * minibuffer.h: comment ouf setTiimer
15516 * minibuffer.C (ExecutingCB): constify res
15517 (peek_event): constify s
15518 (Set): constify ntext
15519 (Init): constify nicename
15521 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15523 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15524 (savePosition): use two params to Minibuffer::Set
15525 (restorePosition): ditto
15527 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15529 * lyx_main.C: include language.h
15531 * Makefile.am (lyx_main.o): add language.h
15533 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15539 * CutAndPaste.C: include gettext.h
15541 * lyxfont.h: remove old hack with ON and OFF.
15544 * lyxfont.h: do not include language.h...
15549 * bufferview_funcs.C:
15555 * paragraph.C: ... but do it here instead
15557 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15559 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15561 * tabular.C: small reformat
15563 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15566 (BreakParagraph): ditto
15567 (SetOnlyLayout): ditto
15570 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15573 * lastfiles.C: removed most using decl, add std:: where needed
15575 * buffer.C: ws changes
15577 * MenuBackend.C (class compare_format): put into anon namespace
15578 (expand): constify label, names, action, action2
15581 * text.C (SingleWidth): constify font
15582 (IsBoundary): constify rtl2
15583 (GetVisibleRow): constify ww
15585 * LaTeX.C (deplog): constify logfile
15587 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15589 (workAreaExpose): constify widthChange, heightChange
15591 * lyxrow.C (par): moved
15594 * lyxrow.h: as inlines here
15596 * lyxfont.h (shape): moved from lyxfont.C
15597 (emph): moved from lyxfont.C
15599 * lyxfont.C (LyXFont): use initialization list for all
15601 (shape): move to lyxfont.h as inline
15602 (emph): move to lyxfont.h as inline
15605 2001-04-04 Juergen Vigna <jug@sad.it>
15607 * vspace.C: had to include stdio.h for use of sscanf
15609 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15612 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15613 independent of xforms.
15615 2001-04-02 Juergen Vigna <jug@sad.it>
15617 * spellchecker.C: fixed namespace placing!
15619 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15621 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15622 the LyXParagraph * is 0.
15624 2001-03-29 Juergen Vigna <jug@sad.it>
15626 * vspace.C: added support for %, c%, p%, l%.
15627 (stringFromUnit): added helper function.
15628 (asLatexString): changed to give right results for the %-values.
15630 * buffer.C: convert the widthp in a width%.
15632 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15634 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15637 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15638 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15640 * lyx_cb.[Ch]: see above.
15642 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15646 * lyx.[Ch]: replaced by figure_form.[Ch].
15650 * lyxfunc.C: changed headers associated with above changes.
15652 2001-03-27 Juergen Vigna <jug@sad.it>
15654 * BufferView_pimpl.C: set the temporary cursor right!
15656 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15658 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15660 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15662 * LString.h: removed "using std::getline"!
15664 * BufferView_pimpl.C (Dispatch): changes due to changes in
15665 InsetInclude::Params.
15667 * buffer.C (tag_name): removed redundant break statements as they were
15668 producing lots of warnings with my compiler.
15670 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15672 * LString.h: add "using std::getline" when using the real <string>.
15674 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15676 * buffer.C: removed bitset usage.
15677 PAR_TAG moved to an anonymous name space.
15678 (tag_name): new funtion, also in the anonymous namespace.
15679 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15680 (makeDocBookFile): clean code. Completed transition from string arrays
15682 (SimpleDocBookOnePar): code clean.
15684 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15686 * tabular.C: add some comments.
15688 2001-03-22 Juergen Vigna <jug@sad.it>
15690 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15691 compatibility read a bit and fixed bug with minipage in different
15694 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15696 * buffer.C (pop_tag): removed.
15697 (push_tag): removed.
15698 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15699 array replaced with vector. Added support for CDATA sections.
15700 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15702 (makeDocBookFile): XML conformant declaration of CDATA section,
15703 fixed bug related to <emphasis> in the first paragraph char.
15704 (sgmlOpenTag): exclude empty tags.
15705 (sgmlCloseTag): ditto.
15707 * buffer.h (pop_tag): removed.
15708 (push_tag): removed.
15710 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15712 * language.h (Languages): added size_type and size().
15714 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15716 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15717 response on compability reading of minipages. One probliem is that
15718 the old usage of minipages was «flertydig»
15720 * several files here and in subdirs: don't use static at file
15721 scope use anon namespaces instead.
15723 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15725 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15726 LaTeX output. This is necessary for Literate document
15729 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15731 * buffer.C: insert hfill when needed.
15733 * tabular.C (l_getline): use string::erase, small whitespace change.
15735 * BufferView_pimpl.C: try the anon namespace.
15736 * WorkArea.C: ditto
15738 2001-03-16 Juergen Vigna <jug@sad.it>
15740 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15741 otherwise it won't open options-dialogs.
15743 * buffer.C: honor pextraWidth(p) on converting minipages.
15745 * tabular.C (l_getline): changed the functions to strip trailing \r.
15747 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15749 * BufferView_pimpl.C:
15750 * minibuffer..C: added "using SigC::slot" declaration.
15752 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15754 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15760 * paragraph.C: ditto
15762 * lyxtext.h: NO_PEXTRA
15764 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15766 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15767 * ParameterStruct.h: ditto
15768 * ParagraphParameters.h: ditto
15769 * lyxparagraph.h: ditto
15771 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15773 * buffer.C: add compability for minipage alignment.
15774 (latexParagraphs): remove unwanted pextra check.
15776 * several files: remove CXX_WORKING_NAMESPACES
15778 * buffer.C (pop_tag): tie is in namespace boost
15780 * BufferView.h: noncopyable is in namespace boost
15782 * lyx_main.h: ditto
15785 * lastfiles.h: ditto
15786 * bufferlist.h: ditto
15787 * ShareContainer.h: ditto
15789 * LyXAction.h: ditto
15792 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15794 * Merging changes from BRANCH_MVC back into HEAD.
15796 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15798 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15800 * BufferView_pimpl.C: change from intl.C
15804 * Makefile.am: move combox.*
15810 * intl.C: remove dialog (covered by prefs)
15812 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15814 * lyxfunc.C (Dispatch): removed redundant break statement.
15816 2001-03-14 Juergen Vigna <jug@sad.it>
15818 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15820 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15822 * buffer.C: add hack to fix compability reading of minipages.
15824 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15826 * buffer.C (getLists): Cleanup.
15828 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15830 * lyxfont.C (update): don't honor toggleall on font size.
15832 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15836 * Makefile.am: moved to frontends/xforms/
15840 * BufferView_pimpl.C: changes for moved mathpanel
15842 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15844 * gettext.h: fix gettext_init() in --disable-nls
15846 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15848 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15850 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15853 * lyx.h: strip external form
15855 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15857 * BufferView_pimpl.C: add comment, destroySplash()
15859 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15861 * BufferView_pimpl.C:
15865 * lyxfunc.C: use re-worked insetinclude
15867 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15869 * buffer.C: add using std::stringstream.
15871 * lyx_cb.C: readd using std::ios.
15873 * buffer.C: add using std::map.
15875 * BufferView_pimpl.C: add using std::vector.
15877 * ShareContainer.h: add std:: to swap.
15879 * buffer.h: add some typedefs
15880 * buffer.C (getLists): use them
15881 (getLists): renamed from getTocList.
15882 add a counter for the different float types and use it in the
15884 (getLists): use the same counter for the NEW_INSETS and the "non"
15887 * lyx_cb.h: remove unused items, includes, using etc.
15889 * ShareContainer.h: remove some commented code, add more comments
15890 and "documentation".
15892 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15894 * buffer.C (getTocList): make the list also when NEW_INSETS is
15897 * buffer.h: remove TocType
15899 * buffer.C (getTocList): change to return a map<string,
15900 vector<TocItem> >, implement for dynamic number of list.
15902 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15903 * text2.C (PasteSelection): adjust
15904 * CutAndPaste.C (pasteSelection): adjust
15906 * FloatList.C (FloatList): update from the new_insets branch.
15907 * Floating.[Ch]: ditto
15908 * LaTeXFeatures.C: ditto
15910 * lyxlex_pimpl.C: ditto
15912 * paragraph.C (Last): remove when NEW_INSETS is defined.
15914 * other file: changes because of the above.
15916 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15918 * lyxparagraph.h: rename next to next_, previous to previous_,
15919 make them private for NEW_INSETS. Rename Next() to next(),
15920 Previous() to previous().
15922 * other files: changes because of the above.
15924 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15927 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15930 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15932 * main.C (main): pass lyx_localedir to gettext_init().
15934 * gettext.h: remove locale_init and gettext_init macros
15936 * gettext.C (locale_init): new function
15937 (gettext_init): new function
15939 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15942 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15944 * Moved credits to frontends:
15945 * credits.[Ch]: removed
15946 * credits_form.[Ch]: removed
15947 * lyx_gui_misc.C: remove credits stuff
15950 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15952 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15954 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15955 unneeded destructor.
15957 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15958 a standalone pointer again.
15960 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15962 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15968 * ToolbarDefaults.C:
15977 * BufferView_pimpl.C: use new file dialog in GUII
15980 * lyx_cb.C: remove LayoutsCB to Toolbar
15982 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15984 * ShareContainer.h (get): add std:: qualifier
15986 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15988 * ShareContainer.h: define a proper ShareContainer::value_type
15989 type (and use typename to please compaq cxx)
15991 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15993 * lyxparagraph.h: move serveral local vars to
15994 ParameterStruct/ParagraphParameters., use ShareContainer in
15995 FontTable., make vars in FontTable private and add getter and
15998 * paragraph.C: changes because of the above.
16000 * lyxfont.h: remove copy constructor and copy assignment. (the
16001 default ones is ok), move number inside FontBits. move inlines to
16004 * lyxfont.C: add number to initializaton of statics, move several
16005 inlines here. constify several local vars. some whitespace
16006 cleanup. Dont hide outerscope variables.
16008 * Spacing.h: add two new constructors to match the set methods.
16010 * ShareContainer.h: new file, will perhaps be moved to support
16012 * ParameterStruct.h: new file
16014 * ParagraphParameters.h: new file
16016 * ParagraphParameters.C: new file
16018 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16019 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16021 * BufferView_pimpl.C: ParagraphParameter changes.
16022 * buffer.C: Likewise.
16023 * bufferview_funcs.C: Likewise.
16024 * text.C: Likewise.
16025 * text2.C: Likewise.
16027 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16029 * lyxfind.C (LyXReplace): do not redefine default argument in
16031 (IsStringInText): ditto
16032 (SearchForward): ditto
16033 (SearchBackward): ditto
16035 2001-03-06 Juergen Vigna <jug@sad.it>
16037 * lyxfind.C (IsStringInText): put parentes around expressions.
16039 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16041 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16043 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16045 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16047 * stl_string_fwd.h: add comment
16049 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16052 * tabular.C: remove unused DocBook methods
16058 killed DO_USE_DEFAULT_LANGUAGE
16060 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16062 * lyx_gui.C: do not include language.h.
16064 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16065 arguments in function implementation.
16067 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16069 * BufferView_pimpl.C: add <ctime>
16071 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16073 * BufferView_pimpl.C: add using std::find_if
16075 2001-02-27 José Matos <jamatos@fep.up.pt>
16077 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16080 2001-02-11 José Matos <jamatos@fep.up.pt>
16082 * buffer.C (makeDocBookFile): command styles now have a parameter as
16083 "title" by default.
16085 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16087 * layout_forms.[Ch]: removed
16088 * lyx_cb.[Ch]: out character
16089 * lyx_gui.C: out character
16090 * lyx_gui_misc.C: out character
16091 * bufferview_funcs.C: : out character,
16092 added toggleall as parameter in ToggleAndShow
16094 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16096 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16098 * text2.C (SetCurrentFont): Disable number property at boundary.
16100 2001-02-26 Juergen Vigna <jug@sad.it>
16102 * lyxfunc.C (getStatus): added a string argument override function so
16103 that this is correctly called from LyXFunc::Dispatch if it contains a
16104 do_not_use_argument which is used!
16105 (Dispatch): added check for "custom" export and call appropriate func.
16107 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16109 * lyxrc.C: Add language_command_local, language_use_babel and
16110 language_global_options.
16112 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16114 * buffer.C (makeLaTeXFile): Use language_use_babel and
16115 language_global_options.
16117 2001-02-23 Juergen Vigna <jug@sad.it>
16119 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16120 which works with LyXText and putted it inside BufferView. Here now we
16121 only call for that part the BufferView::Dispatch() function.
16123 * BufferView.C (Dispatch): added.
16125 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16126 functions which needs to use a LyXText over from LyXFunc.
16127 (MenuInsertLyXFile): added
16128 (getInsetByCode): added
16129 (moveCursorUpdate): added
16130 (static TEXT): added
16132 2001-02-22 Juergen Vigna <jug@sad.it>
16134 * BufferView_pimpl.C (update): call a status update to see if LyXText
16137 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16139 * vc-backend.C (revert): implement for CVS
16140 (getLog): implement for CVS
16142 2001-02-20 Juergen Vigna <jug@sad.it>
16144 * text2.C (ClearSelection): added BufferView param for inset_owner call
16146 * lyxfunc.C (TEXT): added this function and use it instead of
16147 directly owner->view()-text of getLyXText().
16149 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16151 * src/layout_forms.C: out preamble
16152 * src/layout_forms.h: out preamble
16153 * src/lyx_cb.C: out preamble
16154 * src/lyx_cb.h: out preamble
16155 * src/lyx_gui.C: out preamble
16156 * src/lyx_gui_misc.C: out preamble
16157 * src/lyxfunc.C: connect with guii preamble
16159 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16161 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16163 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16165 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16166 whether to run bibtex.
16168 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16170 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16172 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16174 * Makefile.am (lyx_SOURCES): removed bibforms.h
16176 * vspace.h: doxygen
16178 * text.C (GetVisibleRow): make several local vars const
16180 * tabular.C: small cleanup.
16182 * lyxserver.C (callback): use compare instead of strncmp
16184 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16185 inlines to after class or to paragraph.C
16187 * lyxfont.h: remove friend operator!=
16189 * converter.h: move friend bool operator< to non friend and after
16192 * combox.h: small cleanup
16194 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16195 to inlines after class def.
16197 * buffer.C (pop_tag): use string operations instead of strcmp
16199 * bmtable.c: doxygen, small cleanup
16201 * LaTeX.h: remove friend operator==
16203 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16215 * BufferView_pimpl.C:
16216 * BufferView.[Ch]: remove cruft
16218 2001-02-14 Juergen Vigna <jug@sad.it>
16220 * lyxfunc.C: removed #if 0 unused code
16222 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16224 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16226 * text2.C (SetSelection): added a BufferView * parameter
16228 2001-02-13 Juergen Vigna <jug@sad.it>
16230 * lyxfunc.C (Dispatch): fixed protected blank problem.
16231 * BufferView2.C (protectedBlank): added LyxText * parameter.
16233 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16234 (AppendColumn): same as above for column_info.
16236 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16237 (moveCursorUpdate): use a LyXText param for support of InsetText.
16239 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16240 (tripleClick): ditto
16242 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16244 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16246 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16248 * text2.C (SetSelection): set correct update status if inset_owner
16249 (ToggleFree): ditto
16251 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16253 * tabular.C: remove some commented code.
16255 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16257 * BufferView_pimpl.C: call hideSplash()
16259 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16262 * bibforms.h: remove
16265 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16266 add LFUN_CHILD_CREATE
16268 * counters.h: fix tiny typo
16273 * lyx.C: move splash to frontends/xforms/
16275 * lyx_gui_misc.C: move Include and Bibform to frontends
16277 * lyxvc.h: clarify comment
16279 * vspace.C: tiny housekeeping
16281 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16283 * text.C (PrepareToPrint): RTL Fix.
16285 * paragraph.C (GetUChar): New method.
16286 (String): Use GetUChar.
16288 * buffer.C (asciiParagraph): Use GetUChar.
16290 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16292 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16294 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16297 * buffer.C: rename to getLogName(), handle
16298 build log / latex log nicely
16300 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16303 * MenuBackend.h: remove support for reference menuitem type.
16305 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16307 * BufferView_pimpl.C: housekeeping
16308 * BufferView_pimpl.h:
16313 * minibuffer.h: move Timeout GUI-I
16315 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16317 * lyxrc.C (read): Update converters data-structures.
16319 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16321 * LaTeX.h (operator!=): add operator != for Aux_Info
16323 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16325 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16327 * LaTeXLog.C: deleted, useful code moved to Buffer
16330 * buffer.C: new function getLatexLogName()
16336 * lyxfunc.C: use frontends for LaTeX and VC logs
16338 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16340 * LaTeX.h: yet another std:: that Allan forgot.
16342 * Variables.C (set): renamed from isset(), because this clashes
16343 with some HP-UX macros (grr).
16345 2001-02-06 Allan Rae <rae@lyx.org>
16347 * LaTeX.h: Another bug fix. Missing std:: this time.
16349 2001-02-04 Allan Rae <rae@lyx.org>
16351 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16352 floats problem. I've left it commented out because it's not quite
16353 correct. It should also test that the current object is a table or
16354 figure inset. But I haven't gotten around to figuring out how to do
16355 that. I *think* it'll be something like: "table" == inset.type()
16357 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16360 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16362 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16363 all the citation/databases/styles in the auxilary file.
16364 (run): Rerun latex if there was a babel language error.
16366 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16368 * text.C (Backspace): Preserve the font when changing newline char
16370 (BreakParagraph): If the cursor is before a space, delete the space.
16372 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16374 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16376 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16377 new argument (code).
16378 (ChangeCitationsIfUnique): New method.
16380 * paragraph.C (GetPositionOfInset): Handle bibkey.
16382 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16384 * BufferView_pimpl.h: change type of Position::par_pos to
16385 LyXParagraph::size_type.
16387 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16389 * BufferView_pimpl.C (savePosition, restorePosition): Write
16390 messages to minibuffer.
16392 2001-01-28 José Matos <jamatos@fep.up.pt>
16394 * buffer.C (makeDocBookFile): adds support for document language.
16395 A silly restriction on the name of LatexCommand types where removed.
16396 Added support for CDATA sections, allows to chars unescaped, used
16397 among others in code, to avoid escape < and >.
16399 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16401 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16402 saved positions instrad of a stack. Furthermore, a position is
16403 stored using paragraph id/paragraph position.
16405 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16406 Remove LFUN_REF_BACK.
16408 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16410 * converter.C (dvipdfm_options): New method.
16412 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16414 * vspace.C (isValidLength): Fix for empty input string.
16416 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16418 * LyXAction.C (init): change description of LFUN_FIGURE to
16421 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16423 * LaTeX.C: add using directive
16425 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16427 * MenuBackend.C (expand): Fix the sorting of the formats.
16429 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16431 * lyx_main.C: tiny error message fix
16433 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16435 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16436 calling fl_initialize(). This fixes the problem with ',' as
16437 decimal separator in text files.
16439 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16441 * trans.C (process): Fix the keymap bug.
16443 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16445 * LaTeX.C (scanAuxFiles): New method. Provides support for
16446 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16447 (scanLogFile) Scan for "run BibTeX" messages.
16449 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16450 OT1 font encoding. Also, load the aecompl package if the ae
16453 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16455 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16457 * texrow.C (increasePos): turn two error messages into debug
16460 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16462 * LaTeX.C (scanAux): Handle the \@input macro.
16463 (runBibTeX): Use scanAux().
16465 * language.C (latex_options_): New field.
16467 * LaTeXFeatures.C (getMacros): Add language macros.
16469 * buffer.C (makeLaTeXFile): Small fix.
16471 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16473 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16475 * text2.C: add a using directive.
16477 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16482 * lyxfunc.C: kill LyXBell.
16484 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16486 * text.C (IsBoundary): Remove the error message
16488 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16490 * lyxrc.C (setDefaults): Correct initialization value for
16493 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16495 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16498 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16499 and GotoNextNote().
16501 * src/LyXAction.C: Added reference-next.
16503 * text.C (InsertChar): Use contains instead of strchr.
16505 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16507 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16509 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16510 alignment commands (when needed).
16512 * text.C (InsertChar): Add ':' to number separator chars.