1 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyxfind.C (findNextChange): update the bufferview after setting
6 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
9 number of InsetOptArgs has already been inserted.
11 * output_latex.C (latexOptArgInsets): new method. This outputs all
12 the optarg insets, up to the limit defined in the layout file.
13 (optArgInset): removed
14 (TeXOnePar): call latexOptArgInsets; correctly update texrow
16 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
18 * paragraph.C (isLetter): remove special spellchecker-related
19 code; return true also for digits
20 (isWord, isKomma): remove
22 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
23 * lyxfind.C (MatchString()): use isLetter instead of isWord
25 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
27 * pariterator.h (operatir=): comment out un-implemented member
30 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
33 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
35 * lyxfont.h: include LColor.h to satisfy concept checks.
37 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
39 * pariterator.h: add typdefs for value_type, difference_type,
40 pointer and reference to satisfy concept checks. Also add default
41 constructor for same reason.
43 * pariterator.C (operator++): add post-increment operator to
44 satisfy concept checks.
46 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
49 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
51 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
52 checks. Also rename base_type to BaseType to follow naming
55 * FloatList.h: include Floating.h to satisfy concept checks.
57 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * lyxfunc.C (getStatus): when the origin of the request is menu or
60 toolbar, and the LyXView does not have focus, do as if there was
63 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
64 FuncRequest to individual entries of LFUN_SEQUENCE
66 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
68 * output_latex.C (TeXOnePar): override runparams.moving_arg
69 according to the needprotect value of the current paragraph (bug
72 * paragraph.C (simpleTeXOnePar): no need to override
73 runparams.moving_args here
75 2004-11-14 John Spray <spray_john@users.sourceforge.net>
77 * vspace.C: fix off-by-one-error, related to fix #1682
79 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
81 * lengthcommon.C: a more general fix for bug 1682
83 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
85 * text.C (backspace): fix crash
87 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
89 * format.[Ch] (getFormatFromFile): new method
90 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
92 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
94 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
96 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
98 * lyxfunc.C (dispatch): remove the verbose argument
99 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
102 * kbmap.C (defkey): set the origin of func to KEYBOARD
104 * MenuBackend.C (MenuItem):
105 * ToolbarBackend.C (add): set the origin of func to UI
107 * funcrequest.[Ch]: add origin member, which indicates which part
108 of LyX requests an action
110 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
112 * converter.C (move): don't lie in the error message
113 * converter.h (isReachable, move): document
115 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
117 * buffer.C: remove unused using lyx::support::atoi
118 * paragraph_funcs.C: ditto
120 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
122 * bufferlist.C (exists): use bind and equal_to instead of
125 * lyxtextclasslist.C (NumberOfClass): ditto
127 * cursor.C (insert): use for_each instead of explicit for loop
129 * bufferlist.C (getFileNames): use std::transform and
130 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
132 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
135 * buffer.C (changeLanguage): use for_each instead of explicit for
137 (hasParWithID): implement using getParFromID
139 * LaTeXFeatures.C: ws change only
141 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
144 * BufferView_pimpl.C (trackChanges): use for_each instead of
147 2004-11-04 André Pönitz <poenitz@gmx.net>
150 * undo.C (textUndoOrRedo): fix crash when creating undo information.
152 * dociterator.C (asDocIterator): use hard assert again.
154 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * lyxlength.C (asLatexString): rewrite so that it does not use
159 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * text3.C (specialChar, dispatch): make sure cursor moves to the
162 right after inserting an inset
164 2004-11-02 José Matos <jamatos@lyx.org>
166 * output_docbook.C (docbook):
167 * paragraph.C (getID):
168 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
169 garantee that the output is always legal.
171 * tabular.C (docbook):
172 * outputprams.[Ch]: remove mixed contents.
174 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
176 * text2.C (setCounter): prevent endless loop
178 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
180 * exporter.C (copyFile): use the mover instead of support::copy()
181 * exporter.C (Export): pass format and latex name to copyFile()
182 * exporter.h (addExternalFile): document
183 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
185 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
187 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
189 2004-10-30 José Matos <jamatos@lyx.org>
191 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
192 text and no inset or font change. This allows to use CDATA
193 sections just for the whole paragraph.
195 2004-10-30 José Matos <jamatos@lyx.org>
197 * paragraph.C (getFirstWord): remove unused variable.
199 2004-10-30 José Matos <jamatos@lyx.org>
201 * paragraph.C (getFirstWord): the content should always be escaped
203 (simpleDocBookOnePar):
204 * output_docbook.C (makeEnvironment): replace reference to CDATA
207 2004-10-30 José Matos <jamatos@lyx.org>
209 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
211 2004-10-30 José Matos <jamatos@lyx.org>
213 * output_docbook.C (makeParagraphs):
214 * paragraph.[Ch] (emptyTag): for docbook and company, if the
215 standard paragraph has only a given type of content drop the wrapper.
217 2004-10-29 José Matos <jamatos@lyx.org>
219 * output_docbook.C (makeEnvironment):
221 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
223 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
225 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
226 (cleanID): sanitize any id.
228 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
230 * buffer.C, lyxlex_pimpl.C:
231 * lyxlex_pimpl.C (setFile):
232 s/getExtFromContents/getFormatFromContents/
234 2004-10-28 José Matos <jamatos@lyx.org>
236 * output_docbook.C (makeEnvironment): move id to broadest possible
239 * sgml.C (openTag): apply substitution of <> for all attributes.
241 2004-10-28 José Matos <jamatos@lyx.org>
243 * buffer.C (makeLinuxDocFile, makeDocBookFile):
244 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
245 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
247 * sgml.[Ch]: new version for open and closeTag for paragraph and
248 for strings. Now they handle the ids of paragraphs.
250 2004-10-26 Angus Leeming <leeming@lyx.org>
252 * Makefile.am: add mover.[Ch].
254 * converter.C (convert, move): use the new Movers to move external
255 files to the temp directory.
257 * lyx_main.C (init): ensure that the global system_movers data
260 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
263 * mover.[Ch]: new files, defining a Mover as a utility to move an
264 external file between directories and, if necessary, manipulate this
265 file using a helper script.
267 2004-10-25 José Matos <jamatos@lyx.org>
269 * output_docbook.C (makeCommand): merge two if's that tested the
272 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
274 * sgml.C (escapeString): fix warning in a better way
276 2004-10-25 José Matos <jamatos@lyx.org>
278 * sgml.C (escapeString): import the require boosts header file for
279 tie, and avoid a signed unsigned comparison.
281 2004-10-25 José Matos <jamatos@lyx.org>
283 * sgml.h: add #include <string>
285 2004-10-25 José Matos <jamatos@lyx.org>
287 * sgml.[Ch] (escapeString): new function to escape all the string.
289 2004-10-24 José Matos <jamatos@lyx.org>
291 * paragraph.[Ch] (getFirstWord): new function to get the first
292 word. Useful for description.
293 (simpleDocBookOnePar): remove depth argument, add another that
294 says where to start the paragraph.
296 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
297 use the new functions to fix cleanly the support for descriptions.
299 2004-10-24 José Matos <jamatos@lyx.org>
301 * buffer.C (makeLinuxDocFile, makeDocBookFile):
302 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
303 * output_linuxdoc.C (linuxdocParagraphs):
304 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
305 add buffer as argument.
307 2004-10-24 José Matos <jamatos@lyx.org>
309 * output_docbook.C (makeEnvironment, searchEnvironment): place
310 CDATA inside paragraphs and fix scope for listitems.
312 2004-10-24 José Matos <jamatos@lyx.org>
314 * output_docbook.C: remove using statement for stack.
316 2004-10-23 José Matos <jamatos@lyx.org>
318 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
319 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
320 docbook. The new scheme is recursive and makes use of iterators, the
321 same as latex export works.
322 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
323 directly with the paragraph contents. This code was moved up to
324 output_docbook.C (docbookParagraphs).
325 * sgml.C (openTag, closeTag): removed unneeded newlines.
326 (closeEnvTags) removed.
328 2004-10-23 André Pönitz <poenitz@gmx.net>
330 * undo.C (textUndoOrRedo):
331 * dociterator.C (asDocIterator): work around crash
333 * cursor.C (getStatus): replace ASSERT by more verbose error message
334 and manual correction of the problem. Should increase stability
335 while providing more sensible information.
337 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
339 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
341 * bufferlist.C (previous, next): new methods
344 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
346 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
348 * buffer.C (makeDocBookFile): add dsssl stylesheet control
349 entities to preamble.
351 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
353 * messages.C (Pimpl): strip off translation context information
355 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
357 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
358 the cursor is correct (bug 1694)
360 2004-10-13 José Matos <jamatos@lyx.org>
362 * output_docbook.C (docbookParagraphs): fix closing tags in the
365 2004-10-09 José Matos <jamatos@lyx.org>
367 * buffer.C: format up to 237.
368 * bufferparams.C (write): use tostr to convert booleans to strings.
370 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
372 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
374 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
376 * LaTeX.C: implement use of babel language in xindy.
378 2004-10-05 José Matos <jamatos@lyx.org>
380 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
381 Add new translators to help reading and writing the lyx file.
383 2004-10-05 José Matos <jamatos@lyx.org>
385 * ParagraphParameters.C (read):
386 * text.C (readParToken): replace nexToken by more appropriate lex
389 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
391 * LaTeX.C (runMakeIndex):
392 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
393 (usually 'makeindex') configurable.
395 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
396 with a variable rather than with a number.
398 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
400 * output_latex.C (TeXOnePar): make sure font setting is the first
401 thing that gets output (and the last at the end). Should fix bug
404 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
406 * pch.h: use proper signal include
408 * LaTeX.h: Use preferred calling of Boost.Signal
411 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
413 * pch.h: dont include <boost/function/function0.hpp>
415 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
417 * paragraph_pimpl.h: remove usage of ShareContainer
419 * paragraph_pimpl.C: remove initialization of ShareContainer.
421 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
425 * BufferView.C (putSelectionAt): change the semantics when
426 backwards == true: now, this just swaps cursor and anchor wrt the
429 * BufferView.h (putSelectionAt): add some documentation
431 * lyxfind.C (findBackwards): rewrite using while(). In particular,
432 make sure backwardChar is done at least once (to avoid getting
434 (findNextChange): use putSelectionAt in the forward direction
435 (operator()): use Paragraph::isWord
437 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
439 * Spacing.C (set): c_str fix
441 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
443 * lyx_cb.C (Reconfigure): quote the name of configure script in
444 case it contains spaces
446 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
450 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
451 (BOOST_LIBS): use top_buildir when looking for the file
453 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
455 * pch.h: do not use include boost/format.hpp, multiple symbols
456 will result (gcc bug)
459 2004-08-23 José Matos <jamatos@lyx.org>
461 * bufferparams.C (readToken): fix reading of the author field.
463 2004-08-20 José Matos <jamatos@lyx.org>
465 * lyxrc.C: remove support/translator.h inclusion since it is not used.
467 2004-08-20 José Matos <jamatos@lyx.org>
469 * lyxlex.[Ch] (findToken): remove function.
471 * ParagraphParameters.C (findToken):
472 * bufferparams.C (findToken): replace call for previous function
473 with local copy. This local function has one more argument, the
474 read string argument.
476 2004-08-16 José Matos <jamatos@lyx.org>
478 * ParagraphParameters.C (write):
479 * Spacing.C (writeFile):
480 * bufferparams.C (writeLaTeX):
481 * lyx_cb.C (Reconfigure):
482 * paragraph.C (write):
483 * tabular.C (write): remove unnecessary space at end of line.
486 2004-08-16 José Matos <jamatos@lyx.org>
488 * text.C (readParagraph): remove debug message.
490 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
492 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
495 * output_plaintext.C (asciiParagraph): set depth correctly
497 * outputparams.h: add member depth
499 * paragraph_funcs.C (ownerPar): remove.
501 * text2.C (setCounter): remove first_pit; comment out some
502 non-working code that uses ownerPar
504 * BufferView.C (getParentLanguage): remove. Not used anymore, and
507 2004-08-16 José Matos <jamatos@lyx.org>
509 * text.C (readParToken, readParagraph, read): report all unknown tokens.
510 For the same level of importance use the same chanel to report problems.
511 (read): add code to deal with \begin_body and \end_body.
514 2004-08-15 José Matos <jamatos@lyx.org>
516 * lyxlex.C (getString): fix comment, buffer::readBody is now
519 * tex-strings.C (string_papersize): Default -> default,
520 Custom -> custom, for consistency with other options.
522 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
526 * Makefile.am: support pch
528 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
530 * text.C (readParToken): remove the static LyXFont variable and
531 pass it as a parameter instead. This fixes a nasty bug where an
532 inset will be inserted with a bad font in some situations
533 (readParagraph): adapt
535 * text2.C (setCounter): reduce number of calls to pars_[pit]
537 * text.C (singleWidth): add an assert, fix a test
539 * rowpainter.C (paintText): reduce number of calls to singleWidth
541 * paragraph.C (isHfill):
544 2004-08-14 André Pönitz <poenitz@gmx.net>
549 * lyxtext.h (several functions): use a Paragraph & argument
552 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
554 * metricsinfo.h: add a new field ltr_pos to PainterInfo
556 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
558 * text.C (singleWidth): remove useless test
560 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
562 * tabular.h: remove bogus comments
564 * tabular.C (getDescentOfRow):
565 (isPartOfMultiColumn): add assertions
567 * lyxlength.C (inPixels): remove #warning
569 2004-08-14 André Pönitz <poenitz@gmx.net>
571 * paragraph.h: inline getChar()
573 * BufferView.h: remove unused declarations
575 2004-08-14 José Matos <jamatos@lyx.org>
577 * Buffer.[Ch] (readDocument): new name for old readBody.
578 * Buffer.C: new file format, new keywords: \begin_document,
579 \begin_header, \begin_body, \end_body.
581 * bufferparams.C (readToken): replace all calls to lex.nextToken
582 by lex.next(). Do the same to eatLine except where really needed.
584 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
585 line when writing to the lyx file.
587 * output_plaintext.C (asciiParagraph): fix Bibliography style
590 * text.C (read): fix end of file handling.
592 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
594 * MenuBackend.C (Menu::operator[]): new method to access
595 individual menu items
596 (Menu::hasFunc): new method. search for an item that corresponds
598 (MenuBackend::specialMenu): new method
599 (MenuBackend::expand): if a special menu has been set, skip
600 entries whose func() appears in this menu
602 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
604 * text3.C: use Debug::DEBUG a bit more
606 * text.C (leftMargin): try to simplify a tiny bit change var x to
607 l_margin. Dont output the wide margins always.
608 (rightMargin): no margin in inner texts
610 * rowpainter.h (nestMargin): new func
611 (changebarMargin): new func
612 (rightMargin): new func
614 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
618 * factory.C (createInset): modify setDrawFrame
620 * cursor.C: use Debug::DEBUG a bit more
622 2004-08-14 André Pönitz <poenitz@gmx.net>
625 * Makefile.am: new files to accomodate an 'external' (x,y)-position
626 cache for all insets in (at least partially) visible (top-level)
629 * BufferView_pimpl.C: reset external coord cache before every update.
630 This means the coord cache only contains valid entries.
632 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
635 * BufferView_pimpl.C (getInsetByCode): move function out of class
636 and change in to a template in anon namespace. Also fix to do what
639 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
642 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
644 (breakParagraph): rename par to par_offset and use a local
645 reference. Add code to keep the language over a rebreak.
646 (breakParagraphConservative): rename par to par_offset, use a
648 (mergeParagraph): ditto
650 (isFirstInSequence): ditto
651 (outerFont): rename pit to par_offset
653 * paragraph.C: ws change
658 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
660 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
663 * paragraph.C (simpleTeXOnePar): when we have a \item with
664 optional argument, enclose the argument with curly brackets (in
665 case it contains a closing square bracket)
669 * text3.C (checkInsetHit): constify
671 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
673 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
676 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
678 Fix toggling of collapsable insets with the mouse (bug 1558)
680 * lyxfunc.C (dispatch): adapt to LCursor changes
682 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
683 make sure that dispatch is not invoked twice
685 * cursor.C (needsUpdate): new method
686 (dispatch): return void
687 (result): new method, to access the DispatchResult of the cursor.
689 2004-08-13 José Matos <jamatos@lyx.org>
691 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
693 2004-08-13 André Pönitz <poenitz@gmx.net>
695 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
697 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
700 2004-08-12 André Pönitz <poenitz@gmx.net>
702 * text3.C: take out the 'cursor right' form insertInset and only
703 do it in those places when it is really needed. Fixes crash on
706 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
708 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
710 * BufferView_pimpl.C (setBuffer): initialize the current font of
711 the underlying LyXText
713 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
715 * kbsequence.C (print): use UI native formatting for menu
718 * text.C (insertChar): call Paragraph::insertChar with a font
721 * paragraph.C (insertInset, insertChar): the version that takes a
722 LyXFont argument is now a wrapper around the other one (the
723 opposite used to be true).
725 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
726 argument. Font setting is done in Paragraph now.
728 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
730 * outputparams.h: add new members intitle and lang.
732 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
733 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
735 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
737 * text3.C (dispatch): remove special handling of button 4 and 5,
738 it is now taken care of in the frontend code.
740 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
742 * Spacing.h: add <string> (STLPort compile fix)
744 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
746 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
748 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
750 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
753 * converter.C (showMessage): inherit from unary_function, make
756 * buffer.C (writeFile): initialize retval
758 * InsetList.h: rename private variable list to list_
759 * InsetList.[Ch]: adjust accordingly.
761 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
763 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
764 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
765 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
766 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
767 * ParagraphParameters.C, LaTeXFeatures.C: replace
768 "support/std_sstream.h" with <sstream>
770 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
772 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
773 * lyxsocket.C (LyXServerSocket): ditto
774 (serverCallback): ditto
776 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
778 * LaTeXFeatures.C: check release date when loading jurabib.
780 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
782 * lyxserver.C (startPipe): call register_socket_callback
783 (endPipe): call unregister_socket_callback
785 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
787 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
788 (LyXServerSocket): register the callback
789 (LyXServerSocket): unregister the callback
790 (fd): delete function
791 (serverCallback): improve error checking and setup the callbacks.
792 (dataCallback): change arg to fd.
793 (writeln): new func (copied fro the client socket) used for server
795 (LyXDataSocket): simplify
796 (~LyXDataSocket): close ann unregiser callback
797 (server): delete function
798 (fd): delete function
799 (readln): small changes, improve some std::string usage
800 (writeln): constify a bit
802 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
804 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
807 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
809 * BufferView_pimpl.C (setBuffer): set the layout combox value only
810 after it has been populated
812 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * text2.C (insertInset): move cursor when inserting inset.
816 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
818 * kbmap.C (findbindings): a couple of new methods. returns a
819 container of kb_sequence objects. The real work is done by the
820 private recursive version
821 (printbindings): uses findbindings to print out a bracketed list
822 of bindings (renamed from findbinding).
824 * MenuBackend.C (binding): use kb_keymap::findbindings
826 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
828 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
830 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
832 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
834 * paragraph.C (isWord): return true on insets that report
837 * text.C (getWord): use Paragraph::isWord to decide what is in a
838 word and what is not; fix bug 1609.
840 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
842 * tex-strings.C: add "none" to string_paperpackages[], fixes
843 off-by-one-error in the paperpackage selection.
846 * tex-strings.[Ch]: char const * string[n]
847 -> char const * const string[]
849 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
851 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
852 command, return early.
854 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
856 * debug.h: add DEBUG to enum and fix size of ANY.
858 * debug.C: add support for Debug::DEBUG
859 (showTags): cast errorTags.level to unsigned int
861 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
862 (redoCurrentBuffer): ditto
863 (updateScrollbar): ditto
864 * cursor.C (dispatch): ditto
865 * text2.C (setLayout): ditto
867 (updateCounters): ditto
869 (deleteEmptyParagraphMechanism): ditto
871 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
873 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
874 annotations to cleanup the Makefile slightly.
876 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
878 * lyxrc.C: do not set user_email to a default value but use empty
879 instead. The entry used to be translated, which does not work
880 since at the point where lyxrc is constructed there is no
881 translation service available
883 * messages.C (getLocaleDir): remove and use directly
884 lyx_localedir() instead
886 2004-06-02 Angus Leeming <leeming@lyx.org>
888 Fix crash caused by dereferencing null pointer 'exportdata' in
889 OutputParams by creating a new ExportData variable on the heap,
890 storing it in a boost::shared_ptr.
891 The crash was triggered when generating an Instant Preview
892 of an external inset.
894 * Makefile.am: add outputparams.C
896 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
897 (c-tor): allocate memory to it.
899 * exporter.C (c-tor): associated changes.
901 2004-06-01 Angus Leeming <leeming@lyx.org>
903 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
904 contains data before calling isInset(0). (Bug 1513.)
906 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
908 * exporter.C (checkOverwrite): new method
909 * exporter.C (copyFile): new method
910 * exporter.C (Export): copy referenced files to the document dir
911 * exporter.[Ch]: new class ExportedFile
912 * exporter.[Ch]: new class ExportData. Contains currently the
913 names of referenced external files
914 * outputparams.h: add exportdata member.
916 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
918 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
921 2004-05-19 Angus Leeming <leeming@lyx.org>
926 * lyxfunc.C: small changes due to the introduction of namespace
927 lyx::frontend and the moving of namespace biblio to lyx::biblio.
929 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
931 * text3.C (dispatch): supress update when only moving the cursor
932 * cursor.C (selHandle): remove commented code
934 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
936 * paragraph.C (startTeXParParams): correct column count
937 * CutAndPaste.C (pasteSelection): remove const_cast
938 * output_docbook.C (docbookParagraphs): remove const_cast
939 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
940 const_cast and return ParagraphList::const_iterator
941 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
942 * output_plaintext.C (writeFileAscii): remove const_cast
943 * paragraph.[Ch] (simpleTeXOnePar): make const
944 * paragraph_funcs.C (outerPar): use const iterators
945 * paragraph_pimpl.C (validate): use const iterators
946 * text.C (setHeightOfRow): use const iterators
948 2004-05-17 Angus Leeming <leeming@lyx.org>
951 * LyXAction.C (init): new LFUN_INSET_REFRESH.
953 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
954 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
955 if the citation engine has changed.
957 2004-05-14 José Matos <jamatos@lyx.org>
959 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
960 if the textclass does not provide it. Have it different for sgml and
962 support the language of document.
963 * output_docbook.C (docbookParagraphs):
964 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
965 first anchor as the id of the paragraph, remove special case code.
966 * sgml.C (escapeChar): escape only < & >.
968 2004-05-14 Angus Leeming <leeming@lyx.org>
970 * bufferparams.h: move biblio::CiteEngine enum here to minimize
971 dependencies on src/frontends/controllers/biblio.h. Define a
972 CiteEngine_enum wrapper class to enable the enum to be forward
975 2004-05-12 Angus Leeming <leeming@lyx.org>
977 * buffer.C: up LYX_FORMAT to 234.
978 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
979 use_numerical_citations with a single biblio::CiteEngine cite_engine
981 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
983 2004-05-13 José Matos <jamatos@lyx.org>
986 * converter.C (Converter, readFlags): add xml member.
987 * outputparams.h: add XML flavor.
988 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
990 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
992 * lyxfunc.C (dispatch):
993 (getStatus): fix handling of LFUN_SEQUENCE
995 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
997 * debug.C (showLevel): do not forget the end-of-line marker
999 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1001 * kbmap.C (read): do not stop parsing a bind file when an error
1004 2004-04-29 Angus Leeming <leeming@lyx.org>
1009 * text2.C: wrap a bunch of #warning statements
1010 inside #ifdef WITH_WARNINGS blocks.
1012 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1014 * buffer.C: increment format to 233.
1016 2004-04-28 Angus Leeming <leeming@lyx.org>
1018 * BufferView_pimpl.C:
1021 s/updateToolbar()/updateToolbars()/
1022 s/Toolbar.h/Toolbars.h/
1024 2004-04-28 Angus Leeming <leeming@lyx.org>
1026 * BufferView.[Ch] (c-tor):
1027 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1028 No longer passes these data to the WorkArea generator.
1030 2004-04-28 Angus Leeming <leeming@lyx.org>
1032 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1034 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1036 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1038 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1040 * output_latex.C (TeXEnvironment): make sure that there is a line
1041 break before \end{foo} for the last paragraph of a document
1042 (TeXOnePar): if the paragraph is at the end of the document (or
1043 inset) and the language has to be reset, then make sure that the
1044 line break is _before_ the language command, not after (fixes bug
1045 1225); also make sure that the language reset command is the first
1046 thing after the paragraph (to ensure proper nesting of
1047 environments and thus fix bug 1404)
1049 2004-04-21 John Levon <levon@movementarian.org>
1052 * ToolbarBackend.C: make "name" be a programmatic name
1053 and a gui_name field.
1055 * lyxfunc.C: display the minibuffer on M-x
1057 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1059 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1062 2004-04-19 Angus Leeming <leeming@lyx.org>
1064 * BufferView_pimpl.C (setBuffer): changed preview interface.
1066 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1069 2004-04-19 John Levon <levon@movementarian.org>
1071 * BufferView_pimpl.C:
1072 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1074 2004-04-05 Angus Leeming <leeming@lyx.org>
1076 * text.C (redoParagraphs): add call to updateCounters(), thereby
1077 fixing the missing "Figure #:" label from the caption of a
1080 2004-04-13 Angus Leeming <leeming@lyx.org>
1082 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1083 cursor is clicked out of an inset.
1085 2004-04-13 Angus Leeming <leeming@lyx.org>
1087 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1088 than an InsetOld one.
1090 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1092 * format.[Ch]: add editor to Format
1093 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1094 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1096 2004-04-08 André Pönitz <poenitz@gmx.net>
1098 * metricsinfo.h: remove PainterInfo::width member
1100 2004-04-08 Angus Leeming <leeming@lyx.org>
1102 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1103 "\providecommand" rather than "\newcommand", thereby preventing
1104 clashes with packages that define "\boldsymbol" themselves.
1107 2004-04-08 Angus Leeming <leeming@lyx.org>
1109 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1110 thereby squashing an unnecessary warning.
1112 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1114 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1117 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1119 * BufferView.C (setCursor): call redoParagraph (some insets could
1121 (putSelectionAt): remove the 'double update' trick
1123 * BufferView_pimpl.C (fitCursor): call refreshPar
1124 (workAreaDispatch): remove an uneeded update call
1125 (dispatch): remove some manual update calls
1127 * cursor.[Ch]: remove cached_y_, updatePos
1128 (selHandle): set noUpdate when appropriate
1130 * lyxfunc.C (dispatch): track if we need an update
1132 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1134 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1135 (paintSelection): cheap optimization, do not call cursorX when not
1137 (paintPars): change signature
1140 (paintTextInset): adjust
1144 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1146 * lengthcommon.C: compilation fix: remove explicit array size from
1147 unit_name[] and friends
1149 2004-04-05 Angus Leeming <leeming@lyx.org>
1151 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1153 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1154 present only for the preferences dialog.
1155 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1157 2004-04-05 Angus Leeming <leeming@lyx.org>
1159 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1160 to enable the frontends to export changes to lyxrc correctly.
1162 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1164 2004-04-07 André Pönitz <poenitz@gmx.net>
1166 * cursor.[Ch] (selClear, adjust): remove math
1168 * cursor_slice.C: more agressive assert
1171 * BufferView_pimpl.C: rework mouse event dispatch
1178 2004-04-05 André Pönitz <poenitz@gmx.net>
1180 * cursor.[Ch] (valign, halign...): remove unneeded functions
1182 2004-04-05 Angus Leeming <leeming@lyx.org>
1184 * lyxlength.[Ch] (unit_name et al.): const-correct.
1186 2004-04-05 Angus Leeming <leeming@lyx.org>
1188 * BufferView_pimpl.C:
1197 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1199 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1201 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1203 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1205 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1206 * BufferView_pimpl.[Ch] (getStatus)
1207 * BufferView.[Ch] (getStatus): add
1208 * lyxfunc.C (getStatus): move lfuns handled in
1209 BufferView::dispatch to te function above
1210 * Cursor.C (setSelection): set selection() = true
1212 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1214 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1216 2004-03-31 Angus Leeming <leeming@lyx.org>
1218 * lyxfunc.C (dispatch): Fall through to the generic
1219 Dialogs::show("preamble").
1221 2004-03-31 Angus Leeming <leeming@lyx.org>
1223 * lyxfunc.C (dispatch): Fall through to the generic
1224 Dialogs::show("spellchecker").
1226 2004-03-31 Angus Leeming <leeming@lyx.org>
1228 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1231 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1236 * insetiterator.[Ch]:
1241 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1243 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1245 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1246 insets where we are putting the cursor.
1248 2004-03-31 Angus Leeming <leeming@lyx.org>
1251 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1253 * lyxrc.[Ch] (read, write): overloaded member functions taking
1254 a std::[io]stream arguments.
1256 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1258 2004-03-31 Angus Leeming <leeming@lyx.org>
1260 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1261 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1263 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1264 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1266 2004-03-31 Angus Leeming <leeming@lyx.org>
1268 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1269 the LFUN_ALL_INSETS_TOGGLE code.
1271 2004-03-30 Angus Leeming <leeming@lyx.org>
1273 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1274 has died. Fall through to the generic Dialogs::show("document").
1276 2004-03-30 Angus Leeming <leeming@lyx.org>
1279 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1280 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1282 * lyxfunc.C (getStatus, dispatch): define the actions for these
1283 lfuns. Little more than a cut and pste job from ControlDocument.C
1285 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1287 2004-03-30 Angus Leeming <leeming@lyx.org>
1290 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1291 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1293 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1294 open/closed state of ollapsable insets. Usage:
1296 all-inset-toggle <state> <name>, where
1297 <state> == "open" || "closed" || "toggle" and
1298 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1300 * lyxtext.h, text2.C (toggleInset): removed.
1302 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1303 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1304 now passes LFUN_INSET_TOGGLE to the found inset.
1306 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1307 is now invoked as "all-insets-toggle toggle branch".
1309 2004-03-30 Angus Leeming <leeming@lyx.org>
1313 * pariterator.[Ch]: added/corrected header blurb.
1315 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1317 * dociterator.[Ch]: add an inset_ member
1318 (backwardPos): implemented
1319 (backwardPos, forwardPos): use inset_ when the stack is empty.
1320 (doc_iterator_begin, doc_iterator_end): implemented
1321 * pariterator.[Ch]: adjust, add begin, end
1322 * insetiterator.[Ch]: adjust, add begin, end
1326 * BufferView_pimpl.C:
1327 * CutAndPaste.C: adjust
1329 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1331 * buffer.C: increment file format to 232.
1332 * LaTeXFeatures.C: add bibtopic package.
1333 * bufferparams.[Ch]: param \use_bibtopic.
1335 * lyxrc.[Ch]: add lyxrc bibtex_command
1336 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1338 * buffer.C: increment file format to 231.
1340 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1342 * dociterator.C: implement forwardPar
1343 * iterators.[Ch]: remove, replaced by
1344 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1346 * BufferView_pimpl.C:
1349 * bufferview_funcs.C:
1355 * Makefile.am: adjust
1357 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1359 * CutAndPaste.C (pasteSelection): fix 2 crashes
1360 (eraseSelection): fix a crash
1361 * paragraph_funcs.C: remove a warning
1363 2004-03-28 Angus Leeming <leeming@lyx.org>
1366 * LyXAction.C (init): new LFUN_PRINT.
1368 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1370 2004-03-27 Angus Leeming <leeming@lyx.org>
1373 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1375 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1377 2004-03-27 Angus Leeming <leeming@lyx.org>
1379 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1380 insetlist always contains non-null pointers to insets.
1382 2004-03-26 Angus Leeming <leeming@lyx.org>
1384 * src/BufferView_pimpl.C:
1385 * src/CutAndPaste.C:
1388 * src/output_plaintext.C:
1389 * src/outputparams.h:
1390 * src/paragraph_funcs.C:
1394 * src/frontends/controllers/ControlErrorList.C:
1395 * src/frontends/gtk/FileDialogPrivate.C:
1396 * src/frontends/gtk/GPainter.C:
1397 * src/frontends/gtk/GToolbar.C:
1398 * src/frontends/qt2/QRef.C:
1399 * src/mathed/math_scriptinset.C: squash compiler warnings.
1401 2004-03-26 Angus Leeming <leeming@lyx.org>
1403 * ispell.C (LaunchIspell::start):
1404 * lyx_cb.C (AutoSaveBuffer::start):
1405 invoke run(DontWait) rather than runNonBlocking().
1407 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1409 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1411 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1413 * kbsequence.C (print): adjust
1415 * kbmap.C (printKeySym): rename and change signature
1416 (printKey): use LyXKeySym::print()
1418 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1420 * undo.C: add using std::advance to compile for stlport
1422 2004-03-24 Angus Leeming <leeming@lyx.org>
1424 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1425 it leads to a crash when no buffer is present.
1427 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1428 Martin Vermeer <martin.vermeer@hut.fi>
1430 * lyxfunc.C (dispatch):
1431 * bufferparams.C (readToken): use the new LColor::setColor
1433 * LColor.[Ch] (setColor): new version that takes two strings as
1434 argument and creates a new color entry if necessary
1436 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1438 * buffer.C (makeLaTeXFile): if the main latex file that is
1439 processed is usually a subdocument of some master, then pretend
1440 for a while that it is actually the master
1442 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1444 * buffer.C (getLabelList):
1445 (getBibkeyList): use getMasterBuffer()
1446 (getMasterBuffer): new method. Returns the main document in the
1447 case where one is using included documents.
1449 2004-03-25 André Pönitz <poenitz@gmx.net>
1453 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1455 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1457 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1458 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1460 * ParameterStruct.h: merge with ParagraphParameters
1462 * lyxtext.h: remove LyXText::parOffset() and getPar()
1464 * text3.C: Remove all 'manual' update calls. We do now one per user
1465 interaction which is completely sufficient.
1469 * BufferView_pimpl.C:
1470 * FontIterator.[Ch]:
1472 * ParagraphParameters.[Ch]:
1477 * cursor_slice.[Ch]:
1484 * output_docbook.[Ch]:
1485 * output_latex.[Ch]:
1486 * output_linuxdoc.[Ch]:
1487 * output_plaintext.[Ch]:
1489 * paragraph_funcs.[Ch]:
1490 * paragraph_pimpl.[Ch]:
1498 * frontends/controllers/ControlDocument.C:
1499 * frontends/controllers/ControlErrorList.C:
1500 * frontends/controllers/ControlSpellchecker.C:
1503 * insets/insetbase.h:
1504 * insets/insetbibitem.C:
1505 * insets/insetbox.C:
1506 * insets/insetbranch.C:
1507 * insets/insetcaption.C:
1508 * insets/insetcharstyle.C:
1509 * insets/insetcharstyle.h:
1510 * insets/insetcollapsable.C:
1511 * insets/insetcollapsable.h:
1512 * insets/insetert.C:
1513 * insets/insetfloat.C:
1514 * insets/insetfoot.C:
1515 * insets/insetmarginal.C:
1516 * insets/insetnote.C:
1517 * insets/insetoptarg.C:
1518 * insets/insettabular.C:
1519 * insets/insettext.C:
1520 * insets/insettext.h:
1521 * insets/insetwrap.C:
1522 * mathed/math_mboxinset.C:
1523 * mathed/math_nestinset.C:
1524 * mathed/math_scriptinset.C:
1525 * mathed/math_scriptinset.h:
1528 2004-03-24 Angus Leeming <leeming@lyx.org>
1530 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1531 deal with any child processes that have finished but are waiting to
1532 communicate this fact to the rest of LyX.
1534 2004-03-24 Angus Leeming <leeming@lyx.org>
1536 64-bit compile fixes.
1538 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1539 (c-tor): pass lyx::pos_types rather than ints.
1541 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1544 * text.C (Delete): compile fix.
1545 (getPar): ensure that function declaration is the same as that in
1548 2004-03-23 Angus Leeming <leeming@lyx.org>
1550 * ispell.C (LaunchIspell):
1551 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1552 a boost::shred_ptr rather than a std::auto_ptr.
1554 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1556 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1557 handle LFUN_FILE_INSERT_*
1559 * lyxrc.C (setDefaults, getDescription, output, read):
1560 * lyxrc.h: remove ps_command
1562 2004-03-22 Angus Leeming <leeming@lyx.org>
1564 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1565 Ensure that error_handler is processed once only and that all data
1566 is saved before attempting to output any warning messages.
1568 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1570 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1572 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1574 2004-03-19 André Pönitz <poenitz@gmx.net>
1576 * cursor.[Ch] (reset): take main text inset as argument
1578 * BufferView: adjust
1579 * BufferView_pimpl.C: adjust
1581 * paragraph.[Ch]: fix completely broken operator=()
1583 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1585 * LColor.C (getFromLyXName): make sure that the color name is used
1588 2004-03-17 Angus Leeming <leeming@lyx.org>
1591 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1593 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1594 dialog and to kill a forked process.
1596 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1598 * text2.C (setCursorFromCoordinates): fix font problem
1600 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1602 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1603 bogus "rebuild cursor" code
1605 2004-03-11 André Pönitz <poenitz@gmx.net>
1607 * buffer.[Ch]: use InsetText instead of LyXText as container for
1610 * dociterator.[Ch]: drop the BufferView * member which is not needed
1611 anymore after the change to buffer.C
1613 * paragraph_funcs.C:
1617 * BufferView_pimpl.[Ch]:
1619 * cursor_slice.[Ch]: adjust
1621 * text3.C: fix bug in mathDispatch
1623 2004-03-08 André Pönitz <poenitz@gmx.net>
1625 * undo.[Ch]: use 'StableDocumentIterator' as base for
1628 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1631 * bufferparams.[Ch]: add jurabib support and param.
1633 * LaTeX.C: add FIXME/comment.
1635 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1637 * buffer.C: increment file format to 230.
1639 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1641 * cursor.C (dispatch): avoid infinite loops
1643 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1645 * rowpainter.C (paintSelection): fix x coordinates
1647 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1649 * text.C (rowBreakPoint): fix breaking before displayed insets
1651 2004-03-01 André Pönitz <poenitz@gmx.net>
1653 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1655 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1659 * BufferView_pimpl.C:
1667 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1673 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1674 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1676 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1678 * Bidi.[Ch] (computeTables): const correctness
1679 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1680 fill_hfill, fill_label_hfill and x from Row
1681 * lyxtext.h: prepareToPrint returns a RowMetrics
1682 * rowPainter.C: adjust
1683 * text.C (prepareToPrint): use width, not textWidth. adjust
1684 (redoParagraphInternal, cursorX): adjust
1685 * text2.C (getColumnNearX): adjust
1686 (init): put a default value to the top LyXText::width
1688 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1690 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1692 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1694 * lyxtext.h: add FontIterator class
1696 * text.C (FontIterator, operator*, operator->, operator++): add
1697 (rowBreakPoint, setRowWidth): adjust (fixing a
1700 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1702 * BufferView_pimpl.C (workAreaDispatch): allow also
1703 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1705 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1707 * text.C (rowBreakPoint): fix a bug showing with very large insets
1709 2004-02-25 André Pönitz <poenitz@gmx.net>
1712 * cursor.[Ch]: move some mathed specific code to mathed
1714 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1716 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1717 use_tempdir in preferences
1718 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1720 * lyx_main.C: ensure that tempdir is valid
1721 * lyxlex.h: correct typo
1722 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1723 * paragraph.[Ch] (isMultiLingual): make const
1724 * cursor.[Ch] (openable): make const
1726 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1728 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1730 2004-02-20 André Pönitz <poenitz@gmx.net>
1732 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1734 * cursor.[Ch]: prepare for localized getStatus()
1740 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1742 2004-02-20 André Pönitz <poenitz@gmx.net>
1744 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1746 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1748 * text2.C (setCursorFromCoordinates): switch to absolute coords
1750 (cursorDown): adjust
1751 * text3.C (dispatch): adjust
1753 2004-02-16 André Pönitz <poenitz@gmx.net>
1755 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1758 * cursor_slice.[Ch]: remove unneeded acessor function
1760 * lyxtext.h: rename rtl() to isRTL()
1768 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1770 * rowpainter.C (paintSelection): coord fix
1772 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1774 * Spacing.C: compile fix
1776 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1778 * cursor.C (dispatch): restore current_ before returning
1780 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1782 * text2.C (cursorUp, cursorDown): fix coords
1785 2004-02-12 André Pönitz <poenitz@gmx.net>
1790 * text3.C: add LCursor & parameter to most cursor movement functions
1791 remove usage of LyXText::cursorRow() and cursorPar()
1793 * cursor.[Ch]: add textRow() needed members
1796 * BufferView_pimpl.C:
1799 * BufferView_pimpl.C: adjust
1801 2004-02-11 André Pönitz <poenitz@gmx.net>
1805 * BufferView_pimpl.C: shift undo/redo handling
1807 * cursor.[Ch]: fix mathed crash
1810 * lyxtext.h: move selectionAsText to LCursor
1818 * rowpainter.C: fix excessive drawing
1820 2004-02-06 André Pönitz <poenitz@gmx.net>
1823 * BufferView_pimpl.[Ch]:
1824 * text3.C: move some text specific LFUN handling
1826 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1828 * text3.C (checkInsetHit): adjust coords
1829 * text2.C (getColumnNearX): adjust coords
1830 (edit): adjust coords
1831 * text.C (getRowNearY): add two asserts
1833 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1836 * format.C: add using std::distance to compile on gcc 2.95/stlport
1838 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1840 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1842 2004-02-04 André Pönitz <poenitz@gmx.net>
1844 * BufferView.[Ch] (insertInset):
1845 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1850 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1852 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1853 on the default clause of the switch
1854 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1855 wasn't catched by LCursor::dispatch
1857 2004-02-03 André Pönitz <poenitz@gmx.net>
1860 * cursor.[Ch]: some additional asserts
1862 * undo.[Ch]: remove LyXText dependency in interface
1866 * lyxtext.h (firstPar, lastPar): remove dead functions
1871 * paragraph.[Ch]: adjust
1873 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1875 * lyxfind.C (find): fix argument order in call to ::find
1877 2004-02-02 André Pönitz <poenitz@gmx.net>
1879 * cursor.[Ch]: remove direct access to anchor
1881 * text.C: remove findText() hack
1883 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1885 * iterators.[Ch] (lockPath): remove in favour of...
1886 * BufferView.[Ch] (setCursor): this addition
1887 * BufferView.C (putSelectionAt): adjust
1888 * undo.C (performUndoOrRedo): adjust
1889 * lyxfunc.C (dispatch): adjust
1891 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1893 * iterators.C (lockPath): add a missing slice
1894 * undo.C (performUndoOrRedo): remove redundant positioning code
1896 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1898 * vc-backend.C (scanMaster): ";" -> ';'
1900 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1902 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1903 std::binary_function
1905 * lyxtextclass.C (compare_name): rename to...
1906 (LayoutNamesEqual): ...this
1908 * lyxlex_pimpl.C (compare_tags): inherit from
1909 std::binary_function, put back into anon namespace
1911 * lyxfind.C (MatchString): inherig from std::binary_function
1912 (findChange): use empty() istead of !size()
1914 * format.C (FormatNamesEqual): new functor
1921 * converter.C (compare_Converter): rename to...
1922 (ConverterEqual): ...this, and fixup a bit.
1923 (getConverter): use it, and make function const
1924 (getNumber): use it, and make function const
1928 * bufferlist.C: add using boost::bind
1930 * MenuBackend.C (MenuNamesEqual): new functor
1931 (hasMenu): use it, and make function const
1932 (hasSubmenu): use nested bind to get rid of compare_memfun.
1934 2004-01-30 André Pönitz <poenitz@gmx.net>
1936 * BufferView_pimpl.C:
1939 * cursor_slice.[Ch]:
1942 * paragraph_funcs.C:
1943 * paragraph_funcs.h:
1947 * text3.C: move some of the edit(x,y) handling to the insets
1948 some coordinate changes.
1950 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1952 * text.C: add using statements for std::advance and std::distance
1954 * paragraph.C: add using statement for std::distance
1956 * lyxfind.C: add using statement for std::advance
1958 * cursor.C (region): remove std:: from swap
1959 (openable): use nucleus in stead of operator->
1961 * BufferView.C: add using statements for std::distance and std::swap
1963 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1965 * iterators.C: Remove the pimple, move the needed structures to
1966 the header file. Create accessor for the positions stack.
1967 (asPosIterator): remove function
1969 * PosIterator.C (PosIterator): move constructors to top of file
1970 (PosIterator): reimplement the constructor taking a ParIterator in
1972 (setFrom): new function
1973 (operator!=): inline it
1975 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1977 * lyxfind.C (replaceAll): use std::advance
1979 * iterators.h: inherit from std::iterator.
1981 * PosIterator.C (advance, distance): remove
1982 * PosIterator.h: interit from std::iterator.
1984 2004-01-26 André Pönitz <poenitz@gmx.net>
1987 * BufferView_pimpl.[Ch]:
1991 * bufferview_funcs.C:
2001 * output_linuxdoc.C:
2002 * output_plaintext.C:
2004 * paragraph_funcs.[Ch]:
2005 * paragraph_pimpl.[Ch]:
2011 * text3.C: more IU: dumps most of the rest of the mathcursor
2012 implementation into cursor.[Ch]; "globalize" a bit of it.
2014 2004-01-25 Angus Leeming <leeming@lyx.org>
2016 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2018 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2020 * LaTeXFeatures.h: add nice_ and nice() const
2021 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2023 2004-01-20 André Pönitz <poenitz@gmx.net>
2026 * BufferView_pimpl.C:
2028 * bufferview_funcs.C:
2030 * cursor_slice.[Ch]:
2041 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2042 LCursor and mathcursor parts to LCursor and InsetBase.
2044 2004-01-15 André Pönitz <poenitz@gmx.net>
2046 * cursor_slice.[Ch]: add a few covienience functions
2048 * funcrequest.[Ch]: remove BufferView * member
2050 * BufferView_pimpl.C:
2057 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2059 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2061 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2062 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2064 2004-01-13 André Pönitz <poenitz@gmx.net>
2067 * lyxtext.h: hide cursor and selection anchor behind accessor function
2070 * BufferView_pimpl.[Ch]:
2072 * bufferview_funcs.C:
2082 * cursor_slice.[Ch]: some integer type changes for inset unification
2084 * lyxcursor.[hC]: remove, it's CursorSlice now.
2087 * BufferView_pimpl.[Ch]:
2088 * bufferview_funcs.C:
2094 * textcursor.[Ch]: adjust
2096 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2098 * text2.C (undoSpan): add and use
2099 * text.C (breakParagraph): use undoSpan (fix bug 578)
2102 2004-01-08 Angus Leeming <leeming@lyx.org>
2104 * BufferView_pimpl.C (MenuInsertLyXFile):
2105 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2106 * lyxfunc.C (menuNew, open, doImport):
2107 FileFilterList change to the FileDialog open and save functions.
2109 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2111 * ShareContainer.h: make isEqual and isUnique adaptable
2113 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2115 2004-01-07 Angus Leeming <leeming@lyx.org>
2118 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2120 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2122 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2123 functions replacing find, replace and replaceAll.
2125 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2126 LFUN_WORDFIND(FORWARD|BACKWARD).
2128 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2130 * text.C (breakParagraph): remove an outdated #warning
2132 2004-01-07 André Pönitz <poenitz@gmx.net>
2134 * lyxfind.C: somewhat clearer logic
2136 * text.C: prevent crash in cursorX on unitialized row cache
2138 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2140 * lyxcursor.[Ch] (operator>): add
2141 * textcursor.C (selStart, selEnd): use std::min and std::max
2143 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2145 * Chktex.C: include boost/format.hpp
2147 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2149 * InsetList.C: replace functor MathcIt with adaptable functor
2151 (insetIterator): modify accordingly
2153 * BranchList.h: move the BranchNamesEqual functor here from...
2154 * BranchList.C: ... to here
2156 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2158 (add): replace a finding loop with std::find_if.
2160 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2162 * output_docbook.C: moving LatexParam functionality into
2165 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2167 * buffer.C: increment format to 229.
2169 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2172 * lyx_sty.[Ch]: remove minipageindent_def
2178 * text3.C: remove LFUN_INSET_MINIPAGE
2180 2003-12-28 Angus Leeming <leeming@lyx.org>
2182 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2184 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2186 * text2.C (setParagraph): fix off-by-one crash
2188 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2190 * output_docbook.C: header stuff for AGU
2192 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2194 * text2.C (redoCursor): remove
2197 * BufferView_pimpl.C: remove calls to redoCursor and
2198 setCursor(cursor.par(), cursor.pos()) all around
2200 2003-12-15 Angus Leeming <leeming@lyx.org>
2202 * buffer.C: up the format to 228.
2204 2003-12-15 André Pönitz <poenitz@gmx.net>
2206 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2211 * BufferView_pimpl.C:
2220 2003-12-15 Angus Leeming <leeming@lyx.org>
2222 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2223 than getFromGUIName to manipulate the color.
2225 2003-12-14 Angus Leeming <leeming@lyx.org>
2227 * BranchList.[Ch]: minimize the API.
2228 (Branch::getBranch, getColor): now return a 'const &'.
2229 (Branch::setSelected) now returns a bool set to true if the
2230 selection status changes.
2231 (BranchList::clear, size, getColor, setColor, setSelected,
2232 allBranches, allSelected, separator): removed.
2233 (BranchList::find): new functions, returning the Branch with
2235 (BranchList::add, remove): return a bool indicating that
2236 the operation was successful.
2238 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2239 new InsetBranch::isBranchSlected member function.
2241 * LColor.[Ch]: mimimize the API.
2242 (fill): renamed as addColor and made private.
2243 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2244 versions of these functions taking a string arg have been removed.
2246 * bufferparams.C (readToken):
2247 * lyxfunc.C (dispatch):
2248 * lyxrc.C (read): changes due to the altered BranchList and
2251 * factory.C (createInset, readInset): changes due to altered
2254 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2257 * lyxfunc.C: remove insetminipage. "minipage-insert"
2258 now produces a frameless minipage box inset.
2260 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2262 * textcursor.[Ch] (selStart,selEnd): add new methods
2263 remove selection::start, end, use LyXCursor::operator<
2264 * lyxcursor.[Ch] (operator<): add
2265 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2266 * BufferView.[Ch] (unsetXSel): add
2267 * text2.C (clearSelection): use unsetXSel,adjust
2270 * rowpainter.C: adjust
2271 * bufferview_funcs.C (put_selection_at): adjust
2273 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2275 * BufferView_pimpl.C: small coord. correction
2277 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2279 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2280 dragging over the splash screen.
2282 2003-12-11 Angus Leeming <leeming@lyx.org>
2284 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2285 as it is now handled in LyXText::dispatch.
2287 * text3.C (doInsertInset): remove a level of nesting.
2289 2003-12-11 Angus Leeming <leeming@lyx.org>
2291 * factory.C (createInset): changes due to the changed interface to
2292 InsetCommandMailer::string2params.
2294 2003-12-10 Angus Leeming <leeming@lyx.org>
2296 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2297 'dialog-show-new-inset <inset name>'
2299 2003-12-10 Angus Leeming <leeming@lyx.org>
2301 * buffer.C: up the format to 227.
2303 * factory.C: the box inset is now identified simply by 'Box'.
2305 2003-12-10 Angus Leeming <leeming@lyx.org>
2307 * buffer.C: up the format to 226.
2309 * factory.C: the note inset is now identified simply by 'Note'.
2311 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2313 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2314 when a pit is enough. Standarize a couple of loops.
2316 2003-12-05 Angus Leeming <leeming@lyx.org>
2318 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2319 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2320 data to the re-worked "log" dialog.
2322 2003-12-03 André Pönitz <poenitz@gmx.net>
2328 * paragraph_funcs.C:
2330 * text2.C: use Inset::getText instead of Inset::getParagraph
2332 2003-12-03 André Pönitz <poenitz@gmx.net>
2336 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2337 InsetText::read() as LyXText::read()
2339 2003-12-02 Angus Leeming <leeming@lyx.org>
2341 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2342 type. Add a comment in the implementation that the function uses
2343 the stream's bad() function rather than fail() as the std::streams
2346 2003-12-02 André Pönitz <poenitz@gmx.net>
2348 * lyxlex.[Ch]: make interface more similar to std::stream
2350 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2352 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2354 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2356 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2358 * vspace.[Ch]: remove VSpace::NONE
2360 2003-12-01 André Pönitz <poenitz@gmx.net>
2363 * lyxtext.h: move ParagraphList member to LyXText
2364 rename LyXText::ownerParagraphs to LyXText::paragraph
2367 * bufferview_funcs.C:
2377 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2379 * undo.C: fix cursor positioning
2381 2003-12-01 John Levon <levon@movementarian.org>
2383 * BufferView_pimpl.C: fix a crash on exit with
2386 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2388 * BranchList.C: fix setSelected() method.
2390 2003-11-28 André Pönitz <poenitz@gmx.net>
2392 * ParagraphParameters.[Ch]:
2393 * ParameterStruct.h: remove space above/below from Paragraph to
2396 * BufferView_pimpl.C:
2402 * paragraph_funcs.C:
2408 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2410 * factory.C: Syntax change for CharStyles
2412 2003-11-28 André Pönitz <poenitz@gmx.net>
2417 * buffer.[Ch]: move LyXText member
2419 2003-11-28 André Pönitz <poenitz@gmx.net>
2421 * BufferView.[Ch]: make LyXText * text a private member
2423 * BufferView_pimpl.C:
2434 * output_plaintext.C: cleanup
2436 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2439 * lyxtextclass.[Ch]: parametrize SGML document header
2441 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2444 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2447 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2449 * text2.C (setFont): rework using PosIterator (no more recursive)
2450 (setCharFont): no more needed
2451 (setLayout): no more selection cursors fiddling (done by redoCursor)
2452 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2453 destroy remaining ones)
2455 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2457 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2459 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2462 * text3.C: adjust + re-allow multi par depth changes
2463 * textcursor.C: simplify a bit
2465 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2471 * src/output_docbook.C:
2472 * src/output_latex.C:
2477 * src/text2.C: Introducing a number of tags parametrizing various
2478 XML formats that we may want to support
2480 2003-11-25 André Pönitz <poenitz@gmx.net>
2482 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2484 * lyxtext.h (leftMargin/rightMargin): simplify interface
2491 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2493 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2494 master file to any child files. Fixes bug 546.
2496 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2498 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2500 2003-11-24 André Pönitz <poenitz@gmx.net>
2502 * rowpainter.C: simplification
2504 * text2.C (updateCounters): remove call to redoParagraph on
2505 changed labels as this is far too expensive.
2507 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2509 * converter.C (convert): fix a crash: this function gets
2510 called with buffer == 0 from importer code.
2512 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2514 * text3.C (cursorPrevious): make sure that we do not compare
2515 iterators form different containers.
2518 * rowpainter.C (paintSelection): make sure that we do not compare
2519 iterators from different containers.
2521 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2522 iterators from different ParagraphList containers.
2525 * text2.C (LyXText): change order of initialization slightly
2526 (operator=): new function. copy all variables except cache_par_
2527 (moveUp): make sure that we do not compare iterators from
2528 different ParagraphList constainers.
2531 * text.C (firstPar): new function
2532 (lastPar): new function
2533 (endPar): new function
2535 * lyxtext.h: move things around and group public functions, public
2536 variables, private functions, private variables
2538 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2540 * factory.C: change call to InsetERT constructor to avoid
2541 additional invocation of method status
2542 * text2.C (toggleInset): remove redundant update() call
2543 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2544 instead of a Bufferview pointer
2546 2003-11-21 André Pönitz <poenitz@gmx.net>
2548 * rowpainter.C: simplification
2550 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2552 * text3.C (dispatch): make possible to extend a word/row selection
2555 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2557 * lyxtext.h: x0_,y0_ -> xo_,yo_
2558 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2559 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2560 * rowpainter.C (paintRows): paint full paragraphs
2562 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2564 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2567 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2569 * lyxtext.h: add x0_, y0_
2570 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2571 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2573 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2575 * text2.C (setCursorIntern): move the x_target update here *
2576 * text3.C: change some bv() to true/false in calls to
2577 cursorUp/Down/Right/Left
2578 * cursor.C: use helper function.
2580 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2582 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2583 * paragraph_funcs.[Ch]: correct comment
2584 * rowpainter.C: do not paint selections away from bv->cursor()
2585 Fix a long standing selection painting bug.
2586 * text3.C: generalize mouse-selection code to LyXTexts other that
2588 * textcursor.C: do not use y coords if we can use par offsets
2590 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2592 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2593 cursor position after e.g. inset insert)
2595 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2597 * lyxfind.C (replace): adjust to locking removal + some
2600 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2602 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2605 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2608 * output_docbook.C: XML sanitation: new layout
2609 parameters InnerTag and CommandDepth
2611 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2613 * BufferView_pimpl.C:
2615 * text3.C: Fix the insertion and modification of button-style
2618 2003-11-13 André Pönitz <poenitz@gmx.net>
2620 * InsetList.[Ch]: remove deleteLyXText
2622 * paragraph.[Ch]: cache beginOfBody position
2627 * text3.C: remove superfluous update() calls
2631 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2633 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2634 * BufferView.C (fitLockedInsetCursor): remove
2635 * cursor.[Ch] (getDim): add
2636 * text.C (getRowNearY): add faster version
2637 * text3.C: remove some update calls
2639 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2651 * text3.C: The Character Style /XML short element patch.
2653 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2656 * factory.C: Small step to solving 'unable to insert some insets'
2659 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2661 * cursor.[Ch] (updatePos): new function for updating the y
2662 position of the tip inset
2663 * bufferview_funcs.C (put_selection_at):
2664 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2666 2003-11-11 André Pönitz <poenitz@gmx.net>
2668 * text.C: remove big comment on invalid Paragraph pointers as it is
2671 2003-11-11 André Pönitz <poenitz@gmx.net>
2673 * text_funcs.[Ch]: merge with ...
2681 * Makefile.am: remove text_funcs.[Ch]
2683 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2685 * cursor.C (getPos): return absolute cached y coord
2687 * BufferView_pimpl.C (fitCursor): new simplistic code
2688 (workAreaDispatch): add a fitCursor call
2690 2003-11-10 André Pönitz <poenitz@gmx.net>
2693 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2695 2003-11-10 André Pönitz <poenitz@gmx.net>
2697 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2698 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2699 indicate that the cursor needs to leave an inset
2701 * lyxtext.h: remove inset locking
2703 * cursor.[Ch]: re-implement functionality provided by inset locking
2706 * BufferView_pimpl.[Ch]:
2708 * bufferview_funcs.[Ch]:
2720 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2722 * PosIterator.[Ch]: replace the stack with a vector, add inset
2724 * iterators.[C]: adjust
2726 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2728 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2730 * paragraph_funcs.C (readParToken): put the correct id in the
2731 error item, not the id of the top paragraph
2733 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2735 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2736 * bufferview_funcs.C (put_selection_at): use the above
2738 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2740 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2742 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2744 * output_linuxdoc.h:
2745 * output_plaintext.h:
2747 * output_docbook.h: add #include statements
2749 2003-11-05 José Matos <jamatos@lyx.org>
2751 * output_docbook.[Ch]:
2752 * output_latex.[Ch]:
2753 * output_linuxdoc.[Ch]:
2754 * output_plaintext.[Ch]: New files for output formats.
2755 * output.[Ch]: New file for helper functions.
2758 * paragraph_funcs.[Ch]: output functions moved to new files.
2760 * outputparams.h: rename of latexrunparams.h
2768 * paragraph_funcs.[Ch]:
2769 * paragraph_pimpl.[Ch]:
2770 * tabular.[Ch]: rename ascii to plaintext
2771 and LatexRunParams to OutputParams.
2773 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2775 * iterators.[Ch] (text): require bv argument
2776 * undo.C (recordUndo):
2777 * lyxfunc.C (dispatch):
2778 * bufferview_funcs.C (put_selection_at): adjust
2780 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2782 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2784 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2786 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2789 2003-11-04 André Pönitz <poenitz@gmx.net>
2791 * cursor.[Ch]: restructure
2794 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2796 * iterators.[Ch] (asCursor): remove
2798 * lfuns.h: remove LFUN_INSET_EDIT
2804 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2806 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2808 * lyxfind.[Ch]: complete overhaul
2809 * BufferView_pimpl.C:
2811 * paragraph.[Ch] (insert): add
2813 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2817 * text.C: remove dead spellcheck code
2819 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2821 * dispatchresult.h: add a val setter
2823 * cursor.C (dispatch): use a tempvar for data_[i]
2825 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2827 * PosIterator.[Ch]: compile fix
2829 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2831 * text.C (cursorPar): deactivate the cursor cache
2833 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2835 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2837 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2839 * text3.C (dispatch): adjust for new DisptchResult semantics.
2841 * lyxfunc.C (dispatch): handle update when return from
2842 Cursor::dispatch, adjust for new DispatchResult semantics.
2844 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2845 DispatchResult(true) mean to not update. Add class functions for
2846 setting dispatched and update, as well as reading.
2848 * cursor.C (dispatch): don't handle update here
2850 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2852 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2853 * trans_mgr.C: adjust
2855 * paragraph_funcs.C (readParToken): exception safety
2857 * lyxvc.h: store the vcs pointer in a scoped_ptr
2860 * lyxsocket.C (serverCallback): exception safety
2862 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2864 * ispell.C (clone): make it return a auto_ptr
2866 * factory.C (createInset): exception safety
2867 (readInset): exception safety
2869 * bufferlist.C (newBuffer): exception safety
2871 * Thesaurus.C (Thesaurus): use initialization for aik_
2873 * MenuBackend.C (expandToc): exception safety.
2875 2003-11-03 André Pönitz <poenitz@gmx.net>
2879 * bufferview_funcs.C: remove getInsetFromId()
2882 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2888 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2890 * PosIterator.C (distance, advance): new
2891 * bufferview_funcs.[Ch] (put_selection_at): new
2892 * iterators.[Ch] (lockPath): new
2894 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2896 * iterators.[Ch] (asPosIterator): added
2897 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2898 * PosIterator.[Ch]: added
2900 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2904 * cursor.C (dispatch):
2905 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2907 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2908 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2909 contructor, add a class function dispatched. Remove operator>=
2911 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2913 * debug.C: only use the default constructor for debugstream
2916 * main.C (main): include debug.h and setup the lyxerr streambuf
2919 2003-10-31 José Matos <jamatos@lyx.org>
2921 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2923 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2924 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2925 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2926 * paragraph_pimpl.C (simpleTeXSpecialC):
2927 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2928 add LatexRunParams argument.
2930 * exporter.C (Export): change call accordingly.
2932 * latexrunparams.h: add new member to take care of the other backends.
2933 2003-10-30 José Matos <jamatos@lyx.org>
2935 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2936 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2937 factorise code for paragraph output.
2939 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2942 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2944 * text3.C (dispatch):
2945 * lyxfunc.C (dispatch):
2946 * cursor.C (dispatch):
2947 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2949 * dispatchresult.h: make the dispatch_result_t ctor explicit
2951 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2954 * buffer.C: small refactoring of docbook stuff
2956 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2958 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2961 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2963 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2964 operator dispatch_result_t, and operators for == != and >=
2966 * cursor.C (dispatch): adjust for operator dispatch_result_t
2967 removal. comment out call to update
2969 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2971 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2979 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2982 * dispatchresult.h: new file, DispatchResult broken out of
2985 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2987 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2989 * text.C (rowBreakPoint): put a hack inside #if 0
2991 2003-10-28 André Pönitz <poenitz@gmx.net>
2995 * paragraph_funcs.C:
2998 * text2.C: general cleanup (lots of small stuff)
3000 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3002 * text2.C (cursorEnd): simple fix to the "end key goes to one
3003 before the end on last row" bug
3005 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3007 * text.C (backspace): fix the "zombie characters"
3009 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3011 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3013 2003-10-27 André Pönitz <poenitz@gmx.net>
3015 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3017 * factory.C: handle new InsetPagebreak, InsetLine
3019 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3020 and move handling into new InsetPagebreak, InsetLine
3022 * BufferView_pimpl.C:
3024 * ParagraphParameters.C:
3025 * ParameterStruct.h:
3030 * paragraph_funcs.C:
3031 * paragraph_pimpl.C:
3037 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3040 * lyxrow_funcs.[Ch]:
3046 * text3.C: remove lastPos uses in favour of Row::endpos
3048 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3050 * undo.C (performUndoOrRedo): fix two crashes by setting a
3051 cursor by hand and reordering some calls. Use bv->lockInset instead
3052 of inset->edit because the latter loses cursor information
3054 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3056 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3058 (rowBreakPoint): fix width. change point to point + 1.
3059 Add a missing check.
3061 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3064 * lyxfunc.C: fix (at least partly) the problems
3065 with the Nav menu and headers inside branch insets
3068 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3070 * paragraph.C (getChar): add strong asserts
3072 * lyxrow_funcs.C (lastPos): remove hideous hack
3074 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3075 (fill): adjust to that (avoid an infinite loop)
3077 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3079 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3081 2003-10-23 André Pönitz <poenitz@gmx.net>
3083 * RowList_fwd.h: change list<> to vector<> to gain speed
3084 after suggestion from Alfredo
3086 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3088 * lyxtext.h: move the bidi stuff from here...
3091 * Bidi.[Ch]: ... to here
3093 2003-10-23 André Pönitz <poenitz@gmx.net>
3096 * text.C (isLastRow, isFirstRow): new functions
3098 * paragraph.h: new width cache member
3100 * rowpainter.C: replace RowList::iterator with Row & where possible
3102 * lyxfunc.C: replace several view()->text with a single call
3104 * toc.C: fix 'unused' warning
3106 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3108 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3109 when woring with stream::pos_type
3110 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3112 2003-10-22 André Pönitz <poenitz@gmx.net>
3115 * text.C: use Row & instead of RowList::iterator
3117 * lyxrow.h: rename end() to endpos()
3123 2003-10-22 Angus Leeming <leeming@lyx.org>
3125 * buffer.[Ch] (fully_loaded): new member function, returning true
3126 only when the file has been loaded fully.
3127 Used to prevent the premature generation of previews and by the
3128 citation inset to prevent computation of the natbib-style label.
3130 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3131 templates are all set up.
3133 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3135 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3137 * text.C: fixed an "oops" in the "is a bit silly"
3140 2003-10-21 André Pönitz <poenitz@gmx.net>
3142 * FuncStatus.[Ch]: small stuff, whitespace
3144 * lyxfont.[Ch]: operator<<() for debug reasons
3148 * lyxtext.h: whitespace, spelling
3150 * paragraph.C: naming of variables
3153 * text2.C: small stuff
3156 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3158 * text.C: (1) finish off the inset display() work;
3159 (2) fix the "is a bit silly" bug (accessing char
3162 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3164 * text.C: re-introduce display() for insets, fixing the
3165 various bugs (stretch of line above, math inset
3168 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3170 * text.C (rightMargin): remove spurious semicolon
3172 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3175 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3177 * text3.C: fix one crash due to wrong cursor def
3179 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3181 * vc-backend.C (scanMaster): make the regex static
3183 * LaTeX.C (scanAuxFile): make the regexs static
3185 * text3.C (doInsertInset, dispatch, dispatch):
3186 * text2.C (cursorUp, cursorDown):
3187 * text.C (selectNextWordToSpellcheck):
3188 * BufferView_pimpl.C (dispatch):
3189 * lyxfunc.C (dispatch): localDispatch -> dispatch
3191 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3193 * lyxsocket.C: include <cerrno>
3195 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3197 * lyxfunc.C (dispatch): remove textcache stuff
3199 * bufferlist.C (release): remove textcache stuff
3202 * TextCache.C: delete file
3203 * TextCache.h: delete file
3205 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3207 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3208 delete of the bv_->text.
3209 (resizeCurrentBuffer): remove texcache stuff
3210 (workAreaResize): ditto
3212 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3214 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3217 2003-10-16 André Pönitz <poenitz@gmx.net>
3224 * text3.C: speed up by storing y positions per paragraph plus per-row
3225 offset instead of having a 'full' y position in the row.
3227 2003-10-15 André Pönitz <poenitz@gmx.net>
3231 * undo.[Ch]: make undo aware of inner insets
3233 2003-10-14 Angus Leeming <leeming@lyx.org>
3235 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3236 static member functions LyX::ref() and LyX::cref.
3237 (lastfiles): new accessor functions for the new lastfiles_ member var.
3238 (addLyXView, views_): add a new LyXView to the list of views_.
3239 (updateInset): loop over all LyXViews to call their own updateInset
3240 member function, returning a pointer to the Buffer owning the inset.
3242 * BufferView_pimpl.C (loadLyXFile):
3243 * MenuBackend.C (expandLastfiles):
3244 * bufferlist.C (MenuWrite, QuitLyX):
3245 lastfiles is no longer a global variable.
3246 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3248 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3249 static function. Access through LyX::cref().emergencyCleanup().
3251 2003-10-14 André Pönitz <poenitz@gmx.net>
3253 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3255 * undo.[Ch]: restoring part of 'undo in insets'
3258 * undo_funcs.[Ch]: merge with undo.[Ch]
3260 * tabular.C: small cleansing stuff
3262 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3264 * paragraph_funcs.C (readParToken): report unknown insets as error
3265 boxes. Use the outer paragraph as location (also for unknown
3268 * factory.C (readInset): do not abort on reading an unknown inset.
3269 Eat it and return 0.
3271 2003-10-13 Angus Leeming <leeming@lyx.org>
3273 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3275 * lyxrc.C: displayTranslator is now a function,
3276 declared in GraphicsTypes.h.
3278 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3280 * format.C: new placeholder $$a to pass the socket address.
3282 * bufferlist.[Ch]: new function getBufferFromTmp.
3284 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3285 files in the temporary dir.
3287 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3289 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3291 * Makefile.am: add lyxsocket.[Ch].
3293 * lyx_main.C (error_handler): handle SIGPIPE.
3295 2003-10-13 André Pönitz <poenitz@gmx.net>
3297 * BufferView_pimpl.C:
3302 * undo_funcs.[Ch]: use paroffset_type instead of
3303 ParagraphList::iterators to prevent multiple conversion
3304 (and get a more robust interface)
3306 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3308 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3310 * text3.C (dispatch): ditto
3312 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3314 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3315 move the onlyfile, use onlyfile instead of foundfile in a couple
3318 * DepTable.C (update): flush the error stream a bit more
3320 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3322 * lyxserver.C (callback): adjust
3324 * lyxfunc.C (getStatus): add a missing brace in commented code
3325 (ensureBufferClean): reindent
3326 (dispatch): delete version taking a string
3328 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3330 * LaTeX.C (deplog): move found file handlig from here...
3331 (handleFoundFile): .. to new function here.
3332 (deplog): make sure to discover several files mentioned on the
3335 2003-10-10 André Pönitz <poenitz@gmx.net>
3342 * text3.C: fix some of the tabular crashes
3344 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3346 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3348 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3350 2003-10-09 André Pönitz <poenitz@gmx.net>
3352 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3355 * BufferView_pimpl.C:
3356 * bufferview_funcs.C:
3367 * undo_funcs.C: adjust
3369 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3371 * text2.C (incrementItemDepth): new function, use a backtracking
3372 algorithm to discover the correct item depth.
3373 (resetEnumCounterIfNeeded): new function, use a backtracking
3374 algorithm to discover if counter reset is needed.
3375 (setCounter): use them. Simplify a bit. Add different labels for
3376 different item depths for itemize.
3378 * paragraph.C (Paragraph): remove initialization of enumdepth
3381 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3382 enumerate and itemize. Change the type of itemdepth to signed char.
3384 2003-10-08 André Pönitz <poenitz@gmx.net>
3386 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3391 * tabular.[Ch]: fix crash after 'row-insert'
3393 2003-10-08 Angus Leeming <leeming@lyx.org>
3395 Fix doxygen warnings.
3397 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3398 Remove CutAndPaste:: prefix from header file declaration.
3400 * LColor.h (fill): remove LColor:: prefix from declaration.
3402 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3403 use lyx::depth_type rather than Paragraph::depth_type so that
3404 header file and .C file match.
3406 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3408 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3409 * aspell.C: \file aspell_local.C -> \file aspell.C
3410 * gettext.C: \file gettext.C -> \file src/gettext.C
3411 * gettext.h: \file gettext.h -> \file src/gettext.h
3412 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3413 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3414 * text.C: \file text.C -> \file src/text.C
3416 * toc.C: move comment so that doxygen is not confused.
3418 2003-10-07 Angus Leeming <leeming@lyx.org>
3420 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3422 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3425 * aspell_local.h: add forgotten std::string's.
3427 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3434 * text3.C: The Box patch. Fancybox support, minipage, parbox
3436 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3442 * ParagraphParameters.h:
3452 * lyxtextclasslist.h:
3455 * paragraph_pimpl.C:
3456 * textcursor.h: add <string> and other small fixes to make Lars'
3457 std::string patch compile with STLport.
3459 2003-10-06 Angus Leeming <leeming@lyx.org>
3461 * LColor.h: Add missing #include <string>.
3463 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3465 * All most all file in all subdirs: Make <string> be the prefered
3466 way of getting to std::string, add using declarations.
3468 2003-10-06 André Pönitz <poenitz@gmx.net>
3470 * metricsinfo.C: initialize LyXFont before changing attribute.
3471 (fixes the 'math in \emph is upright' bug)
3473 2003-10-06 André Pönitz <poenitz@gmx.net>
3475 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3477 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3480 * paragraph_pimpl.C: Small fixes to build using STLport
3482 2003-10-02 André Pönitz <poenitz@gmx.net>
3485 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3487 2003-10-01 André Pönitz <poenitz@gmx.net>
3489 * factory.C: assert early
3491 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3493 * lyx_main.C: remove the global debug object
3495 * debug.h: adjust for new debugstream
3497 * debug.C: adjust for new debugstream and keep the global debug
3500 2003-09-22 Angus Leeming <leeming@lyx.org>
3502 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3503 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3504 an incomplete class LyXFont.
3506 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3508 * factory.C: bug fix in branches
3510 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3512 * lyxfunc.C (processKeySym): adjust
3514 (dispatch): change arg name from ev to func, adjust
3515 (sendDispatchMessage): ditto
3517 * lyx_main.C (defaultKeyBindings): adjust keybindings
3518 (deadKeyBindings): ditto
3520 * kbsequence.C (addkey): return a FuncRequest
3522 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3524 * kbmap.C (bind): take a FuncRequest as arg, adjust
3527 (defkey): change to take a FuncRequest as arg, adjust
3528 (findbinding): take a FuncRequest as arg, adjust.
3530 * funcrequest.h (operator=): added
3532 * funcrequest.C (FuncRequest): default kb_action changed from
3533 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3535 * buffer.C (dispatch): simplify
3536 (dispatch): adjust to take a FuncRequest as arg, adjust
3538 * boost.C (assertion_failed): change assertion message slightly
3540 * ToolbarBackend.C (read): simplify
3542 * MenuBackend.C (binding): adjust call to findbinding, add a
3543 message if no binding is found.
3545 (expandToc): correct by adding a empty FuncRequest
3547 * LyXAction.C: include <boost/assert.hpp>
3548 (isPseudoAction): delete function
3549 (LookupFunc): change name to...
3550 (lookupFunc): this. change return type to FuncRequest.
3551 (getActionName): take kb_action as arg, simplify
3552 (funcHasFlag): add an assert, simplify.
3554 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3556 * toc.C (action): return a FuncRequest, simplify
3558 * lyxfunc.C (processKeySym): adjust
3559 (getStatus): delete version that takes an int.
3561 (dispatch): delete version that takes action as int
3563 (sendDispatchMessage): simplify and adjust
3565 * funcrequest.C (getArg): take unsigned int as arg
3567 * ToolbarBackend.C (read): adjust
3568 (add): delete version that takes func as a string.
3569 (getIton): take a FuncRequest as arg
3571 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3574 * MenuBackend.C (MenuItem): add a new construct that only takes a
3575 Kind, simplify the constructor use for submenus.
3577 (expandLastfiles): adjust
3578 (expandDocuments): adjust
3579 (expandFormats): adjust
3580 (expandFloatListInsert): adjust
3581 (expandFloatInsert): adjust
3582 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3584 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3585 Remove class variables lyx_pseudo_map and lyx_arg_map
3587 * LyXAction.C (searchActionArg): delete function
3588 (getPseudoAction): delete function
3589 (retrieveActionArg): delete function
3590 (LookupFunc): make it return kb_action, simplify.
3591 (getActionName): simplify
3593 * factory.C (createInset): fix new bug
3595 2003-09-19 Angus Leeming <leeming@lyx.org>
3597 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3598 masterFilename_ parameter in the include inset.
3600 * factory.C (createInset): changes due to the changes to InsetInclude.
3602 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3604 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3606 2003-09-18 Angus Leeming <leeming@lyx.org>
3609 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3610 Inset::fillWithBibKeys.
3611 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3613 2003-09-18 Angus Leeming <leeming@lyx.org>
3615 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3617 (ctor): pass and store a 'Buffer const &'
3618 (buffer): new member function.
3620 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3621 '*this' to the LaTeXFeatures ctor.
3623 2003-09-18 Angus Leeming <leeming@lyx.org>
3629 * text.C: rename EnumLColor as LColor_color.
3631 2003-09-18 Angus Leeming <leeming@lyx.org>
3633 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3634 remove #include "insets/insetbase.h" from cursor.h.
3636 2003-09-18 Angus Leeming <leeming@lyx.org>
3638 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3639 InsetOld_code to remove #include "inset.h".
3641 * iterators.C: add #include "insets/inset.h"
3643 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3645 * BufferView.C: remove more locking stuff that apparently doesn't
3646 do anything sensible.
3648 2003-09-16 André Pönitz <poenitz@gmx.net>
3651 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3654 2003-09-16 Angus Leeming <leeming@lyx.org>
3656 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3658 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3661 * paragraph.h: remove #include "lyxfont.h". Forward declare
3664 2003-09-16 Angus Leeming <leeming@lyx.org>
3666 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3667 of support/textutils.h.
3668 (isWord): move the contents of support/textutils.h's IsWordChar here.
3674 * text2.C: add #include "paragraph.h".
3677 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3679 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3685 * LaTeX.C: use namespace alias for lyx::support::os
3687 2003-09-16 Angus Leeming <leeming@lyx.org>
3690 * bufferview_funcs.C:
3693 * paragraph_pimpl.C:
3695 * text.C: add #include "LColor.h".
3697 2003-09-16 Angus Leeming <leeming@lyx.org>
3699 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3700 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3702 Store the FontBits::color variable as an int rather than as an
3703 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3706 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3707 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3708 string calls together.
3710 * lyxrc.C: add #include "LColor.h".
3712 2003-09-15 Angus Leeming <leeming@lyx.org>
3714 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3717 2003-09-15 Angus Leeming <leeming@lyx.org>
3719 * LColor.h: add an EnumLColor wrapper for LColor::color.
3721 * lyxfont.[Ch] (color, setColor, realColor):
3722 * lyxtext.h, text.C (backgroundColor):
3723 pass EnumLColor args to/from the functions, rather than LColor::color
3727 * lyxtext.h: forward declare EnumLColor.
3729 * lyx_main.C: add #include "LColor.h".
3731 2003-09-15 Angus Leeming <leeming@lyx.org>
3733 * .cvsignore: add lyx-gtk.
3735 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * ParagraphParameters.C
3744 * bufferview_funcs.C
3754 * vc-backend.C: remove usage of STRCONV
3756 2003-09-15 Angus Leeming <leeming@lyx.org>
3758 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3759 explicitly define the color passed to the painter.
3761 2003-09-15 Angus Leeming <leeming@lyx.org>
3763 * bufferparams.C (BufferParams): reorder member initializers to avoid
3766 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3768 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3769 * text.C (updateRowPositions): remove an unusual nop
3771 2003-09-12 André Pönitz <poenitz@gmx.net>
3773 * BufferView_pimpl.C:
3782 * Counters.[Ch]: finish the 'automatic counters' job
3784 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3786 * aspell.C: include <boost/assert.cpp> (compile fix)
3788 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3790 * boost.C (assertion_failed): use lyx::support::abort instead of
3793 2003-09-10 Angus Leeming <leeming@lyx.org>
3795 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3796 with their _fwd progeny.
3798 2003-09-09 Angus Leeming <leeming@lyx.org>
3800 134 files throughtout the source tree: replace 'using namespace abc;'
3801 directives with the appropriate 'using abc::xyz;' declarations.
3803 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3805 * boost.C (emergencyCleanup): moved here from LAssert.c
3806 (assertion_failed): new function, called by BOOST_ASSERT
3808 * several files: change Assert to BOOST_ASSERT
3810 2003-09-09 Angus Leeming <leeming@lyx.org>
3812 * buffer.[Ch]: Add an Impl class and move Buffer's member
3813 variables into it. As a result move several header files out of
3816 Add header files to lots of .C files all over the tree as a result.
3818 2003-09-09 Angus Leeming <leeming@lyx.org>
3820 * buffer.[Ch]: make Buffer's member variables private. Add
3823 Lots of changes all over the tree as a result.
3825 2003-09-08 Angus Leeming <leeming@lyx.org>
3827 * graph.C: #include <config.h>.
3829 2003-09-08 Angus Leeming <leeming@lyx.org>
3833 * BufferView_pimpl.C:
3862 * toc.C: remove redundant using directives.
3864 2003-09-07 Angus Leeming <leeming@lyx.org>
3866 * LaTeXFeatures.h: remove #include "support/types.h".
3867 * ToolbarBackend.h: remove #include <algorithm>.
3868 * changes.h: remove #include <ctime>.
3869 * debug.h: remove #include <iosfwd>.
3870 * graph.h: remove #include "support/std_string.h".
3871 * lyx_main.h: remove #include <csignal>.
3872 * lyxlex_pimpl.h: remove #include <fstream>.
3873 * sgml.h: remove #include <algorithm>, <utility>.
3874 * toc.h: remove #include "support/std_ostream.h".
3875 Add #include <iosfwd>.
3877 2003-09-07 Angus Leeming <leeming@lyx.org>
3879 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3881 * converter.h: forward declare LatexRunParams.
3882 * encoding.h: remove #include "lyxrc.h".
3883 * lyxtext.h: remove #include "LColor.h".
3884 * lyxtextclass.h: remove #include "support/types.h".
3885 * trans.h: remove #include "tex-accent.h".
3886 * trans_mgr.h: remove #include "tex-accent.h".
3887 * insets/inset.h: remove #include "support/types.h", <vector>.
3888 * insets/insetcollapsable.h: remove #include "LColor.h".
3889 * insets/insetinclude.h: remove #include "dimension.h".
3890 * insets/insetlatexaccent.h: remove #include "dimension.h".
3891 * insets/insetoptarg.h:: remove #include "insettext.h".
3892 * insets/insettext.h: remove #include "dimension.h",
3893 <boost/shared_ptr.hpp>
3895 * insets/renderers.h: add #include "dimension.h".
3896 * insets/updatableinset.h: add #include "support/types.h".
3898 * many .C files: Associated changes.
3900 2003-09-06 Angus Leeming <leeming@lyx.org>
3902 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3903 one, inside testInvariant.
3905 * PrinterParams.C: new file.
3906 * PrinterParams.[Ch]: move the function bodies out of line.
3908 2003-09-06 Angus Leeming <leeming@lyx.org>
3910 * ParagraphParameters.h: forward declare ParameterStruct rather than
3911 including its header file.
3912 (depth): moved out-of-line.
3914 2003-09-06 Angus Leeming <leeming@lyx.org>
3916 * BufferView_pimpl.h:
3919 * lyxfunc.h: forward declare LyXKeySym rather than
3920 #include "frontends/LyXKeySym.h".
3922 * BufferView_pimpl.C:
3925 * lyxfunc.C: associated changes.
3927 2003-09-06 Angus Leeming <leeming@lyx.org>
3929 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3930 As a result, can remove the #include "insets/inset.h" from BufferView.h
3932 2003-09-06 Angus Leeming <leeming@lyx.org>
3934 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3935 As a result, can remove the #include "insets/inset.h" from BufferView.h
3937 2003-09-06 Angus Leeming <leeming@lyx.org>
3943 * bufferview_funcs.C:
3944 * BufferView_pimpl.C:
3949 * ParagraphParameters.C:
3954 * frontends/controllers/ControlDocument.C:
3955 * insets/insetcaption.C: rearrange the #includes into some sort of
3958 * buffer.h: remove #includes ErrorList.h, undo.h
3960 2003-09-06 Angus Leeming <leeming@lyx.org>
3962 * support/types.h: add a 'depth_type' typedef, used to store the
3963 nesting depth of a paragraph.
3966 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3967 defining explicitly.
3970 * paragraph_funcs.h:
3971 * ParagraphParameters.h:
3972 * sgml.h: use lyx::depth_type rather than Paragraph or
3973 ParameterStruct's depth_type.
3976 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3979 * BufferView_pimpl.C:
3981 * ParagraphParameters.C:
3984 * bufferview_funcs.C:
3991 * frontends/LyXView.C:
3992 * frontends/controllers/ControlDocument.C:
3993 * frontends/controllers/ControlErrorList.C:
3994 * insets/insetbibitem.C:
3995 * insets/insetbranch.C:
3996 * insets/insetcaption.C:
3997 * insets/insetcollapsable.C:
3998 * insets/insetenv.C:
3999 * insets/insetert.C:
4000 * insets/insetfloat.C:
4001 * insets/insetfoot.C:
4002 * insets/insetfootlike.C:
4003 * insets/insetnewline.C:
4004 * insets/insetquotes.C:
4005 * insets/insettabular.C:
4006 * insets/insettext.C:
4007 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4009 * frontends/controllers/ControlChanges.C: #include "changes.h".
4011 2003-09-06 Angus Leeming <leeming@lyx.org>
4013 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4014 than #including paragraph.h.
4017 * RowList.h: deleted. Superfluous.
4027 * insets/insettext.h: use ParagraphList_fwd.h rather than
4030 * paragraph.h: don't forward declare ParagraphList.
4033 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4034 rather than ParagraphList.h. paragraph.h is still needed for the
4035 Paragraph::depth_type parameters.
4037 * textcursor.h: enable it to compile stand-alone in light of the
4040 * bufferview_funcs.C:
4052 * frontends/controllers/ControlParagraph.C:
4053 * frontends/controllers/ControlTabular.C:
4054 * insets/insetmarginal.C:
4055 * insets/insetminipage.C:
4056 * insets/insetnote.C:
4057 * insets/insetoptarg.C: add header files needed to compile again.
4059 2003-09-06 Angus Leeming <leeming@lyx.org>
4061 * RowList_fwd.h: new file, forward-declaring Row rather than
4062 #including lyxrow.h.
4067 * insets/insettext.h: use it instead of RowList.h
4069 * bufferview_funcs.C:
4076 * text3.C: #include "RowList.h".
4078 2003-09-05 Angus Leeming <leeming@lyx.org>
4080 * factory.C (createInset):
4081 * vspace.C (c-tor): replace sscanf call with an istringstream.
4082 * ispell.C: re-add missing HP/UX headers.
4083 * lyxserver.C: re-add missing os2 headers.
4085 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4094 * text3.C: re-add missing system headers, needed for 2.95.2.
4096 2003-09-05 Angus Leeming <leeming@lyx.org>
4098 Changes most place everywhere due to the removal of using directives
4099 from support/std_sstream.h.
4101 2003-09-05 Angus Leeming <leeming@lyx.org>
4103 Replace LString.h with support/std_string.h,
4104 Lsstream.h with support/std_sstream.h,
4105 support/LIstream.h with support/std_istream.h,
4106 support/LOstream.h with support/std_ostream.h.
4108 Changes resulting throughout the tree.
4110 2003-09-05 Angus Leeming <leeming@lyx.org>
4112 * sgml.h: ensure that the header file can be compiled stand-alone.
4113 * *.C: strip out redundant #includes. (320 in total.)
4115 2003-09-04 Angus Leeming <leeming@lyx.org>
4117 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4118 here (from getPackages).
4120 * debug.[Ch]: add a new EXTERNAL tag.
4122 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4124 * text2.C (cursorEnd): simplify
4126 (getColumnNearX): adjust
4128 * text.C (computeBidiTables): adjust
4131 * rowpainter.C (paintChars): adjust
4132 (paintSelection): adjust
4133 (paintChangeBar): adjust
4136 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4138 (numberOfSeparators): adjust
4140 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4146 * text3.C: Restricts the mouse click functionality
4147 of insets like bibtex, include, toc and floatlist to the visible
4148 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4149 up the dialogs. Cursor has to be in front of the inset (i.e.
4150 start of row) for this to function.
4152 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4154 * bufferview_funcs.C (currentState): output row information
4156 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4158 * bufferview_funcs.C (currentState): output paragraph position
4160 2003-09-04 Angus Leeming <leeming@lyx.org>
4162 * FloatList.h: move out #include "Floating.h".
4163 * LaTeX.h: move out #include "DepTable.h".
4164 * LyXAction.h: move out #include "funcrequest.h".
4165 * buffer.h: move out #include "author.h", "iterators.h".
4166 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4167 * lyx_main.h: move out #include "errorlist.h".
4168 * lyxfunc.h: move out #include "FuncStatus.h".
4169 * lyxtext: move out #include "lyxcursor.h".
4170 * paragraph_pimpl.h: move out #include "counters.h".
4172 2003-09-03 Angus Leeming <leeming@lyx.org>
4174 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4175 preamble_snippets list, enabling us to add snippets to the preamble
4176 only if the snippet was not there already.
4178 2003-09-04 Angus Leeming <leeming@lyx.org>
4180 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4182 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4184 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4187 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4189 * BranchList.C: point fix, earlier forgotten
4191 2003-09-02 Angus Leeming <leeming@lyx.org>
4193 * box.C (contains): renamed from 'contained' after a fantastic
4196 2003-09-02 John Levon <levon@movementarian.org>
4202 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4204 2003-09-02 John Levon <levon@movementarian.org>
4206 * text2.C: simplification of cursorEnd(), including partial
4209 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4211 * buffer.C (readFile): add a space
4213 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4215 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4217 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4219 * buffer.C (readFile): new function, take a filename and a
4220 ParagraphList::iterator
4222 (readFile): adjust, make it private. don't use setStream, make
4223 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4224 always contain the filename.
4226 * BufferView.C (insertLyXFile): simplify and make it work for
4229 2003-08-30 John Levon <levon@movementarian.org>
4231 * Makefile.am: fix dist (from Kayvan)
4233 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4235 * most files: change to use const Buffer refs
4237 2003-08-27 André Pönitz <poenitz@gmx.net>
4239 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4240 on top of ownerPar().
4242 2003-08-27 John Levon <levon@movementarian.org>
4244 * funcrequest.C: properly initialise POD members
4246 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4248 * lyxtext.h (top_y): move top_y from here
4253 * BufferView_pimpl.[Ch]: to here
4254 * frontends/screen.C:
4255 * insets/insettabular.C:
4256 * insets/insettext.C: adjust
4257 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4259 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4262 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4264 2003-08-26 André Pönitz <poenitz@gmx.net>
4266 * paragraph_func.[Ch] (outerPar): new function
4269 * paragraph_funcs.C:
4270 * paragraph_funcs.h:
4271 * paragraph_pimpl.C:
4272 * text2.C: remove Inset::par_owner
4274 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4279 * text2.C: eliminates the needFullRow/display() stuff
4280 altogether, putting the logic in metrics/draw in the insets.
4282 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4284 * text2.C (redoParagraphInternal, redoParagraphs):
4285 * text.C (redoParagraph): add a call to updateRowPositions at the
4286 end of each 'metrics-like' call. Remove all others.
4287 (getRow): remove the 'y-computing' version.
4288 (getRowNearY): do not compute nor return the real y. Solve the
4289 'y < 0' problem and simplify.
4291 2003-08-22 Angus Leeming <leeming@lyx.org>
4293 * *.[Ch]: clean-up of licence and author blurbs.
4294 Also move config.h out of a few .h files and into a few .C files.
4296 2003-08-22 André Pönitz <poenitz@gmx.net>
4298 * lyxrow.[Ch]: add x_ and *fill_ members
4303 * text2.C: adjust/remove prepareToPrint() calls
4305 2003-08-22 André Pönitz <poenitz@gmx.net>
4307 * lyxrow.[Ch]: add end_ member
4309 * lyxrow_funcs.C: use LyXRow::end_
4311 * lyxtext.h (singleWidth): add LyXFont parameter
4314 * text2.C: adjust LyXText::singleWidth() calls
4316 * text.C (redoParagraph): simplify row breaking logic
4319 2003-08-19 André Pönitz <poenitz@gmx.net>
4321 * funcrequest.C: initialize button_ member
4324 * rowpainter.[Ch]: interface consolidation
4326 2003-08-18 André Pönitz <poenitz@gmx.net>
4329 * BufferView_pimpl.C:
4331 * paragraph_funcs.C:
4333 * text3.C: remove LyXScreen::draw() and fitCursor calls
4335 * BranchList.h: remove spurious semicolons
4337 * MenuBackend.C: fix branchlist related crash
4339 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4347 * bufferparams.[Ch]:
4351 * text3.C: implements the 'branch inset'
4352 idea. This allows the output of various versions of a document
4353 from a single source version, selectively outputing or suppressing
4354 output of parts of the text.
4355 This implementation contains a 'branch list editor' in a separate
4356 tab of the document settings dialog. Branches are user definable
4357 and have a "display colour" to distinguish them on-screen.
4359 ColorHandler was somewhat cleaned up.
4360 (1) make possible a dynamically growing LColor list by allowing
4361 the graphic context cache to grow along (vector);
4362 (2) eliminate an IMHO unnecessary step in colour allocation.
4364 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4366 * BufferView_pimpl.C: compile fix
4368 2003-08-15 André Pönitz <poenitz@gmx.net>
4370 * rowpainter.C: remove extra metrics calls
4372 * lyxtext.h: merge the two constructors into a single one,
4373 pass reference to owner's par list
4375 * BufferView_pimpl.C:
4379 2003-08-15 André Pönitz <poenitz@gmx.net>
4381 * lyxrow_funcs.[Ch]:
4384 * paragraph_funcs.C:
4389 * text_funcs.C: split LyXText::rowlist_ into individual
4390 Paragraph::rows_ chunks
4393 * BufferView_pimpl.[Ch]:
4396 * text3.C: remove toggleSelection()
4398 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4400 * bufferlist.C: beautify two alerts (shorter text of buttons)
4401 * buffer.C: Remove redundant ' ' from message
4403 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4404 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4405 rename VALIGN_CENTER to VALIGN_MIDDLE
4407 2003-08-11 André Pönitz <poenitz@gmx.net>
4409 * lyxtext.h (getPar):
4410 * text.C: new function
4412 2003-08-11 André Pönitz <poenitz@gmx.net>
4415 * tracer.[Ch]: remove unneeded files
4417 * InsetList.[Ch]: remove resizeInsetsLyXText()
4422 * text3.C: merge insertParagraphs() and appendParagraph()
4423 remove breakAgain(), update()
4425 * BufferView_pimpl.[Ch]:
4426 * bufferview_funcs.[Ch]:
4430 * tabular.C: adjust after text & InsetList changes.
4432 2003-08-08 André Pönitz <poenitz@gmx.net>
4434 * text.C (insertChar, backspace): replace rowlist fiddling
4435 with rebreak of full par
4438 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4439 checkParagraph, updateInset): removed
4441 2003-08-07 André Pönitz <poenitz@gmx.net>
4444 * text3.C: merge some LFUN handlers, remove dead code
4446 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4448 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4450 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4452 * text2.C (DEPM): fix part of bug 1255 and 1256
4454 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4456 * BufferView_pimpl.C (workAreaDispatch): change to use
4457 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4458 that are no mouse related.
4460 2003-08-05 André Pönitz <poenitz@gmx.net>
4463 * BufferView_pimpl.[Ch]:
4464 * bufferview_funcs.C:
4466 * text3.C: rip out "deep update"
4468 * textcursor.[Ch] (last_sel_cursor): remove unused member
4470 2003-08-04 André Pönitz <poenitz@gmx.net>
4473 * BufferView_pimpl.[Ch]:
4474 * ParagraphParameters.C:
4475 * bufferview_funcs.C:
4481 * text3.C: replace "complicated" BufferView::update(...) calls with
4484 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4486 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4488 * Makefile.am (lyx_SOURCES): add paper.h
4490 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4492 * Makefile.am: move things around so that both lyx-qt and
4493 lyx-xforms can be built (according to --with-frontend). Then lyx
4494 is a symbolic link to lyx-[firstfrontend]
4496 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4498 * Always use std::endl with lyxerr
4500 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4502 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4504 2003-08-01 André Pönitz <poenitz@gmx.net>
4507 * BufferView_pimpl.[Ch]:
4509 * text3.C: merge BufferView::repaint() and BufferView::update()
4511 2003-08-01 José Matos <jamatos@lyx.org>
4513 * buffer.[Ch]: file_format is no longer a buffer data element.
4515 2003-08-01 André Pönitz <poenitz@gmx.net>
4520 * text2.C: make redoParagraph more independent of current cursor
4522 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4524 * text2.C: remove unneeded members
4526 2003-07-30 André Pönitz <poenitz@gmx.net>
4528 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4530 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4531 create a single function...
4533 * paragraph_funcs.C (moveItem): ... here.
4536 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4538 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4540 * LColor.[Ch]: Add comment and greyedout logical colors.
4542 2003-07-30 André Pönitz <poenitz@gmx.net>
4544 * tabular.C: don't use Assert too heavily. This crashes where it
4547 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4549 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4550 is disabled (bug 1232)
4552 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4554 * factory.C: limited 'arg' scope
4556 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4558 * factory.C: fixed Note submenu issues
4560 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4562 * factory.C: submenu for Note/Comment/Greyedout
4564 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4567 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4569 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4572 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4573 greyedout. Patch provided by Jürgen Spitzmüller.
4575 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4577 * kbmap.C (read): fix error message when reading bind files
4579 2003-07-29 Angus Leeming <leeming@lyx.org>
4581 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4582 certainly does not do what it purports to do. I am doing it, and
4583 us, a favour by killing it.
4585 2003-07-28 José Matos <jamatos@lyx.org>
4587 * buffer.C (readBody, do_writeFile):
4588 * paragraph.C(readParagraph): \end_document replaces \the_end.
4590 2003-07-29 André Pönitz <poenitz@gmx.net>
4593 * BufferView_pimpl.[Ch]:
4597 * textcursor.[Ch]: remove toggleToggle & Co
4599 2003-07-28 José Matos <jamatos@fep.up.pt>
4601 * buffer.C (readParagraph):
4602 * params_func (readParToken, readParagraph):
4603 * paragraph.C (write): \layout -> \begin_layout.
4605 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4607 * lyxlex_pimpl.C (setFile): clean up slightly.
4609 * bufferparams.h: add compressed var
4611 * buffer_funcs.C (readFile): adjust for LyXLex change
4612 (newFile): ditto + simplify
4614 * buffer.C (writeFile): handle writing of compressed files
4616 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4617 Check if the file is compressed and set a bufferparm if so.
4619 * Makefile.am (lyx_LDADD): remove explicit -lz
4621 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4623 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4624 makeDocBookFile): put the real LyX version in the first line of
4628 * version.C.in: remove lyx_docversion
4630 * tabular.C (write_attribute): add a template-based version to
4631 write enums properly
4633 2003-07-28 André Pönitz <poenitz@gmx.net>
4638 * text3.C: use doubles again for x-coordinates. They are needed.
4640 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4642 * messages.C (getLocaleDir): use lyx_localedir()
4644 * lyxlex_pimpl.C (setFile): compress stuff
4646 * buffer.C (writeFile): add some compression stuff
4647 (do_writeFile): new func, dont call expliti close... will this
4650 * Makefile.am (lyx_LDADD): add -lz
4652 2003-07-28 José Matos <jamatos@fep.up.pt>
4654 * buffer.C: increment file format.
4655 * paragraph_funcs (readParagraph, readParToken):
4656 * paragraph.C (readParagraph): add \end_layout.
4658 2003-07-27 Angus Leeming <leeming@lyx.org>
4660 * Makefile.am: remove special casing for configure-time setting of
4661 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4663 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4664 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4666 2003-07-26 André Pönitz <poenitz@gmx.net>
4668 * paragraph_func.[Ch]:
4669 * paragraph.C (realizeFont): inline it whereever it is used
4674 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4677 2003-07-26 André Pönitz <poenitz@gmx.net>
4681 * text2.C: get rid of LyXText::need_break_row
4683 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4685 * toc.[Ch]: put namespace toc inside namespace lyx
4687 * MenuBackend.C (expandToc2): adjust for lyx::toc
4690 * lyxfunc.C (dispatch): adjust for lyx::find
4692 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4693 lyx::find instead. Reorganize a bit.
4694 (LyXReplace): rename to replace
4695 (LyXFind): rename to find
4697 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4700 2003-07-26 André Pönitz <poenitz@gmx.net>
4702 * text.C (setHeightOfRow): restrict scope of temporary variable
4704 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4705 code (never has been used?)
4707 2003-07-27 Asger Alstrup <alstrup@local>
4709 * text.C (fill): Optimise algorithm to exploit that we can reuse
4710 the LyXFont for many characters.
4711 (setHeightOfRow): Same thing.
4712 (rowBreakPoint): Same thing.
4714 2003-07-26 Asger Alstrup <alstrup@local>
4716 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4718 * text.C (singleWidth): Spurious font copying in hot-spot
4719 singleWidth avoided. Reorder tests for arabic for efficiency.
4721 * text.C (fill): handle empty paragraphs better.
4723 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4726 * encoding.h: add includes
4728 * lyxrc.C: remove reading of bind files
4730 * lyx_main.C (init): setup bindings and menus only if we have a
4733 * kbmap.C (read): new method. Do the actual reading of bind
4736 * converter.C (dvipdfm_options):
4739 (output): adapt PAPER_* enums.
4741 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4743 * bufferparams.h: remove paper-related enums from there
4745 * paper.h: New file. A trivial header file to hold paper-related
4746 enums. It should later expand to contain many paper-related
4749 * lyxrc.C: declare extern displayTranslator
4751 2003-07-27 José Matos <jamatos@fep.up.pt>
4753 * tabular.[Ch] (linuxdoc): add support for tables and figures
4756 2003-07-27 José Matos <jamatos@fep.up.pt>
4758 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4759 consistency in both functions.
4760 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4762 2003-07-26 Asger Alstrup <alstrup@local>
4764 * rowpainter.C (paintRows): Change algorithm to work directly on
4765 the insets rather than asking every character in the document
4766 whether its an inset.
4768 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4770 * buffer.C (openFileWrite): factorize some code
4772 2003-07-26 Angus Leeming <leeming@lyx.org>
4775 * lyx_main.[Ch]: replace occurances of system_tempdir with
4778 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4780 * rename Inset to InsetOld
4782 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4784 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4785 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4786 which I think is a bit clearer. EDIT is gone, since it was
4787 premature optimisation, and broken for mathed anyway.
4788 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4789 with cursor positioning in insets as well (math insets still do not
4790 work, but that's a different story anyway.) It mysteriously
4791 crashes sometimes with undo in the first paragraph, but I'm fairly
4792 confident that this is a compiler bug.
4794 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * paragraph.C (Paragraph): adjust for new clone return type
4798 (copyIntoMinibuffer): ditto
4800 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4802 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4803 by not having a special case, and always doing a full rebreak of
4804 the document after undo.
4806 2003-07-23 Angus Leeming <leeming@lyx.org>
4808 * factory.C (createInset): InsetExternal::setParams now takes a
4811 2003-07-23 Angus Leeming <leeming@lyx.org>
4813 * factory.C (createInset): changed interface to the external and
4814 graphics mailers' string2params functions.
4816 2003-07-23 Angus Leeming <leeming@lyx.org>
4818 * factory.C (createInset): pass a
4819 Buffer const * parameter to InsetExternalMailer's string2params.
4821 2003-07-22 John Levon <levon@movementarian.org>
4823 * Thesaurus.h: include the right aiksaurus header
4825 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4827 * MenuBackend.C (expand): check menu shortcuts unconditionally
4829 2003-07-21 Angus Leeming <leeming@lyx.org>
4831 * factory.C (createInset): pass a
4832 buffer_path parameter to InsetGraphicsMailer's string2params.
4834 2003-07-21 Angus Leeming <leeming@lyx.org>
4836 * BufferView_pimpl.C (buffer):
4839 * lyxfunc.C (dispatch):
4840 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4841 rather than the grfx shortcut.
4843 2003-07-21 André Pönitz <poenitz@gmx.net>
4845 * rowpainter.C: remove unused variables
4848 * tabular_funcs.h: move to tabular.C
4849 * Makefile.am: adjust
4851 * tabular.[Ch]: basic optical cleaning
4853 * author.h: pass references, not values
4855 2003-07-18 André Pönitz <poenitz@gmx.net>
4863 * text3.C: two-phase drawing for InsetText and InsetTabular
4864 some float -> int changes.
4866 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4868 * lyx_main.C: fix the fix
4870 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4872 * lyx_main.C: fix a crash in batch mode if no files specified
4875 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4877 * format.[Ch] (papersize): moved to BufferParams
4878 * converter.[Ch] (dvips_options): moved to BufferParams
4879 (dvipdfm_options): moved to anon namespace
4880 * bufferparams.[Ch]: added above functions.
4882 2003-07-17 André Pönitz <poenitz@gmx.net>
4886 * text2.C: don't call inset->update() anymore
4888 * metricsinfo.[Ch]: add convenience constructor
4890 2003-07-16 André Pönitz <poenitz@gmx.net>
4895 * text2.C: replace the LyXCursor::irow_ member with
4896 on-demand computation of the value
4898 2003-07-16 John Levon <levon@movementarian.org>
4900 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4902 2003-07-15 André Pönitz <poenitz@gmx.net>
4905 * text2.C: remove no more needed refresh_row
4907 2003-07-15 André Pönitz <poenitz@gmx.net>
4912 * text3.C: refresh_status tristate -> need_update bool
4914 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4916 * lyxtext.h (init): remove reinit argument (act as if always true)
4917 * text2.C: adjust to that
4919 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4921 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4922 * text3.C: use it to delete selections in some cases
4923 (bugs 441, 673, 702, 954).
4925 2003-07-14 André Pönitz <poenitz@gmx.net>
4927 * rowpainter.[Ch]: reduce interface
4929 2003-07-14 André Pönitz <poenitz@gmx.net>
4931 * BufferView_pimpl.C:
4932 * text2.C: adjust after removing unused BufferView * argument
4934 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4936 * text2.C (init): fix a crash fired on resize
4938 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4940 * buffer.[Ch]: added new closing signal
4941 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4942 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4943 BufferView::Pimpl via the closing the signal
4945 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4947 * buffer.[Ch]: take out all bv-related from buffer
4949 * BufferView_pimpl.[Ch]: connect to new signals
4950 * CutAndPaste.C: removed useless asserts
4951 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4954 * lyxfunc.C: moved view-related funciontality from vc here
4955 * paragraph.C: removed outdated comments
4958 2003-07-10 André Pönitz <poenitz@gmx.net>
4960 * BufferView_pimpl.C:
4964 * text2.C: remove InsetText::InnerCache, clean up consequences
4966 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4968 * ispell.C: fix two typos in error messages
4970 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4972 * Extend Note inset to other forms of annotation like Comment
4973 and Greyedout. Right button click gives dialog.
4975 Files modified or added (+):
4979 * ControlNote.[Ch] +
4981 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4982 frontends/controllers
4986 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4988 * aspell.C: add missing namespace lyx::support
4990 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4992 * BufferView.[Ch] (newFile): Add
4993 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4994 * LaTeX.[Ch] (message): added this signal and use it
4995 * buffer.[Ch] (busy, message): added these signals and use them
4996 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5000 * importer.C: use buffer signals instead of direct bv calling
5001 * lyx_cb.[Ch] (ShowMessage): removed
5004 * paragraph_funcs.C:
5005 * text2.C: use buffer signals
5007 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5009 * introduce namespace lyx::graphics
5011 2003-07-02 André Pönitz <poenitz@gmx.net>
5013 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5015 2003-07-01 André Pönitz <poenitz@gmx.net>
5022 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5023 text*.C to text_func.C
5025 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5027 * introduce namespace lyx::support
5029 2003-06-30 André Pönitz <poenitz@gmx.net>
5034 * text.C: re-enable --with-included-string
5036 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5038 * textcursor.C: add <config.h>
5040 * text.C (getWord): remove const from word_location arg
5042 * lyxvc.C (getLogFile): fix const type order
5044 * lyxtext.h: remove const from word_location arg, add arg name
5046 * lyxlayout.h: currect type on labeltype.
5048 * importer.C: correct \file
5050 * converter.C (intToFormat): use std:: on ret val, ws changes
5052 * bufferlist.h: correct \file
5054 * buffer.C (makeLinuxDocFile): fix const type order
5055 (makeDocBookFile): ditto
5056 (fillWithBibKeys): use std:: on stdlib args.
5058 * CutAndPaste.C: fix authors.
5059 (availableSelections): use std:: on return vector
5061 2003-06-27 André Pönitz <poenitz@gmx.net>
5063 * BufferView_pimpl.C:
5064 * bufferview_funcs.C:
5072 * text3.C: remove LyXCursor::row_ member
5075 * text.C: rename fullRebreak() to partialRebreak() and implement
5076 a fullRebreak() that really bereks fully
5078 * textcursor.h: new struct for cursor-related data
5080 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5082 * lyx_main.C (LyX): get full path of document loaded on the
5085 2003-06-26 André Pönitz <poenitz@gmx.net>
5087 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5088 remove unused/broken operator>,<,>=.
5090 * text.C: remove only use of broken operator<= in an Assert().
5092 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5094 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5095 moved errorlist_.clear to showErrorList
5097 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5099 * converter.C (scanLog, runLaTeX):
5100 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5101 move the bv->showErrorList call to the callers
5102 * lyxfunc.C: i.e. here...
5104 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5105 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5106 namespace, the second to...
5107 * buffer_funcs (BufferFormat, parseErrors): added
5108 * errorlist.C (ErrorList(TeXErrors const &)): removed
5110 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5112 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5114 2003-06-24 "Garst R. Reese" <reese@isn.net>
5118 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5120 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5122 * version.C.in: change docversion to 1.4
5124 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5126 * buffer.C: fix a bug just introduced
5128 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5130 * buffer.[Ch]: added the parseError signal and use it, removed
5132 * BufferView.[Ch] (addError): moved to ...
5133 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5134 to the Buffer::parseError signal to catch (guess what) parse errors
5135 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5137 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5139 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5140 ability to create a buffer and to return an existing one from
5141 the list. Moved these functions to...
5142 * buffer_funcs.[Ch]: added
5143 * BufferView.[Ch] (loadLyXFile): added
5144 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5145 job removed from bufferlist::loadLyXFile.
5146 * buffer.C (setReadOnly): make it work without view
5147 (i.e added an if (users))
5149 2003-06-19 Angus Leeming <leeming@lyx.org>
5152 * LyXAction.C (init):
5153 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5154 with LFUN_DIALOG_SHOW <name> <data>.
5156 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5158 * CutAndPaste.C (availableSelections): small compilation fix for
5159 ancient (gcc 2.9x) compilers
5161 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5163 * text3.C (cursorNext): add tmp var
5165 * text2.C (updateCounters): for function calling out of for clause
5166 (replaceSelectionWithString): ditto
5167 (insertStringAsParagraphs): ditto
5168 (getColumnNearX): add tmp var
5169 (setCursorFromCoordinates): add tmp var
5170 (cursorDownParagraph): add tmp var
5171 (deleteEmptyParagraphMechanism): add tmp var
5173 * text.C (insertChar): add tmp var
5175 * rowpainter.C (paintDepthBar): add tmp var
5177 * CutAndPaste.C (availableSelections): potentially check all
5178 paragraphs in a cut to fill the shown strings.
5180 2003-06-18 André Pönitz <poenitz@gmx.net>
5182 * kbmap.[Ch]: use vector<> instead of list<>
5184 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5186 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5187 pasteSelection with index
5189 * text2.C (pasteSelection): modify, call pasteSelection with index
5191 * paragraph.C (asString): reimplement version with no interval to
5192 call the one with interval.
5194 * lyxtext.h: add index arg to pasteSelection
5196 * MenuBackend.C (MenuItem): handle PasteRecent
5197 (Menu::read::Menutags): add md_pasterecent
5199 (expandPasteRecent): new function
5202 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5204 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5206 (availableSelections): new function
5208 2003-06-17 Angus Leeming <leeming@lyx.org>
5210 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5212 2003-06-17 Angus Leeming <leeming@lyx.org>
5215 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5217 * lyxfunc.C (dispatch): invoke it.
5219 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5221 * iterators.C (operator++, ParPosition): reintroduce some
5222 const_cast for the benefit of older compilers.
5224 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5226 * text3.C (dispatch): do not modify clipboard when doing
5227 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5228 LFUN_DELETE_SKIP on a selection selection
5230 2003-06-16 André Pönitz <poenitz@gmx.net>
5236 * tabular.[Ch]: IU of clone() and getLabelList();
5238 2003-06-13 André Pönitz <poenitz@gmx.net>
5240 * tabular.h: compactification
5242 2003-06-12 André Pönitz <poenitz@gmx.net>
5246 * tabular_funcs.h: some renaming plus whitespace
5248 2003-06-12 André Pönitz <poenitz@gmx.net>
5251 * BufferView_pimpl.C:
5257 * toc.C: Return a Paragraph & for ParIterator::operator*()
5259 2003-06-11 John Levon <levon@movementarian.org>
5263 * ToolbarBackend.C: add "Toolbars" section and
5266 2003-06-10 Angus Leeming <leeming@lyx.org>
5269 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5271 * lyxfunc.C (dispatch): invoke it.
5273 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * main.C: protect <ios> with HAVE_IOS
5276 (main): protect sync_with_stdio with HAVE_IOS
5278 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5280 * text2.C (cutSelection): adjust
5281 (pasteSelection): adjust
5283 * messages.C: handle get of empty string
5285 * main.C (main): use sync_with_stdio(false)
5287 * lyxfunc.C (dispatch): adjust
5289 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5290 (WriteAs): remove unneeded BufferView arg.
5292 * bufferparams.h: use correct types on papersize, papersize2 and
5295 * bufferparams.C (readToken): adjust for type
5296 (writeLaTeX): add missing cases to switch.
5298 * bufferlist.C (quitWriteBuffer): adjust
5301 * buffer.C (asciiParagraph): remove some commented code.
5303 * CutAndPaste.C: remove current_view extern variable.
5304 (cutSelection): add BufferParams arg.
5305 (eraseSelection): add BufferParams arg.
5306 (pasteSelection): add Buffer const & arg
5308 2003-06-07 John Levon <levon@movementarian.org>
5311 * paragraph_funcs.C:
5312 * paragraph_pimpl.C:
5316 * paragraph.C: allow InsetERT to freely space lines,
5317 and some consolidation of code
5319 2003-06-06 José Matos <jamatos@fep.up.pt>
5321 * buffer.C (makeDocBookFile): fix bug #821
5323 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5325 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5327 2003-06-04 Angus Leeming <leeming@lyx.org>
5329 * buffer.C: bump format to 224.
5331 2003-06-05 André Pönitz <poenitz@gmx.net>
5333 * text2.C (redoParagraphs): remove two const_cast<>
5335 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5337 * ParagraphList.h: remove last remnants of NO_STD_LIST
5339 2003-06-03 Angus Leeming <leeming@lyx.org>
5341 * factory.C (createInset): small change to the way InsetExternal's params
5344 2003-06-04 André Pönitz <poenitz@gmx.net>
5346 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5348 * paragraph_pimpl.h:
5349 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5351 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5353 * undo_funcs.C: make some simple cases of undo work again
5355 2003-06-03 John Levon <levon@movementarian.org>
5357 * ispell.C: HPUX doesn't have sys/select.h
5360 2003-06-03 John Levon <levon@movementarian.org>
5362 * CutAndPaste.C: update tabular and include inset
5367 * paragraph.C: remove owningBuffer(), don't pass Buffer
5370 * factory.C: insetGraphicsParams changed
5372 2003-06-02 John Levon <levon@movementarian.org>
5378 * text3.C: remove insetparent
5380 2003-06-02 John Levon <levon@movementarian.org>
5383 * buffer.C: fix inset_iterator.end(), move out of line
5386 2003-06-01 John Levon <levon@movementarian.org>
5388 * text3.C: use a proper cut/paste when doing inset
5389 insert (from Jürgen Spitzmüller)
5391 2003-06-01 John Levon <levon@movementarian.org>
5393 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5395 2003-05-30 André Pönitz <poenitz@gmx.net>
5397 * rowpainter.C: unify second drawing phase
5399 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5401 * trans_mgr.C: remove one case of current_view
5403 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5405 * paragraph_funcs.h: remove paragraph.h include
5407 * paragraph.h: delete NO_STD_LIST stuff
5409 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5411 * buffer.h: remove paragraph.h include
5413 * ParagraphList.C: delete file
5415 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5417 * toc.C (getTocList): adjust
5419 * paragraph_pimpl.C (validate): adjust
5421 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5423 * paragraph.C (Paragraph): adjust
5424 (getPositionOfInset): use const_iterator, adjust
5425 (bibitem): use const_iterator, adjust
5426 (setInsetOwner): adjust
5428 * iterators.C (operator++): adjust
5430 * InsetList.[Ch]: Replace selfmade iterator with standard
5431 vector::iterator also introduce const_iterator. Remove getPos,
5432 getInset and setInset from InsetTable. Adjust accordingly.
5434 * BufferView.C (lockInset): adjust
5435 (ChangeInsets): adjust
5437 * tabular.[Ch]: delete commented same_id functions
5439 2003-05-28 John Levon <levon@movementarian.org>
5441 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5443 2003-05-28 André Pönitz <poenitz@gmx.net>
5445 * metricsinfo.[Ch]: remove 'fullredraw' member
5447 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5449 * lyxtextclass.C (operator): remove caching.
5451 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5455 * text2.C (cursorBottom): adjust
5456 (setCounter): use ParagraphList::find, adjust
5458 * text.C (workWidth): use ParagraphList::find, adjust
5460 * lyxcursor.C (LyXCursor): adjust
5462 * buffer.C (inset_iterator): adjust
5464 * ParagraphList.h: make iterator(value_type) private, make
5465 ParagraphList a friend of iterator.
5467 * ParagraphList.C (find): new function
5469 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5471 2003-05-27 André Pönitz <poenitz@gmx.net>
5473 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5475 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5477 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5479 2003-05-26 John Levon <levon@movementarian.org>
5481 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5483 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5485 * remove same_id from function signatures, adjust.
5487 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5489 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5491 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5493 * paragraph.C (Paragraph): get rid of same_ids parameter
5495 * ParagraphList.C (insert): adjust
5498 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5500 * paragraph_funcs.C (breakParagraph): adjust
5501 (breakParagraphConservative): adjust
5503 * buffer.C (readParagraph): adjust
5505 * ParagraphList.C (insert): take a reference instead of a pointer
5508 * paragraph.[Ch] (id): new function
5510 * bufferlist.C (newFile): adjust
5512 * ParagraphList.C (ParagraphList): adjust
5514 (push_back): take a reference instead of a pointer.
5516 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5518 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5521 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5522 set else use old code.
5524 * ParagraphList.C: remove all NO_NEXT code and only compile this
5525 code of NO_STD_LIST is set.
5527 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5529 * BufferView_pimpl.C:
5539 * graphics/GraphicsConverter.C:
5540 * graphics/PreviewLoader.C: header adjustment
5542 2003-05-23 Angus Leeming <leeming@lyx.org>
5544 * LaTeXFeatures.[Ch] (useBabel): new method.
5545 * bufferparams.C (writeLaTeX): use it.
5547 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5549 * ParagraphList.h (set): remove unused function.
5551 2003-05-23 André Pönitz <poenitz@gmx.net>
5554 * BufferView_pimpl.C:
5558 * undo_funcs.C: setUndo reworked
5560 * iterators.[Ch]: add access to topmost ParagraphList
5562 * lyxtext.[Ch] (workWidth): add a const
5564 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5566 * texrow.[Ch] (increasePos): remove function
5567 * exporter.C (export): removed unused var and outdated comment
5569 2003-05-23 Angus Leeming <leeming@lyx.org>
5571 * latexrunparams.h: rename fragile as moving_arg.
5572 * paragraph.C (simpleTeXOnePar): ditto.
5573 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5575 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5579 (textUndoOrRedo): comment out a currently unused var.
5581 * paragraph.h (NO_NEXT): enable NO_NEXT
5583 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5585 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5587 * exporter.C (Export): adjust for removeAutoInsets removal.
5589 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5591 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5593 * BufferView.[Ch] (removeAutoInsets): delete function
5595 2003-05-22 Angus Leeming <leeming@lyx.org>
5597 * latexrunparams.h: add a free_spacing variable.
5599 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5600 to pass moving_arg, as the data is stored in runparams.fragile.
5602 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5603 to Inset::latexOptional or to simpleTeXOnePar.
5605 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5606 free_spacing arg to Inset::latexOptional.
5608 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5611 2003-05-22 Angus Leeming <leeming@lyx.org>
5613 * latexrunparams.h: add fragile and use_babel variables.
5615 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5616 * buffer.C (makeLaTeXFile): store this returned value in
5617 runparams.use_babel, thus passing it to the inset::latex methods.
5619 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5620 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5622 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5623 longer has a fragile arg, as it is stored in runparams.fragile.
5625 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5626 moving_arg parameter as the data is stored in runparams.fragile.
5628 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5629 a fragile parameter as the data is stored in runparams.fragile.
5631 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5633 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5635 2003-05-22 Angus Leeming <leeming@lyx.org>
5637 * latexrunparams.h: add a 'bool nice' which defaults to false.
5639 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5640 now encapsulated within runparams.
5642 * bufferlist.C (updateIncludedTeXfiles):
5643 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5645 2003-05-22 Angus Leeming <leeming@lyx.org>
5647 * latexrunparams.h: new file containing struct LatexRunParams.
5648 * Makefile.am: add new file.
5650 * LaTeX.[Ch] (c-tor, run):
5651 * buffer.[Ch] (makeLaTeXFile):
5652 * bufferlist.[Ch] (updateIncludedTeXfiles):
5653 * converter.C (convert, scanLog):
5654 * converter.[Ch] (runLaTeX):
5655 * exporter.C (Export):
5656 * paragraph.[Ch] (simpleTeXOnePar):
5657 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5658 * paragraph_funcs.[Ch] (latexParagraphs):
5659 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5660 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5661 pass around a LatexRunParams parameter.
5663 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5665 * paragraph.[Ch]: remove unused constructor
5667 * ParagraphList.C (erase): new function, taking two iterators
5669 2003-05-22 André Pönitz <poenitz@gmx.net>
5671 * undo_funcs.C: remove duplicated code
5673 * iterator.[Ch]: operator=
5675 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * tabular.C (SetMultiColumn): ws changes
5679 * rowpainter.C (paintFirst): get rid of a ->previous
5681 * lyx_cb.C (getPossibleLabel): parlist simplification
5683 * BufferView.C (ChangeInsets): simplify slightly.
5685 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5687 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5688 * lfuns.h: new LFUN_SPACE
5689 * lyxfunc.C: protected space has a new lfun
5690 * paragraph_funcs.C: read new space insets
5692 * factory.C: handle new space insets
5694 2003-05-22 André Pönitz <poenitz@gmx.net>
5697 * BufferView_pimpl.C:
5700 * undo_funcs.C: return a ParIterator from getParFromID.
5702 * iterators.[Ch]: add two const's
5704 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * toc.C (getTocList): adjust
5708 * iterators.[Ch]: rework for parlist
5710 * buffer.C (par_iterator_begin): adjust
5711 (par_iterator_end): adjust
5713 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5715 * BufferView.C (removeAutoInsets): adjust
5716 (ChangeInsets): adjust
5718 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5720 * text.C (top_y): fix bug 1110
5722 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5724 * errorlist.[Ch]: added
5727 * BufferView_pimpl.C:
5728 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5731 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5733 * Makefile.am: ensure that lyx is relinked upon changes to the
5734 various "convenience" libs.
5736 2003-05-20 Angus Leeming <leeming@lyx.org>
5738 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5739 files are compiled in alphabetical order again.
5741 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5743 2003-05-19 Angus Leeming <leeming@lyx.org>
5745 * gettext.[Ch]: remove "char const * _(char const *)".
5747 2003-05-19 André Pönitz <poenitz@gmx.net>
5749 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5758 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5760 2003-05-19 André Pönitz <poenitz@gmx.net>
5764 * lyxtextclass.[Ch]:
5766 * paragraph_funcs.[Ch]:
5768 * text3.C: more insetenv work
5770 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5772 * ParagraphParameters.C (params2string): small bug fixed
5774 2003-05-16 André Pönitz <poenitz@gmx.net>
5777 * bufferview_funcs.C: patch from Kornel Benko to prevent
5778 crash when _(...) is called twice in a statement
5780 2003-05-16 André Pönitz <poenitz@gmx.net>
5787 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5789 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5791 * lyx_main.C (init): remove spurious static_cast
5793 2003-05-14 André Pönitz <poenitz@gmx.net>
5795 * BufferView.C: fix format string
5797 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5799 * BufferView.[Ch] (insertErrors): removed
5800 * BufferView.[Ch] (showErrorList): added
5801 * buffer.C (runChkTeX):
5802 * converter.C (scanLog): call showErrorList instead of inserterrors
5804 2003-05-13 André Pönitz <poenitz@gmx.net>
5806 * BufferView_pimpl.C:
5808 * bufferview_func.C:
5815 * tabular_funcs.h: tostr() from its own header
5817 * ParagraphParameters.C:
5822 * text3.C: STRCONV()
5824 2003-05-12 André Pönitz <poenitz@gmx.net>
5827 * BufferView_pimpl.C:
5831 * ParagraphParameters.C:
5835 * bufferview_funcs.C:
5848 * paragraph_funcs.C:
5852 * text3.C: boost::format -> bformat all over the place
5855 2003-05-09 André Pönitz <poenitz@gmx.net>
5857 * LColor.[Ch]: Pimpl the #include <map> away
5859 2003-05-09 John Levon <levon@movementarian.org>
5861 * bufferlist.C: never remove emergency saves
5863 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5865 * Makefile.am: better lib building
5867 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5869 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5871 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5872 (simpleTeXSpecialChars): adjust
5873 (simpleTeXSpecialChars): adjust
5874 * paragraph.C (simpleTeXOnePar): adjust
5875 * buffer.C (makeLaTeXFile): adjust
5877 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5879 * text2.C (changeDepth): parlist cleanup
5880 (getColumnNearX): ditto
5882 * rowpainter.C (getLabelFont): parlist cleanup
5884 * bufferlist.C (newFile): parlist cleanup
5886 * CutAndPaste.C (eraseSelection): parlist cleanup
5888 * BufferView_pimpl.C (trackChanges): parlist cleanup
5891 * BufferView.C (lockInset): parlist cleanup.
5892 (ChangeInsets): ditto
5894 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5896 * CutAndPaste.h: Update file header.
5898 * CutAndPaste.C: Update file header.
5899 Store the parts cut out of the Document in a limited_stack.
5900 (copySelection): adjust
5901 (pasteSelection): new function, takes the index in the limited stack.
5902 (nrOfParagraphs): adjust
5903 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5904 simplify error inset insertion.
5905 (checkPastePossible): adjust
5907 2003-05-06 John Levon <levon@movementarian.org>
5909 * text2.C: don't cast wrap inset to float
5911 2003-05-05 André Pönitz <poenitz@gmx.net>
5914 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5916 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5917 few naked Paragraph *.
5919 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5921 * bufferparams.C: Output warning if a document with missing
5922 TeX document class is loaded
5923 * exporter.C: Disable TeX exports if the document class is missing
5926 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5927 isTeXClassAvailable()
5929 2003-05-03 John Levon <levon@movementarian.org>
5932 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5933 explicit cursor show/hide
5935 * BufferView_pimpl.h:
5936 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5937 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5939 * lyxfunc.C: hide cursor before dispatching.
5944 * text3.C: remove explicit cursor hides
5946 2003-05-02 André Pönitz <poenitz@gmx.net>
5948 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5951 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5954 * text2.C: tiny whitespace
5956 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5958 * undo_funcs.C: almost only ws changes.
5960 * ParagraphList.C (splice): just return if pl is empty.
5962 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5964 * ParagraphList.C (splice): new function.
5966 * CutAndPaste.C (pasteSelection): use it
5968 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5970 * CutAndPaste.C (pasteSelection): remove the last next and
5971 previous from this file.
5973 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5975 * CutAndPaste.C (pasteSelection): more clean up, user proper
5976 ParagraphList functions for pasteing.
5978 * ParagraphList.C (insert): new function, three arg insert
5980 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5982 * ParagraphList.C (insert): new function, three arg insert
5984 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5987 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5989 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5991 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5993 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5995 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5997 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5998 (copySelection): clean up a bit.
5999 (pasteSelection): use make_pair
6001 * ParagraphList.C (ParagraphList): implement copy constructor
6002 (operator=): implement, base on copy constructor.
6005 * paragraph.C (erase): return a bool
6007 * paragraph_pimpl.C (erasePos): remove function, move contents...
6008 (erase): ... here. Return a bool.
6009 (erase): call erase instead of erasePos.
6011 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6013 * ParagraphList.h: define PitPosPair
6014 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6015 ParagraphList, fix a bug on pasting multiple pars
6016 * text2.C: change interface to C&P
6018 2003-04-30 André Pönitz <poenitz@gmx.net>
6020 * undo_func.C: revert part of yesterday's patch 2
6022 2003-04-30 John Levon <levon@movementarian.org>
6024 * LColor.C: s/tabular/table/
6026 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6028 * text3.C (dispatch): do not convert iterator -> pointer
6029 * undo_funcs.C (setCursorParUndo): ditto
6030 * text_funcs.C (transposeChars): ditto
6032 * text2.C (setLayout): ws changes only
6034 * text.C (breakParagraph): do not convert iterator -> pointer
6036 (acceptChange): ditto
6037 (rejectChange): ditto
6042 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6045 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6047 * text3.C (gotoInset): YABG (yet another bad getChar)
6049 2003-04-29 André Pönitz <poenitz@gmx.net>
6051 * paragraph.h: make operator= private unimplemented as long as
6054 * ParagraphList.C: whitespace
6057 * paragraph_pimpl.[Ch]:
6058 * paragraph_funcs.C:
6060 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6063 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6065 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6067 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6068 * paragraph.[Ch] (erase):
6069 * paragraph_pimpl.[Ch] (erase): change return type and value
6070 * text2.C (cutSelection): some rework
6072 2003-04-28 John Levon <levon@movementarian.org>
6074 * bufferlist.C: changes for unsaved changes dialog
6076 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6078 * bufferlist.C (newFile): set language (messages_) for new
6081 * buffer.C (readFile): ws changes only.
6083 2003-04-28 André Pönitz <poenitz@gmx.net>
6088 * BufferView_pimpl.C:
6089 * BufferView.C: getParFromID related ParagraphList::iterator changes
6091 2003-04-28 André Pönitz <poenitz@gmx.net>
6093 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6096 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6098 * messages.C: remove one more localedir class variable.
6100 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6102 * messages.C (getLocaleDir): singleton generation function
6104 (Messages): add a default constructor.
6106 * main.C (main): do not setup localedir here, do not call
6109 * gettext.C (_): use it.
6110 (gettext_init): delete funciton
6112 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6114 * gettext.C (getLyXMessages): new singleton generating function.
6116 * buffer.C (updateDocLang): adjust
6118 * Makefile.am (messages.o): add target
6119 (main.o): remove target
6121 2003-04-27 John Levon <levon@movementarian.org>
6126 * lyxvc.C: specify cancel button in Alert::prompt
6128 2003-04-26 John Levon <levon@movementarian.org>
6133 * LyXAction.C: add LFUN_INSET_SETTINGS
6135 * lyxfunc.C: don't enable tabular-feature when there's
6136 just any locking inset
6138 2003-04-26 John Levon <levon@movementarian.org>
6140 * bufferlist.C: re-add Cancel to buffer close question
6142 * lyxfunc.C: fix import UI a bit
6144 2003-04-25 John Levon <levon@movementarian.org>
6146 * gettext.C: remove the broken asserts for now
6148 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6150 * messages.C: make case where setlocale cannot comply work better.
6152 * buffer.C (updateDocLang): new function
6153 (changeLanguage): use it
6156 * text2.C (setCounter): use B_ a bit.
6158 * lyxlayout.C (Read): be sure to trim the label strings.
6160 * messages.C (Messages): fix typo in comment
6162 * buffer.C (readFile): set message_ after file is loaded.
6163 (makeDocBookFile): remove double return
6164 (changeLanguage): reset message_ upon language change.
6165 (B_): new func, use this to get translated buffer strings.
6167 * main.C: add myself and Jean Marc as authors.
6169 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6171 * messages.[hC]: pimplify Messages, and three different pimpls to be
6172 used in different circumstances.
6174 * gettext.[Ch]: change for use with new message code.
6176 2003-04-24 André Pönitz <poenitz@gmx.net>
6178 * factory.C: support for eqref
6180 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6182 * messages.[Ch]: add missing char
6184 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6186 * messages.[Ch]: New files
6188 2003-04-18 John Levon <levon@movementarian.org>
6192 * BufferView_pimpl.C:
6196 * text2.C: remove layout-copy/paste (bug 778)
6198 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6200 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6202 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6204 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6205 if they succeed. Act accordingly.
6207 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6209 * text2.C (setCharFont): adjust
6210 (setCounter): adjust
6211 (insertStringAsLines): adjust
6213 * text.C (leftMargin): adjust
6214 (setHeightOfRow): adjust
6216 * rowpainter.C (paintFirst): adjust
6219 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6221 (isFirstInSequence): ditto
6222 (getEndLabel): ditto
6225 * paragraph.C (getParLanguage): comment out some hard stuff.
6227 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6229 (simpleDocBookOnePar): ditto
6230 (makeDocBookFile): use ParagraphList::iterator
6232 * CutAndPaste.C (pasteSelection): adjust
6234 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6236 * text2.C (getFont): adjust
6237 (getLayoutFont): adjust
6238 (getLabelFont): adjust
6240 * paragraph_funcs.C (TeXOnePar): adjust
6242 * buffer.C (simpleLinuxDocOnePar): adjust
6243 (simpleDocBookOnePar): adjust
6245 * CutAndPaste.C (pasteSelection): adjust
6247 * BufferView.C (getEncoding): adjust
6249 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6251 2003-04-16 John Levon <levon@movementarian.org>
6253 * lyxfind.C: use parlist stuff for search/changes
6255 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6257 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6259 * text2.C (deleteEmptyParagraphMechanism): adjust
6261 * text2.[Ch] (ownerParagraph): delete func (both of them
6263 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6265 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6267 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * ParagraphList.C: prepare for NO_NEXT
6271 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6273 * text2.C (getFont): adjust
6274 (getLayoutFont): adjust
6275 (getLabelFont): adjust
6277 * paragraph.C (getFont): adjust
6278 (getLabelFont): adjust
6279 (getLayoutFont): adjust
6281 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6283 2003-04-15 John Levon <levon@movementarian.org>
6287 * lyx_main.C: handle Include in .ui files
6289 2003-04-15 John Levon <levon@movementarian.org>
6291 * MenuBackend.C: make the doc files length shorter
6294 * ToolbarBackend.C: handle toolbar placement flags,
6297 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6299 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6302 * paragraph_funcs.C (TeXOnePar): adjust
6304 * paragraph.C (getLabelFont): add outerfont arg, adjust
6305 (getLayoutFont): ditto
6306 (simpleTeXOnePar): adjust
6308 * paragraph_pimpl.C (realizeFont): delete func
6310 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6312 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6313 row argument, constify cur argument.
6315 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6317 * text2.C (getFont): adjust
6318 (getLayoutFont): adjust
6319 (getLabelFont): adjust
6321 * paragraph_funcs.C (TeXOnePar): adjust
6322 (outerFont): new func...
6323 (realizeFont): ...moved out from here, changed this to facilitate
6326 * paragraph.C (getFont): take outerfont as arg, adjust
6327 (simpleTeXOnePar): add outerfont arg, adjust
6329 * buffer.C (simpleLinuxDocOnePar): adjust
6330 (simpleDocBookOnePar): adjust
6332 * CutAndPaste.C (pasteSelection): adjust
6334 * BufferView.C (getEncoding): adjust
6336 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6338 * text2.C (setCharFont): adjust
6339 (setCounter): adjust
6341 * text.C (leftMargin): adjust
6342 (setHeightOfRow): adjust
6344 * rowpainter.C (paintFirst): adjust
6347 * paragraph_pimpl.C (realizeFont): adjust
6349 * paragraph.C (isFirstInSequence): move from here...
6350 * paragraph_funcs.C (isFirstInSequence): ...to here
6352 * paragraph.C (outerHook): move from here...
6353 * paragraph_funcs.C (outerHook): ...to here
6355 * paragraph.C (depthHook): move from here...
6356 * paragraph_funcs.C (depthHook): ...to here
6358 * paragraph.C (getEndLabel): move from here...
6359 * paragraph_funcs.C (getEndLabel): ...to here
6361 * text2.C (realizeFont): move from here...
6362 * paragraph_funcs.C (realizeFont): ...to here
6364 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6366 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6368 2003-04-14 Angus Leeming <leeming@lyx.org>
6370 * LColor.[Ch]: scrap LColor mathcursor.
6372 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6374 * lyxlex.[Ch] (text): delete function
6375 * trans.C (Load): adjust
6376 * paragraph_funcs.C (readParToken): adjust
6378 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6380 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6381 vector<char> instead of a char[].
6383 * lyxlex_pimpl.C (getString): adjust
6385 (lex): use getString
6389 * lyxlex.C (text): use pimpl_->getString()
6393 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6395 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6396 (makeFontEntriesLayoutSpecific): temp var for par.size()
6397 (setLayout): temp var for ownerParagraphs().end()
6398 (fullRebreak): temp var for rows().end()
6399 (selectionAsString): temp var for boost::next(startpit), realize
6400 that the while really is a regular for loop.
6401 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6402 setCursor in one place.
6403 (setParagraph): temp vr for ownerParagraphs().end()
6404 (updateCounters): make the while loop a for loop
6405 (cutSelection): temp var for ownerParagraphs().end()
6406 (updateInset): make the do {} while() a regular for loop
6407 (getCursorX): use temp vars
6408 (setCurrentFont): use temp vars
6409 (getColumnNearX): use temp vars
6411 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6413 * text.C (transformChar): use temp var for getChar
6414 (computeBidiTables): use temp var for row->par()
6415 (fill): move temp vars for row->par() and pit->layout() earlier in
6417 (labelFill): use temp var for row->par()
6418 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6419 asc and desc, realize that pit never changes and that firstpit is
6420 just a duplicate and not needed. Exchange rit->par() with pit in a
6422 (breakAgain): use a temp var for boost::next(rit)
6423 (breakAgainOneRow): ditto
6424 (breakParagraph): use a temp var for rows().begin()
6425 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6426 (cursorRightOneWord): use temp var for cursor.par() and
6427 cursor.pos(), remove usage of tmpcursor.
6428 (cursorLeftOneWord): use temp var for cursor.par() and
6429 cursor.pos() only set cur at end of function.
6431 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6433 * text.C, text2.C: exchange all usage of Paragraph::next with
6434 boost::next(ParagraphList::iterator)
6436 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6438 * text2.C (cursorTop): simplify implementation
6439 (cursorBottom): ditto
6440 (setParagraph): use ParagraphList::iterator
6441 (setCurrentFont): adjust
6442 (getColumnNearX): adjust
6443 (cursorRight): adjust
6444 (cursorLeft): remove usage of Paragraph::previous
6445 (cursorUpParagraph): ditto
6446 (deleteEmptyParagraphMechanism): slight cleanup
6448 * text.C (isBoundary): take a Paragraph const & instead of a
6450 (addressBreakPoint): ditto
6451 (leftMargin): remove usage of Paragraph::previous.
6452 (setHeightOfRow): ditto
6453 (cursorLeftOneWord): ditto
6454 (selectNextWordToSpellcheck): ditto
6457 (breakParagraph): remove one usage of Paragraph::next
6458 (redoParagraph): ditto
6459 (acceptChange): ditto
6460 (insertChar): adjust
6461 (rowBreakPoint): adjust
6463 * bufferview_funcs.C (toggleAndShow): adjust
6465 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6467 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6468 methods to access it.
6470 * text.C: Added updateRowPositions to compute all row positions.
6471 Make top_y and getRowNearY() to use the cached y position
6473 2003-04-11 John Levon <levon@movementarian.org>
6475 * text.C (rowBreakPoint): reintroduce the labelEnd
6476 checks, code copied from the row fill stuff. Deep voodoo.
6478 * text.C (fill): add a comment and debugging for the
6481 2003-04-11 John Levon <levon@movementarian.org>
6483 * text.C: make sure fullrow insets get wrapped to the next line,
6484 even when they're in a manual label
6486 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6488 * text2.C (insertParagraph): make it take ParagraphList::iterator
6490 (setLayout): make it return ParagraphList::iterator
6491 (redoParagraphs): ditto
6493 (checkParagraph): ditto
6495 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6497 * text2.C: adjust several funcs.
6498 (realizeFont): take a ParagraphList::iterator as arg.
6499 (getLayoutFont): ditto
6500 (getLabelFont): ditto
6501 (setCharFont): ditto
6503 * text.C: adjust several funcs.
6505 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6507 * text.C (selectNextWordToSpellcheck): don't accidentally
6510 2003-04-10 John Levon <levon@movementarian.org>
6512 * ToolbarBackend.C (getIcon): special handling for
6515 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6517 * text2.C (cursorRight): a getChar assert fixed
6519 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6521 * text2.C (getFont): change to take a ParagraphList::iterator
6522 instead of Paragraph*
6523 Adjust several functions.
6525 * text.C (transformChar): change to take a ParagraphList::iterator
6526 instead of Paragraph*
6527 (singleWidth): ditto
6528 Adjust several functions.
6530 * rowpainter.C: adjust several functions
6531 * rowpainter.h:store a ParagraphList::iterator and not a
6535 2003-04-09 John Levon <levon@movementarian.org>
6540 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6541 and the "help" bits as well
6543 2003-04-09 John Levon <levon@movementarian.org>
6546 * ToolbarBackend.C: allow multiple toolbars
6548 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6550 * undo_funcs.C (setCursorParUndo): adjust
6552 * text_funcs.C (transposeChars): adjust
6554 * text3.C (gotoNextInset): adjust
6557 * text2.C (setLayout): adjust
6558 (changeDepth): adjust
6560 (redoParagraphs): adjust
6561 (selectionAsString): adjust
6562 (setParagraph): adjust
6563 (insertInset): adjust
6564 (cutSelection): adjust
6565 (copySelection): adjust
6566 (pasteSelection): adjust
6567 (insertStringAsLines): adjust
6568 (updateInset): adjust
6569 (setCursor): change to take a ParagraphList::iterator parameter
6570 (setCursorIntern): change to take a ParagraphList::iterator parameter
6571 (setCurrentFont): adjust
6572 (cursorLeft): adjust
6573 (cursorRight): adjust
6574 (deleteEmptyParagraphMechanism): adjust
6576 * text.C (breakParagraph): adjust
6577 (insertChar): adjust
6578 (acceptChange): adjust
6579 (rejectChange): adjust
6580 (selectNextWordToSpellcheck): adjust
6581 (changeCase): adjust
6585 * lyxfind.C (SearchForward): adjust
6586 (SearchBackward): adjust
6587 (nextChange): adjust
6589 * lyxcursor.C (par): adjust
6591 * lyxcursor.h: store a ParagraphList::iterator instead of a
6594 * lyx_cb.C (getPossibleLabel): adjust
6596 * bufferview_funcs.C (toggleAndShow): adjust
6598 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6601 * BufferView.C (removeAutoInsets): adjust
6602 (lockedInsetStoreUndo): adjust
6604 2003-04-09 John Levon <levon@movementarian.org>
6606 * ToolbarBackend.C: try icon without argument
6607 if with argument fails
6609 2003-04-08 John Levon <levon@movementarian.org>
6612 * ToolbarBackend.C: add getIcon(), handle tooltip,
6613 and change from "Icon" to "Item".
6615 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6617 * BufferView.C (lockInset): another bad getchar crunched
6619 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6621 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6624 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6626 * lyxfind.C (searchForward, searchBackwards): bug 782
6628 2003-04-07 John Levon <levon@movementarian.org>
6630 * paragraph.C: remove dead comment
6632 * text.C: remove troublesome depth-fiddling code
6633 in leftMargin() and rightMargin() (bug 1017)
6635 * text.C: fix breaking of rows in nested lists
6638 * text2.C (updateCounters): fix up depth values
6641 2003-04-07 John Levon <levon@movementarian.org>
6643 * BufferView_pimpl.C: clear message when doc finishes resizing,
6644 and after a mouse event
6646 * lyxfunc.C: clear message after exiting inset
6648 2003-04-07 John Levon <levon@movementarian.org>
6650 * bufferview_funcs.C: show math status not outside
6651 status in the statusbar
6653 2003-04-07 John Levon <levon@movementarian.org>
6655 * lyxfunc.C: note status changed after a depth change
6657 2003-04-04 Angus Leeming <leeming@lyx.org>
6659 * LaTeX.h: move AuxInfo operator==, != out of line.
6660 Remove LaTeX virtual destructor; nothing derives from it.
6661 Move operator()() out of public area and rename it startscript().
6662 Change protected for private.
6664 2003-04-04 Angus Leeming <leeming@lyx.org>
6667 * text2.C: remove unneeded #includes.
6669 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6671 * text2.C (dEPM): fix the heigth of the next row
6673 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6675 * text.C: squashed an invalid getChar requester + some ws changes
6677 2003-04-03 John Levon <levon@movementarian.org>
6679 * bufferview_funcs.h:
6680 * bufferview_funcs.C:
6683 * text2.C: make getStatus work for the env depth lfuns
6685 2003-04-03 John Levon <levon@movementarian.org>
6687 * bufferview_funcs.h:
6688 * bufferview_funcs.C:
6691 * text2.C: parlistize decDepth(), by merging it with incDepth()
6693 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6695 * lyxrow.h: store a ParagraphList::iterator instead of a
6696 Paragraph* and adjust other class functions to suit.
6698 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6701 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6703 * text2.C (setCursor): do not anchor to cursor row for the time being
6705 2003-04-02 John Levon <levon@movementarian.org>
6712 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6714 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6716 * paragraph.h: make ParagraphList and ParagraphList::iterator
6717 friends of Paragraph.
6719 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6721 * ParagraphList.C: Use the private next_ and previous_ from
6724 2003-04-01 John Levon <levon@movementarian.org>
6728 * Makefile.am: rename, remove defaults gunk
6731 * MenuBackend.C: remove defaults gunk
6734 * Languages.C: remove defaults gunk
6737 * lyx_main.C: error out if files couldn't be found.
6739 2003-04-02 John Levon <levon@movementarian.org>
6741 * text2.C: make incDepth() use parlist
6743 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6745 * undo_funcs.C (firstUndoParagraph): adjust
6747 * text3.C (gotoInset): adjust
6748 (dispatch): adjust, and rewrite loop.
6750 * text2.C (init): adjust, and rewrite loop.
6751 (redoParagraphs): adjust
6752 (updateInset): adjust, and rewrite loop.
6753 (deleteEmptyParagraphMechanism): adjust
6755 * tabular.C (LyXTabular): adjust
6756 (SetMultiColumn): adjust
6759 * lyxtext.[Ch] (ownerParagraph): delete function
6760 (ownerParagraphs): new function returns a ParagraphList.
6762 * BufferView.C (removeAutoInsets): adjust
6763 (insertErrors): adjust
6764 (setCursorFromRow): adjust
6766 2003-04-01 Angus Leeming <leeming@lyx.org>
6768 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6771 2003-04-02 John Levon <levon@movementarian.org>
6777 * text_funcs.C: make transposeChars a free function
6779 * lyxrow_funcs.C: remove wrong comment
6781 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6784 * rowpainter.C: adjust
6789 * lyxrow_funcs. [Ch]: new files
6791 * lyxrow.[Ch]: remove next and previous pointers
6792 (next,previous): remove accessor functions
6793 (isParEnd): move to lyxrow_funcs
6794 (lastPos): move to lyxrow_funcs
6795 (nextRowIsAllInset): move to lyxrow_funcs
6796 (lastPrintablePos): move to lyxrow_funcs
6797 (numberOfSeparators): move to lyxrow_funcs
6798 (numberOfHfills): move to lyxrow_funcs
6799 (numberOfLabelHfills): move to lyxrow_funcs
6800 (hfillExpansion): move to lyxrow_funcs
6804 * bufferview_funcs.C (toggleAndShow): adjust
6806 * RowList.h: Remove class RowList from file leave just a
6809 * RowList.C: delete file
6811 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6814 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6816 * text3.C (cursorPrevious): adjust
6817 (cursorNext): adjust
6820 * text2.C (redoHeightOfParagraph): adjust
6821 (redoDrawingOfParagraph): adjust
6824 * text.C (breakParagraph): adjust
6825 (insertChar): adjust
6828 * rowpainter.C (RowPainter): adjust
6829 (leftMargin): simplify and adjust
6830 (most rowpainter functions): adjust.
6832 * rowpainter.h: store the row as RowList::iterator not as Row*
6834 * lyxcursor.C (row): taka RowList::iterator as arg
6837 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6840 2003-04-01 Angus Leeming <leeming@lyx.org>
6842 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6843 stuff like bool Bool.
6845 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6847 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6850 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6852 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6855 * lyxtext.h (rows): drop one version and leve a const variant that
6856 returns a RowList::iterator.
6858 2003-03-31 Angus Leeming <leeming@lyx.org>
6860 * text.C (fill): ensure that the signature is the same as that in the
6863 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6865 * text2.C (redoParagraphs): adjust
6866 (updateCounters): adjust
6867 (checkParagraph): adjust
6868 (getColumnNearX): adjust and reformat a bit.
6870 * text.C (top_y): adjust
6872 (leftMargin): adjust
6873 (prepareToPrint): adjust
6875 (getRowNearY): adjust
6877 * lyxtext.h: make rowlist_ mutable.
6879 * RowList.h: add const_iterator
6880 * RowList.C: adjust for RowList::const_iterator.
6882 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6885 2003-03-31 John Levon <levon@movementarian.org>
6888 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6890 * lyx_main.C: set default fonts from using lyx_gui funcs
6892 * exporter.C: pdf_mode moved from lyxrc
6895 * lyxfunc.C: changes from above
6897 2003-03-31 John Levon <levon@movementarian.org>
6899 * lyx_main.C: fix to the last fix
6901 2003-03-31 John Levon <levon@movementarian.org>
6903 * bufferlist.C: "Load original" -> "Load Original"
6909 * format.C: more Alert cleanups
6911 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6913 * text2.C (removeParagraph): make it take a RowList::iterator as
6915 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6916 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6918 * text.C (anchor_row): make it take a RowList::iterator as arg,
6920 (computeBidiTables): make it take a const reference to Row instead
6921 of Row pointer, adjust.
6922 (leftMargin): make it take a RowList::iterator as arg, adjust.
6923 (rowBreakPoint): adjust
6924 (breakAgainOneRow): make it take a RowList::iterator as arg,
6926 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6928 * bufferview_funcs.C (toggleAndShow): adjust
6930 2003-03-30 John Levon <levon@movementarian.org>
6934 * boost-inst.C: moved to support
6936 * several files: changes as a result
6938 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6940 * text2.C (LyXText): adjust.
6942 (removeRow): make it take a RowList::iterator as arg, adjust.
6943 (fullRebreak): adjust
6944 (deleteEmptyParagraphMechanism): adjust
6945 (clearPaint): adjust
6948 * text.C (top_y): adjust
6949 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6950 (breakAgain): make it take a RowList::iterator as arg, adjust.
6951 (breakParagraph): adjust
6952 (insertChar): adjust
6955 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6956 need_break_row, and refresh_row.
6958 * text3.C (dispatch): adjust
6960 * text2.C (checkParagraph): adjust
6962 (setCursorFromCoordinates): adjust
6964 * text.C (top_y): adjust
6966 (getRow): make it return a RowList::iterator, adjust
6967 (getRowNearY): make it return a RowList::iterator, adjust
6969 * text2.C (init): adjust
6970 (insertRow): remove function
6971 (insertParagraph): adjust
6972 (redoParagraphs): adjust
6973 (fullRebreak): adjust
6974 (updateCounters): adjust
6976 * text.C (top_y): rewrite to use RowList iterators.
6978 (setHeightOfRow): rewrite to sue RowList iterators.
6979 (appendParagraph): adjust
6980 (breakAgain): adjust
6981 (breakAgainOneRow): adjust
6982 (breakParagraph): adjust
6984 (getRowNearY): adjust, and remove commented code.
6986 * lyxtext.h (firstRow): delete function
6987 (lastRow): delete function
6988 (rows): new function (const and non-const versions.)
6989 (insertRow): delete function
6991 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6993 2003-03-29 John Levon <levon@movementarian.org>
6995 * BufferView_pimpl.C: always update scrollbar top
6996 because pasting text when we're anchored could mean we
6997 miss an update altogether
6999 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7001 * text2.C (init): use rowlist_.end() and not 0.
7002 (insertRow): change to take a RowList::iterator as arg, adjust
7004 (insertParagraph): change to take a RowList::iterator as arg,
7006 (redoParagraphs): remove some debug msgs.
7008 * text.C (appendParagraph): change to take a RowList::iterator
7009 arg, adjust for this.
7010 (breakAgain): add an assert
7011 (breakAgainOneRow): ditto
7013 2003-03-29 John Levon <levon@movementarian.org>
7015 * text2.C: do not clear selection after inc/decDepth
7018 2003-03-29 John Levon <levon@movementarian.org>
7021 * buffer.C: fix broken strerrors according to Lars
7023 2003-03-29 John Levon <levon@movementarian.org>
7025 * converters.C: more Alert cleanups
7027 2003-03-29 John Levon <levon@movementarian.org>
7029 * bufferview_funcs.C: remove pointless Alert
7031 * buffer.C: fix confusing error message when
7032 a template is chmoded 000
7034 2003-03-29 John Levon <levon@movementarian.org>
7038 * BufferView_pimpl.C: Alert fixes
7042 * tabular-old.C: remove unused table compat reading
7044 2003-03-29 John Levon <levon@movementarian.org>
7049 * lyx_cb.C: more Alert cleanups
7051 * lyxfunc.C: don't allow chktex if not latex document
7053 2003-03-29 John Levon <levon@movementarian.org>
7057 * buffer.C: warnings pushed down from support/,
7060 2003-03-29 John Levon <levon@movementarian.org>
7062 * lyxfunc.C: safety check for C-r (revert)
7064 2003-03-29 John Levon <levon@movementarian.org>
7067 * bufferlist.C: several UI fixes using Alert::prompt.
7068 Fix the pointless looping quit code. Fix stupid revert
7073 * lyx_cb.C: use Alert::prompt
7075 * lyx_main.C: remove a silly question
7077 * lyxfunc.C: remove a couple of silly questions,
7080 2003-03-28 John Levon <levon@movementarian.org>
7082 * text2.C: fix bug 974 (End on empty par)
7084 2003-03-28 John Levon <levon@movementarian.org>
7086 * BufferView_pimpl.C:
7088 * lfuns.h: remove do-nothing math greek lfuns
7090 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7092 * lyxgluelength.h (isValidGlueLength): add default arg on
7093 parameter 2. Remove default arg from friend in class.
7095 * lyxlength.h (isValidLength): add default arg on parameter 2.
7096 Remove default arg from friend in class.
7098 * text2.C (LyXText): adjust, initialize refresh_row.
7102 (insertParagraph): adjst
7103 (redoParagraphs): adjust
7104 (fullRebreak): adjust
7105 (updateCounters): adjust
7106 (deleteEmptyParagraphMechanism): first attempt at fixing a
7109 * text.C (top_y): adjust
7110 (setHeightOfRow): adjust
7112 (getRowNearY): adjust
7114 * lyxtext.h: include RowList.h
7115 (~LyXText): not needed anymore, deleted.
7116 (firstRow): modify for RowList
7117 (lastRow): new function
7118 Delete firstrow and lastrow class variables, add a Rowlist
7119 rowlist_ class variable.
7121 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7124 * RowList.C (insert): fix case where it == begin().
7126 2003-03-26 Angus Leeming <leeming@lyx.org>
7128 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7129 the thesaurus dialog.
7131 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7135 * RowList.[Ch]: new files
7137 * ParagraphList.C (erase): handle the case where it == begin
7140 2003-03-25 John Levon <levon@movementarian.org>
7144 * aspell.C: add new aspell support
7147 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7150 2003-03-25 Angus Leeming <leeming@lyx.org>
7153 * LyXAction.C (init): new LFUN_INSET_INSERT.
7155 * BufferView_pimpl.C (dispatch): split out part of the
7156 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7158 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7161 2003-03-25 Angus Leeming <leeming@lyx.org>
7163 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7165 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7168 * text3.C: remove useless row->height(0)
7170 2003-03-25 John Levon <levon@movementarian.org>
7174 * text3.C: rename the refreshing stuff to better names
7176 2003-03-24 John Levon <levon@movementarian.org>
7178 * BufferView_pimpl.h:
7179 * BufferView_pimpl.C: update layout choice on a mouse
7182 2003-03-23 John Levon <levon@movementarian.org>
7184 * Makefile.am: fix commandtags.h reference
7186 2003-03-22 John Levon <levon@movementarian.org>
7188 * BufferView_pimpl.C:
7193 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7195 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7198 * text.C: take the rtl methods out of line
7200 2003-03-21 André Pönitz <poenitz@gmx.net>
7202 * metricsinfo.[Ch]: new files containing structures to be passed around
7203 during the two-phase-drawing...
7205 2003-03-21 André Pönitz <poenitz@gmx.net>
7207 * lyxtextclass.C: read 'environment' tag.
7209 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7211 * text2.C (removeRow): fix bug 964
7213 2003-03-20 John Levon <levon@movementarian.org>
7217 * text2.C: paint cleanups. Inset::update() dropped font
7220 2003-03-19 John Levon <levon@movementarian.org>
7222 * lyxfunc.C: only fitcursor/markDirty if available()
7224 2003-03-19 John Levon <levon@movementarian.org>
7226 * commandtags.h: rename to ...
7228 * lfuns.h: ... this, and renumber / cleanup
7230 2003-03-19 John Levon <levon@movementarian.org>
7232 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7233 fit the cursor after an lfun
7237 * BufferView_pimpl.h:
7238 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7240 * LyXAction.C: layout-character should have ReadOnly
7242 * ParagraphParameters.C:
7244 * bufferview_funcs.C:
7251 * undo_funcs.C: changes from above
7253 2003-03-18 John Levon <levon@movementarian.org>
7255 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7256 remove it from update()
7258 * lyxfunc.C: update layout choice after an lfun
7260 * text3.C: remove extra updateLayoutChoice()s
7262 2003-03-18 John Levon <levon@movementarian.org>
7264 * text.C: top_y change means full repaint, fix
7265 a drawing bug with cursor movement
7267 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7271 * text2.C: anchor row on setCursor
7273 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7275 * lyxtext.h: remove almost all mutable keywords
7278 * text3.C: remove const keywords accordingly
7280 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7282 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7284 (TeXEnvironment): ditto
7287 2003-03-17 John Levon <levon@movementarian.org>
7289 * text.C (rowBreakPoint): remove attempt to fix displayed
7290 math insets inside a manual label
7292 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7294 * lyxtext.h: remove BufferView* as first arg from almost all class
7296 * other files: adjust.
7298 2003-03-17 John Levon <levon@movementarian.org>
7302 * text2.C: more paint cleanups
7304 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7307 * rowpainter.C: remove "smart" background painting code
7309 2003-03-16 John Levon <levon@movementarian.org>
7314 * text3.C: add helper functions for setting refresh_row/y
7316 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7318 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7319 newline inset which *can* get inserted in the pass_thru layouts.
7320 This is primarily for literate documents.
7322 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7324 * buffer.C: increment LYX_FORMAT to 223
7326 2003-03-14 André Pönitz <poenitz@gmx.net>
7328 * textclass.h: prepare for environment handling, ws changes
7329 * lyxlayout.C: read latexheader and latexfooter tags
7331 2003-03-14 John Levon <levon@movementarian.org>
7333 * text2.C: rewrite ::status() a bit
7335 2003-03-13 John Levon <levon@movementarian.org>
7337 * lyxtext.h: add some docs
7339 2003-03-13 John Levon <levon@movementarian.org>
7344 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7346 2003-03-13 John Levon <levon@movementarian.org>
7348 * text3.C: fix appendix redrawing
7350 2003-03-13 John Levon <levon@movementarian.org>
7352 * text.C (setHeightOfRow):
7354 * rowpainter.C: make appendix mark have the text
7355 "Appendix" so the user knows what it is
7358 * LColor.C: s/appendixline/appendix/ from above
7360 2003-03-13 John Levon <levon@movementarian.org>
7362 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7364 * text.C: fix a getChar(pos) bug properly
7366 2003-03-13 Angus Leeming <leeming@lyx.org>
7369 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7370 Probably only temporary. Let's see how things pan out.
7372 * BufferView.C (unlockInset):
7373 * BufferView_pimpl.C (fitCursor):
7374 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7376 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7377 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7379 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7380 new functions that convert ParagraphParameters to and from a string.
7382 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7383 BufferView::Pimpl's dispatch.
7384 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7386 2003-03-13 André Pönitz <poenitz@gmx.net>
7390 * factory.C: make it aware of InsetEnv
7392 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7394 * text2.C (setCursor): never ask for one past last
7395 (setCursor): add some debugging messages.
7397 * text.C (singleWidth): never ask for one past last
7398 (singleWidth): ditto
7400 (rightMargin): ditto
7401 (rowBreakPoint): ditto
7402 (setHeightOfRow): ditto
7403 (prepareToPrint): ditto
7405 * rowpainter.C (paintBackground): never ask for one past last
7406 (paintText): never ask for one past last
7408 * paragraph_pimpl.C (getChar): make the assert stricter, never
7409 allow the one past last pos to be taken
7411 * paragraph.C (getChar): ws changes only
7413 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7414 (numberOfSeparators): ditto
7415 (numberOfHfills): ditto
7417 2003-03-12 John Levon <levon@movementarian.org>
7423 * paragraph_funcs.C: fix per-buffer authorlists
7425 2003-03-12 John Levon <levon@movementarian.org>
7427 * text.C: fix newline in right address
7429 2003-03-12 Angus Leeming <leeming@lyx.org>
7431 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7432 duplicate those in LyXFunc::dispatch.
7436 * ToolbarDefaults.C:
7437 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7438 Add LFUN_FONTFREE_UPDATE.
7440 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7441 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7443 * bufferview_func.[Ch]: several new functions to facilliate
7444 transfer of data to and from the character dialog.
7446 2003-03-12 John Levon <levon@movementarian.org>
7451 * paragraph_funcs.C:
7452 * paragraph_pimpl.C:
7456 * text3.C: remove META_NEWLINE in favour of an inset
7459 * rowpainter.C: remove paintNewline (done by inset)
7461 2003-03-12 John Levon <levon@movementarian.org>
7463 * paragraph_pimpl.C: complain about bad getChar()s
7464 for a while at least
7466 2003-03-12 John Levon <levon@movementarian.org>
7469 * buffer.C: move paragraph read into a separate function,
7470 a little renaming to reflect that.
7473 * bufferparams.C: remove the author_ids map, not necessary now
7476 * factory.C: moved Buffer::readInset to here
7478 * paragraph_funcs.h:
7479 * paragraph_funcs.C: readParagraph free function moved from
7482 * tabular.C: name change
7484 2003-03-12 John Levon <levon@movementarian.org>
7487 * ParagraphParameters.C: move par params input to
7490 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7491 behave like a normal read from the stream wrt reading
7492 a line vs. a \\token
7494 2003-03-12 John Levon <levon@movementarian.org>
7497 * ParagraphParameters.h:
7498 * ParagraphParameters.C: move output code to a
7501 2003-03-12 John Levon <levon@movementarian.org>
7503 * BufferView.C (insertLyXFile):
7506 * tabular.C: use a parlist iterator for creating the
7509 2003-03-12 John Levon <levon@movementarian.org>
7511 * buffer.C: make current_change static local not
7514 2003-03-12 John Levon <levon@movementarian.org>
7516 * buffer.C: fix insertStringAsLines for change tracking
7518 2003-03-12 John Levon <levon@movementarian.org>
7525 * bufferparams.C: move author list into params. Rename some
7526 functions. Move the header reading into a separate token
7527 loop. Move the header token reading into BufferParams.
7529 2003-03-12 John Levon <levon@movementarian.org>
7531 * changes.C: put debug inside lyxerr.debugging() checks
7533 2003-03-11 André Pönitz <poenitz@gmx.net>
7535 * factory.C: make it aware of InsetHFill
7537 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7539 * buffer.C (latexParagraphs): move function from here...
7540 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7543 2003-03-10 Angus Leeming <leeming@lyx.org>
7545 * LyXAction.C (init): fix bug in poplating array with multiple entries
7546 with the same LFUN (spotted by JMarc).
7548 2003-03-10 John Levon <levon@movementarian.org>
7551 * text2.C: move getColumnNearX() near its
7554 2003-03-10 John Levon <levon@movementarian.org>
7556 * text.C: fix break before a minipage
7558 2003-03-10 John Levon <levon@movementarian.org>
7560 * text.C: fix the last commit
7562 2003-03-09 John Levon <levon@movementarian.org>
7566 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7567 bug 365 (don't break before insets unless needed). Don't
7568 return a value > last under any circumstances.
7570 2003-03-09 Angus Leeming <leeming@lyx.org>
7572 * BufferView_pimpl.C (trackChanges, dispatch): call
7573 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7575 2003-03-09 Angus Leeming <leeming@lyx.org>
7577 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7578 than Dialogs::showAboutlyx().
7580 2003-03-09 Angus Leeming <leeming@lyx.org>
7582 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7583 than Dialogs::showTabularCreate().
7585 2003-03-09 John Levon <levon@movementarian.org>
7589 * text2.C: 3rd arg to nextBreakPoint was always the same.
7592 2003-03-08 John Levon <levon@movementarian.org>
7599 * text2.C: Remove the "main" bit from the "main body"
7602 2003-03-08 John Levon <levon@movementarian.org>
7604 * text.C (leftMargin): The left margin of an empty
7605 manual label paragraph should not include the label width
7608 * text.C (prepareToPrint): don't attempt to measure hfills
7609 for empty manual label paragraphs - the answer should be 0
7611 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7613 * CutAndPaste.C: remove commented code and reindent.
7615 2003-03-08 John Levon <levon@movementarian.org>
7618 * lyxfunc.C: move reloadBuffer()
7621 * BufferView.C: to here
7623 * lyxvc.C: add comment
7626 * vc-backend.C: call bv->reload() to avoid
7627 getStatus() check on MENURELOAD
7629 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7631 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7632 to an old format .dep file.
7634 2003-03-07 Angus Leeming <leeming@lyx.org>
7636 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7637 when the LFUN_MOUSE_RELEASE should have been handled by
7638 inset->localDispatch.
7640 2003-03-07 Angus Leeming <leeming@lyx.org>
7642 * BufferView_pimpl.C (dispatch):
7643 * LyXAction.C (init):
7644 * ToolbarDefaults.C (init):
7646 * lyxfunc.C (getStatus):
7647 remove LFUN_INSET_GRAPHICS.
7649 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7651 2003-03-07 Angus Leeming <leeming@lyx.org>
7654 * LyXAction.C (init):
7655 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7657 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7660 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7662 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7663 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7665 2003-03-07 Angus Leeming <leeming@lyx.org>
7667 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7670 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7672 * ParagraphList.C (front): new function
7675 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7677 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7678 and top_row_offset_. removed var first_y.
7680 * text2.C (LyXText, removeRow):
7682 * BufferView_pimpl.C:
7683 use these methods instead of using first_y
7685 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7687 * text2.C (pasteSelection): adjust for checkPastePossible
7689 * CutAndPaste.C: remove Paragraph * buf and replace with
7690 ParagraphList paragraphs.
7691 (DeleteBuffer): delete
7692 (cutSelection): change the tc type to textclass_type
7693 (copySelection): change the tc type to textclass_type
7694 (copySelection): adjust for ParagraphList
7695 (pasteSelection): change the tc type to textclass_type
7696 (pasteSelection): adjust for Paragraphlist
7697 (nrOfParagraphs): simplify for ParagraphList
7698 (checkPastePossible): simplify for ParagraphList
7699 (checkPastePossible): remove unused arg
7701 * ParagraphList.C (insert): handle the case where there are no
7704 * CutAndPaste.h: make CutAndPaste a namespace.
7706 * text3.C (dispatch): adjust
7708 * text.C (breakParagraph): add a ParagraphList as arg
7710 * paragraph_funcs.C (breakParagraph): change to take a
7711 BufferParams and a ParagraphList as args.
7712 (breakParagraphConservative): ditto
7713 (mergeParagraph): ditto
7714 (TeXDeeper): add a ParagraphList arg
7715 (TeXEnvironment): ditto
7718 * buffer.C (readLyXformat2): adjust
7719 (insertStringAsLines): adjust
7720 (latexParagraphs): adjust
7722 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7723 (cutSelection): adjust
7724 (pasteSelection): adjust
7726 * BufferView_pimpl.C (insertInset): adjust
7728 2003-03-05 Angus Leeming <leeming@lyx.org>
7731 * LyXAction.C (init):
7732 * BufferView_pimpl.C (dispatch):
7733 * lyxfunc.C (getStatus):
7734 remove LFUN_CHILD_INSERT.
7736 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7738 2003-03-05 Angus Leeming <leeming@lyx.org>
7741 * LyXAction.C (init):
7742 * src/factory.C (createInset):
7743 * lyxfunc.C (getStatus):
7744 * text3.C (dispatch):
7745 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7747 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7749 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7751 * ParagraphList.C (insert): handle insert right before end()
7752 (erase): fix cases where it can be first or last paragraph.
7754 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7756 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7757 Paragraph::next and Paragraph::previous
7760 * text.C (breakParagraph): adjust
7762 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7763 BufferParams& as arg.
7764 (breakParagraph): use ParagraphList::insert
7765 (breakParagraphConservative): take a Buffer* instead of a
7766 BufferParams& as arg.
7767 (breakParagraphConservative): use ParagraphList::insert.
7769 * buffer.C (insertStringAsLines): un-const it
7770 (insertStringAsLines): adjust
7772 * ParagraphList.C (insert): new function
7774 * CutAndPaste.C (pasteSelection): adjust
7776 * text.C (backspace): adjust
7778 * tabular.C (SetMultiColumn): adjust
7780 * CutAndPaste.C (cutSelection): adjust
7781 (pasteSelection): adjust
7783 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7784 Buffer const * as arg
7786 * ParagraphList.C (erase): new function
7787 * paragraph_funcs.C (mergeParagraph): use it
7788 (mergeParagraph): make it take a Buffer* instead of a
7789 BufferParams* as arg
7791 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7793 (breakParagraphConservative): ditto
7795 * paragraph.h: remove the breakParagraph friend
7797 * paragraph.C (eraseIntern): new function
7798 (setChange): new function
7800 * paragraph_funcs.C (mergeParagraph): make it take a
7801 ParagraphList::iterator instead of a Paragraph *, adjust
7804 * paragraph.h: move an #endif so that the change tracking stuff
7805 also works in the NO_NEXT case.
7807 2003-03-04 Angus Leeming <leeming@lyx.org>
7810 * LyXAction.C: new LFUN_INSET_MODIFY.
7812 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7813 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7815 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7817 * several files: ws changes only
7819 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7820 (TeXEnvironment): ditto
7823 * buffer.C (makeLaTeXFile): adjust
7824 (latexParagraphs): make it take ParagraphList::iterator as args
7826 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7828 * buffer.C (latexParagraphs): adjust
7830 * paragraph.C (TeXOnePar): move function...
7831 (optArgInset): move function...
7832 (TeXEnvironment): move function...
7833 * paragraph_pimpl.C (TeXDeeper): move function...
7834 * paragraph_funcs.C: ...here
7836 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7838 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7840 * buffer.C (readInset): remove compability code for old Figure and
7843 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7845 * buffer.C: ws changes
7848 * BufferView_pimpl.C: ditto
7851 * bufferlist.h: ditto
7855 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7857 * converter.[Ch]: split into itself +
7860 * Makefile.am: += graph.[Ch] + format.[Ch]
7867 * lyxrc.C: added #include "format.h"
7869 2003-02-27 Angus Leeming <leeming@lyx.org>
7871 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7874 * factory.C (createInset): add "label" to the factory.
7876 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7877 string and do no more.
7879 2003-02-27 Angus Leeming <leeming@lyx.org>
7882 * LyXAction.C (init):
7883 * factory.C (createInset):
7884 * BufferView_pimpl.C (dispatch):
7885 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7887 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7889 * lyxfunc.C (dispatch):
7890 * text3.C (dispatch): pass name to params2string.
7892 2003-02-26 Angus Leeming <leeming@lyx.org>
7894 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7896 Rearrange the ~includes. Strip out the unnecessary ones.
7898 * factory.C (createInset): reformat.
7899 create new insets for the various LFUN_XYZ_APPLY lfuns.
7901 2003-02-26 John Levon <levon@movementarian.org>
7904 * lyxrow.C: add isParStart,isParEnd helpers
7906 * paragraph.h: make isInserted/DeletedText take refs
7908 * paragraph_funcs.h:
7909 * paragraph_funcs.C: remove #if 0'd code
7914 * text.C: use lyxrow helpers above.
7915 Move draw and paint routines to RowPainter.
7916 Make several methods use refs not pointers.
7917 Make backgroundColor() const.
7918 Add markChangeInDraw(), isInInset().
7919 Merge changeRegionCase into changeCase.
7920 Make workWidth() shouldn't-happen code into an Assert.
7923 * rowpainter.C: new class for painting a row.
7926 * vspace.C: make inPixels take a ref
7928 2003-02-26 Angus Leeming <leeming@lyx.org>
7930 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7933 2003-02-25 John Levon <levon@movementarian.org>
7935 * ispell.C: give the forked command a more accurate name
7937 2003-02-22 John Levon <levon@movementarian.org>
7940 * toc.C: make TocItem store an id not a Paragraph *
7943 2003-02-21 Angus Leeming <leeming@lyx.org>
7945 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7946 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7947 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7948 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7949 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7950 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7952 * BufferView_pimpl.C (dispatch):
7953 * LyXAction.C (init):
7954 * factory.C (createInset):
7955 * lyxfunc.C (getStatus, dispatch):
7956 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7958 2003-02-21 Angus Leeming <leeming@lyx.org>
7960 * BufferView_pimpl.C (MenuInsertLyXFile):
7961 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7962 * lyxfunc.C (menuNew, open, doImport):
7963 no longer pass a LyXView & to fileDlg.
7965 2003-02-21 Angus Leeming <leeming@lyx.org>
7967 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7968 * LyXAction.C: change, BIBKEY to BIBITEM.
7969 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7970 Change InsetBibKey to InsetBibitem.
7971 Change BIBKEY_CODE to BIBITEM_CODE.
7972 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7973 * factory.C: replace insetbib.h with insetbibitem.h.
7974 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7975 * paragraph.C: replace insetbib.h with insetbibitem.h.
7976 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7977 Change bibkey() to bibitem().
7978 * text.C: remove insetbib.h.
7979 * text2.C: replace insetbib.h with insetbibitem.h.
7980 change bibkey() to bibitem().
7981 * text3.C: remove insetbib.h.
7982 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7984 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7986 * lyxrc.C (output): enclose user email in quotes (in case there are
7989 2003-02-18 John Levon <levon@movementarian.org>
7991 * buffer.h: add std::
7993 2003-02-17 John Levon <levon@movementarian.org>
7999 * pspell.C: reworking. Especially in ispell, a large
8000 number of clean ups and bug fixes.
8002 * lyxfunc.C: fix revert to behave sensibly
8004 2003-02-17 André Pönitz <poenitz@gmx.net>
8007 * commandtags.h: new LFUN_INSERT_BIBKEY
8017 * paragraph_func.C: remove special bibkey handling
8019 2003-02-17 John Levon <levon@movementarian.org>
8021 * text.C (Delete): fix case where delete at the end of
8022 the very first paragraph would not merge the pars
8024 2003-02-17 John Levon <levon@movementarian.org>
8026 * lyxrow.C: fix lastPrintablePos()
8028 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8030 * bufferparams.C (writeLaTeX): add a std:here
8032 * buffer.C: and remove a using directive there
8034 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8036 * buffer.C (makeLaTeXFile): move the code that generates the
8039 * bufferparams.C (writeLaTeX): ... in this new method
8041 * LaTeXFeatures.C (getEncodingSet): make const
8042 (getLanguages): make const
8044 * MenuBackend.C (binding): returns the binding associated to this
8046 (add): sets the status of each item by calling getStatus. Adds
8048 (read): add support for OptSubMenu
8049 (expand): remove extra separator at the end of expanded menu
8051 2003-02-15 John Levon <levon@movementarian.org>
8054 * BufferView_pimpl.C:
8056 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8057 inset code that had no actual effect. Remove unneeded status
8060 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8062 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8065 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8067 * text.C (drawLengthMarker): also draw an arrow marker for
8068 symbolic lengths (medskip...)
8070 2003-02-14 John Levon <levon@movementarian.org>
8073 * tabular.C: better method names
8075 2003-02-14 John Levon <levon@movementarian.org>
8077 * BufferView_pimpl.C:
8082 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8083 it's a more accurate name. Remove some pointless uses.
8085 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8087 * text2.C (LyXText): change order of initilizers to shut off
8090 2003-02-14 John Levon <levon@movementarian.org>
8092 * buffer.C: use ParIterator for getParFromID()
8096 * paragraph_pimpl.h:
8097 * paragraph_pimpl.C: remove unused getParFromID()
8099 2003-02-14 John Levon <levon@movementarian.org>
8101 * buffer.C: remove some very old #if 0'd parse code
8103 2003-02-13 John Levon <levon@movementarian.org>
8107 * text2.C: move hfillExpansion(), numberOfSeparators(),
8108 rowLast(), rowLastPrintable(), numberofHfills(),
8109 numberOfLabelHfills() ...
8112 * lyxrow.C: ... to member functions here.
8117 * text.C: remove LyXText::beginningOfMainBody(), and call
8118 p->beginningOfMainBody() directly. Move the check for
8119 LABEL_MANUAL into the latter.
8126 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8132 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8133 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8135 2003-02-13 John Levon <levon@movementarian.org>
8137 * CutAndPaste.C: remove debug
8139 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8141 * paragraph.C (asString): remove two unused variables
8143 * lyxtextclass.C (readTitleType):
8145 (LyXTextClass): handle new members titletype_ and titlename_
8147 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8149 2003-02-09 John Levon <levon@movementarian.org>
8152 * buffer.C: replace hand-coded list with a map for the dep clean
8154 2003-02-08 John Levon <levon@movementarian.org>
8156 * LaTeX.C: consolidate code into showRunMessage() helper
8158 2003-02-08 John Levon <levon@movementarian.org>
8163 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8164 and pass the size in explicitly
8166 * BufferView_pimpl.h:
8167 * BufferView_pimpl.C:
8169 * BufferView.C: add getCurrentChange()
8171 * BufferView_pimpl.h:
8172 * BufferView_pimpl.C: handle change lfuns
8174 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8175 for changes. Mark pasted paragraphs as new.
8177 * support/lyxtime.h:
8178 * support/lyxtime.C:
8179 * DepTable.C: abstract time_t as lyx::time_type
8182 * LColor.C: add colours for new text, deleted text, changebars
8184 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8185 package use "usenames" option.
8189 * LyXAction.C: add change lfuns
8193 * author.C: author handling
8196 * buffer.C: add a per-buffer author list, with first entry as
8197 current author. Handle new .lyx tokens for change tracking. Output
8198 author list to .lyx file. Output dvipost stuff to .tex preamble.
8199 Bump lyx format to 222.
8202 * bufferlist.C: add setCurrentAuthor() to reset current author details
8206 * bufferparams.C: add param for tracking
8208 * bufferview_funcs.C: output change info in minibuffer
8212 * changes.C: add change-tracking structure
8215 * debug.C: add CHANGES debug flag
8218 * lyxfind.C: add code for finding the next change piece
8221 * lyxrc.C: add user_name and user_email
8224 * lyxrow.C: add a metric for the top of the text line
8227 * text.C: implement accept/rejectChange()
8230 * text.C: paint changebars. Paint new/deleted text in the chosen
8231 colours. Strike through deleted text.
8235 * paragraph_pimpl.h:
8236 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8237 in the current change to the insert functions. Rework erase to
8238 mark text as deleted, adding an eraseIntern() and a range-based
8239 erase(). Implement per-paragraph change lookup and
8242 * paragraph_funcs.C: Fixup paste for change tracking.
8244 * tabular.C: mark added row/columns as new.
8246 * text.C: fix rowLast() to never return -1. Don't allow
8247 spellchecking of deleted text. Track transpose changes. Don't
8248 allow paragraph break or merge where appropriate.
8250 * text2.C: leave cursor at end of selection after a cut.
8252 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8254 * text.C (getLengthMarkerHeight):
8255 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8256 visible on screen too.
8258 2003-02-07 John Levon <levon@movementarian.org>
8260 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8262 2003-02-05 Angus Leeming <leeming@lyx.org>
8264 * lyxserver.C (read_ready): revert my patch of 11 September last year
8265 as it sends PC cpu through the roof. Presumably this means that
8266 the lyxserver will no longer run on an Alpha...
8268 2003-01-30 Angus Leeming <leeming@lyx.org>
8270 * factory.C (createInset): create an InsetCommandParam of type "index"
8271 and use it to 'do the right thing'.
8273 * text2.C (getStringToIndex): ensure that cursor position is always
8274 reset to the reset_cursor position.
8276 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8278 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8281 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8285 * lyxfunc.C: Output messages with identical spelling, punctuation,
8288 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8290 * MenuBackend.C (expandFormats): List only viewable export formats
8293 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8296 * lyxfunc.C (getStatus): Make sure that formats other than
8297 "fax" can also be disabled
8299 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8301 * text3.C (dispatch): put the lfuns that insert insets in 3
8302 groups, and call doInsertInset with appropriate arguments.
8303 (doInsertInset): new function, that creates an inset and inserts
8304 it according to some boolean parameters.
8306 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8308 * buffer.C (readFile): remember to pass on 'par' when calling
8309 readFile recursively.
8311 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8313 * MenuBackend.C (expandFormats): add "..." to import formats.
8315 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8317 * paragraph.C (asString): Remove XForms RTL hacks.
8319 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8320 * buffer.C: fix typo
8322 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8324 * Makefile.am (LIBS): delete var
8325 (lyx_LDADD): add @LIBS@ here instead.
8327 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8329 * Clarify the meaning of "wheel mouse jump"
8331 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8333 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8336 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8338 * importer.C (Loaders): do not preallocate 3 elements in the
8339 vector, since one ends up with 6 elements otherwise
8341 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8343 * DepTable.C (write): write the file name as last element of the
8344 .dep file (because it may contain spaces)
8345 (read): read info in the right order
8347 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8349 * paragraph_pimpl.C (simpleTeXBlanks):
8350 (simpleTeXSpecialChars):
8351 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8353 * tabular.C (latex): add some missing case statements. Reindent.
8355 * MenuBackend.C (expandToc): remove unused variable.
8357 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8366 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8369 2003-01-05 John Levon <levon@movementarian.org>
8372 * BufferView.C: add getEncoding()
8375 * kbsequence.C: do not store last keypress
8378 * lyxfunc.C: store last keypress here instead. Pass encoding
8381 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8383 * lyx_main.C (init): remove annoying error message when following
8384 symbolic links (bug #780)
8386 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8388 * text.C (insertChar):
8389 * lyxrc.C (getDescription): remove extra spaces
8391 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8393 * lyxrc.C (getDescription): remove extra spaces
8395 2002-12-20 John Levon <levon@movementarian.org>
8397 * text3.C: hack fix for page up/down across tall rows
8399 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8401 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8404 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8406 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8407 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8408 thesaurus is not compiled in
8410 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8412 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8414 2002-12-16 Angus Leeming <leeming@lyx.org>
8417 * lyx_main.C (init): remove override_x_deadkeys stuff.
8419 2002-12-12 John Levon <levon@movementarian.org>
8421 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8422 insert. Only remove shift modifier under strict
8425 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8427 * MenuBackend.C (expandToc): fix crash.
8429 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8431 * MenuBackend.C (expandToc): gettext on float names.
8433 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8435 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8436 implement bool empty() [bug 490]
8438 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8440 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8442 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8444 * several files: ws changes
8446 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8448 * text2.C (setCounter): clean up a bit, use boost.format.
8449 (updateCounters): initialize par upon declaration.
8451 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8452 if the layout exists. We do not just store the layout any more.
8453 (SwitchLayoutsBetweenClasses): use boost.format
8455 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8457 * converter.C (convert): if from and to files are the same, use a
8458 temporary files as intermediary
8460 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8463 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8465 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8467 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8469 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8471 * tabular.C (asciiPrintCell): use string(size, char) instead of
8474 * sgml.C (openTag): fix order of arguments to string constructor
8477 * lyxfunc.C (dispatch): use boost.format
8479 * lots of files: change "c" -> 'c'
8481 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8483 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8485 2002-11-25 Angus Leeming <leeming@lyx.org>
8487 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8489 * lyx_main.C (init): compile fix.
8491 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8493 * lyx_cb.C (start): boost.formatify
8494 do not include <iostream>
8496 * lengthcommon.C: ws only
8498 * boost-inst.C,BoostFormat.h: add more explict instantations
8500 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8502 * lots of files: handle USE_BOOST_FORMAT
8504 2002-11-21 John Levon <levon@movementarian.org>
8506 * pspell.C: fix compile
8508 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8510 * lyxfunc.C (dispatch): use boost::format
8514 * lyxfont.C (stateText): use boost::format
8516 * lyx_main.C (LyX): use boost::format
8518 (queryUserLyXDir): ditto
8521 (typedef boost::function): use the recommened syntax.
8523 * importer.C (Import): use boost::format
8525 * debug.C (showLevel): use boost::format
8527 * converter.C (view): use boost::format
8532 * bufferview_funcs.C (currentState): use boost::format
8534 * bufferlist.C (emergencyWrite): use boost::format
8536 * buffer.C (readLyXformat2): use boost::format
8537 (parseSingleLyXformat2Token): ditto
8539 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8541 * LaTeX.C (run): use boost::format
8543 * Chktex.C (scanLogFile): use boost::format
8545 * BufferView_pimpl.C (savePosition): use boost::format
8546 (restorePosition): ditto
8547 (MenuInsertLyXFile): ditto
8549 * BoostFormat.h: help file for explicit instation.
8551 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8553 * tabular.C (latex): Support for block alignment in fixed width
8556 2002-11-17 John Levon <levon@movementarian.org>
8558 * BufferView_pimpl.C:
8560 * lyxfunc.C: split filedialog into open/save
8562 2002-11-08 Juergen Vigna <jug@sad.it>
8564 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8565 by my last patch (hopefully).
8567 2002-11-08 John Levon <levon@movementarian.org>
8576 * toc.C: ParConstIterator, and use it (from Lars)
8578 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8580 * lyxtextclass.[Ch]: revise and add doxygen comments
8582 2002-11-07 John Levon <levon@movementarian.org>
8584 * text.C: fix progress value for spellchecker
8586 * toc.C: fix navigate menu for insetwrap inside minipage
8588 * paragraph_funcs.C: added FIXME for suspect code
8590 2002-11-07 John Levon <levon@movementarian.org>
8592 * BufferView_pimpl.C: fix redrawing of insets
8595 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8597 * text2.C (updateCounters): fix bug 668
8599 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8601 * text3.C (dispatch): Do not make the buffer dirty when moving the
8604 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8606 * vc-backend.C: STRCONV
8609 * text2.C (setCounter): STRCONV
8611 * paragraph.C (asString): STRCONV
8613 * lyxlength.C (asString): STRCONV
8614 (asLatexString): ditto
8616 * lyxgluelength.C (asString): STRCONV
8617 (asLatexString): ditto
8619 * lyxfunc.C (dispatch): STRCONV
8622 * lyxfont.C (stateText): STRCONV
8624 * importer.C (Import): STRCONV
8626 * counters.C (labelItem): STRCONV
8627 (numberLabel): ditto
8628 (numberLabel): remove unused ostringstream o
8633 * bufferview_funcs.C (currentState): STRCONV
8635 * buffer.C (readFile): STRCONV
8636 (asciiParagraph): ditto
8637 (makeLaTeXFile): ditto
8639 * Spacing.C (writeEnvirBegin): STRCONV
8641 * LaTeXFeatures.C (getLanguages): STRCONV
8642 (getPackages): ditto
8644 (getBabelOptions): ditto
8645 (getTClassPreamble): ditto
8646 (getLyXSGMLEntities): ditto
8647 (getIncludedFiles): ditto
8651 (scanAuxFile): ditto
8654 * LString.h: add the STRCONV macros
8656 * BufferView_pimpl.C (savePosition): STRCONV
8657 (restorePosition): ditto
8658 (MenuInsertLyXFile): ditto
8660 * vc-backend.C (scanMaster): change from submatch[...] to
8663 * funcrequest.C: include config.h
8665 * factory.C: include config.h
8667 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8669 * box.C: include config.h
8671 * LaTeX.C (scanAuxFile): change from submatch[...] to
8675 2002-10-25 Angus Leeming <leeming@lyx.org>
8677 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8679 * ispell.[Ch] (setError): new method.
8680 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8681 Use setError() insetead of goto END.
8683 * lyx_cb.C (AutoSave): move out child process into new class
8686 2002-10-30 John Levon <levon@movementarian.org>
8688 * text3.C: make start appendix undoable
8690 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8692 * lyxlength.C (inPixels): Fix returned value.
8694 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8697 2002-10-24 Angus Leeming <leeming@lyx.org>
8699 * lyxgluelength.h: no need to forward declare BufferParams
8700 or BufferView, so don't.
8702 2002-10-21 John Levon <levon@movementarian.org>
8704 * BufferView.C: menuUndo ->undo, redo
8706 * BufferView.h: document, remove dead, make some methods private
8708 * paragraph_funcs.h:
8709 * paragraph_funcs.C:
8710 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8715 * sgml.C: move sgml open/close tag into sgml.C
8717 * bufferview_funcs.h: unused prototype
8720 * lyxfunc.C: remove unused
8723 * text.C: remove unused
8725 2002-10-21 John Levon <levon@movementarian.org>
8729 * BufferView_pimpl.h:
8730 * BufferView_pimpl.C: fix mouse wheel handling based on
8731 patch from Darren Freeman
8733 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8735 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8737 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8739 * lyxlength.C (inPixels): Fix hanfling of negative length.
8740 Fix LyXLength::MU case.
8742 2002-10-16 John Levon <levon@movementarian.org>
8744 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8746 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8748 * converter.C (view): add support for $$i (file name) and $$p
8749 (file path) for the viewer command. If $$i is not specified, then
8750 it is appended to the command (for compatibility with old syntax)
8752 2002-10-14 Juergen Vigna <jug@sad.it>
8754 * undo_funcs.C (textHandleUndo): alter the order in which the
8755 new undopar is added to the LyXText, as we have to set first
8756 the right prev/next and then add it as otherwise the rebuild of
8757 LyXText is not correct. Also reset the cursor to the right paragraph,
8758 with this IMO we could remove the hack in "redoParagraphs()".
8760 2002-10-09 Angus Leeming <leeming@lyx.org>
8762 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8763 to turn off an optimisation if a new inset is to be inserted.
8765 2002-10-11 André Pönitz <poenitz@gmx.net>
8767 * lyxtext.h: make some functions public to allow access
8768 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8770 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8772 * text3.C (dispatch): when changing layout, avoid an infinite loop
8775 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8777 * lyxrc.C (read): treat a viewer or converter command of "none" as
8780 * MenuBackend.C (expandFormats): for an update, also allow the
8781 formats that are not viewable
8783 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8784 script if it is newer than the lyxrc.defaults in user directory
8786 2002-10-07 André Pönitz <poenitz@gmx.net>
8788 * text.C: Vitaly Lipatov's small i18n fix
8790 2002-09-25 Angus Leeming <leeming@lyx.org>
8792 * ispell.h: doxygen fix.
8794 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8796 * buffer.h (readFile): Add a new argument to the method, to allow
8797 reading of old-format templates.
8799 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8801 * toc.C (getTocList): Get TOC from InsetWrap.
8803 2002-09-16 John Levon <levon@movementarian.org>
8805 * lyxfunc.C: check tabular for cut/copy too
8807 2002-09-12 John Levon <levon@movementarian.org>
8812 * factory.C: add header
8814 * paragraph_funcs.h:
8815 * paragraph_funcs.C: cleanup
8817 2002-09-11 John Levon <levon@movementarian.org>
8819 * PrinterParams.h: odd/even default to true
8821 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8823 * PrinterParams.h: update printer parameters for new xforms dialog
8825 2002-09-11 Angus Leeming <leeming@lyx.org>
8827 * lyxserver.C (read_ready): re-write to make it more transparent
8828 and to make it work in coherent fashion under Tru64 Unix.
8830 2002-09-11 André Pönitz <poenitz@gmx.net>
8834 * text3.C: implement LFUN_WORDSEL
8836 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8838 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8839 make floatlist_ a boost::shared_ptr<FloatList>
8841 * lyxtextclass.C: include FloatList.h
8842 (LyXTextClass): initialize floatlist_
8843 (TextClassTags): add TC_NOFLOAT
8844 (Read): match "nofloat" to TC_NOFLOAT and use it.
8845 (readFloat): modify call to floatlist_
8849 * FloatList.[Ch] (FloatList): remove commented out float
8851 (erase): new function
8853 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8855 * MenuBackend.C (expandToc): fix crash when there is no document
8858 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8860 * many files: Add insetwrap.
8862 2002-09-09 John Levon <levon@movementarian.org>
8864 * text2.C: remove confusing and awkward depth wraparound
8866 2002-09-09 John Levon <levon@movementarian.org>
8868 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8871 * buffer.C: remove getIncludeonlyList()
8874 * lyxfunc.C: remove headers
8876 2002-09-09 Juergen Vigna <jug@sad.it>
8878 * text.C (getColumnNearX): fix form Michael this is most
8879 probably a cut&paste bug.
8881 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8883 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8885 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8886 references, ws changes.
8888 * text2.C (init): update counters after init
8889 (insertParagraph): no need to set counter on idividual paragraphs.
8890 (setCounter): access the counters object in the textclass object
8891 on in the buffer object.
8892 (updateCounters): ditto
8894 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8895 shared_ptr<Counters> to avoid loading counters.h in all
8897 (LyXTextClass): initialize ctrs_
8898 (TextClassTags): add TC_COUNTER, and ...
8899 (Read): use it here.
8900 (CounterTags): new tags
8901 (readCounter): new function
8902 (counters): new funtion
8903 (defaultLayoutName): return a const reference
8905 * counters.C (Counters): remove contructor
8906 (newCounter): remove a couple of unneeded statements.
8907 (newCounter): simplify a bit.
8908 (numberLabel): some small formatting changes.
8910 * buffer.[Ch]: remove all traces of counters, move the Counters
8911 object to the LyXTextClass.
8913 2002-09-06 Alain Castera <castera@in2p3.fr>
8915 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8916 package to set the horizontal alignment on fixed width columns.
8919 * lyx_sty.h: added tabularnewline macro def.
8921 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8923 2002-09-06 John Levon <levon@movementarian.org>
8925 * LyXAction.C: tooltips for sub/superscript
8927 * MenuBackend.C: a bit more verbose
8929 * lyxfunc.C: tiny clean
8931 * undo_funcs.C: document undo_frozen
8933 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8935 * counters.C (Counters): add missing algorithm counter.
8937 * text2.C (setCounter): lookup the counter with layouts latexname
8938 instead of by section number.
8939 (setCounter): use a hackish way to lookup the correct enum
8941 a float name->type change
8942 reset enum couners with counter name directly instead of depth value.
8944 * counters.C (Counters): remove the push_backs, change to use the
8945 float type not the float name.
8946 (labelItem): remove unused string, float name->type change
8948 * counters.h: don't include vector, loose the enums and sects vectors
8950 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8952 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8953 (Read): add float->TC_FLOAT to textclassTags
8954 (Read): and handle it in the switch
8955 (readFloat): new function
8957 * FloatList.C (FloatList): comment out the hardcoded float
8960 * lyxlayout.h: ws change.
8962 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8964 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8966 2002-09-03 Angus Leeming <leeming@lyx.org>
8968 * BufferView_pimpl.h: qualified name is not allowed in member
8969 declaration: WorkArea & Pimpl::workarea() const;
8971 * factory.C: added using std::endl directive.
8973 * text3.C: added using std::find and std::vector directives.
8975 2002-08-29 André Pönitz <poenitz@gmx.net>
8978 * text2.C: remove unused member number_of_rows
8981 * BufferView2.C: remove file, move contents to...
8982 * BufferView.C: ... here
8984 * BufferView_pimpl.C:
8985 * factory.C: move more inset creation to factory
8987 * vspace.C: avoid direct usage of LyXText, ws changes
8990 don't provide direct access to WorkArea, use two simple
8991 acessors haveSelction() and workHeight() instead
8994 2002-08-29 John Levon <levon@movementarian.org>
8996 * BufferView_pimpl.C (dispatch): do not continue when
8999 2002-08-28 André Pönitz <poenitz@gmx.net>
9001 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9004 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9006 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9008 * buffer.C: increment LYX_FORMAT to 221
9010 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9011 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9013 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9015 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9017 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9019 * factory.C (createInset): use LyXTextClass::floats
9021 * MenuBackend.C (expandFloatListInsert):
9022 (expandFloatInsert):
9025 * text2.C (setCounter):
9027 * LaTeXFeatures.C (useFloat):
9028 (getFloatDefinitions):
9030 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9032 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9033 floatlist_, with accessor floats().
9035 * FloatList.h: remove global FloatList
9037 2002-08-26 André Pönitz <poenitz@gmx.net>
9039 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9043 * BufferView_pimpl.C:
9044 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9046 2002-08-25 John Levon <levon@movementarian.org>
9048 * LyXAction.C: fix margin note description
9050 2002-08-24 John Levon <levon@movementarian.org>
9054 * bufferview_funcs.C:
9056 * undo_funcs.C: cleanups
9058 * lyxfunc.C: disable CUT/COPY when no selection
9060 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9062 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9063 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9065 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9066 Add backward compatibility to "mono", "gray" and "no".
9068 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9070 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9071 (and file_format >= 200).
9073 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9075 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9077 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9079 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9081 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9083 * BufferView_pimpl.C:
9090 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9091 inset and code to make it work with the paragraph code. The inset
9092 can be anywhere in the paragraph, but will only do the expected
9093 thing in LaTeX if the layout file contains the parameter line
9095 (or more generally, a nonzero value) for that layout.
9097 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9099 * paragraph.h: remove the declaration of undefined counters class
9102 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9104 * text2.C (setCounter): fixed enumeration mis-count as reported by
9105 Dr. Richard Hawkins.
9107 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9109 * paragraph_funcs.h: remove some unneeded includes
9111 * text.C (backspace): pasteParagraph now in global scipe
9113 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9114 (pasteSelection): ditto
9116 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9117 * paragraph_funcs.C (pasteParagraph): ... here
9119 2002-08-20 André Pönitz <poenitz@gmx.net>
9121 * commandtags.h: new LFUNs for swapping/copying table row/colums
9124 * lyxfunc.C: support for new lfuns
9126 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9129 * buffer.[Ch]: remove NO_COMPABILITY stuff
9131 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9133 * boost.C (throw_exception): new file, with helper function for
9134 boost compiled without exceptions.
9139 * ParameterStruct.h:
9140 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9142 * bufferlist.C (emergencyWriteAll): use boost bind
9144 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9146 * text.C: include paragraph_funcs.h
9147 (breakParagraph): breakParagraph is now in global scope
9149 * paragraph_funcs.[Ch]: new files
9151 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9154 * buffer.C: include paragraph_funcs.h
9155 (insertStringAsLines): breakParagraph is now in global scope
9157 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9160 * CutAndPaste.C: include paragraph_funcs.h
9161 (cutSelection): breakParagraphConservative is now in global scope
9162 (pasteSelection): ditto
9164 * buffer.h: declare oprator== and operator!= for
9165 Buffer::inset_iterator
9167 * bufferlist.C (emergencyWrite): don't use fmt(...)
9169 * text3.C: add using std::endl
9171 * BufferView.C (moveCursorUpdate): remove default arg
9173 2002-08-20 André Pönitz <poenitz@gmx.net>
9175 * buffer.[Ch]: move inline functions to .C
9178 * BufferView_pimpl.C:
9180 * buffer.[Ch]: use improved inset_iterator
9183 * paragraph.[Ch]: write one paragraph at a time
9185 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9187 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9188 style if style is not specified.
9190 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9192 * text2.C (setCounter): when searching for right label for a
9193 caption, make sure to recurse to parent insets (so that a caption
9194 in a minipage in a figure float works) (bug #568)
9196 2002-08-20 André Pönitz <poenitz@gmx.net>
9198 * text3.C: new file for LyXText::dispatch() and helpers
9200 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9202 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9204 2002-08-19 André Pönitz <poenitz@gmx.net>
9207 * text.C: new LyXText::dispatch()
9209 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9211 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9213 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9215 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9218 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9220 * Makefile.am: use $(variables) instead of @substitutions@
9222 2002-08-15 André Pönitz <poenitz@gmx.net>
9225 * BufferView_pimpl.C: streamlining mathed <-> outer world
9229 * LyXAction.C: remove unused LFUN_MATH
9231 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9233 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9235 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9237 * paragraph.C (Paragraph): reformat a bit
9238 (cutIntoMinibuffer): use builtin InsetList function instad of
9242 * buffer.C: include boost/bind.hpp, add using std::for_each
9243 (writeFileAscii): use ParagraphList iterators
9244 (validate): use for_each for validate traversal of paragraphs
9245 (getBibkeyList): use ParagraphList iterators
9246 (resizeInsets): use for_each to resizeInsetsLyXText for all
9248 (getParFromID): use ParagraphList iterators
9250 * BufferView2.C (lockInset): use paragraph list and iterators
9252 2002-08-14 John Levon <levon@movementarian.org>
9254 * lyxserver.C: remove spurious xforms include
9256 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9258 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9260 2002-08-13 André Pönitz <poenitz@gmx.net>
9263 * lyxfunc.C: further cleaning
9265 2002-08-13 André Pönitz <poenitz@gmx.net>
9267 * funcrequest.h: new constructor
9269 * funcrequest.C: move stuff here from .h
9272 * BufferView_pimpl.C:
9275 * lyxfunc.C: subsequent changes
9277 * lyxfunc.h: new view() member function
9279 * lyxfunc.C: subsequent changes
9281 2002-08-13 Angus Leeming <leeming@lyx.org>
9284 * BufferView_pimpl.C:
9292 changes due to the changed LyXView interface that now returns references
9293 to member variables not pointers.
9295 2002-08-13 Angus Leeming <leeming@lyx.org>
9297 * WordLangTuple (word, lang_code): return references to strings,
9302 * lyxtext.h: forward-declare WordLangTuple.
9307 * text.C: #include "WordLangTuple.h".
9310 * text.C: (selectNextWordToSpellcheck): constify return type.
9312 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9318 * paragraph_pimpl.h:
9321 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9323 Made updateCounter always count from start of buffer, and removed
9324 second argument (par).
9325 Reverted floats number display to '#'. Perhaps I'll try again when the
9326 code base is sanitized a bit.
9328 2002-08-12 Angus Leeming <leeming@lyx.org>
9330 * buffer.[Ch] (getLabelList): constify.
9332 2002-08-07 André Pönitz <poenitz@gmx.net>
9334 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9336 * funcrequest.h: extension to keep mouse (x,y) position
9338 2002-08-12 Juergen Vigna <jug@sad.it>
9340 * BufferView2.C (insertErrors): forbid undo when inserting error
9343 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9345 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9347 * ParagraphList.[Ch]: new files
9349 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9351 * BufferView2.C (lockInset): ParagraphList changes
9354 * bufferlist.C: ditto
9358 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9360 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9361 unused class variable counter_,
9363 * paragraph.[Ch] (getFirstCounter): delete unused function
9365 * counters.C: include LAssert.h
9366 (reset): add a new function with no arg, change other version to
9367 not have def. arg and to not allow empty arg.
9369 * text2.C (setCounter): remove empty arg from call to Counters::reset
9371 2002-08-11 John Levon <levon@movementarian.org>
9373 * Makefile.am: add WordLangTuple.h
9375 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9377 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9378 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9380 * insets/insettext.C: InsetList changes
9382 * graphics/GraphicsSupport.C (operator()): InsetList changes
9384 * toc.C (getTocList): InsetList changes
9386 * paragraph_pimpl.[Ch]: InsetList changes
9388 * paragraph.[Ch]: InsetList changes
9390 * buffer.C (inset_iterator): InsetList changes
9391 (setParagraph): ditto
9392 * buffer.h (inset_iterator): ditto
9393 * iterators.C (operator++): ditto
9394 * iterators.h: ditto
9396 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9398 * InsetList.[Ch]: new files, most InsetList handling moved out of
9401 * BufferView2.C (removeAutoInsets): InsetList changes
9403 (ChangeInsets): ditto
9405 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9407 * paragraph_pimpl.h (empty): new function
9409 * paragraph.[Ch] (empty): new function
9411 * other files: use the new Paragraph::empty function
9413 2002-08-09 John Levon <levon@movementarian.org>
9415 * lyxtext.h: remove unused refresh_height
9417 2002-08-09 John Levon <levon@movementarian.org>
9424 * paragraph.C: move sgml char escaping out of paragraph
9427 * paragraph.C: remove id setter
9431 * paragraph_pimpl.C: remove dead tex_code_break_column
9433 * bufferview_funcs.C: small cleanup
9435 * lyxfunc.C: remove dead proto
9437 * lyxtext.h: make some stuff private. Remove some dead stuff.
9439 * lyxgluelength.C: make as[LyX]String() readable
9441 2002-08-08 John Levon <levon@movementarian.org>
9446 * ToolbarDefaults.C:
9449 * toc.C: lyxaction cleanup
9451 2002-08-08 John Levon <levon@movementarian.org>
9453 * BufferView2.C: small cleanup
9456 * lyxfind.C: move unnecessary header into the .C
9458 2002-08-08 John Levon <levon@movementarian.org>
9460 * funcrequest.h: just tedious nonsense
9463 * lyx_main.C: cleanups
9466 * vspace.C: remove dead header lyx_main.h
9468 2002-08-07 Angus Leeming <leeming@lyx.org>
9471 * paragraph_pimpl.h:
9472 Forward declare class Counters in paragraph.h by moving the ctrs member
9473 variable into Paragraph::Pimpl.
9474 (counters): new method, returning a reference to pimpl_->ctrs.
9476 * text2.C: ensuing changes.
9478 2002-08-07 John Levon <levon@movementarian.org>
9480 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9482 * BufferView_pimpl.C: announce X selection on double/triple
9485 * lyx_main.C: use correct bool in batch dispatch
9487 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9489 2002-08-07 André Pönitz <poenitz@gmx.net>
9491 * funcrequest.h: new class to wrap a kb_action and its argument
9494 * BufferView_pimpl[Ch]:
9498 * lyxrc.C: subsequent changes
9501 2002-08-07 John Levon <levon@movementarian.org>
9503 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9504 document options change.
9506 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9511 * makefile.am: move counters functionality over from
9512 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9514 2002-08-06 John Levon <levon@movementarian.org>
9516 * WordLangTuple.h: new file for word + language code tuple
9527 * BufferView2.C: use WordLangTuple
9530 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9532 2002-08-06 John Levon <levon@movementarian.org>
9534 * lyx_main.C: fix cmdline batch handling
9536 2002-08-06 André Pönitz <poenitz@gmx.net>
9538 * lyxrc.C: set default for show_banner to true
9540 2002-08-06 John Levon <levon@movementarian.org>
9542 * pspell.C: fix a crash, and allow new aspell to work
9544 2002-08-06 John Levon <levon@movementarian.org>
9547 * kbmap.C: small cleanup
9550 * vspace.C: add const
9552 2002-08-05 John Levon <levon@movementarian.org>
9554 * LyXAction.C: back to tabular-insert
9556 2002-08-04 John Levon <levon@movementarian.org>
9559 * BufferView.C: cosmetic change
9561 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9571 * BufferView2.C: purge all "Lyx" not "LyX" strings
9574 * lyxcursor.C: attempt to add some documentation
9579 * ToolbarDefaults.C:
9580 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9581 merge with LFUN_TABULAR_INSERT
9588 * pspell.C: split up i/pspell implementations into separate
9589 files, many cleanups
9591 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9593 * text2.C: some cleanup
9595 * lyxfunc.C: don't check for isp_command == "none" any more, it
9596 didn't make any sense
9598 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9603 * makefile.am: move counters functionality over
9604 from text2.C/paragraph.[Ch] to counters.[Ch], and
9606 2002-08-02 John Levon <levon@movementarian.org>
9608 * buffer.C: s/lyxconvert/lyx2lyx/
9610 2002-08-02 Angus Leeming <leeming@lyx.org>
9612 * lyxlex.C: revert John's change as it breaks reading of the user
9615 2002-08-02 Angus Leeming <leeming@lyx.org>
9617 * importer.C (Import):
9618 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9619 changes due to LyXView::view() now returning a boost::shared_ptr.
9621 2002-08-02 John Levon <levon@movementarian.org>
9623 * lyxlex.C: small cleanup
9625 2002-08-02 John Levon <levon@movementarian.org>
9627 * text2.C (status): small cleanup, no logic change
9629 2002-08-01 John Levon <levon@movementarian.org>
9632 * buffer.C (writeFile): don't output alerts, caller
9636 * lyx_cb.C: from above
9638 * lyxfunc.C: allow to open non-existent files
9640 2002-07-31 John Levon <levon@movementarian.org>
9642 * lyxserver.C: don't let incidental errors get
9645 2002-07-30 John Levon <levon@movementarian.org>
9647 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9649 2002-07-30 John Levon <levon@movementarian.org>
9652 * lyxserver.C: remove I/O callback too
9654 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9656 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9659 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9661 * many files: strip,frontStrip -> trim,ltrim,rtrim
9663 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9665 * PrinterParams.h: remove extern containsOnly, and include
9666 support/lstrings.h instead.
9668 * LaTeX.C (scanAuxFile): modify because of strip changes
9670 * buffer.C (makeLaTeXFile): ditto
9671 * bufferparams.C (writeFile): ditt
9672 * lyxfont.C (stateText): ditto
9673 * lyxserver.C (read_ready): ditto
9674 * vc-backend.C (scanMaster): ditto
9676 * BufferView_pimpl.h: ws changes
9678 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9680 2002-07-26 André Pönitz <poenitz@gmx.net>
9682 * kb_sequence.C: remove unnedred usings
9684 2002-07-26 Juergen Vigna <jug@sad.it>
9686 * lyxfind.C (LyXReplace): we have to check better if the returned
9687 text is not of theLockingInset()->getLockingInset().
9689 2002-07-25 Juergen Vigna <jug@sad.it>
9691 * lyxfind.C (LyXReplace): don't replace if we don't get the
9694 * undo_funcs.C (createUndo): remove debugging code.
9696 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9698 * buffer.C (parseSingleLyXformat2Token): Use default placement
9699 when reading old floats.
9701 * FloatList.C (FloatList): Change the default placement of figure
9702 and tables to "tbp".
9704 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9706 * MenuBackend.C: using std::max
9708 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9710 * MenuBackend.C (expandToc):
9711 (expandToc2): code moved from xforms menu frontend. It is now
9712 generic and TOCs are transparent to menu frontends.
9714 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9716 * toc.C (getTocList): protect against buf=0
9718 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9719 Menu as first parameter. Now, this calls itself recursively to
9720 expand a whole tree (this will be useful for TOC handling)
9721 (expandFloatInsert): remove 'wide' version of floats
9723 * MenuBackend.h (submenuname): returns the name of the submenu.
9724 (submenu): returns the submenu itself, provided it has been
9725 created by MenuBackend::expand
9727 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9729 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9730 insets which have noFontChange == true. (bug #172)
9732 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9734 * BufferView_pimpl.C: add connection objects and use them...
9737 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9739 * MenuBackend.C (expandLastfiles):
9742 (expandFloatListInsert):
9743 (expandFloatInsert):
9744 (expand): split expand in parts
9746 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9748 * lyx_gui.C: use lyx_gui::exit()
9750 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9752 * LyXAction.C: show the failing pseudo action
9754 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9756 * buffer.C (readFile): Run the lyxconvert script in order to read
9759 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9763 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9765 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9769 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9771 2002-07-22 Herbert Voss <voss@lyx.org>
9774 * lyxlength.[Ch]: add support for the vertical lengths
9776 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9778 * toc.[Ch]: std:: fixes
9780 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9782 * lyxrc.C: do not include lyx_main.h
9784 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9790 * BufferView2.C: include "lyxlex.h"
9793 * bufferparams.h: do not #include "lyxlex.h"
9795 * lyxtextclasslist.C (Add): remove method
9796 (classlist): renamed to classlist_
9798 * paragraph_pimpl.C:
9802 * bufferview_funcs.C:
9807 * toc.C (getTocList): use BufferParams::getLyXTextClass
9809 * toc.C (getTocList): use InsetFloat::addToToc
9811 * toc.[Ch]: new files, containing helper functions to handle table
9814 * lyxfunc.C (dispatch): no need to remove spaces around command
9816 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9817 first command of the sequence; it is not very clever, but I do not
9818 have a better idea, actually
9820 * LyXAction.C (LookupFunc): make sure to remove space at the
9821 beginning and end of the command
9823 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9825 * MenuBackend.C (getMenubar): new method: return the menubar of
9827 (read): treat differently reading of menu and menubar (in
9828 particular, the menubar has no name now)
9829 (Menu::menubar): remove
9831 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9834 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9836 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9837 a bibitem inset in a RTL paragraph.
9839 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9841 * paragraph_pimpl.C: constify
9843 * BufferView_pimpl.C:
9845 * lyxfunc.C: fix dispatch in a nicer way
9847 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9849 * lyxfunc.C (dispatch):
9850 * BufferView_pimpl.C:
9851 * BufferView_pimpl.h:
9853 * BufferView.h: rename Dispatch() to dispatch()
9855 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9857 * lyxlayout.C (Read): honor DependsOn tag
9859 * lyxlayout.[Ch] (depends_on): new method
9861 * version.C.in: update lyx_docversion
9863 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9865 * paragraph.C (validate): remove from here...
9866 * paragraph_pimpl.C (validate): ... and move here
9867 (isTextAt): make it const
9869 * buffer.C (getLists): ws cleanup
9871 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9873 * language.C (read): Use iso8859-1 encoding in latex_lang
9874 (this prevents LyX from crashing when using iso10646-1 encoding).
9876 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9878 * text2.C (toggleInset): if cursor is inside an inset, close the
9879 inset and leave cursor _after_ it
9881 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9883 * lyxfunc.C: move minibuffer completion handling out of here
9885 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9887 * BufferView_pimpl.C:
9888 * LaTeX.C: fix dispatch calls
9890 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9892 * text.C (drawChars): Fix Arabic text rendering.
9894 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9898 * lyxfunc.C: remove message-push/pop
9902 * lyxfunc.C: rationalise some code by removing verboseDispatch
9903 in favour of a bool argument to dispatch()
9905 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9907 * lyx_main.C (init): make sure to read symlinks as absolute paths
9909 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9912 * lyxfunc.C: no need for commandshortcut to be a member
9914 2002-07-15 André Pönitz <poenitz@gmx.net>
9916 * converter.C: add support for $$s (scripts from lib/scripts dir)
9917 * lyx_main.C: white space
9919 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9923 * lyxrc.C: remove second exit confirmation
9925 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9930 * BufferView_pimpl.h:
9931 * BufferView_pimpl.C:
9932 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9934 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9936 * MenuBackend.C (expand): add numeric shortcuts to document menu
9938 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9940 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9942 * lyxfont.C (setLyXFamily):
9949 * buffer.C (asciiParagraph): use ascii_lowercase
9951 2002-07-15 Mike Fabian <mfabian@suse.de>
9953 * lyxlex_pimpl.C (search_kw):
9954 * lyxlex.C (getLongString):
9955 * converter.h (operator<):
9956 * converter.C (operator<):
9957 * buffer.C (parseSingleLyXformat2Token):
9959 * ToolbarDefaults.C (read):
9960 * MenuBackend.C (checkShortcuts):
9962 * LColor.C (getFromGUIName):
9963 (getFromLyXName): use the compare_ascii_no_case instead of
9964 compare_no_case, because in turkish, 'i' is not the lowercase
9965 version of 'I', and thus turkish locale breaks parsing of tags.
9967 2002-07-16 Angus Leeming <leeming@lyx.org>
9969 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9970 now takes a Buffer const & argument.
9972 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9974 * BufferView.C (resize): check there's a buffer to resize
9976 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9978 * lyxfunc.C: remove dead code
9981 * lyxserver.C: use lyx_guii::set_read_callback
9983 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9985 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9986 an inset in a RTL paragraph.
9988 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9990 * lyxfunc.C: repaint after a font size update
9992 2002-07-15 André Pönitz <poenitz@gmx.net>
9994 * lyxlength.C: inBP should be able to return negative values
9996 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9998 * lyxfunc.C: use lyx_gui::update_fonts()
10000 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10002 * lyxfunc.C: use lyx_gui::update_color()
10004 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10010 * lyxrc.C: remove file->new asks for name option, and let
10011 buffer-new take an argument
10013 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10015 * BufferView_pimpl.C: remove unneeded extra repaint()
10017 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10019 * LyXAction.C: allow command-sequence with NoBuffer
10021 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10023 2002-07-10 Angus Leeming <leeming@lyx.org>
10025 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10027 2002-07-09 Angus Leeming <leeming@lyx.org>
10029 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10031 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10033 * lengthcommon.h: whitespace
10035 * lyxfunc.C: update scrollbar after goto paragraph
10037 * lyxtext.h: factor out page break drawing, and fix it so
10038 page break/added space paints as selected nicely
10040 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10042 * BufferView_pimpl.C: add FIXMEs, clean up a little
10044 2002-07-09 André Pönitz <poenitz@gmx.net>
10046 * lyxfont.[Ch]: support for wasy symbols
10048 2002-07-08 André Pönitz <poenitz@gmx.net>
10050 * BufferView_pimpl.C: apply John's patch for #93.
10052 2002-07-05 Angus Leeming <leeming@lyx.org>
10054 * BufferView_pimpl.C (buffer): generate previews if desired.
10056 * LColor.h: add "preview" to the color enum.
10058 * LColor.C (LColor): add a corresponding entry to the items array.
10060 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10063 2002-07-05 Angus Leeming <leeming@lyx.org>
10065 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10066 The body of the code is now in the method that is passed an ostream &
10067 rather than a file name.
10068 Pass an additional only_preamble parameter, useful for the forthcoming
10071 2002-07-03 André Pönitz <poenitz@gmx.net>
10073 * lyxfunc.C: simplify getStatus() a bit for math stuff
10075 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10077 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10079 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10081 * text.C (changeRegionCase): do not change case of all the
10082 document when region ends at paragraph end (bug #461)
10084 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10086 * paragraph.C (startTeXParParams):
10087 (endTeXParParams): add \protect when necessary
10089 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10091 * BufferView_pimpl.C (workAreaExpose): remove warning
10093 2002-06-27 Angus Leeming <leeming@lyx.org>
10095 * Makefile.am: add lyxlayout_ptr_fwd.h.
10097 2002-06-26 André Pönitz <poenitz@gmx.net>
10099 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10101 2002-06-25 Angus Leeming <leeming@lyx.org>
10103 * lyxfunc.C (dispatch): Comment out the call to
10104 grfx::GCache::changeDisplay. The method no longer exists now that the
10105 pixmap generation part of the graphics loader has been moved into
10108 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10110 * text2.C: layout as layout
10112 * text.C: layout as layout
10114 * tabular.C (OldFormatRead): layout as layout
10116 * paragraph_pimpl.C (TeXDeeper): layout as layout
10117 (realizeFont): layout as layout
10119 * paragraph.C (writeFile): layout as layout
10120 (validate): layout as layout
10121 (getFont): layout as layout
10122 (getLabelFont): layout as layout
10123 (getLayoutFont): layout as layout
10124 (breakParagraph): layout as layout
10125 (stripLeadingSpaces): layout as layout
10126 (getEndLabel): layout as layout
10127 (getMaxDepthAfter): layout as layout
10128 (applyLayout): layout as layout
10129 (TeXOnePar): layout as layout
10130 (simpleTeXOnePar): layout as layout
10131 (TeXEnvironment): layout as layout
10132 (layout): layout as layout
10133 (layout): layout as layout
10135 * lyxtextclass.C (compare_name): new functor to work with
10136 shared_ptr, layout as layout
10137 (Read): layout as layout
10138 (hasLayout): layout as layout
10139 (operator): layout as layout
10140 (delete_layout): layout as layout
10141 (defaultLayout): layout as layout
10143 * lyxlayout_ptr_fwd.h: new file
10145 * lyxlayout.C (Read): layout as layout
10147 * lyx_cb.C (MenuInsertLabel): layout as layout
10149 * bufferlist.C (newFile): layout as layout
10151 * buffer.C (readLyXformat2): layout as layout
10152 (parseSingleLyXformat2Token): layout as layout
10153 (insertStringAsLines): layout as layout
10154 (asciiParagraph): layout as layout
10155 (latexParagraphs): layout as layout
10156 (makeLinuxDocFile): layout as layout
10157 (simpleLinuxDocOnePar): layout as layout
10158 (makeDocBookFile): layout as layout
10159 (simpleDocBookOnePar): layout as layout
10160 (getLists): layout as layout
10162 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10164 * CutAndPaste.C (cutSelection): layout as layout
10165 (pasteSelection): layout as layout
10166 (SwitchLayoutsBetweenClasses): layout as layout
10168 * BufferView_pimpl.C (Dispatch): layout as layout
10169 (smartQuote): layout as layout
10171 * BufferView2.C (unlockInset): layout as layout
10173 2002-06-24 André Pönitz <poenitz@gmx.net>
10175 * lyxfunc.C: fix #487
10177 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10181 * lyxfunc.C: remove display_shortcuts, show_banner
10183 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10185 * Buffer_pimpl.C: oops, update on resize
10187 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10194 * BufferView.C: use repaint()
10196 * BufferView_pimpl.h:
10197 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10198 as it's a clearer description. Remove superfluous
10201 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10203 * text.C: fix bug 488. Not ideal, but getting
10204 getWord() to work properly for the insets that
10205 matter is more difficult ...
10207 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10209 * BufferView_pimpl.C:
10212 * lyxfunc.C: remove the six million index lyxfuncs to just
10213 one, and DTRT (bug 458)
10215 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10219 * BufferView_pimpl.h:
10220 * BufferView_pimpl.C: clean up resize() stuff,
10221 and unnecessary updateScreen()s
10223 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10227 * BufferView_pimpl.h:
10228 * BufferView_pimpl.C:
10231 * minibuffer.C: remove focus management of workarea,
10232 not needed. Use screen's greyOut()
10234 2002-06-17 Herbert Voss <voss@lyx.org>
10236 * converter.C: (convert) do not post a message, when converting
10237 fails, let the calling function decide what to do in this case
10239 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10241 * lyxfunc.C: tidy up a little
10243 2002-06-16 <alstrup@diku.dk>
10245 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10246 Got rid of FORMS_H_LOCATION include. Now we are
10249 2002-06-15 LyX Development team <lyx@rilke>
10251 * buffer.[Ch] (sgmlOpenTag):
10252 (sgmlCloseTag): Added support for avoiding pernicious mixed
10253 content. Return number of lines written.
10255 (makeLinuxDocFile):
10256 (makeDocBookFile): Fixed calls to sgml*Tag.
10257 Simple white space clean.
10259 (simpleDocBookOnePar): Simple white space clean.
10261 * tabular.[Ch] (docBook): Renamed to docbook and got another
10262 argument to related with the pernicious mixed content.
10264 (docbookRow): Fixed calls for docbook inset method.
10266 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10268 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10269 so it's X11 independent.
10273 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10275 2002-06-15 Lyx Development team <lyx@electronia>
10277 * intl.h: Renamed getTrans to getTransManager.
10279 2002-06-14 Angus Leeming <leeming@lyx.org>
10281 * Makefile.am: nuke forgotten stl_string_fwd.h.
10283 2002-06-12 Angus Leeming <leeming@lyx.org>
10285 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10287 2002-06-13 Angus Leeming <leeming@lyx.org>
10290 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10292 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10294 * kbmap.C (getiso): add support for cyrillic and greek
10296 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10300 * BufferView_pimpl.h:
10301 * BufferView_pimpl.C: move bogus scrolling logic
10304 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10307 * BufferView_pimpl.C: view->resize() change
10309 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10311 * BufferView_pimpl.C: topCursorVisible
10314 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10318 * lyx_gui.C: move to frontends/
10322 * lyx_main.C: changes from above
10324 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10331 * lyx_main.C: minor tidy
10333 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10335 * BufferView_pimpl.h:
10336 * BufferView_pimpl.C:
10338 * BufferView.C: make painter() const,
10341 * BufferView2.C: use screen() accessor
10344 * lyx_main.C: some minor cleanup
10346 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10348 * BufferView_pimpl.h:
10349 * BufferView_pimpl.C: remove enter/leaveView,
10352 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10357 * BufferView_pimpl.h:
10358 * BufferView_pimpl.C: only construct screen once,
10361 * lyxrc.C: remove pointless comment
10363 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10366 * BufferView.C: remove active() and belowMouse()
10368 * BufferView_pimpl.h:
10369 * BufferView_pimpl.C: use workarea() not workarea_,
10370 and make it use a scoped_ptr instead
10372 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10374 * lyx_gui.C: add debug message on BadWindow
10376 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10378 * sp_spell.C: fdopen is not part of the C++ standard.
10380 * paragraph.C (InsetIterator): use >= instead of ==
10382 2002-06-07 Angus Leeming <leeming@lyx.org>
10384 Fixes needed to compile with Compaq cxx 6.5.
10385 * BufferView_pimpl.C:
10392 * lyxtextclasslist.C:
10397 all c-library variables have been moved into namespace std. Wrap
10398 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10403 Add a using std::abs declaration.
10405 * kbmap.h (modifier_pair):
10406 * paragraph.h (InsetTable, InsetList):
10407 * lyxfont.h (FontBits):
10408 type definition made public.
10410 * bufferlist.C (emergencyWriteAll): the compiler complains that
10411 there is more than one possible lyx::class_fun template to choose from.
10412 I re-named the void specialisation as lyx::void_class_fun.
10414 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10416 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10417 the compiler is is unable to find tostr in write_attribute.
10419 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10421 * buffer.C (sgmlError): hide #warning
10423 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10425 * xtl/*: get rid of xtl, which is not in use anyway
10427 * LyXAction.C (init):
10428 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10429 were unimplemented xtl experimentation
10431 2002-06-04 André Pönitz <poenitz@gmx.net>
10433 * lyxfunc.C: disable array operation on simple formulae
10435 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10437 * converter.C: constify a bit
10439 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10441 * lyx_gui.C: check xforms version correctly
10443 2002-04-30 Herbert Voss <voss@lyx.org>
10445 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10448 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10450 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10451 attempt to register it with a VCS)
10453 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10455 * lyx_main.C (init): honor variables LYX_DIR_13x and
10458 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10462 * lyx_main.C: fix a crash on bad command line,
10463 and give a useful exit status on error
10465 * lyxfunc.C (doImport): allow -i lyx to work
10467 2002-03-30 André Pönitz <poenitz@gmx.net>
10469 * lyxfunc.C: mathed font changes
10471 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10486 * trans_mgr.h: srcdocs, and some minor cleanups
10488 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10490 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10491 call getFont all the time)
10493 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10495 * switch from SigC signals to boost::signals
10497 2002-05-29 André Pönitz <poenitz@gmx.net>
10499 * paragraph_pimpl.C (getChar): don't call size() too often...
10501 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10503 * paragraph_pimpl.C (insertChar): do not try to update tables when
10504 appending (pos == size())
10506 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10507 in order to reduce drastically the number of comparisons needed to
10508 parse a large document
10510 2002-05-29 André Pönitz <poenitz@gmx.net>
10516 * textclasslist.[Ch]:
10517 * sp_ispell.h: whitespace change
10519 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10521 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10522 lyxaction directly now.
10524 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10528 * lyxvc.C: remove unused headers
10530 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10537 * undo_funcs.C: some cleanups. Use shared_ptr
10538 and a template for the undo stacks.
10540 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10542 * BufferView_pimpl.h:
10543 * BufferView_pimpl.C:
10550 * text2.C: use key_state/mouse_state
10552 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10554 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10557 * chset.C: change include order
10558 (loadFile): use boost regex and get rid of LRegex and LSubstring
10560 * Makefile.am (BOOST_LIBS): new variable
10561 (lyx_LDADD): use it
10563 * LaTeX.C: change include order.
10564 (scanAuxFile): use boost regex and get rid of LRegex and
10568 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10573 * FontInfo.C: moved to frontends/xforms/
10576 * FontLoader.C: moved into frontends for GUIIzation
10581 * lyxfunc.C: changes from above
10583 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10585 * LColor.C: remove spurious X include
10587 * BufferView_pimpl.C:
10592 * text2.C: move font metrics to frontends/
10594 2002-05-24 Juergen Vigna <jug@sad.it>
10596 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10597 setting the undo_cursor.
10599 * ParagraphParameters.h: include local includes first.
10601 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10603 * BufferView_pimpl.C:
10604 * BufferView_pimpl.h:
10608 * screen.C: move WorkArea into frontends/
10614 * BufferView2.C: move LyXScreen into frontends/
10618 * lyx_gui.C: move lyxlookup into frontends/xforms/
10620 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10623 * BufferView_pimpl.C:
10633 * bufferview_funcs.C:
10646 * vc-backend.C: move LyX/XFormsView into frontends/
10648 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10660 * text2.C: move Painter to frontends/
10662 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10664 * buffer.C: comment out some some code that depend upon lyx_format
10667 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10668 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10670 * buffer.h (NO_COMPABILITY): turn off compability
10672 * ColorHandler.C: include scoped_array.hpp
10674 * font.C: Use more specific smart_ptr header.
10677 * ShareContainer.h: ditto
10678 * lyx_main.h: ditto
10680 * FontInfo.h: ditto
10681 * BufferView_pimpl.h: ditto
10682 * ColorHandler.h: ditto
10684 * kbmap.C (defkey): change call to shared_ptr::reset
10686 2002-05-21 Juergen Vigna <jug@sad.it>
10688 * buffer.C (insertErtContents): fix to insert ert asis if it is
10689 non empty. Skip it completely if it contains only whitespaces.
10691 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10693 * BufferView_pimpl.C:
10694 * BufferView2.C: clear selection on paste (bug 393)
10696 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10698 * DepTable.C: include ctime
10700 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10702 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10704 2002-05-14 Juergen Vigna <jug@sad.it>
10706 * text.C (breakParagraph): fixed function to honor the keepempty
10707 layout in the right maner and also to permit the right breaking
10708 algorithm on empty or non empyt keepempty paragraphs.
10710 * paragraph.C (breakParagraph): we have to check also if the par
10711 is really empty (!size()) for isempty otherwise we do the wrong
10714 2002-05-10 Juergen Vigna <jug@sad.it>
10716 * buffer.[Ch] : The following are only changes to the ert
10717 compatibility read reading old LaTeX layout and font stuff and
10718 convert it to ERTInsets.
10720 * buffer.h: added isErtInset().
10722 * buffer.C (struct ErtComp): add a fromlayout bool to check
10723 if we're inside a LaTeX layout.
10724 (isErtInset): new helper function.
10725 (insertErtContents): look for other ert insets before this one
10726 and insert the contents there, so that we don't have subsequent
10727 ERT insets with nothing between them. This way we create only one
10728 inset with multiple paragraphs. Also check if we don't insert only
10729 spaces ' ' as they are ignored anyway afterwards in the .tex file
10730 so if we have only spaces we will ignore this latex part in the
10732 (parseSingleLyXformat2Token \\layout): better compatibility when
10733 reading layout-latex stuff.
10734 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10736 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10737 stuff after reading the inset only get the information back from
10740 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10742 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10744 * LaTeXFeatures.C (getBabelOptions): New method.
10746 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10748 * BufferView_pimpl.C (Dispatch): work around missing argument for
10751 2002-05-08 Juergen Vigna <jug@sad.it>
10753 * text.C (leftMargin): handle paragraph leftindent.
10755 * paragraph.C (writeFile): write the new \\leftindent tag.
10756 (validate): handle leftindent code.
10757 (TeXEnvironment): handle paragraphleftindent code again.
10759 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10761 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10762 for paragrap_extra indent code and new token \\leftindent.
10763 (latexParagraphs): handle the leftindent as environment.
10765 * ParameterStruct.h: added leftindent support.
10767 * ParagraphParameters.C (leftIndent): added support functions for
10768 the paragraph left indent.
10770 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10773 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10775 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10778 * text.C (computeBidiTables): No bidi in insetERT.
10780 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10783 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10785 * version.C.in: pre 5
10787 2002-05-02 José Matos <jamatos@fep.up.pt>
10788 * buffer.C (makeDocBookFile): white space changes, add newline to
10790 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10792 * tabular.C (docBook): fix typo.
10794 2002-05-03 Juergen Vigna <jug@sad.it>
10796 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10797 change in LyXText as we can not be sure it was not freed.
10798 (drawOneRow): remove unused code.
10800 * text.C (drawInset): redo the calculation of the need_break_row as
10801 it could have a row which was already freed.
10802 (draw): look at the return value of drawInset and return false if
10803 it also returned false.
10804 (paintRowText): look at the return value of draw and return false if
10805 it also returned false.
10807 * lyxtext.h: added bool return type to drawInset() and draw() so that
10808 if we have a change in the row so that the rowbreak has to be redone
10809 we abort drawing as it will be called again.
10811 2002-05-02 Juergen Vigna <jug@sad.it>
10813 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10814 a change in the maintext also if we're inside an inset.
10815 (Dispatch): set the cursor again after a break line and after the
10816 screen has been updated as it could be we're in a different row.
10818 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10819 to set the cursor behind the pargraph with > size().
10820 (setCursor): check also for the same paragraph when checking where
10821 to put the cursor if we have a NFR inset.
10823 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10824 parts of layout read further up as it still was in the wrong
10827 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10829 * screen.C (drawFromTo): change sine fullRebreak always return
10832 * buffer.C (parseSingleLyXformat2Token): reindent some
10834 * BufferView_pimpl.C (update): change since fullRebreak always
10836 (Dispatch): git rid of the last hardcoded "Standard"s.
10838 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10840 * text2.[Ch] (fullRebreak): make it return void now that we always
10843 2002-04-30 Juergen Vigna <jug@sad.it>
10845 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10846 ert compatibility check for "latex" layout.
10848 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10850 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10851 minipages: use col% instead of p%, and also use the current font.
10852 (makeLaTeXFile): Fix use babel condition.
10853 (parseSingleLyXformat2Token): Correct font when reading old floats.
10855 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10857 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10858 inserting list of floats.
10860 2002-04-25 Herbert Voss <voss@lyx.org>
10862 * MenuBackend.C (expand): don't add the graphics extensions to the
10865 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10867 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10868 non-existing layout, do not complain if it was the default layout
10869 of the original class (bug #342)
10871 2002-04-24 Juergen Vigna <jug@sad.it>
10873 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10874 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10876 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10878 * buffer.C (getBibkeyList): If using \bibliography, return the
10879 option field with the reference itself. Enables us to provide natbib
10880 support when using \bibliography.
10882 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10884 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10886 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10887 natbib is provided by the LaTeX class.
10889 2002-04-23 Juergen Vigna <jug@sad.it>
10891 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10894 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10896 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10898 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10900 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10901 ensuremath around textordmasculine, textordfeminine and
10904 2002-04-19 Juergen Vigna <jug@sad.it>
10906 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10907 reinitializing the buffer otherwise row-dimensions may be wrong.
10908 (update): reset also the selection cursors if they do exits otherwise
10909 their x/y positions may be wrong.
10911 * text2.C (cursorDown): don't enter the inset if we came from a row
10912 above and are one row over the inset.
10914 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10915 really leaving an inset.
10917 2002-04-18 Juergen Vigna <jug@sad.it>
10919 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10920 of the selected paragraph does not have the selected layout also if
10923 * text2.C (setLayout): fixed bug which did not change last selected
10926 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10927 changed the read and substituted \\end_float with \\end_inset!
10929 * BufferView_pimpl.C (cursorPrevious):
10930 (cursorNext): fixed to make it work with rows heigher than the work
10931 area without moving the cursor only the draw of the row.
10932 (workAreaMotionNotify): fix jumping over high rows.
10934 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10936 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10939 2002-04-16 Juergen Vigna <jug@sad.it>
10941 * text2.C (setCursor): set also the irow().
10942 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10944 (cursorDown): support for locking an inset if the x_fix value goes
10945 inside it. That way I can transverse insets too with cursor up/down.
10947 * lyxrow.h: added irow helper function same as other (i) functions.
10949 * BufferView_pimpl.C (cursorPrevious):
10950 (cursorNext): fixed for insets!
10952 2002-04-15 Juergen Vigna <jug@sad.it>
10954 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10955 position otherwise it is wrong in some cases.
10957 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10958 inside the inset before the call.
10960 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10962 * buffer.[Ch] (getBibkeyList): make it const.
10964 2002-04-12 Juergen Vigna <jug@sad.it>
10966 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10968 * text2.C (getCursorX): new helper function
10969 (setCursor): compute also ix_
10970 (setCursorFromCoordinates): set also ix.
10972 * lyxcursor.h: added ix_ and helper functions.
10974 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10976 * buffer.C (insertStringAsLines): dont break paragraph if the this
10977 paragraph is inside an inset which does not permit it!
10979 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10980 also with no chars on this paragraph.
10981 (paintRowText): only paint stuff if it's inside the workarea!
10983 * paragraph.C (breakParagraph): honor keepempty flag and break the
10984 paragraph always below not above.
10986 * BufferView2.C (unlockInset): update the paragraph layout on inset
10987 unlock as we changed paragraph in such a case.
10989 * lyxfind.C (LyXFind): clear the former selection if not found!
10991 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10992 again called in insertChar().
10994 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10995 an inset which uses the whole row!
10996 (rightMargin): ditto.
10997 (insertChar): force a rebreak if we inserted an inset!
10999 2002-03-28 Herbert Voss <voss@lyx.org>
11001 * lyxlength.[Ch]: add inBP() to get the right PS-point
11002 units (BigPoint). With inPixels we have rounding errors
11004 2002-04-11 Juergen Vigna <jug@sad.it>
11006 * text2.C (setCursorFromCoordinates): set iy to the right value.
11007 (setCursor): add check if row->previous exists!
11009 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11010 an old float_type as this was the case in the old code!
11012 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11014 * BufferView2.C (showLockedInsetCursor): use iy
11015 (fitLockedInsetCursor): ditto
11017 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11018 locked insets as there we have the right value now.
11020 * lyxcursor.C: added iy_ variable and iy functions to set to the
11021 baseline of cursor-y of the locked inset.
11023 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11024 (setCursor): fixed for insets which need a full row.
11026 * text.C (rowLastPrintable): don't ignore the last space when before
11027 an inset which needs a full row.
11028 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11029 as last character of a row when before a inset which needs a full row.
11031 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11033 * version.C.in: update date
11035 * text2.C (fullRebreak): try to always return true and see what
11038 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11040 * MenuBackend.C (expand): use Floating::listName
11042 * FloatList.C (FloatList): add listName argument to the built-in
11045 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11046 text associated with the float.
11048 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11050 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11052 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11054 * ShareContainer.h: add a couple of missing typenames.
11056 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11058 * lyxrc.C (getDescription): use _() correctly rather than N_().
11060 2002-03-28 Herbert Voss <voss@lyx.org>
11062 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11063 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11065 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11067 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11068 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11070 2002-03-29 Juergen Vigna <jug@sad.it>
11072 * lyxfunc.C (dispatch): add a missing fitCursor call.
11074 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11075 it was scrolled by a cursor move, so return the bool status.
11077 * BufferView.C (fitCursor): return the bool flag also to the outside
11078 world as this is needed.
11080 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11082 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11083 call the edit() as it is not needed (and wrong) IMO.
11084 (workAreaButtonPress): set the screen_first variable before evt.
11085 unlock the inset as this may change screen_first and then we have
11086 a wrong y position for the click!
11088 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11090 * MenuBackend.C (expand): another translation that I missed
11092 2002-03-28 Juergen Vigna <jug@sad.it>
11094 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11096 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11098 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11100 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11102 * MenuBackend.C (expand): fix export/view/update when there is no
11105 2002-03-27 Herbert Voss <voss@lyx.org>
11107 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11110 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11112 * bufferview_funcs.C (currentState): only show paragraph number
11113 for is DEVEL_VERSION is set.
11115 * lyxfunc.C (dispatch): put warning in INFO channel
11117 * MenuBackend.C (expand): translate the name of floats
11119 * FloatList.C (FloatList): mark the float names for translation
11121 * converter.C (convert): use LibScriptSearch
11123 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11125 * MenuBackend.C (defaults): fix default menu (we might as well get
11128 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11130 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11133 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11135 * lyxvc.C: reorder includes.
11137 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11139 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11142 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11144 * CutAndPaste.C: change layouts earlier on paste
11145 to avoid crashing when calling getFont()
11147 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11149 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11152 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11154 * WorkArea.C: remove 'Pending' debug message.
11156 * most files: ws cleanup
11158 * buffer.[Ch]: ws changes
11160 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11162 2002-03-21 Juergen Vigna <jug@sad.it>
11164 * tabular.C (SetMultiColumn): collapse also the contents of the
11165 cells and set the last border right. Added a Buffer const * param.
11167 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11169 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11172 2002-03-19 Juergen Vigna <jug@sad.it>
11174 * text2.C (clearSelection): reset also xsel_cache.
11176 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11177 where it needs to be called (John tells us to do so too :)
11178 (selectionLost): reset sel_cache.
11180 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11182 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11184 * text2.C (setCursorIntern): put debuging code in INSETS channel
11186 2002-03-19 André Pönitz <poenitz@gmx.net>
11188 * lyxfunc.C: tiny whitespace change
11190 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11192 * ToolbarDefaults.C (init):
11193 * LyXAction.C (init):
11195 * BufferView_pimpl.C (Dispatch):
11196 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11198 2002-03-19 Allan Rae <rae@lyx.org>
11200 * exporter.C (Export): removeAutoInsets before doing anything else.
11201 While I've just introduced a dependency on BufferView this really is
11202 the best place to clean the buffer otherwise you need to cleanup in
11203 a dozen places before calling export or cleanup in a dozen functions
11206 * converter.C (runLaTeX):
11207 (scanLog): Better handling of removeAutoInsets and screen updates.
11209 * lyxfunc.C (dispatch): small whitespace changes
11211 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11213 * WorkArea.C (C_WorkAreaEvent): return a value.
11214 (event_cb): return 1 if we handled the event, 0 otherwise.
11216 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11218 2002-03-18 Juergen Vigna <jug@sad.it>
11220 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11221 (GetAdditionalWidth): ditto.
11222 (RightLine): ditto.
11225 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11226 inset if we're there actually (probably not used right now but this
11227 is the direction to go for unifying code).
11228 (paste): disable code to clear the selection.
11230 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11231 inside an InsetText and move the check further up as it is in the
11234 * text2.C (pasteSelection): set a selection over the pasted text.
11236 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11238 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11239 and libgraphics to build on Cygwin.
11241 2002-03-15 Juergen Vigna <jug@sad.it>
11243 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11244 inserting an Inset into the paragraph. I know this is not the best
11245 fix but we already use current_view in CutAndPaste so we will remove
11246 all of it's using at the same time.
11248 * buffer.C (sgmlError): deactivated function till it is rewritten in
11249 the right mode, now it can create problems.
11251 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11252 before accessing it.
11254 2002-03-14 Juergen Vigna <jug@sad.it>
11256 * undo_funcs.C (textHandleUndo): do the right thing when updating
11257 the inset after the undo/redo.
11259 * text2.C (setCursor): just some testcode for #44 not ready yet.
11261 * undo_funcs.C (textHandleUndo): set the next() and previous()
11262 pointers of the paragraph to 0 before deleting otherwise we have
11263 problems with the Paragraph::[destructor].
11265 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11266 on a paragraph insertion.
11268 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11270 * buffer.C (asciiParagraph): use += operator for char append to
11273 * paragraph.C (getFontSettings): compare >= not just >
11274 (highestFontInRange): ditto
11277 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11279 * paragraph.C: change several algorithm to be more appripriate for
11280 the problem domain. This is lookip in FontList and in the InsetList.
11282 2002-03-13 André Pönitz <poenitz@gmx.net>
11285 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11287 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11292 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11294 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11296 * Painter.C (display): anon helper function, adjust code for this
11298 (pixmap): remove function.
11300 * Painter.h: remove private display variable.
11302 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11304 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11306 * WorkArea.[Ch]: remove figinset_canvas cruft.
11308 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11310 * lyxtextclass.C (operator): add one item cache optimization.
11312 * bufferlist.h: doxy changes
11314 * bufferlist.C: ws changes
11316 * DepTable.[Ch] (ext_exist): place const in the right spot.
11318 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11320 (workAreaExpose): call resizeInsets when the with BufferView changes.
11321 (Dispatch): adjust for protectedBlank removal
11322 (specialChar): call updateInset if the insert went ok.
11324 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11325 specialChar instead.
11327 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11329 * BufferView.h: doxy change
11331 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11333 * lyxtextclass.C (operator[]): remove non-const version
11334 (defaultLayout): remove non-const version
11336 2002-03-12 Juergen Vigna <jug@sad.it>
11338 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11339 did resize the LyXText too.
11341 * buffer.C (readLyXformat2): set layout information on newly allocated
11344 * tabular.C (OldFormatRead): set layout information on the paragraph.
11346 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11348 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11350 2002-03-11 Juergen Vigna <jug@sad.it>
11352 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11354 (resizeCurrentBuffer): force also the insets to resize themselfes.
11355 (moveCursorUpdate): fixed up for InsetText.
11357 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11360 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11361 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11362 value of Dialogs::tooltipsEnabled().
11363 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11365 2002-03-08 Juergen Vigna <jug@sad.it>
11367 * BufferView_pimpl.C (updateInset): update inset inside inset also
11368 if it isn't inside theLockingInset().
11370 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11372 * buffer.C (asciiParagraph): redo some of the word and line length
11374 (getLists): look for Caption instead of caption.
11376 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11378 * buffer.C (Buffer): initialize niceFile to true
11380 (makeLinuxDocFile):
11381 (makeDocBookFile): make sure niceFile is true on exit
11383 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11385 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11387 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11389 * LyXSendto.C: remove.
11390 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11391 * lyx_gui.C: remove now-redundant comment.
11392 * ColorHandler.h: remove forward declaration of class WorkArea.
11393 * lyxfunc.C: remove #include "WorkArea.h".
11395 2002-03-07 Juergen Vigna <jug@sad.it>
11397 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11398 got moved away with the DEPM and also set the inset_owner always
11399 right which before could have been omitted.
11401 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11403 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11404 wanted layout is not found.
11406 2002-03-07 Juergen Vigna <jug@sad.it>
11408 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11410 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11412 * paragraph.C (breakParagraph): use default layout not layout of
11414 (Paragraph): clear ParagraphParameters.
11416 2002-03-06 Juergen Vigna <jug@sad.it>
11418 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11419 otherwise it would not be a valid lenght. Fixed a special case in
11420 the minipage compatibility read where we end the document with a
11423 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11424 was set as it could be 0 for InsetTexts first entry.
11426 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11428 * paragraph.C (writeFile): if layout is empty write out
11429 defaultLayoutName().
11431 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11432 file without named layout we set layout to defaultLayoutName().
11434 2002-03-06 Juergen Vigna <jug@sad.it>
11436 * CutAndPaste.C (copySelection): set layout for new paragraph.
11438 * text.C (prepareToPrint): leave ERT inset left aligned
11439 (leftMargin): don't indent paragraphs inside ERT insets
11441 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11443 * paragraph.C (breakParagraph): dont call clear do the work manually
11445 * paragraph.[Ch] (clear): remove function
11447 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11449 * paragraph.C (Paragraph): dont call clear, the work has already
11452 * lyxtextclass.C (operator): assert if n is empty
11454 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11455 work manually instead.
11457 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11459 * BufferView_pimpl.C: protect selectionLost against text == 0
11461 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11463 * text.C (breakParagraph): fix a setting layout to '0' problem.
11465 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11467 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11468 final location of file, for the included files, and graphics.
11470 2002-03-05 Juergen Vigna <jug@sad.it>
11472 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11474 2002-03-04 Juergen Vigna <jug@sad.it>
11476 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11478 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11479 last column of multicolumn cells.
11480 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11482 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11484 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11485 file if it doesn't go to a temporary file.
11487 * buffer.C (sgmlOpenTag):
11488 (sgmlCloseTag): remove extra newline insertion.
11490 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11492 * text.C (getRowNearY): comment out debug msg
11494 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11496 * text2.C: first -> first_y
11498 * text.C (getRowNearY): add some attemts at a possible
11499 optimization, not working.
11501 * tabular.[Ch]: add BufferParams to several function so that newly
11502 created paragraph can be initialized to he default layotu for the
11505 * tabular-old.C (ReadOld): add buf->params to call of Init
11507 * screen.C: rename text->first to text->first_y
11509 * paragraph.C (breakParagraph): always set layout in the broken
11512 * lyxtextclass.C (Read): remove lowercase
11515 (delete_layout): ditto
11517 * lyxtext.h: rename first -> first_y
11519 * lyxlayout.C (Read): remove lowercase
11522 (obsoleted_by): ditto
11524 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11526 * buffer.C (insertErtContents): add params are to InsetERT
11527 (parseSingleLyXformat2Token): add code to check if a paragraphs
11528 layout really exist.
11529 (parseSingleLyXformat2Token): add params to several inset
11531 (asciiParagraph): remove lowercase, do the layout comparisons with
11534 * BufferView_pimpl.C (cursorNext): first -> first_y
11535 (resizeCurrentBuffer): first -> first_y
11536 (updateScrollbar): first -> first_y
11537 (scrollCB): first -> first_y
11538 (workAreaMotionNotify): first -> first_y
11539 (workAreaButtonPress): first -> first_y
11540 (checkInsetHit): first -> first_y
11541 (cursorPrevious): first -> first_y
11542 (cursorNext): first -> first_y
11543 (Dispatch): add buffer_->params to severl inset contructors
11545 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11547 * lyxlayout.C (Read): remove some debug info that I forgot.
11549 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11550 clean up the code slightly.
11551 (makeLinuxDocFile): ditto
11552 (makeDocBookFile): ditto
11554 * text2.C: layout as string
11556 * text.C: layout as string
11558 * paragraph_pimpl.C: layout as string
11560 * paragraph.[Ch]: layout as string
11562 * lyxtextclasslist.[Ch]: layout as string
11564 * lyxtextclass.[Ch]: layout as string
11566 * lyxtext.h: layout as string
11568 * lyxlayout.[Ch]: layout as string
11570 * lyx_cb.C: layout as string
11572 * bufferview_funcs.C: layout as string
11574 * bufferparams.C: layout as string
11576 * buffer.C: layout as string
11578 * LyXView.[Ch]: layout as string
11580 * LaTeXFeatures.[Ch]: layout as string
11582 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11584 * BufferView_pimpl.C: change current_layout to string, remove
11589 (workAreaButtonRelease): layout as string
11591 * BufferView2.C (unlockInset): adjust
11593 * vspace.C (asLatexCommand): use an explict temp variable.
11595 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11597 * Makefile.am: use FRONTEND_*
11599 2002-03-01 Juergen Vigna <jug@sad.it>
11601 * tabular.C (SetWidthOfMulticolCell): changed to something better
11602 I hope but still work in progress.
11603 (recalculateMulticolumnsOfColumn): renamed function from
11604 recalculateMulticolCells as it is more appropriate now.
11605 (SetWidthOfCell): calculate multicols better.
11607 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11609 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11611 * lyxfunc.C (processKeySym): print sequence also if it is
11612 `deleted' (complete)
11614 * kbsequence.C (print): print sequence even if it is deleted
11615 (complete would be a better word, actually).
11617 * lyxfunc.C (dispatch): print complete options after a prefix key
11619 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11621 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11623 * text2.C (setCharFont): eliminate setCharFont code duplication.
11625 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11627 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11628 LFUN_TABULAR_FEATURE (bug #177)
11630 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11632 * Makefile.am: remove figure.h
11634 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11636 * Bufferview_pimpl.C:
11648 * text2.C: remove #include "lyx_gui_misc.h".
11650 * LaTeX.C: added #include <cstdio>
11652 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11654 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11655 that the paragraph following this one can have.
11657 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11659 * vspace.C (asLatexCommand): fix bogus gcc warning
11661 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11663 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11665 * text2.C (setLayout): get rid of redundant code
11667 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11669 * text2.C (incDepth): make sure depth cannot be increased beyond
11672 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11674 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11675 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11677 * PainterBase.h (image):
11678 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11679 a LyXImage const *.
11681 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11685 * BufferView_pimpl.C:
11686 * BufferView_pimpl.h:
11706 * sp_spell.C: remove fig inset, and the crap house of
11707 cards that follows it
11709 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11714 * os2_errortable.h:
11715 * nt_defines.h: move .h into support/
11717 * vms_defines.h: remove
11719 * WorkArea.C: add space in debug output
11723 * buffer.C: add WITH_WARNINGS
11727 * bufferlist.C: s/retrive/retrieve/, add docs
11736 * chset.C: add docs
11738 * lyxgui.C: add ID to X error handler
11740 * lyxtestclass.c: fix typo
11742 2002-02-26 Juergen Vigna <jug@sad.it>
11744 * tabular_funcs.C (write_attribute): changed so that some default
11745 attributes are not written at all.
11746 (getTokenValue): set default values before trying to read the
11747 value so we have the return value always set as default if we don't
11748 find the token we search for.
11750 * tabular.C (Write): write bools as bools not as strings!
11752 2002-02-22 Juergen Vigna <jug@sad.it>
11754 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11755 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11757 * text.C (leftMargin): don't add an indent for paragraphs inside
11758 tabular cells (fix #208).
11760 2002-02-21 José Matos <jamatos@fep.up.pt>
11762 * tabular.C (docBook): fixed support for long tables.
11764 2002-02-20 Juergen Vigna <jug@sad.it>
11766 * text2.C (getFont): get the drawing font of the Inset if this
11767 paragraph is inside an inset (only important for InsetERT for now).
11769 * buffer.C (insertErtContents): use new lanugage params in ERT
11772 * CutAndPaste.C: commenting out seemingly uneeded code.
11774 2002-02-19 Allan Rae <rae@lyx.org>
11776 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11777 Iterators might be simple to use but they also get invalidated.
11778 (removeAutoInsets): renamed saved cursor tracking variables and added
11779 some comments to clarify what everything does.
11781 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11788 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11789 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11792 * vc-backend.h: remove #include "support/syscall.h"
11796 * converter.C: rearrange #includes in Lars' approved fashion.
11798 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11799 forward declare class Timeout in the header file.
11801 * XFormsView.C: changes due to the above.
11803 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11804 similar to LyXView.
11806 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11807 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11809 2002-02-18 José Matos <jamatos@fep.up.pt>
11811 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11814 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11816 * a lot of small ws changes
11817 * add a lot of using std::XXX
11818 * use std construcs some places where approp.
11819 * use some exisint stuff from lyxfunctional where approp.
11820 * Make file changes to use partial linking (lets test this now...)
11822 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11826 remove #include "support/syscontr.h" as it's redundant. Always has been.
11834 change Systemcalls::System to Systemcalls::Wait and
11835 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11836 No change of functionality, just reflects the stripped down Systemcalls
11839 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11841 * debug.[Ch]: add a GRAPHICS type to the enum.
11843 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11845 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11847 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11850 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11852 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11853 match the changes below.
11855 * text2.C (toggleInset): if there is not editable inset at cursor
11856 position, try to see if cursor is _inside_ a collapsable inset
11859 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11861 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11862 document menu has a nice checkbox
11864 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11866 * lyxlength.C (asLatexString): change PW to output as percent of
11869 * lengthcommon.C: change '%' to 't%'
11871 * lyxfunc.C (dispatch): a few comments from Martin
11873 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11877 * BufferView_pimpl.h:
11878 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11881 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11883 * vspace.C (inPixels): fix compiler warning
11885 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11887 * lyxfunc.C (getStatus): fix status message for disabled commands.
11889 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11891 * BufferView_pimpl.C: fix crash on close buffer
11892 during selection (#227)
11894 2002-01-27 Herbert Voss <voss@lyx.org>
11896 * buffer.C: link old Figure to new graphic inset
11898 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11900 * FontLoader.C (getFontinfo): Change the latex font names in order
11901 to match the names of type1inst.
11903 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11905 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11907 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11908 (extchanged): ditto
11910 (remove_files_with_extension): ditto
11911 (remove_file): ditto
11914 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11915 document is smaller than the work area height. Do not initialize
11916 static variables to 0.
11918 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11920 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11922 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11923 LFUN_LAYOUT_PARAGRAPHS.
11925 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11926 tabular. It is possible to provide a possible cell, which will
11927 typically be the actcell from the corresponding insettabular
11929 * lyxfunc.C (getStatus): small cleanup; disable
11930 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11933 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11935 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11937 * paragraph.C (startTeXParParams):
11938 (endTeXParParams): new methods. The LaTeX code to
11939 start/end paragraph formatting
11940 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11941 empty (fixes bug #200)
11943 * vspace.C (inPixels): adapt to the change below
11944 (inPixels): [later] more cleanups (remove unused variables)
11946 * lyxlength.C (inPixels): change to use a width and a height as
11949 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11951 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11952 Replaced with \paperwidth
11954 * DepTable.C (insert): add std:: qualifier
11956 2002-01-18 Allan Rae <rae@lyx.org>
11958 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11961 * text.C (drawInset): Turned out I didn't know enough about how
11962 rebreaking worked. This fixes most of the redraw problems. I see
11963 an occasional cursor trail when a line is broken now and the cursor
11964 placement can seem out by a few pixels also after a rebreak.
11966 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11968 * buffer.C (parseSingleLyXformat2Token): update because minipage
11969 width is now a LyXLength
11971 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11973 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11976 2002-01-17 Juergen Vigna <jug@sad.it>
11978 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11980 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11981 is set correctly and the inset is updated correctly.
11983 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11985 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11986 the beginning of the loop.
11988 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11990 * lyxrc.C: improve help for use_scalable_fonts
11992 2002-01-17 Allan Rae <rae@lyx.org>
11994 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11996 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11998 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11999 make sure to set their inset_owner to the right value (bug #171)
12001 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12004 * DepTable.C: Implement mtime checking to reduce time spent doing
12007 2002-01-16 Juergen Vigna <jug@sad.it>
12009 * tabular.C (GetAdditionalHeight): one of error fixed.
12011 * lyxrc.C (output): small fix in writing use_pspell.
12013 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12015 * sp_base.h: #include LString.h
12017 2002-01-16 Allan Rae <rae@lyx.org>
12019 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12020 Can someone check this please?
12022 * text.C (drawInset): It was possible that p.row would be removed by
12023 breakAgainOneRow upsetting a few other settings. There may be another
12024 small tweak possible by setting need_break_row = 0 when p.row has been
12025 removed but I don't know enough about the logic here.
12027 2002-01-15 Allan Rae <rae@lyx.org>
12029 * text.C (insertChar): removed conditional truism.
12031 * BufferView2.C (removeAutoInsets): More tweaks.
12032 cur_par_prev could be a stray pointer. Check for trailing empty line
12033 in case last line was cur_par and only had an error inset on it.
12035 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12037 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12040 * vc-backend.C (most methods):
12041 * exporter.C (Export):
12042 * converter.C (convert):
12044 * LyXSendto.C (SendtoApplyCB):
12045 * lyxfunc.C (dispatch):
12049 * lyx_cb.C (AutoSave):
12051 * BufferView_pimpl.C (MenuInsertLyXFile):
12052 * buffer.C (runChktex): use Buffer::filePath().
12054 * buffer.h: rename filename to filename_; rename filepath to
12055 filepath_ and make it private
12056 (filePath): new method
12058 * buffer.C (writeFile): use fileName()
12061 * lyx_main.C (init): fix starting of LyX when the binary is a
12062 link from so,ewhere else.
12064 * minibuffer.C: include <cctype> for isprint
12066 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12068 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12069 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12070 name clash with InsetCollapsable's width function.
12072 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12074 * lastfiles.C: include <iterator>
12076 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12078 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12081 * buffer.C (makeLaTeXFile): ditto.
12082 Also make loop operation more transparent.
12084 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12086 * ToolbarDefaults.C: remove trailing comma closing namespace.
12088 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12090 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12093 * trans.C (Load): comment out unused variable, allowed.
12095 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12097 * minibuffer.[Ch] (append_char): new method to recieve input from the
12098 drop-down completion browser. If a key was pressed, then recieve this
12099 char and append it to the existing string.
12100 (peek_event): modify the positioning data passed to the completion
12101 browser so that it can be placed above the minibuffer rather than below.
12102 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12104 * LyXAction.C (init): alloe error-next for readonly documents.
12106 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12109 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12111 * bufferlist.C (readFile): create the buffer _after_ checking that
12114 * lyxfunc.C (verboseDispatch): fix handling of arguments
12116 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12118 * lyxrc.C: use string::erase() instead of initializing to "".
12121 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12123 * BufferView_pimpl.h:
12124 * BufferView_pimpl.C:
12127 * text2.C: tell X when we have made a selection for copying
12129 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12131 * BufferView_pimpl.C (MenuInsertLyXFile):
12132 * lyxfunc.C (menuNew):
12134 (doImport): add shortcuts to directory buttons
12136 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12139 * lyxfunc.C (setStatusMessage):
12140 (getStatusMessage): new methods
12141 (getStatus):use setStatusMessage instead of setErrorMessage
12142 (dispatch): when function is disabled, set error message here
12143 [instead of in getStatus previously]
12145 * BufferView_pimpl.C (workAreaButtonRelease): update
12146 toolbar/menubar here too.
12148 2002-01-13 Allan Rae <rae@lyx.org>
12150 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12151 Now seems indestructible. Remaining task is to audit all other
12152 code affected by deleteEmptyParagraphMechanism. One small quirk
12153 left is that an empty document with an error in the preamble can
12154 be made to report an error but no error box appears. I don't know
12156 (removeAutoInsets): Improved comments.
12158 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12161 * Thesaurus.C: update for Aiksaurus 0.14
12163 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12165 * text2.C (firstParagraph): removed member function, all uses
12166 replaces with ownerParagraph
12167 (redoParagraphs): here
12168 (updateInset): here
12169 (toggleAppendix): here
12170 * BufferView2.C (insertErrors): here
12171 (setCursorFromRow): here
12173 2002-01-13 Allan Rae <rae@lyx.org>
12175 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12176 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12177 There is still a way to segfault this although you may have to do this
12178 multiple times: Have an InsetERT with an unknown command in it.
12179 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12180 <down-arrow>, <Enter> again, View->DVI, BANG!
12182 * text2.C (setCursor):
12183 (deleteEmptyParagraphMechanism):
12184 * lyxtext.h (setCursor):
12185 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12186 Making use of the return value may help fix other bugs.
12188 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12190 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12192 * LyXView.C (updateMenubar): call MenuBar::update here
12193 (updateToolbar): but not here
12194 (showState): do not update toolbar/menubar
12196 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12197 should need to care about that.
12199 * lyxfunc.C (verboseDispatch): simplify a bit
12200 (getStatus): have a version which takes a pseudoaction, and
12201 another which requires a (kb_action,string).
12203 * LyXAction.C (retrieveActionArg): make it work also when action
12204 is not a pseudo-action.
12205 (getActionName): simplify a bit
12208 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12210 * lyxfunc.C (verboseDispatch): new families of methods with
12211 several ways to specify a command and a bool to indicate whether
12212 the command name and shortcut should be displayed in minibuffer
12213 (eventually, we could extend that to a finer bitmask like
12214 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12215 (dispatch): the pristine dispatch command which just, well,
12216 dispatchs! Note it still sets its result to minibuffer; I'm not
12219 * lyxfunc.h: remove setHintMessage
12221 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12223 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12225 * BufferView_pimpl.C (specialChar): delete new inset if we have
12226 not been able to insert it.
12228 * kbmap.C: revert to using int instead of kb_action, since all we
12229 are dealing with is pseudo-actions.
12231 * LyXAction.C (searchActionArg): change to return int instead of
12232 kb_action, since the result is a pseudoaction.
12234 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12236 * buffer.C (insertErtContents): Fix (partially) the font bug.
12238 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12240 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12241 as the other one is broken on my machine!
12243 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12246 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12248 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12250 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12251 reflect their actual use. Provide compatibility code for older lyxrc
12254 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12256 change names of popup font variables in line with the changes to lyxrc.C
12258 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12260 * buffer.C (asciiParagraph): avoid outputing a word twice after
12263 * lyxrc.C (getDescription): document that document_path and
12264 template_path can be empty.
12266 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12268 * LaTeXFeatures.C (getMacros):
12269 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12271 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12273 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12275 (getPackages): rename feature "floats" to "float". Use an array to
12276 iterate over 'simple' features (i.e. just a \usepackage). Add
12277 handling of "amsmath" (renamed from "amsstyle").
12279 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12281 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12284 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12286 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12287 FuncStaus::FuncStatus & FuncStaus::some_method().
12289 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12291 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12292 of the func_satus stuff. Edited and massaged in various ways by
12295 * lyxfunc.C (getStatus): use FuncStatus
12297 2002-01-08 Juergen Vigna <jug@sad.it>
12299 * text.C (nextBreakPoint): use function Inset::isChar().
12301 * paragraph.C (TeXOnePar): use function
12302 Inset::forceDefaultParagraphs.
12304 * buffer.C (latexParagraphs): use function
12305 Inset::forceDefaultParagraphs.
12307 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12309 * lyx_gui.C (init): set the style of the menu popups to
12310 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12312 2002-01-07 Juergen Vigna <jug@sad.it>
12314 * text.C (setHeightOfRow): small fix
12315 (prepareToPrint): don't look at alignment if we don't have the place
12318 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12320 * box.C: New file. Move the Box methods and functions out of box.h,
12321 following Lars' suggestion.
12323 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12325 * box.h: #include "support/LOstream.h", needed for inlined function.
12328 * lyxtextclasslist.C: added some using std declarations.
12330 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12332 * box.h: make signed dimensions to allow insets wider than
12333 the screen (bug #162)
12335 * BufferView_pimpl.C: add some insetHit debug
12337 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12339 * vc-backend.C: add FIXME
12341 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12343 * lyxfunc.C (getStatus): enable code for showing math font status
12346 2002-01-07 Juergen Vigna <jug@sad.it>
12348 * text.C (nextBreakPoint): removed debug output not needed anymore.
12350 2002-01-06 Juergen Vigna <jug@sad.it>
12352 * text.C (nextBreakPoint): fixed up this function we had this bug
12353 since ever but now hopefully we break row better.
12354 (insertChar): we have to check if an inset is the next char as it
12355 could now happen that a large inset is causing a break.
12357 2002-01-05 Juergen Vigna <jug@sad.it>
12359 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12360 if it doesn't like to be drawed.
12362 2002-01-04 Juergen Vigna <jug@sad.it>
12364 * BufferView2.C (lockInset): forgot to set a cursor.
12366 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12368 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12370 * FormMathsPanel.C:
12373 * form_maths_panel.C:
12374 * form_maths_panel.h:
12375 * form_maths_panel.fd: implemented sub- and super- buttons in math
12378 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12379 (or ^ space) to be used as in TeX (req'd by André).
12381 * lyxfunc.C: Allow ^ and _ again to be used both as
12382 super/subscript (mathed) and as themselves (in text).
12384 2002-01-03 Allan Rae <rae@lyx.org>
12386 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12387 "LyX" or the filename of the current buffer if it has one. This is a
12388 modified form of John Levon's patch.
12390 * XFormsView.C (setWindowTitle): also set icon title.
12392 * LyXView.h (setWindowTitle): signature changed.
12393 * XFormsView.h (setWindowTitle): ditto.
12395 2002-01-02 Juergen Vigna <jug@sad.it>
12397 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12399 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12401 * screen.C (topCursorVisible): introduce a temp var for
12402 text->cursor.row(), handle the case where this row is null. (kindo
12405 * text2.C (setCursor): add a couple of asserts.
12407 * paragraph.h (inset_iterator): add -> operator
12409 * paragraph.[Ch] (autoDeleteInsets): remove member function
12411 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12412 cursor pos correctly and handle inset deletion by itself.
12413 (insertErrors): move iterator declaration out of for expression
12415 * lyxtextclass.C: add <algorithm>
12417 * Makefile.am: added the new files to sources, removed layout.C
12419 * layout.C: removed file
12421 * layout.h: remove LYX_DUMMY_LAYOUT
12423 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12427 * lyxtextclass.[Ch]:
12428 * lyxtextclasslist.[Ch]: new files
12430 * include order changes to a lot of files, also changes because of
12433 2001-12-27 Juergen Vigna <jug@sad.it>
12435 * buffer.C (asciiParagraph): more fixes.
12437 * tabular.C (ascii): make ascii export support export of only the
12438 data separated by a column-delimiter.
12439 (ascii): better support for ascii export.
12441 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12443 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12445 * tabular_funcs.C: use a "using std::getline" instead of the
12446 previous fix from Angus (necessary for cxx + lyxstring)
12448 2001-12-24 Juergen Vigna <jug@sad.it>
12450 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12452 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12453 problems. First check a minipage also if we have some ert-contents
12454 (not only on par->size(), second set the right depth of the paragraph
12455 on the relink to the root-paragraph-list!
12457 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12458 which then did not anymore update the main paragraphs on undo/redo!
12460 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12462 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12463 code. Support all font-changing funcs (even those which are not in
12464 menu currently). Support for reporting font settings in
12465 mathed (disabled until Andre provides a function on mathed's side).
12467 * func_status.h (toggle): small helper function to set toggle
12470 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12472 * tabular_funcs.C: getline -> std::getline
12474 2001-12-21 Juergen Vigna <jug@sad.it>
12476 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12477 accessed and could be 0 (I couldn't generate this but it seems
12480 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12482 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12483 * tabular_funcs.h: here and include iosfwd
12485 2001-12-20 Juergen Vigna <jug@sad.it>
12487 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12488 inside inset but undo_par was.
12490 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12492 * Thesaurus.C: always include <config.h> in sources.
12496 * box.h: do not include <config.h> in header files
12498 * text.C (paintLastRow): remove unused variable
12500 * text.C (transformChar):
12502 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12504 * Painter.C (text):
12505 * font.C (width): rewrite to use uppercase() instead of
12508 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12510 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12512 * lyxfind.C: clean up of find failure position change
12514 2001-12-20 Juergen Vigna <jug@sad.it>
12516 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12518 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12519 (TeXRow): added to LaTeX a single tabular row.
12520 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12521 (Latex): simplified and finally good LT-h/f support.
12522 (various_functions): just small adaptions for LT-h/f support.
12524 * tabular_funcs.[hC]: added and moved here all not classfunctions
12527 2001-12-19 Juergen Vigna <jug@sad.it>
12529 * tabular.[Ch]: better support for longtabular options (not finished
12532 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12534 * text.C (paintLastRow): use the label font instead of the font of
12535 the last character to compute the size of *_BOX. This makes more
12536 sense and avoids a crash with empty paragraphs.
12537 Use Painter::rectangle to draw EMPTY_BOX.
12539 2001-12-19 Juergen Vigna <jug@sad.it>
12541 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12542 the paragraphs if the replaced paragraph is not the first one!
12543 Tried to delete not used paragraphs but does not work yet so for
12544 now it's inside #ifdef's and by default off!
12546 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12548 * MenuBackend.C: include "lyx_main.h" instead of declaring
12549 lastfiles (actually was declared as LastFiles* instead of a
12552 2001-12-17 Juergen Vigna <jug@sad.it>
12554 * tabular.C (AppendColumn): applied John's fix
12556 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12560 * BufferView_pimpl.h:
12561 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12564 * box.h: new start of class for above
12566 * lyxfunc.C: ignore space-only minibuffer dispatches.
12567 Show the command name when it doesn't exist
12569 * minibuffer.C: don't add empty lines to the history
12571 * minibuffer.C: add a space on dropdown completion
12573 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12575 * text.C: fix line above/below drawing in insets
12577 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12579 * lyxlength.C (LyXLength): Initialize private variables.
12581 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12583 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12584 when inserting error insets.
12586 2001-12-13 Juergen Vigna <jug@sad.it>
12588 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12589 actually sometimes the before-paragraph.
12590 (setUndo): don't clear the redostack if we're not actually undoing!
12592 2001-12-06 Juergen Vigna <jug@sad.it>
12594 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12595 and fixed redoing of main paragraph, so we can use it now ;)
12597 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12599 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12601 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12604 2001-12-13 André Pönitz <poenitz@gmx.net>
12607 * undo_func.C: minor cleanup
12609 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12611 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12612 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12613 font in urw-fonts package which is marked as -urw-fontspecific and
12614 does not work (incidentally, changing the encoding in the
12615 fonts.dir of this package to -adobe-fontspecific fixes the
12618 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12619 is a crash when undoing first paragraph (Juergen, please take a
12620 look). THis does not mean the undo fix is wrong, just that it
12623 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12624 the (Paragraph*) version when needed instead of duplicating the
12627 * text.C (workWidth): use Inset::parOwner to find out where the
12628 inset has been inserted. This is a huge performance gain for large
12629 documents with lots of insets. If Inset::parOwner is not set, fall
12630 back on the brute force method
12632 * paragraph_pimpl.C (insertInset):
12633 * paragraph.C (Paragraph):
12634 (cutIntoMinibuffer): set parOwner of insets when
12635 inserting/removing them
12637 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12639 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12645 * mathed/formulabase.C:
12646 * mathed/math_cursor.[Ch]:
12647 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12650 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12652 * lyxlength.[Ch] (operator!=): new function
12654 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12656 * text.C (workWidth): use Inset::parOwner to find out where the
12657 inset has been inserted. This is a huge performance gain for large
12658 documents with lots of insets. If Inset::parOwner is not set, fall
12659 back on the brute force method
12661 * paragraph_pimpl.C (insertInset):
12662 * paragraph.C (Paragraph):
12663 (cutIntoMinibuffer): set parOwner of insets when
12664 inserting/removing them
12666 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12668 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12670 * tabular-old.C (getTokenValue):
12671 * tabular.C (getTokenValue):
12672 (write_attribute): new versions for LyXLength
12673 (everywhere): adjust the use of widths
12675 * tabular.h: change the type of widths from string to LyXLength
12677 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12679 * paragraph.C: fixed missing line number count when exporting
12680 Environments to LaTeX file
12682 * buffer.C: added informational message for checking line numbers.
12684 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12686 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12687 paragraph, do the 'double space' part, but not the 'empty
12690 * text.C (workWidth): small optimization
12691 (getLengthMarkerHeight): use minimal size for negative lengths.
12693 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12695 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12697 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12699 2001-12-11 André Pönitz <poenitz@gmx.net>
12702 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12704 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12706 * text2.C: keep selection on a setFont()
12708 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12710 * lyx_cb.C: another bv->text misuse, from insert label
12712 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12715 * kbsequence.C: re-instate nmodifier mask
12717 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12719 * lyx_main.h: make lyxGUI private.
12721 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12723 * lyxfind.C: place the cursor correctly on failed search
12725 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12727 * text.C (getLengthMarkerHeight): for small heights, the arrows
12728 are not always on top/bottom of the text
12729 (drawLengthMarker): smaller arrows; take the left margin in
12730 account; draw also vfills.
12732 (paintLastRow): remove special code for vfill and standard spaces,
12733 since everything is handled in drawLengthMarker now.
12735 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * buffer.C (insertErtContents): try to handle font and language
12738 interaction a bit better.g
12740 * ColorHandler.C (updateColor): change the hash to cover the whole
12741 LColor enum, ws cleanup
12742 (getGCLinepars): ditto
12743 (getGCLinepars): only lookup in the linecache once.
12745 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12747 * iterators.C (operator++): Make the iterator more robust
12749 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12751 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12753 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12756 * text.C: better added space drawing
12758 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12761 * BufferView2.C: fix layout combo update on inset unlock
12763 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12765 * Makefile.am: don't compile unused files
12767 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12771 * LyXAction.C: remove old LFUN_LAYOUTNO
12773 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12775 * paragraph_pimpl.h:
12776 * paragraph_pimpl.C: isTextAt() doesn't need font param
12778 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12781 * lyxlex.C: little cleanup
12783 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12785 * BufferView_pimpl.C: fix insertAscii for insets
12787 2001-12-05 Juergen Vigna <jug@sad.it>
12789 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12790 set the right font on the "multi" paragraph paste!
12792 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12798 * lyxlength.C: remove out-commented code.
12800 * BufferView_pimpl:
12814 * vc-backend.C: change "while(" to "while ("
12816 * lyxlength.[Ch]: add zero function to check if length is zero or
12818 * lyxgluelength.C: use it
12820 2001-12-05 Allan Rae <rae@lyx.org>
12822 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12823 Works for 2.95.3, from what I understand of Garst's reports this should
12824 work for other g++ versions. We're screwed if the abs(int) definition
12825 changed between bugfix releases of gcc.
12827 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12829 * text.C: fix chapter label offset !
12831 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12834 * text.C: fix hfill at end of line, clean up
12836 2001-12-04 Juergen Vigna <jug@sad.it>
12838 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12839 that we force an update of the inset and it's owners if neccessary.
12841 2001-12-03 Juergen Vigna <jug@sad.it>
12843 * text.C (rowLast): simplified code
12845 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12847 * lyxfunc.C: fix show options on timeout
12849 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12851 * screen.C (topCursorVisible): scroll half a page when the cursor
12852 reached top of bottom of screen
12854 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12856 * minibuffer.C: deactivate on loss of focus
12858 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12860 * vspace.[Ch] (operator!=): add operator.
12862 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12864 * BufferView_pimpl.C: refuse to open an inset when
12865 there's a selection.
12867 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12869 * BufferView_pimpl.C: allow to click on RHS of full row insets
12871 2001-11-30 Juergen Vigna <jug@sad.it>
12873 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12874 insets for undo reasons.
12876 2001-11-28 André Pönitz <poenitz@gmx.net>
12878 * vspace.[Ch]: cosmetical changes
12880 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12890 * kbsequence.C: part re-write of old kb code
12893 * WorkArea.C: remove Lgb_bug_find_hack
12895 2001-11-30 José Matos <jamatos@fep.up.pt>
12897 * buffer.C (makeDocBookFile): add a comment to point a hack.
12898 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12899 Fixed a double write of labels.
12901 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12904 * LaTeX.h Fixed bug in LaTeX class where it would not
12905 re-run latex if no depfiles were changed, but the .dvi was removed.
12907 2001-11-28 André Pönitz <poenitz@gmx.net>
12909 * all the files from the change on 2001/11/26:
12910 use lyx::layout_type instead of LyXTextClass::size_type
12911 use lyx::textclass_type instead of LyXTextClassList::size_type
12913 2001-11-29 Juergen Vigna <jug@sad.it>
12915 * text.C: added support for paragraph::isFreeSpacing()
12917 * buffer.C: same as above
12919 * paragraph.h: inserted isFreeSpacing() function to enable
12920 FreeSpacing inside InsetERT.
12922 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12923 of the paragraph's in the cut/copy buffer to 0!
12925 * text2.C (removeRow): remove the assert as it can!
12927 * lyxtext.h: added helper function firstRow returning firstrow and
12928 made firstrow private again.
12930 * BufferView2.C (lockInset): don't relock if we're already locked!
12932 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12933 the only paragraph.
12934 (removeRow): added Assert::(firstrow)
12936 * debug.C: forgot to add INSETTEXT here.
12938 2001-11-28 Juergen Vigna <jug@sad.it>
12940 * sp_spell.C (initialize): changed error text to more general
12941 spellchecker command use (not only ispell!)
12943 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12945 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12947 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12949 * vspace.C: initialise lyxgluelength on failure
12951 2001-11-28 Allan Rae <rae@lyx.org>
12953 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12954 declaration & definition that looks like a function declaration.
12956 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12958 * BufferView2.C (copy):
12959 (copyEnvironment): do not clear the selection when doing a copy.
12961 * text.C (paintFirstRow): compilation fix
12963 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12965 * tabular.C (Latex): correct line count when writing latex.
12967 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12969 * paragraph_pimpl.h:
12970 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12973 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12977 * LColor.C: change vfillline->added_space
12979 * text.C: add markers and text for added space
12981 * vspace.C: fix comment
12983 2001-11-28 André Pönitz <poenitz@gmx.net>
12985 * paragraph.C: whitespace changes
12986 * all the other files from the change on 2001/11/26:
12987 change *::pos_type into lyx::pos_type
12989 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12991 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12992 language of the document when inserting error insets.
12994 2001-11-26 André Pönitz <poenitz@gmx.net>
12996 * BufferView_pimpl.[Ch]:
13004 * paragraph_pimpl.[Ch]:
13007 * text2.C: reduce header dependencies, introduce type for positions
13009 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13011 * <various>: change to use Alert.h
13013 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13015 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13016 when encountering an unknown token.
13017 (readLyXformat2): Show an error message if there were unknown tokens.
13019 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13022 * BufferView_pimpl.C:
13026 * text2.C: use par->isInset()
13028 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13030 * paragraph_pimpl.h:
13031 * paragraph_pimpl.C: cleanup
13033 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13035 * text2.C (removeRow):
13036 * text.C (setHeightOfRow): remove useless (and costly) call to
13039 2001-11-20 Allan Rae <rae@lyx.org>
13041 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13042 Now need Inset*::checkInsertChar() to return true for appropriate
13043 cases so that the characters in the minibuffer will actually be
13046 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13048 * text.C: change the order of the includes.
13049 (workWidth): initialize it at once.
13050 (workWidth): make maxw unsigned
13051 (setHeightOfRow): remove unused variable (inset)
13052 (selectSelectedWord): remove unused variable (inset)
13053 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13055 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13057 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13058 server is not running.
13060 (closeConnection): add debug info when server is disabled.
13062 * ColorHandler.C (getGCForeground): send debug message to GUI
13065 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13067 * kbmap.C (bind): modify because return conventions of
13068 kb_sequence::parse have changed.
13070 * kbsequence.C (parse): only ignore spaces and not any stupid
13071 control character. This avoids tests like s[i] <= ' ', which are
13072 guaranteed to fail with 8bit characters and signed chars.
13073 Change return code to string::npos when there have been no error
13074 (0 was a bad idea when error is at first character)
13076 2001-11-14 José Matos <jamatos@fep.up.pt>
13079 * buffer.C (simpleDocBookOnePar): removed unused argument.
13081 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13083 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13084 insets which are part of a word. Paragraph::isLetter takes care of
13085 that now. Use Paragraph::isInset to identify insets.
13086 (selectSelectedWord): do not test for hyphenation break.
13088 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13089 that protected spaces are considered as spaces.
13091 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13094 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13097 * lyxserver.C: fix it. and small cleanup.
13099 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13101 * BufferView_pimpl.C: use inline helpers
13104 * LaTeXFeatures.C: fix typos
13107 * Spacing.C: move spacing_string into class
13109 * ToolbarDefaults.C: move stuff into namespace anon
13111 * layout.h: update enum
13113 * lyxfunc.C: use better debug
13115 * minibuffer.h: fix typo
13119 * WorkArea.C: add and use Debug::WORKAREA
13123 * text2.C: code re-organisation, inline helpers
13125 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13127 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13128 std::vector.empty().
13130 2001-11-09 Allan Rae <rae@lyx.org>
13132 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13133 '\n's after tables. Tabular and ERT inset work now makes this no
13136 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13139 * minibuffer.C: fix crash, improve drop-down completion
13141 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13144 * lyxserver.C: invalidate fd's when doing endPipe()
13146 2001-11-08 José Matos <jamatos@fep.up.pt>
13148 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13149 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13152 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13154 2001-11-07 José Matos <jamatos@fep.up.pt>
13157 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13160 * buffer.C (sgmlOpenTag):
13161 * buffer.C (sgmlCloseTag): removed debug info.
13163 * buffer.h (sgmlOpenTag):
13164 * buffer.h (sgmlCloseTag): made public.
13166 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13168 * buffer.C (saveParamsAsDefaults):
13169 * lyx_cb.C (MenuLayoutSave): remove
13171 * LyXAction.C (init):
13173 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13175 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13177 * buffer.C (setPaperStuff): removed from here...
13179 * bufferparams.C (setPaperStuff): ... and moved there.
13181 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13185 * XFormsView.C: add support for drop-down completion
13187 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13189 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13192 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13194 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13197 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13199 * lyx_main.C: change ref to known bugs
13201 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13203 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13204 to work around older babel problems.
13206 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13208 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13210 2001-10-24 Juergen Vigna <jug@sad.it>
13212 * tabular-old.C (ReadOld): below variable changes reflected.
13214 * tabular.[Ch]: added ltType struct for longtable header/footer
13215 defines and changed all instances where they are used. Added
13216 future support for double top/bottom rows.
13218 2001-10-24 José Matos <jamatos@fep.up.pt>
13220 * buffer.h (docbookHandleCaption):
13221 * buffer.C (docbookHandleCaption): removed unused function.
13222 (makeDocBookFile): moved docbook supported version to v4.1.
13224 2001-10-24 José Matos <jamatos@fep.up.pt>
13227 * tabular.C (docbookRow): new function to export docbook code of a row.
13228 (DocBook): now honors the longtable flags.
13230 2001-10-23 José Matos <jamatos@fep.up.pt>
13233 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13234 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13236 * buffer.C (makeLinuxDocFile):
13237 (makeDocBookFile): reworked the preamble, more clean, and with
13238 support for lyx defined entities. Changed the document declaration
13239 to be more XML friendly.
13241 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13242 if we need to output XML that should be done with a filter.
13244 2001-10-22 Juergen Vigna <jug@sad.it>
13246 * sp_pspell.h (class PSpell): add alive function needed in the
13247 controller to see if the spellchecker could be started.
13249 2001-10-22 Juergen Vigna <jug@sad.it>
13251 * buffer.C (insertStringAsLines): modify the font for inserting
13252 chars in certain conditions by calling checkInsertChar(font).
13254 2001-10-19 Juergen Vigna <jug@sad.it>
13256 * text.C (workWidth): use getRow instead of wrong algorithm.
13257 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13259 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13264 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13266 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13268 * text.C (workWidth): do not search for the exact row when
13269 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13270 optimization for big documents.
13272 2001-10-18 Juergen Vigna <jug@sad.it>
13274 * text.C (workWidth): new function with added Inset * parameter.
13276 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13280 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13281 change return type of getColumnNearX.
13284 * text.C (changeRegionCase): use uppercase/lowercase instead of
13287 (rightMargin): simplify code by factoring out the uses of
13292 (appendParagraph): use Paragraph::size_type
13294 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13296 * vspace.C (asLatexString): add a missing break
13298 2001-10-15 Herbert Voss <voss@perce.de>
13300 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13302 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13304 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13307 2001-10-10 André Pönitz <poenitz@gmx.net>
13309 * lyxfunc.C: removed greek_kb_flag.
13311 2001-10-10 Herbert Voss <voss@perce.de>
13313 * lyx_main.C: delete global string help_lyxdir.
13315 2001-10-09 Herbert Voss <voss@perce.de>
13317 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13319 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13321 * lyx_main.C: added global string help_lyxdir.
13323 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13325 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13327 * lyxrc.C (set_font_norm_type): support iso8859-4
13329 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13331 * LaTeX.C (deplog): add another regex for MikTeX
13333 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13335 * lyxrc.C (set_font_norm_type): support iso8859-3
13337 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13339 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13341 * LaTeXFeatures.C: remove special case of french and index
13343 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13344 before \begin{document}). This solves several incompatibilities.
13346 2001-10-03 Garst Reese <reese@isn.net>
13348 * lyx_cb.C: change CheckTex error msg.
13350 2001-10-03 José Matos <jamatos@fep.up.pt>
13352 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13354 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13356 * .cvsignore: update
13358 * lyx_main.C (commandLineVersionInfo): use new style version info.
13360 * buffer.C (writeFile):
13362 (makeLinuxDocFile):
13363 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13365 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13367 * version.h: update to use stuff in version.C
13369 * version.C.in: new file. Contains version information determined
13370 at compile time. This is a merging of version.h and
13373 2001-10-03 Juergen Vigna <jug@sad.it>
13375 * BufferView_pimpl.C (update): don't change "dirty" status in
13378 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13380 * WorkArea.C (c-tor): re-position version string slightly.
13382 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13384 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13385 revert to previous code.
13387 WorkArea.[Ch]: (show, destroySplash): methods removed.
13389 WorkArea.C: rework code so that it's an amalgam of the codes before and
13390 after the splash screen was moved to WorkArea.
13392 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13395 * vspace.C (inPixels):
13398 * buffer.C (insertStringAsLines):
13399 (asciiParagraph): fix types to be large enough
13401 * lyxlex_pimpl.h: change member status from short to int
13403 * layout.h: fix type of endlabeltype
13406 * kbsequence.C (parse): change return type to string::size_type
13408 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13411 * Bullet.C (bulletSize):
13412 (bulletEntry): do not use short ints as parameters
13414 * BufferView2.C (insertLyXFile): change a char to an int.
13416 * WorkArea.C (WorkArea): remove unneeded floats in computation
13418 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13420 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13422 * paragraph.C (asString): Do not ignore newline/hfill chars when
13423 copying to the clipboard.
13425 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13427 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13428 after a multi-line inset.
13430 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13432 * paragraph.C (validate): Set NeedLyXFootnoteCode
13434 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13436 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13437 and decrease-error to decrease.
13439 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13441 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13442 it more readable (should be equivalent)
13444 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13446 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13448 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13450 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13451 of a cursor (row, etc.) after a character has been deleted
13452 (deleteEmptyParagraphMechanism): call the method above on _all_
13453 cursors held by the LyXText when a double space has been
13456 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13458 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13460 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13462 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13463 background. Use greyOut() and the new show() methods to toggle between
13464 the foreground and background. Add code to remove the splash after
13465 its initial showing.
13467 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13468 (create_forms): no longer call Dialogs::showSplash.
13470 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13472 * .cvsignore: add version_info.h
13474 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13476 * version_info.h.in: new file
13478 * Makefile.am: add version_info.h.in
13480 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13481 version_info.h instead of VERSION_INFO
13483 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13485 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13486 The ERT inset now returns string().
13488 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13490 * lyxtext.h, text.C (selectNextWord): renamed as
13491 selectNextWordToSpellcheck.
13493 * text.C (selectNextWordToSpellcheck): Modified to not select
13494 words inside an ERT inset.
13496 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13498 * lyx_cb.C (MenuLayoutSave): change a bit the question
13500 * sp_base.h: include <sys/types.h>
13502 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13504 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13506 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13508 * several files: fix typos in user-visible strings
13510 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13512 * text2.C (pasteSelection): do not set the selection, since it
13513 will be cleared later. Actually, the intent was to fix the way the
13514 selection was set, but I figured rmoving the code was just as good.
13516 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13518 * FontLoader.C (available): Check if font is available without
13521 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13523 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13525 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13527 * lyxrc.[Ch]: added display_graphics variable and associated code.
13529 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13531 * bufferparams.C (hasClassDefaults): new method. Returns true if
13532 the buffer parameters correspond to known class defaults
13534 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13536 * XFormsView.C (show): set minimum size to the main window.
13538 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13540 * text2.C (copySelection):
13542 * lyxfind.C (LyXReplace):
13543 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13544 LyXText::selectionAsString.
13546 * paragraph.C (asString): add "label" argument to the second form
13548 * text2.C (selectionAsString): add "label" argument and pass it to
13549 Paragraph::asString.
13551 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13553 * lyx_main.C (commandLineHelp): remove version information
13555 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13557 * lyx_main.C: add -version commandline option
13559 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13561 * paragraph.h: make the optional constructor arg required instead.
13562 some modifications to other files because of this.
13564 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13566 * lyxserver.C (C_LyXComm_callback): make it static
13568 * lyx_main.C (error_handler): make it static
13570 * lyx_gui.C (LyX_XErrHandler): make it static
13572 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13574 * WorkArea.C: make the extern "C" methods static.
13576 * Makefile.am (lyx_LDADD): simplify
13578 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13580 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13581 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13583 * LyXAction.C (init):
13584 * lyxfunc.C (dispatch): associated code removal.
13586 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13588 * lyxfont.h (isSymbolFont): shut off warning
13590 * text.C (setHeightOfRow):
13591 (getVisibleRow): fix crash with empty paragraphs which have a
13594 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13596 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13599 2001-09-04 José Matos <jamatos@fep.up.pt>
13602 * tabular.C (docbook): rename docBook method to docbook.
13604 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13606 * Makefile.am: add dependencies to main.o.
13608 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13610 * FontLoader.C (available): Return false if !lyxrc.use_gui
13612 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13614 * FontInfo.C (query):
13615 * converter.C (view):
13616 * importer.C (Import):
13617 * exporter.C (Export): Can not -> cannot.
13619 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13621 * BufferView_pimpl.C: allow to create index inset even if
13624 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13626 * buffer.C (getLists): replace boost::tie code with an explicit pair
13627 as boost::tie can break some compilers.
13629 * iterators.h: Added a std:: declaration to the return type of
13632 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13634 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13637 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13639 * iterators.[Ch]: New files. Provide paragraph iterators.
13641 * buffer.C (changeLanguage): Use paragraph iterators.
13642 (isMultiLingual): ditto
13644 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13646 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13648 * FontLoader.C: Support for cmr font.
13650 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13652 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13653 (available): New method.
13655 * FontInfo.C (getFontname): Use scalable fonts even when
13656 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13659 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13661 * converter.C (Formats::view): reverted! Incorrect fix.
13663 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13665 * converter.C (Formats::view): only output the -paper option
13666 if the dvi viewer is xdvi, thereby fixing bug #233429.
13668 2001-08-23 Herbert Voss <voss@perce>
13670 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13672 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13674 * Spacing.h (Spacing): Set space to Default on in the default
13677 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13679 * vc-backend.h (RCS::versionString): add RCS to version
13680 (CVS::versionString): add CVS to version
13682 * vc-backend.C (scanMaster): do not add CVS to version.
13683 (scanMaster): do not add RCS to version
13685 * lyxvc.C (versionString): new method
13687 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13689 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13691 * Spacing.C (set): initialize fval
13693 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13695 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13698 2001-08-16 Juergen Vigna <jug@sad.it>
13700 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13702 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13704 * BufferView_pimpl.C:
13707 * text2.C: setParagraph takes linespacing now
13709 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13711 * LyxAction.C: add internal LFUN_CITATION_INSERT
13713 * LyXView.C: actually apply fix
13715 * bufferlist.C: fix open non-existent file
13717 * lyxfind.C: fix indentation
13719 * lyxfunc.C: remove unneeded assert, fix typo
13721 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13723 * MenuBackend.C: use "Floatname List"
13725 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13727 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13728 when converting LaTeX layout to insetERT.
13729 Generate a non-collapsed float when reading old float
13731 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13733 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13736 2001-08-13 Juergen Vigna <jug@sad.it>
13738 * text.C (fill): return 0 instead of 20 as this seems to be the more
13741 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13743 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13746 2001-08-13 Juergen Vigna <jug@sad.it>
13748 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13750 (SearchBackward): comment out the unlocking of the inset_owner this
13751 should not be needed!
13753 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13755 * Many files: Remove inherit_language, and add latex_language
13757 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13758 collapsible insets.
13760 2001-08-10 Juergen Vigna <jug@sad.it>
13762 * text.C (prepareToPrint): fixed hfill-width in draw!
13764 * BufferView2.C (selectLastWord): save the selection cursor as this
13765 now is cleared in the function LyXText::clearSelection!
13767 2001-08-08 Juergen Vigna <jug@sad.it>
13769 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13770 BACKSPACE type functions.
13772 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13773 is only cutted from the document but not put in the cut-buffer, where
13774 still the old stuff should be.
13776 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13778 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13780 * tabular.C (SetWidthOfCell): fixed special case where the width
13782 (LeftLine): handle '|' in align_special.
13784 (LeftAlreadyDrawed): ditto
13785 (SetWidthOfCell): ditto
13787 2001-08-07 Juergen Vigna <jug@sad.it>
13789 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13791 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13793 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13794 * lyxlex.[hC]: ditto
13796 2001-08-06 Juergen Vigna <jug@sad.it>
13798 * text.C (getVisibleRow): fix up row clearing a bit.
13800 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13802 * minibuffer.C: make sure the X server sees the changes in the input.
13804 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13806 * paragraph.C (getFont): split into...
13807 (getLabelFont): this
13808 (getLayoutFont): and this
13809 * paragraph_pimpl.C (realizeFont): calling this
13811 * text2.C (getFont): split into...
13812 (getLayoutFont): this
13813 (getLabelFont): and this
13814 (realizeFont): all three calling this
13816 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13819 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13821 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13823 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13825 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13826 layouts from the Quote inset insertion.
13828 2001-08-03 Juergen Vigna <jug@sad.it>
13830 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13832 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13833 only if status not is already CHANGED_IN_DRAW (second level).
13835 * text.C (draw): don't set the need_break_row when inside an
13838 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13840 * buffer.C (parseSingleLyXformat2Token): handle more latex
13843 * bufferview_funcs.[hC]: change function names to
13844 begin with small char, adjust other files.
13846 2001-08-02 André Pönitz <poenitz@gmx.net>
13849 BufferView_pimpl.C: remove broken special code for math-greek
13851 2001-08-02 Juergen Vigna <jug@sad.it>
13853 * BufferView_pimpl.C (update): redone this function so that we
13854 update the text again if there was a CHANGE_IN_DRAW.
13856 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13857 (drawFromTo): added a new internal bool which is used by draw() and
13859 (general): some cursor drawing problems fixed.
13861 2001-08-01 Juergen Vigna <jug@sad.it>
13863 * lyxfind.C (LyXFind): fixed
13864 (SearchForward): ditto
13865 (SearchBackward): ditto
13867 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13868 spurius drawing of the cursor in the main area.
13870 * text2.C (status): small fix which could lead to a segfault!
13871 (clearSelection): remove unneeded BufferView param.
13873 2001-08-01 André Pönitz <poenitz@gmx.net>
13875 * lyxfunc.C: small change due to changed mathed interface
13877 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13879 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13881 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13883 * lyxfunc.c: fail gracefully if file doesn't exist
13888 * BufferView_pimpl.C: IsDirWriteable() proto changed
13890 * LyXView.C: fix updateWindowTitle() to store the last title
13892 2001-07-31 Juergen Vigna <jug@sad.it>
13894 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13895 the font (wrong since using of Paragraph::highestFontInRange).
13897 * paragraph.C (highestFontInRange): added a default_size parameter.
13899 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13900 (setHeightOfRow): reformat
13902 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13904 * converter.[hC] + affected files: move to (inital-char)lowercase
13907 * ParagraphParameters.C (ParagraphParameters): remove commented code
13909 * PainterBase.[Ch]: remove commented code
13911 * LaTeXFeatures.h: add "bool floats" for float.sty
13913 * LaTeXFeatures.C (LaTeXFeatures): init floats
13914 (require): handle float
13915 (getPackages): do it with floats
13917 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13919 * BufferView_pimpl.C (Dispatch): improve handling of
13920 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13922 * commandtags.h: #include lyxfont.h here temporarily to avoid
13925 * bufferlist.h: include LString.h here.
13927 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13929 * text2.C (getStringToIndex): new method.
13931 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13933 * *: Reduced header file dependencies all over.
13935 2001-07-30 Baruch Even <baruch@lyx.org>
13937 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13939 2001-07-29 Baruch Even <baruch@lyx.org>
13941 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13943 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13945 * ParameterStruct.h (endif): add a default constructor to make
13946 sure that all variables is initialized.
13948 * ParagraphParameters.C (ParagraphParameters): adjust
13950 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13952 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13953 index; also, check that there is something to index, and that it
13954 does not span over several paragraphs.
13955 (doubleClick): use WHOLE_WORD_STRICT for double click.
13957 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13959 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13962 2001-07-26 Baruch Even <baruch@lyx.org>
13964 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13965 an InsetFig figure, backwards compatible reading of old figure code.
13967 2001-07-27 Juergen Vigna <jug@sad.it>
13969 * text2.C: font.realize function adaption.
13971 * text.C (draw): add a warnings lyxerr text if needed.
13973 * layout.C: font.realize function adaption.
13975 * language.C: add inherit_language and implement it's handlings
13977 * bufferview_funcs.C (StyleReset): remove language parameter from
13978 font creation (should be language_inherit now).
13980 * bufferparams.C (writeFile): handle ignore_language.
13982 * paragraph.C (getFontSettings): the language has to be resolved
13983 otherwise we have problems in LyXFont!
13985 * lyxfont.C (lyxWriteChanges): added document_language parameter
13986 (update): removed unneeded language parameter
13988 * paragraph.C (validate): fixed wrong output of color-package when
13989 using interface colors for certain fonts in certain environments,
13990 which should not seen as that on the final output.
13992 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13994 * BufferView_pimpl.C:
13999 * LyXAction.C: add thesaurus support
14002 * lyxfind.C: add "once" parameter, for thesaurus, to not
14003 move to the next match
14005 2001-07-26 Juergen Vigna <jug@sad.it>
14007 * lyxfont.C (realize): honor ignore_language too!
14010 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14012 * text.C (draw): one place more for ignore_language to not draw
14015 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14017 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14019 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14021 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14022 the minipage conversion problem.
14024 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14026 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14029 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14031 * BufferView.h: don't forward declare WorkArea
14033 * BufferView.C: don't include WorkArea.h
14035 2001-07-25 André Pönitz <poenitz@gmx.net>
14039 * lyxfunc.C: new LFUN 'math-space'
14041 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14043 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14045 * text2.C (toggleInset): call open/close
14047 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14049 * lyxfunc.C (dispatch): add debug for the disabled case
14051 * font.C (buttonText): make similar to rectText
14053 * buffer.C (readInset): comment out parsing of insetlist and
14056 * PainterBase.C (rectText): small correction
14058 * BufferView_pimpl.C: comment out insettheorem and insetlist
14059 * LyXAction.C: ditto
14060 * commandtags.h: ditto
14062 2001-07-24 Juergen Vigna <jug@sad.it>
14064 * text.C (draw): honor the ignore_language.
14066 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14068 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14070 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14073 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14075 * lyxtext.h: remove unused (and unimplemented) methods
14077 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14079 * text.C (getVisibleRow): honor background color
14082 * Painter.h: remove default color argument for fillRectangle
14084 * text.C (backgroundColor): new method
14086 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14088 * text.C (getVisibleRow): adjust
14090 * font.[Ch] (rectText): new method, metrics
14091 (buttonText): new method, metrics
14093 * PainterBase.[hC]: make rectText and buttonText always draw and take
14096 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14098 * ToolbarDefaults.C (read):
14099 * MenuBackend.C (read): allow escaping in all strings
14101 * BufferView_pimpl.C (insertAndEditInset): new method.
14102 (Dispatch): use insertAndEditInset whenever appropriate.
14104 * BufferView_pimpl.C (insertNote): removed
14106 * BufferView_pimpl.C (smartQuote): new method, moved from
14107 BufferView; if an insetquote cannot be inserted, insert a '"'
14110 * BufferView2.C: remove insertCorrectQuote();
14112 * lyxfunc.C (getStatus): Add support for all remaingin
14113 inset-insert lfuns.
14115 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14117 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14118 command (necessary to pass " as parameter of self-insert.
14120 * text.C (selectWordWhenUnderCursor):
14121 (selectWord): add word_location parameter
14122 (selectWordWhenUnderCursor): same + remove special code for word
14124 (selectNextWord): use kind() to guess type of insetspecialchar,
14127 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14128 (insertErtContents): create ert insets as collapsed.
14129 (readInset): better compatibility code for Info inset.
14131 2001-07-20 Juergen Vigna <jug@sad.it>
14133 * lyxfunc.C (dispatch): use always LyXFind now!
14135 * text2.C (init): add a reinit flag so that the LyXText can be
14136 reinited instead of deleted and reallocated (used in InsetText).
14138 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14144 2001-07-18 Juergen Vigna <jug@sad.it>
14146 * text.C (selectNextWord): handle insets inside inset by calling
14147 always the bv->text functions so that we can go up the_locking_inset!
14149 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14150 in strange locations when inside an inset!
14152 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14153 handling to include insets.
14155 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14157 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14159 * LyXAction.C (init):
14161 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14162 LIGATURE_BREAK, since the name is so stupid.
14164 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14166 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14169 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14171 * sp_form.[Ch]: remove.
14173 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14175 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14178 * src/buffer.C (readInset): ditto.
14180 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14182 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14183 menuSeparator(), endOfSentenceDot(), ldots() and
14184 hyphenationPoint(), which are therefore removed.
14185 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14187 * LyXAction.C (init):
14188 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14190 * paragraph.C (getWord): removed.
14192 * BufferView_pimpl.C (Dispatch): use last word or selection for
14193 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14195 * lyx_main.C (queryUserLyXDir): do not ask before creating
14196 user_dir, except if it has been named explicitely.
14198 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14200 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14201 a document of zero size.
14203 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14205 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14206 approriately in the c-tor and in require().
14207 (getPackages): output the appropriate LaTeX for natbib support.
14209 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14210 variables "use_natbib" and "use_numerical_citations" when reading the
14212 (readInset): read the various natbib cite commands.
14213 (validate): white-space change.
14215 * bufferparams.[Ch]: new variables "bool use_natbib" and
14216 "bool use_numerical_citations".
14217 (writeFile): output them in the LyX file.
14219 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14221 * lyxfunc.C (getStatus): add support for all the inset insertion
14224 * text2.C (insertInset):
14225 * paragraph.C (insetAllowed):
14226 * BufferView_pimpl.C (insertInset): update to take in account the
14227 renaming of insertInsetAllowed
14229 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14231 * text2.C (getInset): new method. returns inset at cursor position.
14233 * BufferView_pimpl.C (Dispatch): changes because of this.
14235 * LyXAction.C (init): rename open-stuff to inset-toggle.
14237 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14239 * text2.C (toggleInset): renamed from openStuff; use
14242 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14244 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14246 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14248 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14250 * buffer.C (readLyXformat2): Add filename to the error dialog
14252 2001-07-18 Juergen Vigna <jug@sad.it>
14254 * tabular.C (GetCellNumber): put an assert here instead of the check!
14256 2001-07-17 Juergen Vigna <jug@sad.it>
14258 * BufferView_pimpl.C (toggleSelection): adapted too.
14260 * text.C (selectNextWord): adapted for use with insets.
14261 (selectSelectedWord): ditto
14263 2001-07-17 Juergen Vigna <jug@sad.it>
14265 * sp_spell.C (PSpell): fix initialitation order.
14267 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14269 * paragraph.C: spacing
14271 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14273 * sp_spell.C: repair language selection for pspell
14275 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14277 * lyxfunc.h: change more methods to begin with lower char.
14279 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14281 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14282 for unknown layouts.
14284 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14286 * buffer.C (readLyXformat2): Generate an error dialog if there are
14289 2001-07-16 Juergen Vigna <jug@sad.it>
14291 * sp_spell.C: always compile ISpell part.
14293 * lyxrc.C: added use_pspell entry and it's handling.
14295 2001-07-13 Juergen Vigna <jug@sad.it>
14297 * sp_spell.C: removed double includes.
14299 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14301 Consistent use of Lsstream.h:
14302 * Lsstream.h: added using std::stringstream for consistencies sake.
14304 * buffer.C: removed using std::stringstream
14306 * lyxfont.C (stateText):
14307 * paragraph.C (asString):
14308 * text.C (selectNextWord, selectSelectedWord):
14309 * text2.C (setCounter):
14310 * vspace.C (asString, asLatexString):
14311 std::ostringstream -> ostringstream.
14313 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14315 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14316 * commandtags.h: add LFUN_HELP_ABOUTLYX
14317 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14319 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14321 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14323 * lyx_gui_misc.C: remove spellchecker
14324 * lyxfunc.C: showSpellchecker
14326 * sp_ispell.h: added
14327 * sp_pspell.h: added
14328 * sp_spell.C: added
14329 * sp_form.[Ch]: removed
14330 * spellchecker.[Ch]: removed
14332 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14334 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14336 (simpleTeXSpecialChars): Simply print the input character without
14337 any special translation if pass_thru is set.
14339 * layout.h: Added bool pass_thru to layout class for being able to
14340 implement pass through of a paragraph for Literate Programming.
14342 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14343 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14344 * layout.C (Read): add "passthru" to list of layout tags and add
14345 code to set the pass_thru boolean when it is read.
14347 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14349 * trans_decl.h: remove allowed from KmodInfo
14351 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14352 remove allowed code
14355 * paragraph_pimpl.C (erase): use boost::prior
14357 * Painter.C (text): use data() instead of c_str() when length is
14359 * WorkArea.C (putClipboard): ditto
14360 * font.h (width): ditto
14362 * BufferView2.C: use it-> instead of (*it). for iterators
14364 * paragraph_pimpl.C: ditto
14365 * paragraph.C: ditto
14366 * minibuffer.C: ditto
14367 * language.C: ditto
14369 * encoding.C: ditto
14370 * counters.C: ditto
14371 * converter.C: ditto
14373 * Variables.C: ditto
14374 * TextCache.C: ditto
14375 * MenuBackend.C: ditto
14376 * LyXAction.C: ditto
14378 * FloatList.C: ditto
14379 * DepTable.C: ditto
14380 * ColorHandler.C (LyXColorHandler): ditto
14382 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14384 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14386 * text2.C (openStuff): reintroduce this method (which had been
14387 nuked in NEW_INSETS frenzy).
14389 * lyxfunc.C (Dispatch): when an action has not been handled, use
14390 its name in the error message, not its number.
14392 * paragraph.C (inInset): change method name to begin with lowercase.
14395 * text2.C: updates because of this.
14397 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14399 * ToolbarDefaults.C (add): add spaces in error message
14401 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14403 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14404 (readLyXformat2): rename return_par to first_par, use lyxlex's
14405 pushToken and remove the manual push handling.
14406 (parseSingleLyXformat2Token): add another ert comp. variable:
14407 in_tabular, rename return_par to first_par. handle newlines better
14409 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14411 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14413 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14415 * text2.C (getParFromID): removed
14417 * buffer.C (getParFromID): new method moved form lyxtext.
14418 * BufferView2.C (insertErrors): adjust
14419 (setCursorFromRow): adjust
14420 * BufferView_pimpl.C (restorePosition): adjust
14421 * lyxfunc.C (Dispatch): adjust
14422 * undo_funcs.C (textUndo): adjust
14424 (textHandleUndo): adjust
14425 (textHandleUndo): adjust
14427 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14429 * buffer.C: up' the LYX_FORMAT
14431 * lyxfont.h: turn NO_LATEX on as default
14433 * buffer.C (insertErtContents): new methods of tex style compability.
14434 (parseSingleLyXformat2Token): use it several places.
14435 * tabular.C (OldFormatRead): and here
14437 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14439 * text2.C: remove some commented code.
14442 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14443 * trans.C: changes because of the above.
14445 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14447 * text2.C (setCounter): Fix counters bug with bibliography layout.
14449 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14451 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14452 own member functions
14453 (simpleTeXSpecialChars): ditto
14455 2001-07-06 Juergen Vigna <jug@sad.it>
14457 * a lot of files: changed the access to LyXText::status and the
14458 call of undo-functions.
14460 * undo.[Ch]: added a inset_id to the undo informations.
14462 * undo_funcs.[Ch]: added and moved here all undo functions.
14464 * lyxtext.h: give the status enum a weight, made status_ a private
14465 variable and made accessor functions for it, removed the whole bunch
14466 of undo-functions as they are now in their own file, make some
14467 functions publically available. Added function ownerParagraph with
14470 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14471 made InInset() a const function, added getParFromID() function.
14473 * buffer.[Ch]: added const version for inset_iterator functions,
14474 added getInsetFromID() function.
14476 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14477 changed undo functions for new version.
14479 2001-07-05 Juergen Vigna <jug@sad.it>
14481 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14482 unknow mechanism does not call the proper constructor but only this
14483 one also if I request the other!?
14485 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14487 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14489 * text2.C (LyXText): use initialization lists.
14491 * lyxtext.h (Selection): initialize set_ and mark_
14492 (init): remove method
14494 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14496 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14498 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14500 * screen.[Ch]: change method names to begin with lowercase
14502 * BufferView_pimpl.C (updateScrollbar): simplify further and
14503 hopefully make it a bit faster.
14505 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14507 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14508 calling directly xforms functions.
14510 * Painter.C (Painter):
14511 * lyx_cb.C (MenuWrite):
14512 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14515 * lyx_gui.C: remove bogus guiruntime extern declaration.
14517 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14519 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14521 (redoDrawingOfParagraph): ditto
14522 (redoParagraphs): ditto
14523 (cutSelection): don't create a object for CutAndPaste use the
14524 static method directly
14525 (pasteSelection): ditto
14527 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14530 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14532 * modifications to some other files because of this.
14534 * Makefile.am (lyx_SOURCES): add XFormsView
14536 * XFormsView.[Ch]: new files
14538 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14539 the main window. Move the gui dependent stuff to XFormsView
14541 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14543 * tabular.C (GetCellInset): update cur_cell also in the row/col
14544 version of this function.
14546 * lyxfunc.C: no need to include figure_form.h here.
14552 * lyxvc.C: no need to include forms.h here.
14554 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14556 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14558 * lyxfunc.C (Dispatch):
14560 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14561 constructor argument.
14563 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14565 * paragraph.C (Paragraph): dont't clear, and just set layout.
14566 (makeSameLayout): use params's copy contructor.
14568 * ParagraphParameters.[Ch] (makeSame): delete method
14570 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14572 * Variables.[Ch]: fix indentation, rename set to isSet
14574 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14576 * lyxfunc.C (Dispatch): fix typo
14578 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14580 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14583 * bufferlist.C: include assert.h for emergencyWrite().
14585 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14587 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14588 give up at last (bug #425202) !
14590 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14596 * spellchecker.C: strip spellchecker options and bring up
14597 preferences tab instead
14599 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14601 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14602 the istringstream constructor
14604 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14606 * paragraph.C (getLayout): fix return value
14608 * paragraph.h: do not declare getLayout as inline.
14610 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14612 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14614 * lyxcursor.h (operator<): new func
14615 (operator>): new func
14616 (operator>=): new func
14617 (operator<=): new func
14619 * text.C (changeCase): use selection.start and selection.end
14620 (changeRegionCase): require from to be <= to. Require par to be a
14623 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14625 2001-06-27 Juergen Vigna <jug@sad.it>
14627 * text.C (cursorLeftOneWord): changed to return the cursor and added
14628 overlay with BufferView * parameter which calls this one.
14630 (selectWord): use new getWord function.
14631 (changeCase): renamed from changeWordCase as and extended to work
14632 also on selections.
14634 * lyxtext.h: added enum word_location
14636 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14637 changeCase as this operates now also on selections.
14639 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14641 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14643 * many files: send debug output to Debug::INFO instead of
14646 * converter.C (View):
14648 (Move): send debug output to Debug::FILES instead of console.
14650 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14652 * lyxfunc.C (getStatus): use func_status
14654 * func_status.h: new header, describing the results of
14655 LyXFunc::getStatus;
14657 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14660 2001-06-25 The LyX Project <jug@sad.it>
14662 * buffer.C (sgmlOpenTag):
14664 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14666 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14668 * text2.C: remove some dead code
14670 * tabular.C (GetCellInset): store the last cell checked (gotten)
14672 * tabular.h: add the helper for the speedup
14674 * lyxtext.h: remove some dead code
14676 2001-06-26 The LyX Project <Asger>
14678 * paragraph.C: Change export to LaTeX of alignment to
14679 \begin{center} and family for better roundtrip work with reLyX.
14681 * Tune the math drawing a bit.
14683 2001-06-25 The LyX Project <Asger>
14685 * LColor.C (LColor): New color for math background. New color
14688 2001-06-25 The LyX Project <jug@sad.it>
14690 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14692 * lyxfunc.C (Open):
14693 * bufferlist.C (newFile): do not restrict to files ending with
14696 * BufferView_pimpl.C (MenuInsertLyXFile):
14698 2001-06-24 The LyX Project <jug@sad.it>
14700 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14703 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14705 * lyxtext.h: rename most methods to begin with a small char.
14706 Lots of changes because of this.
14708 * paragraph.C (Paragraph): do not call fitToSize
14709 (erase): call Pimpl::erase
14710 (insertChar): call Pimpl::insertChar
14711 (insertInset): call Pipl::insertInset
14712 (breakParagraph): do not call fitToSize
14713 (breakParagraphConservative): do not call fitToSize
14714 (fitToSize): remove method
14716 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14718 2001-06-24 The LyX Project <Asger>
14720 * Fix Qt compilation^2
14722 2001-06-24 The LyX Project <jug@sad.it>
14724 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14725 depthHook(getDepth()-1).
14728 * ParagraphParameters.h:
14729 * ParameterStruct.h: change type of depth to unsigned int ==
14730 depth_type. Many adaptations to other files before of that.
14732 2001-06-24 The LyX Project <Asger>
14734 * Fix Qt compilation.
14736 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14738 * paragraph.h: renamed several methods to begin with small letter.
14739 several changes to many parts of the code because of this.
14741 2001-06-23 The LyX Project <jug@sad.it>
14743 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14744 rewritten to discard all double spaces when KeepEmpty is off
14745 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14746 to only handle newlines but not fiddle with spaces and friends.
14748 * lyxfunc.C (MenuNew): when doing 'new from template', use
14749 template_path as default directory
14751 2001-06-23 The LyX Project <Asger>
14753 * Clean-up of header file includes all over
14754 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14756 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14758 * paragraph.h: renamed from lyxparagraph.h
14760 2001-06-23 Asger <lyx@violet.home.sad.it>
14762 * Buffer.h: Removed Buffer::resize
14763 * BufferList.h: Removed BufferList::resize
14764 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14765 the document lazily when we change the width, or the font settings.
14767 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14769 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14771 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14773 * buffer.h: remove out of date comment
14775 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14778 * screen.C: fix "theoretical" GC leak
14780 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14782 * LaTeX.C (scanAuxFile):
14783 (deplog): remove trailing \r when reading stream (useful under
14786 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14788 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14789 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14790 and BufferView::theLockingInset(Inset*), so should use them and not
14791 access bv_->text->the_locking_inset directly.
14793 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14795 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14798 * tex-defs.h: remove old unused file
14800 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14802 * BufferView_pimpl.C: fix typo, remove minibuffer message
14803 when buffer has loaded
14805 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14807 * lyxfunc.C (Dispatch): use stringstream
14808 (MenuNew): use stringstream
14809 (Open): use stringstream
14811 * importer.C (Import): use stringstream
14813 * bufferview_funcs.C (CurrentState): use stringstream
14815 * LaTeX.C (run): use stringstream
14817 * BufferView_pimpl.C (savePosition): use stringstream
14818 (restorePosition): use stringstream
14819 (MenuInsertLyXFile): use stringstream
14821 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14834 * vspace.C: removed // -*- C++ -*- as first line.
14837 * version.h: added // -*- C++ -*- as first line.
14839 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14841 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14843 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14846 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14848 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14851 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14853 * gettext.C: include LString.h even when --disable-nls is on.
14855 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14857 * converter.h (Get): changed argument type from int to
14858 FormatList::size_type to avoid unnecessary conversion.
14860 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14863 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14865 * gettext.h: include LString.h even when --disable-nls is on.
14867 2001-06-07 Juergen Vigna <jug@sad.it>
14869 * text.C (BreakAgain): subst spaces with tabs.
14871 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14872 (resizeInsetsLyXText): set force on resizeLyXText.
14874 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14876 * gettext.h (gettext_init):
14877 (locale_init): use a real definition instead of a macro
14879 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14881 * Bufferview_pimpl.C:
14883 * LColor.C: further lcolor tidies
14885 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14887 * BufferView_pimpl.C (updateScrollbar): simplify.
14889 * BufferView2.C: don't include insets/insetinfo.h, change
14890 prototype for insertInset and call the Pimpl version. let
14891 updateInset call Pimpl version.
14893 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14894 gotoInset to BufferView::Pimpl
14896 2001-06-01 Juergen Vigna <jug@sad.it>
14898 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14899 inside a LockingInset (is the update needed at all?).
14901 2001-05-31 Juergen Vigna <jug@sad.it>
14903 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14904 here not the old one otherwise how should we compare it afterwards
14907 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14912 * FontInfo.C: bring C functions into global namespace when
14915 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14917 * LString.h: make sure config.h has been loaded before LString.h.
14919 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14920 (one for each char read by EatLine!).
14922 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14925 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14927 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14928 to the same as the par we break from
14930 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14932 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14934 * MenuBackend.C (expand): also create menu entries for wide
14935 versions of the floats.
14937 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14939 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14941 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14942 frontends/Makefile.am
14948 * tabular.C (getTokenValue): add std::
14950 * tabular-old.C (getTokenValue): add std::
14951 (getTokenValue): ditto
14952 (getTokenValue): ditto
14954 * screen.C (ToggleSelection): adjust
14956 * lyxtext.h: put selection cursors inside a Selection struct.
14958 * lyxfunc.C (moveCursorUpdate): adjust
14960 * lyxfont.C (latexWriteStartChanges): add std::
14962 * lyxfind.C: adjust
14964 * font.h: delete with(char const *, LyXFont const &)
14966 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14968 * FontInfo.C (getFontname): add std::
14970 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14971 (workAreaButtonPress): adjust
14972 (tripleClick): adjust
14974 (moveCursorUpdate): adjust
14977 * BufferView2.C (gotoInset): adjust
14979 2001-05-30 Juergen Vigna <jug@sad.it>
14981 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14982 to check pspell I add this as default as I now have new pspell
14983 libraries and they seem to use this.
14985 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14987 * text2.C (CutSelection): make the cursor valid before the call to
14990 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14992 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14993 relied on 0 terminated strings and other horrors. Bug found due to
14994 the new assert in lyxstring!
14996 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14999 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15001 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15004 * lyxfunc.C (processKeySym): change method of getting to the
15007 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15008 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15009 * BufferView_pimpl.[Ch]: here as private methods.
15011 2001-05-28 Juergen Vigna <jug@sad.it>
15013 * text.C (SetHeightOfRow): added the update() call again as it is
15014 needed to initialize inset dimensions!
15016 2001-05-16 Juergen Vigna <jug@sad.it>
15018 * text2.C (SetCharFont): Add new function with BufferView * and
15019 bool toggleall parameters for setting insets internal fonts.
15020 (SetFont): Freeze the undo as we may change fonts in Insets and
15021 all this change should be inside only one Undo!
15023 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15024 setting font's in insets as for them we have the SetFont function!
15026 2001-05-15 Juergen Vigna <jug@sad.it>
15028 * text2.C (ClearSelection): to be sure we REALLY don't have any
15031 * tabular.C (TeXCellPreamble): fixed the left border problem for
15034 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15036 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15039 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15041 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15042 LFUN_BREAKPARAGRAPH.
15044 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15045 help test to "internal only", similar for LFUN_INSERT_URL
15047 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15048 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15049 auto_region_delete and deadkeys.
15051 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15054 * LColor.C: remove some dead entries, tidy a little
15056 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15058 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15060 (Dispatch): implement LFUN_ESCAPE
15062 * commandtags.h: add LFUN_ESCAPE
15064 * LyXAction.C (init): add entry for LFUN_ESCAPE
15066 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15067 Remove commented code.
15068 (insertNote): moved here
15069 (open_new_inset): moved here
15071 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15074 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15076 * kbmap.C (findbinding): clean it up and make it work correctly.
15078 * lyx_main.C (init): do not pass argc and argv as parameters
15080 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15082 * buffer.C: fix path for OS/2 & Win32
15086 * lyx_main.C: Added os:: class.
15088 * os2_defines.h: update
15090 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15092 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15093 better by trying again with reduced state.
15095 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15097 * lyxrc.C (read): print error about invalid key sequence only when
15098 debugging (because not all latinX keysyms are known to some X
15101 * kbsequence.C (getiso): add a few std:: qualifiers
15102 (getiso): comment out extra return statement.
15104 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15106 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15108 (Dispatch): enhance the accent inset a bit. (not perfect)
15110 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15112 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15114 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15116 * bufferlist.C (emergencyWrite): fix assert() call
15118 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15120 * text.C (InsertChar): Added trivial patch to only send the "you
15121 can not do multiple spaces this way" message once during a
15124 2001-05-08 Baruch Even <baruch@lyx.org>
15126 * Makefile.am: Changed order of libraries to get LyX to link properly
15127 with the gnome frontend.
15129 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15131 * LaTeXFeatures.h: add a std:: qualifier
15133 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15135 * paragraph.C (String): use stringstream
15137 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15139 * paragraph.C (writeFile): remove footflag arg
15141 * buffer.C (makeLaTeXFile): use stringstream
15142 (latexParagraphs): remove footnot gurba
15144 * LaTeXFeatures.C (getPackages): use stringstream
15145 (getMacros): likewise
15146 (getTClassPreamble): likewise
15147 (getFloatDefinitions): new method
15149 * paragraph.C (writeFile): reindent
15152 * WorkArea.h: revert the xpos + etc changes.
15154 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15156 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15158 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15159 (pasteSelection): likewise
15160 * text2.C (CreateUndo): likewise
15162 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15164 * minibuffer.C (peek_event): temporarily reduce the functionality
15165 of the minibuffer (to allow args on lfuns)
15167 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15168 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15170 * buffer.C (readInset): add compability reading of old float
15171 lists, add reading of new style float list.
15172 (readInset): avoid reevaluation of inscmd.getCmdName()
15173 (getLists): reindent
15175 * MenuBackend.C (MenuItem): implement parsing of
15176 md_floatlistinsert and md_floatinsert.
15177 (expand::LastFiles): move initalizaton of iterators out of loop,
15178 avoid reevaluation.
15179 (expand::Documents): introduce typdedef vector<string> Strings,
15181 (expand::ExportFormats): introduce typedef vector<Format const *>
15182 Formats, and use it.
15183 (expand): implement FloatListInsert and FloatInsert.
15185 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15186 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15187 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15189 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15191 (Dispatch::LFUN_FLOAT_LIST): implement
15193 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15195 * LaTeX.C (run): Fix problem with --export code.
15197 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15199 * BufferView.[Ch] (workarea): removed.
15200 (getClipboard) new method; wrapper for workarea()->getClipboard()
15202 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15205 * WorkArea.h (width, height, xpos, ypos): These methods all
15206 returned the dimensions of the work_area sub-area of WorkArea,
15207 resulting in a position error if the WorkArea were resized. Now
15208 return the dimensions of the entire WorkArea.
15210 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15212 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15214 * LaTeX.C (deplog): correct the syntax of regex reg1
15216 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15218 * undo.C: remove !NEW_INSETS cruft
15220 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15222 * text2.C: remove !NEW_INSETS cruft
15224 * text.C: remove !NEW_INSETS cruft
15226 * tabular.C: remove !NEW_INSETS cruft
15228 * spellchecker.C: remove !NEW_INSETS cruft
15230 * lyxtext.h: remove !NEW_INSETS cruft
15232 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15234 * lyxfunc.C: remove !NEW_INSETS cruft
15236 * lyxfind.C: remove !NEW_INSETS cruft
15238 * lyx_cb.C: remove !NEW_INSETS cruft
15240 * figureForm.C: remove !NEW_INSETS cruft
15242 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15244 * buffer.[Ch]: remove !NEW_INSETS cruft
15246 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15248 * CutAndPaste.C: remove !NEW_INSETS cruft
15250 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15252 * BufferView2.C: remove !NEW_INSETS cruft
15254 * BufferView.h: remove !NEW_INSETS cruft
15256 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15258 * Lsstream.h: include LString.h before the sstream headers to
15259 fix problem with gcc 2.95.3 and lyxstring
15261 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15263 * lyx_main.C: add using directives when needed for C functions
15264 declared in std:: namespace.
15266 2001-04-27 Juergen Vigna <jug@sad.it>
15268 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15269 (SetHeightOfRow): comment out the update call should not be needed!
15271 2001-04-13 Juergen Vigna <jug@sad.it>
15273 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15274 (LyXTabular): tried to minimize operator= operations (and realized
15275 hopfully Lars wish).
15277 2001-04-27 Juergen Vigna <jug@sad.it>
15279 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15281 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15283 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15285 * buffer.C (readInset): hack to make listof algorithm work
15287 * BufferView_pimpl.C: hack to make listof algorithm work
15289 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15291 * LyXAction.C: removed all !NEW_INSETS cruft
15292 (init): moved lfun_item in method
15294 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15296 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15298 * BufferView2.C (theLockingInset): white space.
15300 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15302 * minibuffer.C: include <iostream>
15304 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15306 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15308 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15310 * text.[Ch] (TransposeChars): new method
15312 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15314 * call message directly through LyXView instead of through LyXFunc
15315 * BufferView2.C: adjust
15316 * BufferView_pimpl.C: adjust
15317 * FontLoader.C: adjust
15319 * bufferview_funcs.C: adjust
15320 * converter.C: adjust
15321 * figureForm.C: adjust
15322 * importer.C: adjust
15324 * lyx_gui_misc.C: adjust
15325 * lyxfunc.C: adjust
15328 + more files in subdirs
15330 * lyxparagraph.h (size): move up int file
15333 * adjust all uses of Assert to lyx::Assert.
15335 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15336 lyxfunctional in namespace lyx
15337 * layout.C (hasLayout): ditto
15340 (delete_layout): ditto
15341 (NumberOfClass): ditto
15342 * converter.C (GetFormat): ditto
15347 * bufferlist.C (getFileNames): ditto
15348 (emergencyWriteAll): ditto
15351 * MenuBackend.C (hasSubmenu): ditto
15354 * BufferView_pimpl.C (getInsetByCode): ditto
15356 2001-04-18 Juergen Vigna <jug@sad.it>
15358 * vspace.C (asLatexString): fixed the 100% problem.
15360 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15362 * lyxfunc.C (Dispatch):
15364 * minibuffer.h: add a few std:: qualifiers
15366 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15368 * minibuffer.[Ch]: reimplement so that commands is initiated and
15369 run from lyxfunc, simplified som handling, and made the completion
15370 and history code for complete. wip.
15372 * lyxfunc.C (processKeySym): call message
15373 (miniDispatch): new temporary method
15374 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15375 (LFUN_MESSAGE): implement
15376 (LFUN_MESSAGE_PUSH): implement
15377 (LFUN_MESSAGE_POP): implement
15378 (initMiniBuffer): the initial/defualt minibuffer message.
15380 * lyxfont.[Ch]: inline some more getters
15382 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15384 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15386 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15387 (AutoSave): use LFUN_MESSAGE
15388 (Reconfigure): ditto
15390 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15392 * figureForm.C: use LFUN_MESSAGE
15394 * converter.C (runLaTeX): use LFUN_MESSAGE
15396 * bufferview_funcs.C: use LFUN_MESSAGE
15398 (changeDepth): ditto
15400 * bufferparams.h: use boost::
15402 * bufferlist.h: inherit privately from noncopyable
15404 * bufferlist.C (loadLyXFile): remove some commented code.
15406 * buffer.C (runChktex): use LFUN_MESSAGE
15408 * ShareContainer.h: inherit privately from noncopyable
15410 * ParagraphParameters.[hC] (depth): inline it.
15412 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15414 (message): new method
15415 (messagePush): ditto
15416 (messagePop): ditto
15417 (show): init minibuffer
15418 (showState): direct call
15420 * LaTeX.[Ch]: inherit privately from noncopyable
15421 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15422 instead of WriteStatus.
15424 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15426 * BufferView_pimpl.C (buffer): don't init minibuffer
15427 (workAreaButtonPress): use LFUN_MESSAGE
15428 (workAreaButtonRelease): ditto
15429 (savePosition): ditto
15430 (restorePosition): ditto
15431 (MenuInsertLyXFile): ditto
15432 (workAreaExpose): don't init minibuffer
15433 (update): remove commented code, simplify
15435 * BufferView2.C (openStuff): use LFUN_MESSAGE
15436 (toggleFloat): ditto
15439 (copyEnvironment): ditto
15440 (pasteEnvironment): ditto
15445 (updateInset): remove some commented code
15447 * lastfiles.h: inherit privately from noncopyable
15450 * lyx_main.h: ditto
15452 * lyxlex_pimpl.h: ditto
15454 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15455 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15456 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15458 * LyXAction.h: inherit privately from noncopyable, add methods
15459 func_begin, func_end, returning iterators to the func map.
15461 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15462 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15463 (func_begin): new method
15464 (func_end): new method
15466 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15468 (copySelection): ditto
15469 (pasteSelection): ditto
15471 * BufferView.C: whitespace change
15472 * BufferView.h: inherit privately from noncopyable
15474 2001-04-16 Allan Rae <rae@lyx.org>
15476 * tabular-old.C (l_getline):
15477 * spellchecker.C (sc_check_word):
15478 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15479 an unrecognised preprocessor directive. So ensure they're wrapped.
15481 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15483 * src/exporter.C (Export): Give an error message when path to file
15486 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15488 * LaTeX.C (deplog): Always check that foundfile exists.
15490 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15493 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15495 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15497 * tabular.[Ch] (getLabelList): implement new method
15499 * minibuffer.h: comment ouf setTiimer
15501 * minibuffer.C (ExecutingCB): constify res
15502 (peek_event): constify s
15503 (Set): constify ntext
15504 (Init): constify nicename
15506 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15508 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15509 (savePosition): use two params to Minibuffer::Set
15510 (restorePosition): ditto
15512 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15514 * lyx_main.C: include language.h
15516 * Makefile.am (lyx_main.o): add language.h
15518 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15524 * CutAndPaste.C: include gettext.h
15526 * lyxfont.h: remove old hack with ON and OFF.
15529 * lyxfont.h: do not include language.h...
15534 * bufferview_funcs.C:
15540 * paragraph.C: ... but do it here instead
15542 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15544 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15546 * tabular.C: small reformat
15548 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15551 (BreakParagraph): ditto
15552 (SetOnlyLayout): ditto
15555 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15558 * lastfiles.C: removed most using decl, add std:: where needed
15560 * buffer.C: ws changes
15562 * MenuBackend.C (class compare_format): put into anon namespace
15563 (expand): constify label, names, action, action2
15566 * text.C (SingleWidth): constify font
15567 (IsBoundary): constify rtl2
15568 (GetVisibleRow): constify ww
15570 * LaTeX.C (deplog): constify logfile
15572 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15574 (workAreaExpose): constify widthChange, heightChange
15576 * lyxrow.C (par): moved
15579 * lyxrow.h: as inlines here
15581 * lyxfont.h (shape): moved from lyxfont.C
15582 (emph): moved from lyxfont.C
15584 * lyxfont.C (LyXFont): use initialization list for all
15586 (shape): move to lyxfont.h as inline
15587 (emph): move to lyxfont.h as inline
15590 2001-04-04 Juergen Vigna <jug@sad.it>
15592 * vspace.C: had to include stdio.h for use of sscanf
15594 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15597 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15598 independent of xforms.
15600 2001-04-02 Juergen Vigna <jug@sad.it>
15602 * spellchecker.C: fixed namespace placing!
15604 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15606 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15607 the LyXParagraph * is 0.
15609 2001-03-29 Juergen Vigna <jug@sad.it>
15611 * vspace.C: added support for %, c%, p%, l%.
15612 (stringFromUnit): added helper function.
15613 (asLatexString): changed to give right results for the %-values.
15615 * buffer.C: convert the widthp in a width%.
15617 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15619 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15622 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15623 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15625 * lyx_cb.[Ch]: see above.
15627 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15631 * lyx.[Ch]: replaced by figure_form.[Ch].
15635 * lyxfunc.C: changed headers associated with above changes.
15637 2001-03-27 Juergen Vigna <jug@sad.it>
15639 * BufferView_pimpl.C: set the temporary cursor right!
15641 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15643 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15645 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15647 * LString.h: removed "using std::getline"!
15649 * BufferView_pimpl.C (Dispatch): changes due to changes in
15650 InsetInclude::Params.
15652 * buffer.C (tag_name): removed redundant break statements as they were
15653 producing lots of warnings with my compiler.
15655 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15657 * LString.h: add "using std::getline" when using the real <string>.
15659 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15661 * buffer.C: removed bitset usage.
15662 PAR_TAG moved to an anonymous name space.
15663 (tag_name): new funtion, also in the anonymous namespace.
15664 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15665 (makeDocBookFile): clean code. Completed transition from string arrays
15667 (SimpleDocBookOnePar): code clean.
15669 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15671 * tabular.C: add some comments.
15673 2001-03-22 Juergen Vigna <jug@sad.it>
15675 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15676 compatibility read a bit and fixed bug with minipage in different
15679 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15681 * buffer.C (pop_tag): removed.
15682 (push_tag): removed.
15683 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15684 array replaced with vector. Added support for CDATA sections.
15685 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15687 (makeDocBookFile): XML conformant declaration of CDATA section,
15688 fixed bug related to <emphasis> in the first paragraph char.
15689 (sgmlOpenTag): exclude empty tags.
15690 (sgmlCloseTag): ditto.
15692 * buffer.h (pop_tag): removed.
15693 (push_tag): removed.
15695 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15697 * language.h (Languages): added size_type and size().
15699 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15701 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15702 response on compability reading of minipages. One probliem is that
15703 the old usage of minipages was «flertydig»
15705 * several files here and in subdirs: don't use static at file
15706 scope use anon namespaces instead.
15708 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15710 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15711 LaTeX output. This is necessary for Literate document
15714 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15716 * buffer.C: insert hfill when needed.
15718 * tabular.C (l_getline): use string::erase, small whitespace change.
15720 * BufferView_pimpl.C: try the anon namespace.
15721 * WorkArea.C: ditto
15723 2001-03-16 Juergen Vigna <jug@sad.it>
15725 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15726 otherwise it won't open options-dialogs.
15728 * buffer.C: honor pextraWidth(p) on converting minipages.
15730 * tabular.C (l_getline): changed the functions to strip trailing \r.
15732 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15734 * BufferView_pimpl.C:
15735 * minibuffer..C: added "using SigC::slot" declaration.
15737 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15739 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15745 * paragraph.C: ditto
15747 * lyxtext.h: NO_PEXTRA
15749 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15751 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15752 * ParameterStruct.h: ditto
15753 * ParagraphParameters.h: ditto
15754 * lyxparagraph.h: ditto
15756 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15758 * buffer.C: add compability for minipage alignment.
15759 (latexParagraphs): remove unwanted pextra check.
15761 * several files: remove CXX_WORKING_NAMESPACES
15763 * buffer.C (pop_tag): tie is in namespace boost
15765 * BufferView.h: noncopyable is in namespace boost
15767 * lyx_main.h: ditto
15770 * lastfiles.h: ditto
15771 * bufferlist.h: ditto
15772 * ShareContainer.h: ditto
15774 * LyXAction.h: ditto
15777 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15779 * Merging changes from BRANCH_MVC back into HEAD.
15781 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15783 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15785 * BufferView_pimpl.C: change from intl.C
15789 * Makefile.am: move combox.*
15795 * intl.C: remove dialog (covered by prefs)
15797 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15799 * lyxfunc.C (Dispatch): removed redundant break statement.
15801 2001-03-14 Juergen Vigna <jug@sad.it>
15803 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15805 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15807 * buffer.C: add hack to fix compability reading of minipages.
15809 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15811 * buffer.C (getLists): Cleanup.
15813 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15815 * lyxfont.C (update): don't honor toggleall on font size.
15817 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15821 * Makefile.am: moved to frontends/xforms/
15825 * BufferView_pimpl.C: changes for moved mathpanel
15827 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15829 * gettext.h: fix gettext_init() in --disable-nls
15831 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15833 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15835 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15838 * lyx.h: strip external form
15840 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15842 * BufferView_pimpl.C: add comment, destroySplash()
15844 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15846 * BufferView_pimpl.C:
15850 * lyxfunc.C: use re-worked insetinclude
15852 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15854 * buffer.C: add using std::stringstream.
15856 * lyx_cb.C: readd using std::ios.
15858 * buffer.C: add using std::map.
15860 * BufferView_pimpl.C: add using std::vector.
15862 * ShareContainer.h: add std:: to swap.
15864 * buffer.h: add some typedefs
15865 * buffer.C (getLists): use them
15866 (getLists): renamed from getTocList.
15867 add a counter for the different float types and use it in the
15869 (getLists): use the same counter for the NEW_INSETS and the "non"
15872 * lyx_cb.h: remove unused items, includes, using etc.
15874 * ShareContainer.h: remove some commented code, add more comments
15875 and "documentation".
15877 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15879 * buffer.C (getTocList): make the list also when NEW_INSETS is
15882 * buffer.h: remove TocType
15884 * buffer.C (getTocList): change to return a map<string,
15885 vector<TocItem> >, implement for dynamic number of list.
15887 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15888 * text2.C (PasteSelection): adjust
15889 * CutAndPaste.C (pasteSelection): adjust
15891 * FloatList.C (FloatList): update from the new_insets branch.
15892 * Floating.[Ch]: ditto
15893 * LaTeXFeatures.C: ditto
15895 * lyxlex_pimpl.C: ditto
15897 * paragraph.C (Last): remove when NEW_INSETS is defined.
15899 * other file: changes because of the above.
15901 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15903 * lyxparagraph.h: rename next to next_, previous to previous_,
15904 make them private for NEW_INSETS. Rename Next() to next(),
15905 Previous() to previous().
15907 * other files: changes because of the above.
15909 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15912 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15915 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15917 * main.C (main): pass lyx_localedir to gettext_init().
15919 * gettext.h: remove locale_init and gettext_init macros
15921 * gettext.C (locale_init): new function
15922 (gettext_init): new function
15924 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15927 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15929 * Moved credits to frontends:
15930 * credits.[Ch]: removed
15931 * credits_form.[Ch]: removed
15932 * lyx_gui_misc.C: remove credits stuff
15935 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15937 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15939 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15940 unneeded destructor.
15942 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15943 a standalone pointer again.
15945 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15947 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15953 * ToolbarDefaults.C:
15962 * BufferView_pimpl.C: use new file dialog in GUII
15965 * lyx_cb.C: remove LayoutsCB to Toolbar
15967 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15969 * ShareContainer.h (get): add std:: qualifier
15971 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15973 * ShareContainer.h: define a proper ShareContainer::value_type
15974 type (and use typename to please compaq cxx)
15976 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15978 * lyxparagraph.h: move serveral local vars to
15979 ParameterStruct/ParagraphParameters., use ShareContainer in
15980 FontTable., make vars in FontTable private and add getter and
15983 * paragraph.C: changes because of the above.
15985 * lyxfont.h: remove copy constructor and copy assignment. (the
15986 default ones is ok), move number inside FontBits. move inlines to
15989 * lyxfont.C: add number to initializaton of statics, move several
15990 inlines here. constify several local vars. some whitespace
15991 cleanup. Dont hide outerscope variables.
15993 * Spacing.h: add two new constructors to match the set methods.
15995 * ShareContainer.h: new file, will perhaps be moved to support
15997 * ParameterStruct.h: new file
15999 * ParagraphParameters.h: new file
16001 * ParagraphParameters.C: new file
16003 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16004 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16006 * BufferView_pimpl.C: ParagraphParameter changes.
16007 * buffer.C: Likewise.
16008 * bufferview_funcs.C: Likewise.
16009 * text.C: Likewise.
16010 * text2.C: Likewise.
16012 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16014 * lyxfind.C (LyXReplace): do not redefine default argument in
16016 (IsStringInText): ditto
16017 (SearchForward): ditto
16018 (SearchBackward): ditto
16020 2001-03-06 Juergen Vigna <jug@sad.it>
16022 * lyxfind.C (IsStringInText): put parentes around expressions.
16024 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16026 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16028 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16030 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16032 * stl_string_fwd.h: add comment
16034 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16037 * tabular.C: remove unused DocBook methods
16043 killed DO_USE_DEFAULT_LANGUAGE
16045 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16047 * lyx_gui.C: do not include language.h.
16049 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16050 arguments in function implementation.
16052 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16054 * BufferView_pimpl.C: add <ctime>
16056 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16058 * BufferView_pimpl.C: add using std::find_if
16060 2001-02-27 José Matos <jamatos@fep.up.pt>
16062 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16065 2001-02-11 José Matos <jamatos@fep.up.pt>
16067 * buffer.C (makeDocBookFile): command styles now have a parameter as
16068 "title" by default.
16070 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16072 * layout_forms.[Ch]: removed
16073 * lyx_cb.[Ch]: out character
16074 * lyx_gui.C: out character
16075 * lyx_gui_misc.C: out character
16076 * bufferview_funcs.C: : out character,
16077 added toggleall as parameter in ToggleAndShow
16079 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16081 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16083 * text2.C (SetCurrentFont): Disable number property at boundary.
16085 2001-02-26 Juergen Vigna <jug@sad.it>
16087 * lyxfunc.C (getStatus): added a string argument override function so
16088 that this is correctly called from LyXFunc::Dispatch if it contains a
16089 do_not_use_argument which is used!
16090 (Dispatch): added check for "custom" export and call appropriate func.
16092 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16094 * lyxrc.C: Add language_command_local, language_use_babel and
16095 language_global_options.
16097 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16099 * buffer.C (makeLaTeXFile): Use language_use_babel and
16100 language_global_options.
16102 2001-02-23 Juergen Vigna <jug@sad.it>
16104 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16105 which works with LyXText and putted it inside BufferView. Here now we
16106 only call for that part the BufferView::Dispatch() function.
16108 * BufferView.C (Dispatch): added.
16110 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16111 functions which needs to use a LyXText over from LyXFunc.
16112 (MenuInsertLyXFile): added
16113 (getInsetByCode): added
16114 (moveCursorUpdate): added
16115 (static TEXT): added
16117 2001-02-22 Juergen Vigna <jug@sad.it>
16119 * BufferView_pimpl.C (update): call a status update to see if LyXText
16122 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16124 * vc-backend.C (revert): implement for CVS
16125 (getLog): implement for CVS
16127 2001-02-20 Juergen Vigna <jug@sad.it>
16129 * text2.C (ClearSelection): added BufferView param for inset_owner call
16131 * lyxfunc.C (TEXT): added this function and use it instead of
16132 directly owner->view()-text of getLyXText().
16134 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16136 * src/layout_forms.C: out preamble
16137 * src/layout_forms.h: out preamble
16138 * src/lyx_cb.C: out preamble
16139 * src/lyx_cb.h: out preamble
16140 * src/lyx_gui.C: out preamble
16141 * src/lyx_gui_misc.C: out preamble
16142 * src/lyxfunc.C: connect with guii preamble
16144 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16146 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16148 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16150 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16151 whether to run bibtex.
16153 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16155 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16157 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16159 * Makefile.am (lyx_SOURCES): removed bibforms.h
16161 * vspace.h: doxygen
16163 * text.C (GetVisibleRow): make several local vars const
16165 * tabular.C: small cleanup.
16167 * lyxserver.C (callback): use compare instead of strncmp
16169 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16170 inlines to after class or to paragraph.C
16172 * lyxfont.h: remove friend operator!=
16174 * converter.h: move friend bool operator< to non friend and after
16177 * combox.h: small cleanup
16179 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16180 to inlines after class def.
16182 * buffer.C (pop_tag): use string operations instead of strcmp
16184 * bmtable.c: doxygen, small cleanup
16186 * LaTeX.h: remove friend operator==
16188 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16200 * BufferView_pimpl.C:
16201 * BufferView.[Ch]: remove cruft
16203 2001-02-14 Juergen Vigna <jug@sad.it>
16205 * lyxfunc.C: removed #if 0 unused code
16207 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16209 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16211 * text2.C (SetSelection): added a BufferView * parameter
16213 2001-02-13 Juergen Vigna <jug@sad.it>
16215 * lyxfunc.C (Dispatch): fixed protected blank problem.
16216 * BufferView2.C (protectedBlank): added LyxText * parameter.
16218 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16219 (AppendColumn): same as above for column_info.
16221 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16222 (moveCursorUpdate): use a LyXText param for support of InsetText.
16224 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16225 (tripleClick): ditto
16227 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16229 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16231 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16233 * text2.C (SetSelection): set correct update status if inset_owner
16234 (ToggleFree): ditto
16236 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16238 * tabular.C: remove some commented code.
16240 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16242 * BufferView_pimpl.C: call hideSplash()
16244 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16247 * bibforms.h: remove
16250 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16251 add LFUN_CHILD_CREATE
16253 * counters.h: fix tiny typo
16258 * lyx.C: move splash to frontends/xforms/
16260 * lyx_gui_misc.C: move Include and Bibform to frontends
16262 * lyxvc.h: clarify comment
16264 * vspace.C: tiny housekeeping
16266 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16268 * text.C (PrepareToPrint): RTL Fix.
16270 * paragraph.C (GetUChar): New method.
16271 (String): Use GetUChar.
16273 * buffer.C (asciiParagraph): Use GetUChar.
16275 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16277 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16279 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16282 * buffer.C: rename to getLogName(), handle
16283 build log / latex log nicely
16285 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16288 * MenuBackend.h: remove support for reference menuitem type.
16290 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16292 * BufferView_pimpl.C: housekeeping
16293 * BufferView_pimpl.h:
16298 * minibuffer.h: move Timeout GUI-I
16300 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16302 * lyxrc.C (read): Update converters data-structures.
16304 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16306 * LaTeX.h (operator!=): add operator != for Aux_Info
16308 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16310 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16312 * LaTeXLog.C: deleted, useful code moved to Buffer
16315 * buffer.C: new function getLatexLogName()
16321 * lyxfunc.C: use frontends for LaTeX and VC logs
16323 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16325 * LaTeX.h: yet another std:: that Allan forgot.
16327 * Variables.C (set): renamed from isset(), because this clashes
16328 with some HP-UX macros (grr).
16330 2001-02-06 Allan Rae <rae@lyx.org>
16332 * LaTeX.h: Another bug fix. Missing std:: this time.
16334 2001-02-04 Allan Rae <rae@lyx.org>
16336 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16337 floats problem. I've left it commented out because it's not quite
16338 correct. It should also test that the current object is a table or
16339 figure inset. But I haven't gotten around to figuring out how to do
16340 that. I *think* it'll be something like: "table" == inset.type()
16342 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16345 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16347 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16348 all the citation/databases/styles in the auxilary file.
16349 (run): Rerun latex if there was a babel language error.
16351 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16353 * text.C (Backspace): Preserve the font when changing newline char
16355 (BreakParagraph): If the cursor is before a space, delete the space.
16357 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16359 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16361 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16362 new argument (code).
16363 (ChangeCitationsIfUnique): New method.
16365 * paragraph.C (GetPositionOfInset): Handle bibkey.
16367 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16369 * BufferView_pimpl.h: change type of Position::par_pos to
16370 LyXParagraph::size_type.
16372 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16374 * BufferView_pimpl.C (savePosition, restorePosition): Write
16375 messages to minibuffer.
16377 2001-01-28 José Matos <jamatos@fep.up.pt>
16379 * buffer.C (makeDocBookFile): adds support for document language.
16380 A silly restriction on the name of LatexCommand types where removed.
16381 Added support for CDATA sections, allows to chars unescaped, used
16382 among others in code, to avoid escape < and >.
16384 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16386 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16387 saved positions instrad of a stack. Furthermore, a position is
16388 stored using paragraph id/paragraph position.
16390 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16391 Remove LFUN_REF_BACK.
16393 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16395 * converter.C (dvipdfm_options): New method.
16397 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16399 * vspace.C (isValidLength): Fix for empty input string.
16401 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16403 * LyXAction.C (init): change description of LFUN_FIGURE to
16406 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16408 * LaTeX.C: add using directive
16410 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16412 * MenuBackend.C (expand): Fix the sorting of the formats.
16414 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16416 * lyx_main.C: tiny error message fix
16418 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16420 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16421 calling fl_initialize(). This fixes the problem with ',' as
16422 decimal separator in text files.
16424 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16426 * trans.C (process): Fix the keymap bug.
16428 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16430 * LaTeX.C (scanAuxFiles): New method. Provides support for
16431 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16432 (scanLogFile) Scan for "run BibTeX" messages.
16434 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16435 OT1 font encoding. Also, load the aecompl package if the ae
16438 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16440 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16442 * texrow.C (increasePos): turn two error messages into debug
16445 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16447 * LaTeX.C (scanAux): Handle the \@input macro.
16448 (runBibTeX): Use scanAux().
16450 * language.C (latex_options_): New field.
16452 * LaTeXFeatures.C (getMacros): Add language macros.
16454 * buffer.C (makeLaTeXFile): Small fix.
16456 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16458 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16460 * text2.C: add a using directive.
16462 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16467 * lyxfunc.C: kill LyXBell.
16469 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16471 * text.C (IsBoundary): Remove the error message
16473 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16475 * lyxrc.C (setDefaults): Correct initialization value for
16478 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16480 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16483 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16484 and GotoNextNote().
16486 * src/LyXAction.C: Added reference-next.
16488 * text.C (InsertChar): Use contains instead of strchr.
16490 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16492 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16494 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16495 alignment commands (when needed).
16497 * text.C (InsertChar): Add ':' to number separator chars.