1 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * paragraph.C (isLetter): remove special spellchecker-related
4 code; return true also for digits
5 (isWord, isKomma): remove
7 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
8 * lyxfind.C (MatchString()): use isLetter instead of isWord
10 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
12 * pariterator.h (operatir=): comment out un-implemented member
15 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
18 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
20 * lyxfont.h: include LColor.h to satisfy concept checks.
22 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
24 * pariterator.h: add typdefs for value_type, difference_type,
25 pointer and reference to satisfy concept checks. Also add default
26 constructor for same reason.
28 * pariterator.C (operator++): add post-increment operator to
29 satisfy concept checks.
31 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
34 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
36 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
37 checks. Also rename base_type to BaseType to follow naming
40 * FloatList.h: include Floating.h to satisfy concept checks.
42 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
44 * lyxfunc.C (getStatus): when the origin of the request is menu or
45 toolbar, and the LyXView does not have focus, do as if there was
48 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
49 FuncRequest to individual entries of LFUN_SEQUENCE
51 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
53 * output_latex.C (TeXOnePar): override runparams.moving_arg
54 according to the needprotect value of the current paragraph (bug
57 * paragraph.C (simpleTeXOnePar): no need to override
58 runparams.moving_args here
60 2004-11-14 John Spray <spray_john@users.sourceforge.net>
62 * vspace.C: fix off-by-one-error, related to fix #1682
64 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
66 * lengthcommon.C: a more general fix for bug 1682
68 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
70 * text.C (backspace): fix crash
72 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
74 * format.[Ch] (getFormatFromFile): new method
75 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
77 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
79 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
81 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
83 * lyxfunc.C (dispatch): remove the verbose argument
84 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
87 * kbmap.C (defkey): set the origin of func to KEYBOARD
89 * MenuBackend.C (MenuItem):
90 * ToolbarBackend.C (add): set the origin of func to UI
92 * funcrequest.[Ch]: add origin member, which indicates which part
93 of LyX requests an action
95 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
97 * converter.C (move): don't lie in the error message
98 * converter.h (isReachable, move): document
100 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
102 * buffer.C: remove unused using lyx::support::atoi
103 * paragraph_funcs.C: ditto
105 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
107 * bufferlist.C (exists): use bind and equal_to instead of
110 * lyxtextclasslist.C (NumberOfClass): ditto
112 * cursor.C (insert): use for_each instead of explicit for loop
114 * bufferlist.C (getFileNames): use std::transform and
115 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
117 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
120 * buffer.C (changeLanguage): use for_each instead of explicit for
122 (hasParWithID): implement using getParFromID
124 * LaTeXFeatures.C: ws change only
126 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
129 * BufferView_pimpl.C (trackChanges): use for_each instead of
132 2004-11-04 André Pönitz <poenitz@gmx.net>
135 * undo.C (textUndoOrRedo): fix crash when creating undo information.
137 * dociterator.C (asDocIterator): use hard assert again.
139 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
141 * lyxlength.C (asLatexString): rewrite so that it does not use
144 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
146 * text3.C (specialChar, dispatch): make sure cursor moves to the
147 right after inserting an inset
149 2004-11-02 José Matos <jamatos@lyx.org>
151 * output_docbook.C (docbook):
152 * paragraph.C (getID):
153 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
154 garantee that the output is always legal.
156 * tabular.C (docbook):
157 * outputprams.[Ch]: remove mixed contents.
159 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
161 * text2.C (setCounter): prevent endless loop
163 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
165 * exporter.C (copyFile): use the mover instead of support::copy()
166 * exporter.C (Export): pass format and latex name to copyFile()
167 * exporter.h (addExternalFile): document
168 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
170 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
172 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
174 2004-10-30 José Matos <jamatos@lyx.org>
176 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
177 text and no inset or font change. This allows to use CDATA
178 sections just for the whole paragraph.
180 2004-10-30 José Matos <jamatos@lyx.org>
182 * paragraph.C (getFirstWord): remove unused variable.
184 2004-10-30 José Matos <jamatos@lyx.org>
186 * paragraph.C (getFirstWord): the content should always be escaped
188 (simpleDocBookOnePar):
189 * output_docbook.C (makeEnvironment): replace reference to CDATA
192 2004-10-30 José Matos <jamatos@lyx.org>
194 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
196 2004-10-30 José Matos <jamatos@lyx.org>
198 * output_docbook.C (makeParagraphs):
199 * paragraph.[Ch] (emptyTag): for docbook and company, if the
200 standard paragraph has only a given type of content drop the wrapper.
202 2004-10-29 José Matos <jamatos@lyx.org>
204 * output_docbook.C (makeEnvironment):
206 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
208 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
210 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
211 (cleanID): sanitize any id.
213 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
215 * buffer.C, lyxlex_pimpl.C:
216 * lyxlex_pimpl.C (setFile):
217 s/getExtFromContents/getFormatFromContents/
219 2004-10-28 José Matos <jamatos@lyx.org>
221 * output_docbook.C (makeEnvironment): move id to broadest possible
224 * sgml.C (openTag): apply substitution of <> for all attributes.
226 2004-10-28 José Matos <jamatos@lyx.org>
228 * buffer.C (makeLinuxDocFile, makeDocBookFile):
229 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
230 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
232 * sgml.[Ch]: new version for open and closeTag for paragraph and
233 for strings. Now they handle the ids of paragraphs.
235 2004-10-26 Angus Leeming <leeming@lyx.org>
237 * Makefile.am: add mover.[Ch].
239 * converter.C (convert, move): use the new Movers to move external
240 files to the temp directory.
242 * lyx_main.C (init): ensure that the global system_movers data
245 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
248 * mover.[Ch]: new files, defining a Mover as a utility to move an
249 external file between directories and, if necessary, manipulate this
250 file using a helper script.
252 2004-10-25 José Matos <jamatos@lyx.org>
254 * output_docbook.C (makeCommand): merge two if's that tested the
257 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
259 * sgml.C (escapeString): fix warning in a better way
261 2004-10-25 José Matos <jamatos@lyx.org>
263 * sgml.C (escapeString): import the require boosts header file for
264 tie, and avoid a signed unsigned comparison.
266 2004-10-25 José Matos <jamatos@lyx.org>
268 * sgml.h: add #include <string>
270 2004-10-25 José Matos <jamatos@lyx.org>
272 * sgml.[Ch] (escapeString): new function to escape all the string.
274 2004-10-24 José Matos <jamatos@lyx.org>
276 * paragraph.[Ch] (getFirstWord): new function to get the first
277 word. Useful for description.
278 (simpleDocBookOnePar): remove depth argument, add another that
279 says where to start the paragraph.
281 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
282 use the new functions to fix cleanly the support for descriptions.
284 2004-10-24 José Matos <jamatos@lyx.org>
286 * buffer.C (makeLinuxDocFile, makeDocBookFile):
287 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
288 * output_linuxdoc.C (linuxdocParagraphs):
289 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
290 add buffer as argument.
292 2004-10-24 José Matos <jamatos@lyx.org>
294 * output_docbook.C (makeEnvironment, searchEnvironment): place
295 CDATA inside paragraphs and fix scope for listitems.
297 2004-10-24 José Matos <jamatos@lyx.org>
299 * output_docbook.C: remove using statement for stack.
301 2004-10-23 José Matos <jamatos@lyx.org>
303 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
304 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
305 docbook. The new scheme is recursive and makes use of iterators, the
306 same as latex export works.
307 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
308 directly with the paragraph contents. This code was moved up to
309 output_docbook.C (docbookParagraphs).
310 * sgml.C (openTag, closeTag): removed unneeded newlines.
311 (closeEnvTags) removed.
313 2004-10-23 André Pönitz <poenitz@gmx.net>
315 * undo.C (textUndoOrRedo):
316 * dociterator.C (asDocIterator): work around crash
318 * cursor.C (getStatus): replace ASSERT by more verbose error message
319 and manual correction of the problem. Should increase stability
320 while providing more sensible information.
322 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
324 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
326 * bufferlist.C (previous, next): new methods
329 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
331 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
333 * buffer.C (makeDocBookFile): add dsssl stylesheet control
334 entities to preamble.
336 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
338 * messages.C (Pimpl): strip off translation context information
340 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
342 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
343 the cursor is correct (bug 1694)
345 2004-10-13 José Matos <jamatos@lyx.org>
347 * output_docbook.C (docbookParagraphs): fix closing tags in the
350 2004-10-09 José Matos <jamatos@lyx.org>
352 * buffer.C: format up to 237.
353 * bufferparams.C (write): use tostr to convert booleans to strings.
355 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
357 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
359 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
361 * LaTeX.C: implement use of babel language in xindy.
363 2004-10-05 José Matos <jamatos@lyx.org>
365 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
366 Add new translators to help reading and writing the lyx file.
368 2004-10-05 José Matos <jamatos@lyx.org>
370 * ParagraphParameters.C (read):
371 * text.C (readParToken): replace nexToken by more appropriate lex
374 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
376 * LaTeX.C (runMakeIndex):
377 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
378 (usually 'makeindex') configurable.
380 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
381 with a variable rather than with a number.
383 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
385 * output_latex.C (TeXOnePar): make sure font setting is the first
386 thing that gets output (and the last at the end). Should fix bug
389 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
391 * pch.h: use proper signal include
393 * LaTeX.h: Use preferred calling of Boost.Signal
396 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
398 * pch.h: dont include <boost/function/function0.hpp>
400 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
402 * paragraph_pimpl.h: remove usage of ShareContainer
404 * paragraph_pimpl.C: remove initialization of ShareContainer.
406 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
410 * BufferView.C (putSelectionAt): change the semantics when
411 backwards == true: now, this just swaps cursor and anchor wrt the
414 * BufferView.h (putSelectionAt): add some documentation
416 * lyxfind.C (findBackwards): rewrite using while(). In particular,
417 make sure backwardChar is done at least once (to avoid getting
419 (findNextChange): use putSelectionAt in the forward direction
420 (operator()): use Paragraph::isWord
422 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
424 * Spacing.C (set): c_str fix
426 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
428 * lyx_cb.C (Reconfigure): quote the name of configure script in
429 case it contains spaces
431 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
435 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
436 (BOOST_LIBS): use top_buildir when looking for the file
438 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
440 * pch.h: do not use include boost/format.hpp, multiple symbols
441 will result (gcc bug)
444 2004-08-23 José Matos <jamatos@lyx.org>
446 * bufferparams.C (readToken): fix reading of the author field.
448 2004-08-20 José Matos <jamatos@lyx.org>
450 * lyxrc.C: remove support/translator.h inclusion since it is not used.
452 2004-08-20 José Matos <jamatos@lyx.org>
454 * lyxlex.[Ch] (findToken): remove function.
456 * ParagraphParameters.C (findToken):
457 * bufferparams.C (findToken): replace call for previous function
458 with local copy. This local function has one more argument, the
459 read string argument.
461 2004-08-16 José Matos <jamatos@lyx.org>
463 * ParagraphParameters.C (write):
464 * Spacing.C (writeFile):
465 * bufferparams.C (writeLaTeX):
466 * lyx_cb.C (Reconfigure):
467 * paragraph.C (write):
468 * tabular.C (write): remove unnecessary space at end of line.
471 2004-08-16 José Matos <jamatos@lyx.org>
473 * text.C (readParagraph): remove debug message.
475 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
477 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
480 * output_plaintext.C (asciiParagraph): set depth correctly
482 * outputparams.h: add member depth
484 * paragraph_funcs.C (ownerPar): remove.
486 * text2.C (setCounter): remove first_pit; comment out some
487 non-working code that uses ownerPar
489 * BufferView.C (getParentLanguage): remove. Not used anymore, and
492 2004-08-16 José Matos <jamatos@lyx.org>
494 * text.C (readParToken, readParagraph, read): report all unknown tokens.
495 For the same level of importance use the same chanel to report problems.
496 (read): add code to deal with \begin_body and \end_body.
499 2004-08-15 José Matos <jamatos@lyx.org>
501 * lyxlex.C (getString): fix comment, buffer::readBody is now
504 * tex-strings.C (string_papersize): Default -> default,
505 Custom -> custom, for consistency with other options.
507 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
511 * Makefile.am: support pch
513 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
515 * text.C (readParToken): remove the static LyXFont variable and
516 pass it as a parameter instead. This fixes a nasty bug where an
517 inset will be inserted with a bad font in some situations
518 (readParagraph): adapt
520 * text2.C (setCounter): reduce number of calls to pars_[pit]
522 * text.C (singleWidth): add an assert, fix a test
524 * rowpainter.C (paintText): reduce number of calls to singleWidth
526 * paragraph.C (isHfill):
529 2004-08-14 André Pönitz <poenitz@gmx.net>
534 * lyxtext.h (several functions): use a Paragraph & argument
537 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
539 * metricsinfo.h: add a new field ltr_pos to PainterInfo
541 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
543 * text.C (singleWidth): remove useless test
545 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
547 * tabular.h: remove bogus comments
549 * tabular.C (getDescentOfRow):
550 (isPartOfMultiColumn): add assertions
552 * lyxlength.C (inPixels): remove #warning
554 2004-08-14 André Pönitz <poenitz@gmx.net>
556 * paragraph.h: inline getChar()
558 * BufferView.h: remove unused declarations
560 2004-08-14 José Matos <jamatos@lyx.org>
562 * Buffer.[Ch] (readDocument): new name for old readBody.
563 * Buffer.C: new file format, new keywords: \begin_document,
564 \begin_header, \begin_body, \end_body.
566 * bufferparams.C (readToken): replace all calls to lex.nextToken
567 by lex.next(). Do the same to eatLine except where really needed.
569 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
570 line when writing to the lyx file.
572 * output_plaintext.C (asciiParagraph): fix Bibliography style
575 * text.C (read): fix end of file handling.
577 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
579 * MenuBackend.C (Menu::operator[]): new method to access
580 individual menu items
581 (Menu::hasFunc): new method. search for an item that corresponds
583 (MenuBackend::specialMenu): new method
584 (MenuBackend::expand): if a special menu has been set, skip
585 entries whose func() appears in this menu
587 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
589 * text3.C: use Debug::DEBUG a bit more
591 * text.C (leftMargin): try to simplify a tiny bit change var x to
592 l_margin. Dont output the wide margins always.
593 (rightMargin): no margin in inner texts
595 * rowpainter.h (nestMargin): new func
596 (changebarMargin): new func
597 (rightMargin): new func
599 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
603 * factory.C (createInset): modify setDrawFrame
605 * cursor.C: use Debug::DEBUG a bit more
607 2004-08-14 André Pönitz <poenitz@gmx.net>
610 * Makefile.am: new files to accomodate an 'external' (x,y)-position
611 cache for all insets in (at least partially) visible (top-level)
614 * BufferView_pimpl.C: reset external coord cache before every update.
615 This means the coord cache only contains valid entries.
617 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
620 * BufferView_pimpl.C (getInsetByCode): move function out of class
621 and change in to a template in anon namespace. Also fix to do what
624 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
627 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
629 (breakParagraph): rename par to par_offset and use a local
630 reference. Add code to keep the language over a rebreak.
631 (breakParagraphConservative): rename par to par_offset, use a
633 (mergeParagraph): ditto
635 (isFirstInSequence): ditto
636 (outerFont): rename pit to par_offset
638 * paragraph.C: ws change
643 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
645 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
648 * paragraph.C (simpleTeXOnePar): when we have a \item with
649 optional argument, enclose the argument with curly brackets (in
650 case it contains a closing square bracket)
654 * text3.C (checkInsetHit): constify
656 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
658 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
661 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 Fix toggling of collapsable insets with the mouse (bug 1558)
665 * lyxfunc.C (dispatch): adapt to LCursor changes
667 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
668 make sure that dispatch is not invoked twice
670 * cursor.C (needsUpdate): new method
671 (dispatch): return void
672 (result): new method, to access the DispatchResult of the cursor.
674 2004-08-13 José Matos <jamatos@lyx.org>
676 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
678 2004-08-13 André Pönitz <poenitz@gmx.net>
680 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
682 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
685 2004-08-12 André Pönitz <poenitz@gmx.net>
687 * text3.C: take out the 'cursor right' form insertInset and only
688 do it in those places when it is really needed. Fixes crash on
691 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
693 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
695 * BufferView_pimpl.C (setBuffer): initialize the current font of
696 the underlying LyXText
698 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
700 * kbsequence.C (print): use UI native formatting for menu
703 * text.C (insertChar): call Paragraph::insertChar with a font
706 * paragraph.C (insertInset, insertChar): the version that takes a
707 LyXFont argument is now a wrapper around the other one (the
708 opposite used to be true).
710 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
711 argument. Font setting is done in Paragraph now.
713 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
715 * outputparams.h: add new members intitle and lang.
717 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
718 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
720 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
722 * text3.C (dispatch): remove special handling of button 4 and 5,
723 it is now taken care of in the frontend code.
725 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
727 * Spacing.h: add <string> (STLPort compile fix)
729 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
731 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
733 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
735 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
738 * converter.C (showMessage): inherit from unary_function, make
741 * buffer.C (writeFile): initialize retval
743 * InsetList.h: rename private variable list to list_
744 * InsetList.[Ch]: adjust accordingly.
746 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
748 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
749 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
750 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
751 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
752 * ParagraphParameters.C, LaTeXFeatures.C: replace
753 "support/std_sstream.h" with <sstream>
755 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
757 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
758 * lyxsocket.C (LyXServerSocket): ditto
759 (serverCallback): ditto
761 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
763 * LaTeXFeatures.C: check release date when loading jurabib.
765 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
767 * lyxserver.C (startPipe): call register_socket_callback
768 (endPipe): call unregister_socket_callback
770 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
772 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
773 (LyXServerSocket): register the callback
774 (LyXServerSocket): unregister the callback
775 (fd): delete function
776 (serverCallback): improve error checking and setup the callbacks.
777 (dataCallback): change arg to fd.
778 (writeln): new func (copied fro the client socket) used for server
780 (LyXDataSocket): simplify
781 (~LyXDataSocket): close ann unregiser callback
782 (server): delete function
783 (fd): delete function
784 (readln): small changes, improve some std::string usage
785 (writeln): constify a bit
787 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
789 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
792 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
794 * BufferView_pimpl.C (setBuffer): set the layout combox value only
795 after it has been populated
797 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
799 * text2.C (insertInset): move cursor when inserting inset.
801 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
803 * kbmap.C (findbindings): a couple of new methods. returns a
804 container of kb_sequence objects. The real work is done by the
805 private recursive version
806 (printbindings): uses findbindings to print out a bracketed list
807 of bindings (renamed from findbinding).
809 * MenuBackend.C (binding): use kb_keymap::findbindings
811 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
813 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
815 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
817 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
819 * paragraph.C (isWord): return true on insets that report
822 * text.C (getWord): use Paragraph::isWord to decide what is in a
823 word and what is not; fix bug 1609.
825 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
827 * tex-strings.C: add "none" to string_paperpackages[], fixes
828 off-by-one-error in the paperpackage selection.
831 * tex-strings.[Ch]: char const * string[n]
832 -> char const * const string[]
834 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
836 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
837 command, return early.
839 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
841 * debug.h: add DEBUG to enum and fix size of ANY.
843 * debug.C: add support for Debug::DEBUG
844 (showTags): cast errorTags.level to unsigned int
846 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
847 (redoCurrentBuffer): ditto
848 (updateScrollbar): ditto
849 * cursor.C (dispatch): ditto
850 * text2.C (setLayout): ditto
852 (updateCounters): ditto
854 (deleteEmptyParagraphMechanism): ditto
856 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
858 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
859 annotations to cleanup the Makefile slightly.
861 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
863 * lyxrc.C: do not set user_email to a default value but use empty
864 instead. The entry used to be translated, which does not work
865 since at the point where lyxrc is constructed there is no
866 translation service available
868 * messages.C (getLocaleDir): remove and use directly
869 lyx_localedir() instead
871 2004-06-02 Angus Leeming <leeming@lyx.org>
873 Fix crash caused by dereferencing null pointer 'exportdata' in
874 OutputParams by creating a new ExportData variable on the heap,
875 storing it in a boost::shared_ptr.
876 The crash was triggered when generating an Instant Preview
877 of an external inset.
879 * Makefile.am: add outputparams.C
881 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
882 (c-tor): allocate memory to it.
884 * exporter.C (c-tor): associated changes.
886 2004-06-01 Angus Leeming <leeming@lyx.org>
888 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
889 contains data before calling isInset(0). (Bug 1513.)
891 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
893 * exporter.C (checkOverwrite): new method
894 * exporter.C (copyFile): new method
895 * exporter.C (Export): copy referenced files to the document dir
896 * exporter.[Ch]: new class ExportedFile
897 * exporter.[Ch]: new class ExportData. Contains currently the
898 names of referenced external files
899 * outputparams.h: add exportdata member.
901 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
903 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
906 2004-05-19 Angus Leeming <leeming@lyx.org>
911 * lyxfunc.C: small changes due to the introduction of namespace
912 lyx::frontend and the moving of namespace biblio to lyx::biblio.
914 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
916 * text3.C (dispatch): supress update when only moving the cursor
917 * cursor.C (selHandle): remove commented code
919 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
921 * paragraph.C (startTeXParParams): correct column count
922 * CutAndPaste.C (pasteSelection): remove const_cast
923 * output_docbook.C (docbookParagraphs): remove const_cast
924 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
925 const_cast and return ParagraphList::const_iterator
926 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
927 * output_plaintext.C (writeFileAscii): remove const_cast
928 * paragraph.[Ch] (simpleTeXOnePar): make const
929 * paragraph_funcs.C (outerPar): use const iterators
930 * paragraph_pimpl.C (validate): use const iterators
931 * text.C (setHeightOfRow): use const iterators
933 2004-05-17 Angus Leeming <leeming@lyx.org>
936 * LyXAction.C (init): new LFUN_INSET_REFRESH.
938 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
939 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
940 if the citation engine has changed.
942 2004-05-14 José Matos <jamatos@lyx.org>
944 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
945 if the textclass does not provide it. Have it different for sgml and
947 support the language of document.
948 * output_docbook.C (docbookParagraphs):
949 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
950 first anchor as the id of the paragraph, remove special case code.
951 * sgml.C (escapeChar): escape only < & >.
953 2004-05-14 Angus Leeming <leeming@lyx.org>
955 * bufferparams.h: move biblio::CiteEngine enum here to minimize
956 dependencies on src/frontends/controllers/biblio.h. Define a
957 CiteEngine_enum wrapper class to enable the enum to be forward
960 2004-05-12 Angus Leeming <leeming@lyx.org>
962 * buffer.C: up LYX_FORMAT to 234.
963 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
964 use_numerical_citations with a single biblio::CiteEngine cite_engine
966 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
968 2004-05-13 José Matos <jamatos@lyx.org>
971 * converter.C (Converter, readFlags): add xml member.
972 * outputparams.h: add XML flavor.
973 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
975 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
977 * lyxfunc.C (dispatch):
978 (getStatus): fix handling of LFUN_SEQUENCE
980 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
982 * debug.C (showLevel): do not forget the end-of-line marker
984 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
986 * kbmap.C (read): do not stop parsing a bind file when an error
989 2004-04-29 Angus Leeming <leeming@lyx.org>
994 * text2.C: wrap a bunch of #warning statements
995 inside #ifdef WITH_WARNINGS blocks.
997 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
999 * buffer.C: increment format to 233.
1001 2004-04-28 Angus Leeming <leeming@lyx.org>
1003 * BufferView_pimpl.C:
1006 s/updateToolbar()/updateToolbars()/
1007 s/Toolbar.h/Toolbars.h/
1009 2004-04-28 Angus Leeming <leeming@lyx.org>
1011 * BufferView.[Ch] (c-tor):
1012 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1013 No longer passes these data to the WorkArea generator.
1015 2004-04-28 Angus Leeming <leeming@lyx.org>
1017 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1019 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1021 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1023 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1025 * output_latex.C (TeXEnvironment): make sure that there is a line
1026 break before \end{foo} for the last paragraph of a document
1027 (TeXOnePar): if the paragraph is at the end of the document (or
1028 inset) and the language has to be reset, then make sure that the
1029 line break is _before_ the language command, not after (fixes bug
1030 1225); also make sure that the language reset command is the first
1031 thing after the paragraph (to ensure proper nesting of
1032 environments and thus fix bug 1404)
1034 2004-04-21 John Levon <levon@movementarian.org>
1037 * ToolbarBackend.C: make "name" be a programmatic name
1038 and a gui_name field.
1040 * lyxfunc.C: display the minibuffer on M-x
1042 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1044 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1047 2004-04-19 Angus Leeming <leeming@lyx.org>
1049 * BufferView_pimpl.C (setBuffer): changed preview interface.
1051 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1054 2004-04-19 John Levon <levon@movementarian.org>
1056 * BufferView_pimpl.C:
1057 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1059 2004-04-05 Angus Leeming <leeming@lyx.org>
1061 * text.C (redoParagraphs): add call to updateCounters(), thereby
1062 fixing the missing "Figure #:" label from the caption of a
1065 2004-04-13 Angus Leeming <leeming@lyx.org>
1067 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1068 cursor is clicked out of an inset.
1070 2004-04-13 Angus Leeming <leeming@lyx.org>
1072 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1073 than an InsetOld one.
1075 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1077 * format.[Ch]: add editor to Format
1078 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1079 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1081 2004-04-08 André Pönitz <poenitz@gmx.net>
1083 * metricsinfo.h: remove PainterInfo::width member
1085 2004-04-08 Angus Leeming <leeming@lyx.org>
1087 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1088 "\providecommand" rather than "\newcommand", thereby preventing
1089 clashes with packages that define "\boldsymbol" themselves.
1092 2004-04-08 Angus Leeming <leeming@lyx.org>
1094 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1095 thereby squashing an unnecessary warning.
1097 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1099 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1102 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1104 * BufferView.C (setCursor): call redoParagraph (some insets could
1106 (putSelectionAt): remove the 'double update' trick
1108 * BufferView_pimpl.C (fitCursor): call refreshPar
1109 (workAreaDispatch): remove an uneeded update call
1110 (dispatch): remove some manual update calls
1112 * cursor.[Ch]: remove cached_y_, updatePos
1113 (selHandle): set noUpdate when appropriate
1115 * lyxfunc.C (dispatch): track if we need an update
1117 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1119 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1120 (paintSelection): cheap optimization, do not call cursorX when not
1122 (paintPars): change signature
1125 (paintTextInset): adjust
1129 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1131 * lengthcommon.C: compilation fix: remove explicit array size from
1132 unit_name[] and friends
1134 2004-04-05 Angus Leeming <leeming@lyx.org>
1136 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1138 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1139 present only for the preferences dialog.
1140 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1142 2004-04-05 Angus Leeming <leeming@lyx.org>
1144 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1145 to enable the frontends to export changes to lyxrc correctly.
1147 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1149 2004-04-07 André Pönitz <poenitz@gmx.net>
1151 * cursor.[Ch] (selClear, adjust): remove math
1153 * cursor_slice.C: more agressive assert
1156 * BufferView_pimpl.C: rework mouse event dispatch
1163 2004-04-05 André Pönitz <poenitz@gmx.net>
1165 * cursor.[Ch] (valign, halign...): remove unneeded functions
1167 2004-04-05 Angus Leeming <leeming@lyx.org>
1169 * lyxlength.[Ch] (unit_name et al.): const-correct.
1171 2004-04-05 Angus Leeming <leeming@lyx.org>
1173 * BufferView_pimpl.C:
1182 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1184 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1186 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1188 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1190 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1191 * BufferView_pimpl.[Ch] (getStatus)
1192 * BufferView.[Ch] (getStatus): add
1193 * lyxfunc.C (getStatus): move lfuns handled in
1194 BufferView::dispatch to te function above
1195 * Cursor.C (setSelection): set selection() = true
1197 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1199 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1201 2004-03-31 Angus Leeming <leeming@lyx.org>
1203 * lyxfunc.C (dispatch): Fall through to the generic
1204 Dialogs::show("preamble").
1206 2004-03-31 Angus Leeming <leeming@lyx.org>
1208 * lyxfunc.C (dispatch): Fall through to the generic
1209 Dialogs::show("spellchecker").
1211 2004-03-31 Angus Leeming <leeming@lyx.org>
1213 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1216 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1221 * insetiterator.[Ch]:
1226 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1228 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1230 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1231 insets where we are putting the cursor.
1233 2004-03-31 Angus Leeming <leeming@lyx.org>
1236 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1238 * lyxrc.[Ch] (read, write): overloaded member functions taking
1239 a std::[io]stream arguments.
1241 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1243 2004-03-31 Angus Leeming <leeming@lyx.org>
1245 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1246 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1248 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1249 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1251 2004-03-31 Angus Leeming <leeming@lyx.org>
1253 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1254 the LFUN_ALL_INSETS_TOGGLE code.
1256 2004-03-30 Angus Leeming <leeming@lyx.org>
1258 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1259 has died. Fall through to the generic Dialogs::show("document").
1261 2004-03-30 Angus Leeming <leeming@lyx.org>
1264 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1265 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1267 * lyxfunc.C (getStatus, dispatch): define the actions for these
1268 lfuns. Little more than a cut and pste job from ControlDocument.C
1270 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1272 2004-03-30 Angus Leeming <leeming@lyx.org>
1275 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1276 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1278 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1279 open/closed state of ollapsable insets. Usage:
1281 all-inset-toggle <state> <name>, where
1282 <state> == "open" || "closed" || "toggle" and
1283 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1285 * lyxtext.h, text2.C (toggleInset): removed.
1287 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1288 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1289 now passes LFUN_INSET_TOGGLE to the found inset.
1291 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1292 is now invoked as "all-insets-toggle toggle branch".
1294 2004-03-30 Angus Leeming <leeming@lyx.org>
1298 * pariterator.[Ch]: added/corrected header blurb.
1300 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1302 * dociterator.[Ch]: add an inset_ member
1303 (backwardPos): implemented
1304 (backwardPos, forwardPos): use inset_ when the stack is empty.
1305 (doc_iterator_begin, doc_iterator_end): implemented
1306 * pariterator.[Ch]: adjust, add begin, end
1307 * insetiterator.[Ch]: adjust, add begin, end
1311 * BufferView_pimpl.C:
1312 * CutAndPaste.C: adjust
1314 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1316 * buffer.C: increment file format to 232.
1317 * LaTeXFeatures.C: add bibtopic package.
1318 * bufferparams.[Ch]: param \use_bibtopic.
1320 * lyxrc.[Ch]: add lyxrc bibtex_command
1321 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1323 * buffer.C: increment file format to 231.
1325 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1327 * dociterator.C: implement forwardPar
1328 * iterators.[Ch]: remove, replaced by
1329 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1331 * BufferView_pimpl.C:
1334 * bufferview_funcs.C:
1340 * Makefile.am: adjust
1342 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1344 * CutAndPaste.C (pasteSelection): fix 2 crashes
1345 (eraseSelection): fix a crash
1346 * paragraph_funcs.C: remove a warning
1348 2004-03-28 Angus Leeming <leeming@lyx.org>
1351 * LyXAction.C (init): new LFUN_PRINT.
1353 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1355 2004-03-27 Angus Leeming <leeming@lyx.org>
1358 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1360 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1362 2004-03-27 Angus Leeming <leeming@lyx.org>
1364 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1365 insetlist always contains non-null pointers to insets.
1367 2004-03-26 Angus Leeming <leeming@lyx.org>
1369 * src/BufferView_pimpl.C:
1370 * src/CutAndPaste.C:
1373 * src/output_plaintext.C:
1374 * src/outputparams.h:
1375 * src/paragraph_funcs.C:
1379 * src/frontends/controllers/ControlErrorList.C:
1380 * src/frontends/gtk/FileDialogPrivate.C:
1381 * src/frontends/gtk/GPainter.C:
1382 * src/frontends/gtk/GToolbar.C:
1383 * src/frontends/qt2/QRef.C:
1384 * src/mathed/math_scriptinset.C: squash compiler warnings.
1386 2004-03-26 Angus Leeming <leeming@lyx.org>
1388 * ispell.C (LaunchIspell::start):
1389 * lyx_cb.C (AutoSaveBuffer::start):
1390 invoke run(DontWait) rather than runNonBlocking().
1392 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1394 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1396 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1398 * kbsequence.C (print): adjust
1400 * kbmap.C (printKeySym): rename and change signature
1401 (printKey): use LyXKeySym::print()
1403 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1405 * undo.C: add using std::advance to compile for stlport
1407 2004-03-24 Angus Leeming <leeming@lyx.org>
1409 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1410 it leads to a crash when no buffer is present.
1412 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1413 Martin Vermeer <martin.vermeer@hut.fi>
1415 * lyxfunc.C (dispatch):
1416 * bufferparams.C (readToken): use the new LColor::setColor
1418 * LColor.[Ch] (setColor): new version that takes two strings as
1419 argument and creates a new color entry if necessary
1421 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1423 * buffer.C (makeLaTeXFile): if the main latex file that is
1424 processed is usually a subdocument of some master, then pretend
1425 for a while that it is actually the master
1427 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1429 * buffer.C (getLabelList):
1430 (getBibkeyList): use getMasterBuffer()
1431 (getMasterBuffer): new method. Returns the main document in the
1432 case where one is using included documents.
1434 2004-03-25 André Pönitz <poenitz@gmx.net>
1438 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1440 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1442 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1443 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1445 * ParameterStruct.h: merge with ParagraphParameters
1447 * lyxtext.h: remove LyXText::parOffset() and getPar()
1449 * text3.C: Remove all 'manual' update calls. We do now one per user
1450 interaction which is completely sufficient.
1454 * BufferView_pimpl.C:
1455 * FontIterator.[Ch]:
1457 * ParagraphParameters.[Ch]:
1462 * cursor_slice.[Ch]:
1469 * output_docbook.[Ch]:
1470 * output_latex.[Ch]:
1471 * output_linuxdoc.[Ch]:
1472 * output_plaintext.[Ch]:
1474 * paragraph_funcs.[Ch]:
1475 * paragraph_pimpl.[Ch]:
1483 * frontends/controllers/ControlDocument.C:
1484 * frontends/controllers/ControlErrorList.C:
1485 * frontends/controllers/ControlSpellchecker.C:
1488 * insets/insetbase.h:
1489 * insets/insetbibitem.C:
1490 * insets/insetbox.C:
1491 * insets/insetbranch.C:
1492 * insets/insetcaption.C:
1493 * insets/insetcharstyle.C:
1494 * insets/insetcharstyle.h:
1495 * insets/insetcollapsable.C:
1496 * insets/insetcollapsable.h:
1497 * insets/insetert.C:
1498 * insets/insetfloat.C:
1499 * insets/insetfoot.C:
1500 * insets/insetmarginal.C:
1501 * insets/insetnote.C:
1502 * insets/insetoptarg.C:
1503 * insets/insettabular.C:
1504 * insets/insettext.C:
1505 * insets/insettext.h:
1506 * insets/insetwrap.C:
1507 * mathed/math_mboxinset.C:
1508 * mathed/math_nestinset.C:
1509 * mathed/math_scriptinset.C:
1510 * mathed/math_scriptinset.h:
1513 2004-03-24 Angus Leeming <leeming@lyx.org>
1515 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1516 deal with any child processes that have finished but are waiting to
1517 communicate this fact to the rest of LyX.
1519 2004-03-24 Angus Leeming <leeming@lyx.org>
1521 64-bit compile fixes.
1523 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1524 (c-tor): pass lyx::pos_types rather than ints.
1526 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1529 * text.C (Delete): compile fix.
1530 (getPar): ensure that function declaration is the same as that in
1533 2004-03-23 Angus Leeming <leeming@lyx.org>
1535 * ispell.C (LaunchIspell):
1536 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1537 a boost::shred_ptr rather than a std::auto_ptr.
1539 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1541 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1542 handle LFUN_FILE_INSERT_*
1544 * lyxrc.C (setDefaults, getDescription, output, read):
1545 * lyxrc.h: remove ps_command
1547 2004-03-22 Angus Leeming <leeming@lyx.org>
1549 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1550 Ensure that error_handler is processed once only and that all data
1551 is saved before attempting to output any warning messages.
1553 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1555 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1557 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1559 2004-03-19 André Pönitz <poenitz@gmx.net>
1561 * cursor.[Ch] (reset): take main text inset as argument
1563 * BufferView: adjust
1564 * BufferView_pimpl.C: adjust
1566 * paragraph.[Ch]: fix completely broken operator=()
1568 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1570 * LColor.C (getFromLyXName): make sure that the color name is used
1573 2004-03-17 Angus Leeming <leeming@lyx.org>
1576 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1578 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1579 dialog and to kill a forked process.
1581 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1583 * text2.C (setCursorFromCoordinates): fix font problem
1585 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1587 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1588 bogus "rebuild cursor" code
1590 2004-03-11 André Pönitz <poenitz@gmx.net>
1592 * buffer.[Ch]: use InsetText instead of LyXText as container for
1595 * dociterator.[Ch]: drop the BufferView * member which is not needed
1596 anymore after the change to buffer.C
1598 * paragraph_funcs.C:
1602 * BufferView_pimpl.[Ch]:
1604 * cursor_slice.[Ch]: adjust
1606 * text3.C: fix bug in mathDispatch
1608 2004-03-08 André Pönitz <poenitz@gmx.net>
1610 * undo.[Ch]: use 'StableDocumentIterator' as base for
1613 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1616 * bufferparams.[Ch]: add jurabib support and param.
1618 * LaTeX.C: add FIXME/comment.
1620 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1622 * buffer.C: increment file format to 230.
1624 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1626 * cursor.C (dispatch): avoid infinite loops
1628 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1630 * rowpainter.C (paintSelection): fix x coordinates
1632 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1634 * text.C (rowBreakPoint): fix breaking before displayed insets
1636 2004-03-01 André Pönitz <poenitz@gmx.net>
1638 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1640 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1644 * BufferView_pimpl.C:
1652 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1658 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1659 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1661 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1663 * Bidi.[Ch] (computeTables): const correctness
1664 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1665 fill_hfill, fill_label_hfill and x from Row
1666 * lyxtext.h: prepareToPrint returns a RowMetrics
1667 * rowPainter.C: adjust
1668 * text.C (prepareToPrint): use width, not textWidth. adjust
1669 (redoParagraphInternal, cursorX): adjust
1670 * text2.C (getColumnNearX): adjust
1671 (init): put a default value to the top LyXText::width
1673 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1675 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1677 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1679 * lyxtext.h: add FontIterator class
1681 * text.C (FontIterator, operator*, operator->, operator++): add
1682 (rowBreakPoint, setRowWidth): adjust (fixing a
1685 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1687 * BufferView_pimpl.C (workAreaDispatch): allow also
1688 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1690 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1692 * text.C (rowBreakPoint): fix a bug showing with very large insets
1694 2004-02-25 André Pönitz <poenitz@gmx.net>
1697 * cursor.[Ch]: move some mathed specific code to mathed
1699 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1701 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1702 use_tempdir in preferences
1703 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1705 * lyx_main.C: ensure that tempdir is valid
1706 * lyxlex.h: correct typo
1707 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1708 * paragraph.[Ch] (isMultiLingual): make const
1709 * cursor.[Ch] (openable): make const
1711 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1713 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1715 2004-02-20 André Pönitz <poenitz@gmx.net>
1717 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1719 * cursor.[Ch]: prepare for localized getStatus()
1725 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1727 2004-02-20 André Pönitz <poenitz@gmx.net>
1729 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1731 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1733 * text2.C (setCursorFromCoordinates): switch to absolute coords
1735 (cursorDown): adjust
1736 * text3.C (dispatch): adjust
1738 2004-02-16 André Pönitz <poenitz@gmx.net>
1740 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1743 * cursor_slice.[Ch]: remove unneeded acessor function
1745 * lyxtext.h: rename rtl() to isRTL()
1753 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1755 * rowpainter.C (paintSelection): coord fix
1757 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1759 * Spacing.C: compile fix
1761 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1763 * cursor.C (dispatch): restore current_ before returning
1765 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1767 * text2.C (cursorUp, cursorDown): fix coords
1770 2004-02-12 André Pönitz <poenitz@gmx.net>
1775 * text3.C: add LCursor & parameter to most cursor movement functions
1776 remove usage of LyXText::cursorRow() and cursorPar()
1778 * cursor.[Ch]: add textRow() needed members
1781 * BufferView_pimpl.C:
1784 * BufferView_pimpl.C: adjust
1786 2004-02-11 André Pönitz <poenitz@gmx.net>
1790 * BufferView_pimpl.C: shift undo/redo handling
1792 * cursor.[Ch]: fix mathed crash
1795 * lyxtext.h: move selectionAsText to LCursor
1803 * rowpainter.C: fix excessive drawing
1805 2004-02-06 André Pönitz <poenitz@gmx.net>
1808 * BufferView_pimpl.[Ch]:
1809 * text3.C: move some text specific LFUN handling
1811 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1813 * text3.C (checkInsetHit): adjust coords
1814 * text2.C (getColumnNearX): adjust coords
1815 (edit): adjust coords
1816 * text.C (getRowNearY): add two asserts
1818 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1821 * format.C: add using std::distance to compile on gcc 2.95/stlport
1823 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1825 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1827 2004-02-04 André Pönitz <poenitz@gmx.net>
1829 * BufferView.[Ch] (insertInset):
1830 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1835 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1837 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1838 on the default clause of the switch
1839 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1840 wasn't catched by LCursor::dispatch
1842 2004-02-03 André Pönitz <poenitz@gmx.net>
1845 * cursor.[Ch]: some additional asserts
1847 * undo.[Ch]: remove LyXText dependency in interface
1851 * lyxtext.h (firstPar, lastPar): remove dead functions
1856 * paragraph.[Ch]: adjust
1858 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1860 * lyxfind.C (find): fix argument order in call to ::find
1862 2004-02-02 André Pönitz <poenitz@gmx.net>
1864 * cursor.[Ch]: remove direct access to anchor
1866 * text.C: remove findText() hack
1868 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1870 * iterators.[Ch] (lockPath): remove in favour of...
1871 * BufferView.[Ch] (setCursor): this addition
1872 * BufferView.C (putSelectionAt): adjust
1873 * undo.C (performUndoOrRedo): adjust
1874 * lyxfunc.C (dispatch): adjust
1876 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1878 * iterators.C (lockPath): add a missing slice
1879 * undo.C (performUndoOrRedo): remove redundant positioning code
1881 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1883 * vc-backend.C (scanMaster): ";" -> ';'
1885 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1887 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1888 std::binary_function
1890 * lyxtextclass.C (compare_name): rename to...
1891 (LayoutNamesEqual): ...this
1893 * lyxlex_pimpl.C (compare_tags): inherit from
1894 std::binary_function, put back into anon namespace
1896 * lyxfind.C (MatchString): inherig from std::binary_function
1897 (findChange): use empty() istead of !size()
1899 * format.C (FormatNamesEqual): new functor
1906 * converter.C (compare_Converter): rename to...
1907 (ConverterEqual): ...this, and fixup a bit.
1908 (getConverter): use it, and make function const
1909 (getNumber): use it, and make function const
1913 * bufferlist.C: add using boost::bind
1915 * MenuBackend.C (MenuNamesEqual): new functor
1916 (hasMenu): use it, and make function const
1917 (hasSubmenu): use nested bind to get rid of compare_memfun.
1919 2004-01-30 André Pönitz <poenitz@gmx.net>
1921 * BufferView_pimpl.C:
1924 * cursor_slice.[Ch]:
1927 * paragraph_funcs.C:
1928 * paragraph_funcs.h:
1932 * text3.C: move some of the edit(x,y) handling to the insets
1933 some coordinate changes.
1935 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1937 * text.C: add using statements for std::advance and std::distance
1939 * paragraph.C: add using statement for std::distance
1941 * lyxfind.C: add using statement for std::advance
1943 * cursor.C (region): remove std:: from swap
1944 (openable): use nucleus in stead of operator->
1946 * BufferView.C: add using statements for std::distance and std::swap
1948 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1950 * iterators.C: Remove the pimple, move the needed structures to
1951 the header file. Create accessor for the positions stack.
1952 (asPosIterator): remove function
1954 * PosIterator.C (PosIterator): move constructors to top of file
1955 (PosIterator): reimplement the constructor taking a ParIterator in
1957 (setFrom): new function
1958 (operator!=): inline it
1960 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1962 * lyxfind.C (replaceAll): use std::advance
1964 * iterators.h: inherit from std::iterator.
1966 * PosIterator.C (advance, distance): remove
1967 * PosIterator.h: interit from std::iterator.
1969 2004-01-26 André Pönitz <poenitz@gmx.net>
1972 * BufferView_pimpl.[Ch]:
1976 * bufferview_funcs.C:
1986 * output_linuxdoc.C:
1987 * output_plaintext.C:
1989 * paragraph_funcs.[Ch]:
1990 * paragraph_pimpl.[Ch]:
1996 * text3.C: more IU: dumps most of the rest of the mathcursor
1997 implementation into cursor.[Ch]; "globalize" a bit of it.
1999 2004-01-25 Angus Leeming <leeming@lyx.org>
2001 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2003 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2005 * LaTeXFeatures.h: add nice_ and nice() const
2006 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2008 2004-01-20 André Pönitz <poenitz@gmx.net>
2011 * BufferView_pimpl.C:
2013 * bufferview_funcs.C:
2015 * cursor_slice.[Ch]:
2026 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2027 LCursor and mathcursor parts to LCursor and InsetBase.
2029 2004-01-15 André Pönitz <poenitz@gmx.net>
2031 * cursor_slice.[Ch]: add a few covienience functions
2033 * funcrequest.[Ch]: remove BufferView * member
2035 * BufferView_pimpl.C:
2042 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2044 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2046 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2047 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2049 2004-01-13 André Pönitz <poenitz@gmx.net>
2052 * lyxtext.h: hide cursor and selection anchor behind accessor function
2055 * BufferView_pimpl.[Ch]:
2057 * bufferview_funcs.C:
2067 * cursor_slice.[Ch]: some integer type changes for inset unification
2069 * lyxcursor.[hC]: remove, it's CursorSlice now.
2072 * BufferView_pimpl.[Ch]:
2073 * bufferview_funcs.C:
2079 * textcursor.[Ch]: adjust
2081 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2083 * text2.C (undoSpan): add and use
2084 * text.C (breakParagraph): use undoSpan (fix bug 578)
2087 2004-01-08 Angus Leeming <leeming@lyx.org>
2089 * BufferView_pimpl.C (MenuInsertLyXFile):
2090 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2091 * lyxfunc.C (menuNew, open, doImport):
2092 FileFilterList change to the FileDialog open and save functions.
2094 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2096 * ShareContainer.h: make isEqual and isUnique adaptable
2098 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2100 2004-01-07 Angus Leeming <leeming@lyx.org>
2103 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2105 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2107 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2108 functions replacing find, replace and replaceAll.
2110 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2111 LFUN_WORDFIND(FORWARD|BACKWARD).
2113 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2115 * text.C (breakParagraph): remove an outdated #warning
2117 2004-01-07 André Pönitz <poenitz@gmx.net>
2119 * lyxfind.C: somewhat clearer logic
2121 * text.C: prevent crash in cursorX on unitialized row cache
2123 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2125 * lyxcursor.[Ch] (operator>): add
2126 * textcursor.C (selStart, selEnd): use std::min and std::max
2128 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2130 * Chktex.C: include boost/format.hpp
2132 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2134 * InsetList.C: replace functor MathcIt with adaptable functor
2136 (insetIterator): modify accordingly
2138 * BranchList.h: move the BranchNamesEqual functor here from...
2139 * BranchList.C: ... to here
2141 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2143 (add): replace a finding loop with std::find_if.
2145 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2147 * output_docbook.C: moving LatexParam functionality into
2150 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2152 * buffer.C: increment format to 229.
2154 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2157 * lyx_sty.[Ch]: remove minipageindent_def
2163 * text3.C: remove LFUN_INSET_MINIPAGE
2165 2003-12-28 Angus Leeming <leeming@lyx.org>
2167 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2169 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2171 * text2.C (setParagraph): fix off-by-one crash
2173 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2175 * output_docbook.C: header stuff for AGU
2177 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2179 * text2.C (redoCursor): remove
2182 * BufferView_pimpl.C: remove calls to redoCursor and
2183 setCursor(cursor.par(), cursor.pos()) all around
2185 2003-12-15 Angus Leeming <leeming@lyx.org>
2187 * buffer.C: up the format to 228.
2189 2003-12-15 André Pönitz <poenitz@gmx.net>
2191 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2196 * BufferView_pimpl.C:
2205 2003-12-15 Angus Leeming <leeming@lyx.org>
2207 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2208 than getFromGUIName to manipulate the color.
2210 2003-12-14 Angus Leeming <leeming@lyx.org>
2212 * BranchList.[Ch]: minimize the API.
2213 (Branch::getBranch, getColor): now return a 'const &'.
2214 (Branch::setSelected) now returns a bool set to true if the
2215 selection status changes.
2216 (BranchList::clear, size, getColor, setColor, setSelected,
2217 allBranches, allSelected, separator): removed.
2218 (BranchList::find): new functions, returning the Branch with
2220 (BranchList::add, remove): return a bool indicating that
2221 the operation was successful.
2223 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2224 new InsetBranch::isBranchSlected member function.
2226 * LColor.[Ch]: mimimize the API.
2227 (fill): renamed as addColor and made private.
2228 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2229 versions of these functions taking a string arg have been removed.
2231 * bufferparams.C (readToken):
2232 * lyxfunc.C (dispatch):
2233 * lyxrc.C (read): changes due to the altered BranchList and
2236 * factory.C (createInset, readInset): changes due to altered
2239 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2242 * lyxfunc.C: remove insetminipage. "minipage-insert"
2243 now produces a frameless minipage box inset.
2245 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2247 * textcursor.[Ch] (selStart,selEnd): add new methods
2248 remove selection::start, end, use LyXCursor::operator<
2249 * lyxcursor.[Ch] (operator<): add
2250 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2251 * BufferView.[Ch] (unsetXSel): add
2252 * text2.C (clearSelection): use unsetXSel,adjust
2255 * rowpainter.C: adjust
2256 * bufferview_funcs.C (put_selection_at): adjust
2258 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2260 * BufferView_pimpl.C: small coord. correction
2262 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2264 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2265 dragging over the splash screen.
2267 2003-12-11 Angus Leeming <leeming@lyx.org>
2269 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2270 as it is now handled in LyXText::dispatch.
2272 * text3.C (doInsertInset): remove a level of nesting.
2274 2003-12-11 Angus Leeming <leeming@lyx.org>
2276 * factory.C (createInset): changes due to the changed interface to
2277 InsetCommandMailer::string2params.
2279 2003-12-10 Angus Leeming <leeming@lyx.org>
2281 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2282 'dialog-show-new-inset <inset name>'
2284 2003-12-10 Angus Leeming <leeming@lyx.org>
2286 * buffer.C: up the format to 227.
2288 * factory.C: the box inset is now identified simply by 'Box'.
2290 2003-12-10 Angus Leeming <leeming@lyx.org>
2292 * buffer.C: up the format to 226.
2294 * factory.C: the note inset is now identified simply by 'Note'.
2296 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2298 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2299 when a pit is enough. Standarize a couple of loops.
2301 2003-12-05 Angus Leeming <leeming@lyx.org>
2303 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2304 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2305 data to the re-worked "log" dialog.
2307 2003-12-03 André Pönitz <poenitz@gmx.net>
2313 * paragraph_funcs.C:
2315 * text2.C: use Inset::getText instead of Inset::getParagraph
2317 2003-12-03 André Pönitz <poenitz@gmx.net>
2321 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2322 InsetText::read() as LyXText::read()
2324 2003-12-02 Angus Leeming <leeming@lyx.org>
2326 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2327 type. Add a comment in the implementation that the function uses
2328 the stream's bad() function rather than fail() as the std::streams
2331 2003-12-02 André Pönitz <poenitz@gmx.net>
2333 * lyxlex.[Ch]: make interface more similar to std::stream
2335 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2337 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2339 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2341 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2343 * vspace.[Ch]: remove VSpace::NONE
2345 2003-12-01 André Pönitz <poenitz@gmx.net>
2348 * lyxtext.h: move ParagraphList member to LyXText
2349 rename LyXText::ownerParagraphs to LyXText::paragraph
2352 * bufferview_funcs.C:
2362 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2364 * undo.C: fix cursor positioning
2366 2003-12-01 John Levon <levon@movementarian.org>
2368 * BufferView_pimpl.C: fix a crash on exit with
2371 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2373 * BranchList.C: fix setSelected() method.
2375 2003-11-28 André Pönitz <poenitz@gmx.net>
2377 * ParagraphParameters.[Ch]:
2378 * ParameterStruct.h: remove space above/below from Paragraph to
2381 * BufferView_pimpl.C:
2387 * paragraph_funcs.C:
2393 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2395 * factory.C: Syntax change for CharStyles
2397 2003-11-28 André Pönitz <poenitz@gmx.net>
2402 * buffer.[Ch]: move LyXText member
2404 2003-11-28 André Pönitz <poenitz@gmx.net>
2406 * BufferView.[Ch]: make LyXText * text a private member
2408 * BufferView_pimpl.C:
2419 * output_plaintext.C: cleanup
2421 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2424 * lyxtextclass.[Ch]: parametrize SGML document header
2426 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2429 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2432 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2434 * text2.C (setFont): rework using PosIterator (no more recursive)
2435 (setCharFont): no more needed
2436 (setLayout): no more selection cursors fiddling (done by redoCursor)
2437 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2438 destroy remaining ones)
2440 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2442 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2444 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2447 * text3.C: adjust + re-allow multi par depth changes
2448 * textcursor.C: simplify a bit
2450 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2456 * src/output_docbook.C:
2457 * src/output_latex.C:
2462 * src/text2.C: Introducing a number of tags parametrizing various
2463 XML formats that we may want to support
2465 2003-11-25 André Pönitz <poenitz@gmx.net>
2467 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2469 * lyxtext.h (leftMargin/rightMargin): simplify interface
2476 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2478 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2479 master file to any child files. Fixes bug 546.
2481 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2483 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2485 2003-11-24 André Pönitz <poenitz@gmx.net>
2487 * rowpainter.C: simplification
2489 * text2.C (updateCounters): remove call to redoParagraph on
2490 changed labels as this is far too expensive.
2492 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2494 * converter.C (convert): fix a crash: this function gets
2495 called with buffer == 0 from importer code.
2497 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2499 * text3.C (cursorPrevious): make sure that we do not compare
2500 iterators form different containers.
2503 * rowpainter.C (paintSelection): make sure that we do not compare
2504 iterators from different containers.
2506 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2507 iterators from different ParagraphList containers.
2510 * text2.C (LyXText): change order of initialization slightly
2511 (operator=): new function. copy all variables except cache_par_
2512 (moveUp): make sure that we do not compare iterators from
2513 different ParagraphList constainers.
2516 * text.C (firstPar): new function
2517 (lastPar): new function
2518 (endPar): new function
2520 * lyxtext.h: move things around and group public functions, public
2521 variables, private functions, private variables
2523 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2525 * factory.C: change call to InsetERT constructor to avoid
2526 additional invocation of method status
2527 * text2.C (toggleInset): remove redundant update() call
2528 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2529 instead of a Bufferview pointer
2531 2003-11-21 André Pönitz <poenitz@gmx.net>
2533 * rowpainter.C: simplification
2535 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2537 * text3.C (dispatch): make possible to extend a word/row selection
2540 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2542 * lyxtext.h: x0_,y0_ -> xo_,yo_
2543 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2544 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2545 * rowpainter.C (paintRows): paint full paragraphs
2547 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2549 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2552 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2554 * lyxtext.h: add x0_, y0_
2555 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2556 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2558 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2560 * text2.C (setCursorIntern): move the x_target update here *
2561 * text3.C: change some bv() to true/false in calls to
2562 cursorUp/Down/Right/Left
2563 * cursor.C: use helper function.
2565 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2567 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2568 * paragraph_funcs.[Ch]: correct comment
2569 * rowpainter.C: do not paint selections away from bv->cursor()
2570 Fix a long standing selection painting bug.
2571 * text3.C: generalize mouse-selection code to LyXTexts other that
2573 * textcursor.C: do not use y coords if we can use par offsets
2575 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2577 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2578 cursor position after e.g. inset insert)
2580 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2582 * lyxfind.C (replace): adjust to locking removal + some
2585 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2587 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2590 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2593 * output_docbook.C: XML sanitation: new layout
2594 parameters InnerTag and CommandDepth
2596 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2598 * BufferView_pimpl.C:
2600 * text3.C: Fix the insertion and modification of button-style
2603 2003-11-13 André Pönitz <poenitz@gmx.net>
2605 * InsetList.[Ch]: remove deleteLyXText
2607 * paragraph.[Ch]: cache beginOfBody position
2612 * text3.C: remove superfluous update() calls
2616 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2618 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2619 * BufferView.C (fitLockedInsetCursor): remove
2620 * cursor.[Ch] (getDim): add
2621 * text.C (getRowNearY): add faster version
2622 * text3.C: remove some update calls
2624 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2636 * text3.C: The Character Style /XML short element patch.
2638 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2641 * factory.C: Small step to solving 'unable to insert some insets'
2644 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2646 * cursor.[Ch] (updatePos): new function for updating the y
2647 position of the tip inset
2648 * bufferview_funcs.C (put_selection_at):
2649 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2651 2003-11-11 André Pönitz <poenitz@gmx.net>
2653 * text.C: remove big comment on invalid Paragraph pointers as it is
2656 2003-11-11 André Pönitz <poenitz@gmx.net>
2658 * text_funcs.[Ch]: merge with ...
2666 * Makefile.am: remove text_funcs.[Ch]
2668 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2670 * cursor.C (getPos): return absolute cached y coord
2672 * BufferView_pimpl.C (fitCursor): new simplistic code
2673 (workAreaDispatch): add a fitCursor call
2675 2003-11-10 André Pönitz <poenitz@gmx.net>
2678 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2680 2003-11-10 André Pönitz <poenitz@gmx.net>
2682 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2683 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2684 indicate that the cursor needs to leave an inset
2686 * lyxtext.h: remove inset locking
2688 * cursor.[Ch]: re-implement functionality provided by inset locking
2691 * BufferView_pimpl.[Ch]:
2693 * bufferview_funcs.[Ch]:
2705 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2707 * PosIterator.[Ch]: replace the stack with a vector, add inset
2709 * iterators.[C]: adjust
2711 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2713 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2715 * paragraph_funcs.C (readParToken): put the correct id in the
2716 error item, not the id of the top paragraph
2718 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2720 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2721 * bufferview_funcs.C (put_selection_at): use the above
2723 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2725 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2727 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2729 * output_linuxdoc.h:
2730 * output_plaintext.h:
2732 * output_docbook.h: add #include statements
2734 2003-11-05 José Matos <jamatos@lyx.org>
2736 * output_docbook.[Ch]:
2737 * output_latex.[Ch]:
2738 * output_linuxdoc.[Ch]:
2739 * output_plaintext.[Ch]: New files for output formats.
2740 * output.[Ch]: New file for helper functions.
2743 * paragraph_funcs.[Ch]: output functions moved to new files.
2745 * outputparams.h: rename of latexrunparams.h
2753 * paragraph_funcs.[Ch]:
2754 * paragraph_pimpl.[Ch]:
2755 * tabular.[Ch]: rename ascii to plaintext
2756 and LatexRunParams to OutputParams.
2758 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2760 * iterators.[Ch] (text): require bv argument
2761 * undo.C (recordUndo):
2762 * lyxfunc.C (dispatch):
2763 * bufferview_funcs.C (put_selection_at): adjust
2765 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2767 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2769 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2771 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2774 2003-11-04 André Pönitz <poenitz@gmx.net>
2776 * cursor.[Ch]: restructure
2779 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2781 * iterators.[Ch] (asCursor): remove
2783 * lfuns.h: remove LFUN_INSET_EDIT
2789 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2791 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2793 * lyxfind.[Ch]: complete overhaul
2794 * BufferView_pimpl.C:
2796 * paragraph.[Ch] (insert): add
2798 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2802 * text.C: remove dead spellcheck code
2804 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2806 * dispatchresult.h: add a val setter
2808 * cursor.C (dispatch): use a tempvar for data_[i]
2810 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2812 * PosIterator.[Ch]: compile fix
2814 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2816 * text.C (cursorPar): deactivate the cursor cache
2818 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2820 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2822 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2824 * text3.C (dispatch): adjust for new DisptchResult semantics.
2826 * lyxfunc.C (dispatch): handle update when return from
2827 Cursor::dispatch, adjust for new DispatchResult semantics.
2829 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2830 DispatchResult(true) mean to not update. Add class functions for
2831 setting dispatched and update, as well as reading.
2833 * cursor.C (dispatch): don't handle update here
2835 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2837 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2838 * trans_mgr.C: adjust
2840 * paragraph_funcs.C (readParToken): exception safety
2842 * lyxvc.h: store the vcs pointer in a scoped_ptr
2845 * lyxsocket.C (serverCallback): exception safety
2847 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2849 * ispell.C (clone): make it return a auto_ptr
2851 * factory.C (createInset): exception safety
2852 (readInset): exception safety
2854 * bufferlist.C (newBuffer): exception safety
2856 * Thesaurus.C (Thesaurus): use initialization for aik_
2858 * MenuBackend.C (expandToc): exception safety.
2860 2003-11-03 André Pönitz <poenitz@gmx.net>
2864 * bufferview_funcs.C: remove getInsetFromId()
2867 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2873 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2875 * PosIterator.C (distance, advance): new
2876 * bufferview_funcs.[Ch] (put_selection_at): new
2877 * iterators.[Ch] (lockPath): new
2879 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2881 * iterators.[Ch] (asPosIterator): added
2882 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2883 * PosIterator.[Ch]: added
2885 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2889 * cursor.C (dispatch):
2890 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2892 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2893 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2894 contructor, add a class function dispatched. Remove operator>=
2896 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2898 * debug.C: only use the default constructor for debugstream
2901 * main.C (main): include debug.h and setup the lyxerr streambuf
2904 2003-10-31 José Matos <jamatos@lyx.org>
2906 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2908 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2909 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2910 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2911 * paragraph_pimpl.C (simpleTeXSpecialC):
2912 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2913 add LatexRunParams argument.
2915 * exporter.C (Export): change call accordingly.
2917 * latexrunparams.h: add new member to take care of the other backends.
2918 2003-10-30 José Matos <jamatos@lyx.org>
2920 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2921 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2922 factorise code for paragraph output.
2924 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2927 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2929 * text3.C (dispatch):
2930 * lyxfunc.C (dispatch):
2931 * cursor.C (dispatch):
2932 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2934 * dispatchresult.h: make the dispatch_result_t ctor explicit
2936 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2939 * buffer.C: small refactoring of docbook stuff
2941 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2943 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2946 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2948 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2949 operator dispatch_result_t, and operators for == != and >=
2951 * cursor.C (dispatch): adjust for operator dispatch_result_t
2952 removal. comment out call to update
2954 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2956 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2964 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2967 * dispatchresult.h: new file, DispatchResult broken out of
2970 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2972 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2974 * text.C (rowBreakPoint): put a hack inside #if 0
2976 2003-10-28 André Pönitz <poenitz@gmx.net>
2980 * paragraph_funcs.C:
2983 * text2.C: general cleanup (lots of small stuff)
2985 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2987 * text2.C (cursorEnd): simple fix to the "end key goes to one
2988 before the end on last row" bug
2990 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2992 * text.C (backspace): fix the "zombie characters"
2994 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2996 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2998 2003-10-27 André Pönitz <poenitz@gmx.net>
3000 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3002 * factory.C: handle new InsetPagebreak, InsetLine
3004 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3005 and move handling into new InsetPagebreak, InsetLine
3007 * BufferView_pimpl.C:
3009 * ParagraphParameters.C:
3010 * ParameterStruct.h:
3015 * paragraph_funcs.C:
3016 * paragraph_pimpl.C:
3022 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3025 * lyxrow_funcs.[Ch]:
3031 * text3.C: remove lastPos uses in favour of Row::endpos
3033 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3035 * undo.C (performUndoOrRedo): fix two crashes by setting a
3036 cursor by hand and reordering some calls. Use bv->lockInset instead
3037 of inset->edit because the latter loses cursor information
3039 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3041 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3043 (rowBreakPoint): fix width. change point to point + 1.
3044 Add a missing check.
3046 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3049 * lyxfunc.C: fix (at least partly) the problems
3050 with the Nav menu and headers inside branch insets
3053 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3055 * paragraph.C (getChar): add strong asserts
3057 * lyxrow_funcs.C (lastPos): remove hideous hack
3059 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3060 (fill): adjust to that (avoid an infinite loop)
3062 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3064 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3066 2003-10-23 André Pönitz <poenitz@gmx.net>
3068 * RowList_fwd.h: change list<> to vector<> to gain speed
3069 after suggestion from Alfredo
3071 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3073 * lyxtext.h: move the bidi stuff from here...
3076 * Bidi.[Ch]: ... to here
3078 2003-10-23 André Pönitz <poenitz@gmx.net>
3081 * text.C (isLastRow, isFirstRow): new functions
3083 * paragraph.h: new width cache member
3085 * rowpainter.C: replace RowList::iterator with Row & where possible
3087 * lyxfunc.C: replace several view()->text with a single call
3089 * toc.C: fix 'unused' warning
3091 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3093 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3094 when woring with stream::pos_type
3095 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3097 2003-10-22 André Pönitz <poenitz@gmx.net>
3100 * text.C: use Row & instead of RowList::iterator
3102 * lyxrow.h: rename end() to endpos()
3108 2003-10-22 Angus Leeming <leeming@lyx.org>
3110 * buffer.[Ch] (fully_loaded): new member function, returning true
3111 only when the file has been loaded fully.
3112 Used to prevent the premature generation of previews and by the
3113 citation inset to prevent computation of the natbib-style label.
3115 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3116 templates are all set up.
3118 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3120 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3122 * text.C: fixed an "oops" in the "is a bit silly"
3125 2003-10-21 André Pönitz <poenitz@gmx.net>
3127 * FuncStatus.[Ch]: small stuff, whitespace
3129 * lyxfont.[Ch]: operator<<() for debug reasons
3133 * lyxtext.h: whitespace, spelling
3135 * paragraph.C: naming of variables
3138 * text2.C: small stuff
3141 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3143 * text.C: (1) finish off the inset display() work;
3144 (2) fix the "is a bit silly" bug (accessing char
3147 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3149 * text.C: re-introduce display() for insets, fixing the
3150 various bugs (stretch of line above, math inset
3153 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3155 * text.C (rightMargin): remove spurious semicolon
3157 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3160 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3162 * text3.C: fix one crash due to wrong cursor def
3164 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3166 * vc-backend.C (scanMaster): make the regex static
3168 * LaTeX.C (scanAuxFile): make the regexs static
3170 * text3.C (doInsertInset, dispatch, dispatch):
3171 * text2.C (cursorUp, cursorDown):
3172 * text.C (selectNextWordToSpellcheck):
3173 * BufferView_pimpl.C (dispatch):
3174 * lyxfunc.C (dispatch): localDispatch -> dispatch
3176 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3178 * lyxsocket.C: include <cerrno>
3180 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * lyxfunc.C (dispatch): remove textcache stuff
3184 * bufferlist.C (release): remove textcache stuff
3187 * TextCache.C: delete file
3188 * TextCache.h: delete file
3190 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3192 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3193 delete of the bv_->text.
3194 (resizeCurrentBuffer): remove texcache stuff
3195 (workAreaResize): ditto
3197 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3199 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3202 2003-10-16 André Pönitz <poenitz@gmx.net>
3209 * text3.C: speed up by storing y positions per paragraph plus per-row
3210 offset instead of having a 'full' y position in the row.
3212 2003-10-15 André Pönitz <poenitz@gmx.net>
3216 * undo.[Ch]: make undo aware of inner insets
3218 2003-10-14 Angus Leeming <leeming@lyx.org>
3220 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3221 static member functions LyX::ref() and LyX::cref.
3222 (lastfiles): new accessor functions for the new lastfiles_ member var.
3223 (addLyXView, views_): add a new LyXView to the list of views_.
3224 (updateInset): loop over all LyXViews to call their own updateInset
3225 member function, returning a pointer to the Buffer owning the inset.
3227 * BufferView_pimpl.C (loadLyXFile):
3228 * MenuBackend.C (expandLastfiles):
3229 * bufferlist.C (MenuWrite, QuitLyX):
3230 lastfiles is no longer a global variable.
3231 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3233 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3234 static function. Access through LyX::cref().emergencyCleanup().
3236 2003-10-14 André Pönitz <poenitz@gmx.net>
3238 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3240 * undo.[Ch]: restoring part of 'undo in insets'
3243 * undo_funcs.[Ch]: merge with undo.[Ch]
3245 * tabular.C: small cleansing stuff
3247 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3249 * paragraph_funcs.C (readParToken): report unknown insets as error
3250 boxes. Use the outer paragraph as location (also for unknown
3253 * factory.C (readInset): do not abort on reading an unknown inset.
3254 Eat it and return 0.
3256 2003-10-13 Angus Leeming <leeming@lyx.org>
3258 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3260 * lyxrc.C: displayTranslator is now a function,
3261 declared in GraphicsTypes.h.
3263 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3265 * format.C: new placeholder $$a to pass the socket address.
3267 * bufferlist.[Ch]: new function getBufferFromTmp.
3269 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3270 files in the temporary dir.
3272 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3274 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3276 * Makefile.am: add lyxsocket.[Ch].
3278 * lyx_main.C (error_handler): handle SIGPIPE.
3280 2003-10-13 André Pönitz <poenitz@gmx.net>
3282 * BufferView_pimpl.C:
3287 * undo_funcs.[Ch]: use paroffset_type instead of
3288 ParagraphList::iterators to prevent multiple conversion
3289 (and get a more robust interface)
3291 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3293 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3295 * text3.C (dispatch): ditto
3297 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3300 move the onlyfile, use onlyfile instead of foundfile in a couple
3303 * DepTable.C (update): flush the error stream a bit more
3305 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3307 * lyxserver.C (callback): adjust
3309 * lyxfunc.C (getStatus): add a missing brace in commented code
3310 (ensureBufferClean): reindent
3311 (dispatch): delete version taking a string
3313 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3315 * LaTeX.C (deplog): move found file handlig from here...
3316 (handleFoundFile): .. to new function here.
3317 (deplog): make sure to discover several files mentioned on the
3320 2003-10-10 André Pönitz <poenitz@gmx.net>
3327 * text3.C: fix some of the tabular crashes
3329 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3331 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3333 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3335 2003-10-09 André Pönitz <poenitz@gmx.net>
3337 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3340 * BufferView_pimpl.C:
3341 * bufferview_funcs.C:
3352 * undo_funcs.C: adjust
3354 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3356 * text2.C (incrementItemDepth): new function, use a backtracking
3357 algorithm to discover the correct item depth.
3358 (resetEnumCounterIfNeeded): new function, use a backtracking
3359 algorithm to discover if counter reset is needed.
3360 (setCounter): use them. Simplify a bit. Add different labels for
3361 different item depths for itemize.
3363 * paragraph.C (Paragraph): remove initialization of enumdepth
3366 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3367 enumerate and itemize. Change the type of itemdepth to signed char.
3369 2003-10-08 André Pönitz <poenitz@gmx.net>
3371 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3376 * tabular.[Ch]: fix crash after 'row-insert'
3378 2003-10-08 Angus Leeming <leeming@lyx.org>
3380 Fix doxygen warnings.
3382 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3383 Remove CutAndPaste:: prefix from header file declaration.
3385 * LColor.h (fill): remove LColor:: prefix from declaration.
3387 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3388 use lyx::depth_type rather than Paragraph::depth_type so that
3389 header file and .C file match.
3391 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3393 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3394 * aspell.C: \file aspell_local.C -> \file aspell.C
3395 * gettext.C: \file gettext.C -> \file src/gettext.C
3396 * gettext.h: \file gettext.h -> \file src/gettext.h
3397 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3398 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3399 * text.C: \file text.C -> \file src/text.C
3401 * toc.C: move comment so that doxygen is not confused.
3403 2003-10-07 Angus Leeming <leeming@lyx.org>
3405 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3407 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3410 * aspell_local.h: add forgotten std::string's.
3412 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3419 * text3.C: The Box patch. Fancybox support, minipage, parbox
3421 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3427 * ParagraphParameters.h:
3437 * lyxtextclasslist.h:
3440 * paragraph_pimpl.C:
3441 * textcursor.h: add <string> and other small fixes to make Lars'
3442 std::string patch compile with STLport.
3444 2003-10-06 Angus Leeming <leeming@lyx.org>
3446 * LColor.h: Add missing #include <string>.
3448 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3450 * All most all file in all subdirs: Make <string> be the prefered
3451 way of getting to std::string, add using declarations.
3453 2003-10-06 André Pönitz <poenitz@gmx.net>
3455 * metricsinfo.C: initialize LyXFont before changing attribute.
3456 (fixes the 'math in \emph is upright' bug)
3458 2003-10-06 André Pönitz <poenitz@gmx.net>
3460 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3462 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3465 * paragraph_pimpl.C: Small fixes to build using STLport
3467 2003-10-02 André Pönitz <poenitz@gmx.net>
3470 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3472 2003-10-01 André Pönitz <poenitz@gmx.net>
3474 * factory.C: assert early
3476 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3478 * lyx_main.C: remove the global debug object
3480 * debug.h: adjust for new debugstream
3482 * debug.C: adjust for new debugstream and keep the global debug
3485 2003-09-22 Angus Leeming <leeming@lyx.org>
3487 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3488 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3489 an incomplete class LyXFont.
3491 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3493 * factory.C: bug fix in branches
3495 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3497 * lyxfunc.C (processKeySym): adjust
3499 (dispatch): change arg name from ev to func, adjust
3500 (sendDispatchMessage): ditto
3502 * lyx_main.C (defaultKeyBindings): adjust keybindings
3503 (deadKeyBindings): ditto
3505 * kbsequence.C (addkey): return a FuncRequest
3507 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3509 * kbmap.C (bind): take a FuncRequest as arg, adjust
3512 (defkey): change to take a FuncRequest as arg, adjust
3513 (findbinding): take a FuncRequest as arg, adjust.
3515 * funcrequest.h (operator=): added
3517 * funcrequest.C (FuncRequest): default kb_action changed from
3518 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3520 * buffer.C (dispatch): simplify
3521 (dispatch): adjust to take a FuncRequest as arg, adjust
3523 * boost.C (assertion_failed): change assertion message slightly
3525 * ToolbarBackend.C (read): simplify
3527 * MenuBackend.C (binding): adjust call to findbinding, add a
3528 message if no binding is found.
3530 (expandToc): correct by adding a empty FuncRequest
3532 * LyXAction.C: include <boost/assert.hpp>
3533 (isPseudoAction): delete function
3534 (LookupFunc): change name to...
3535 (lookupFunc): this. change return type to FuncRequest.
3536 (getActionName): take kb_action as arg, simplify
3537 (funcHasFlag): add an assert, simplify.
3539 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3541 * toc.C (action): return a FuncRequest, simplify
3543 * lyxfunc.C (processKeySym): adjust
3544 (getStatus): delete version that takes an int.
3546 (dispatch): delete version that takes action as int
3548 (sendDispatchMessage): simplify and adjust
3550 * funcrequest.C (getArg): take unsigned int as arg
3552 * ToolbarBackend.C (read): adjust
3553 (add): delete version that takes func as a string.
3554 (getIton): take a FuncRequest as arg
3556 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3559 * MenuBackend.C (MenuItem): add a new construct that only takes a
3560 Kind, simplify the constructor use for submenus.
3562 (expandLastfiles): adjust
3563 (expandDocuments): adjust
3564 (expandFormats): adjust
3565 (expandFloatListInsert): adjust
3566 (expandFloatInsert): adjust
3567 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3569 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3570 Remove class variables lyx_pseudo_map and lyx_arg_map
3572 * LyXAction.C (searchActionArg): delete function
3573 (getPseudoAction): delete function
3574 (retrieveActionArg): delete function
3575 (LookupFunc): make it return kb_action, simplify.
3576 (getActionName): simplify
3578 * factory.C (createInset): fix new bug
3580 2003-09-19 Angus Leeming <leeming@lyx.org>
3582 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3583 masterFilename_ parameter in the include inset.
3585 * factory.C (createInset): changes due to the changes to InsetInclude.
3587 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3589 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3591 2003-09-18 Angus Leeming <leeming@lyx.org>
3594 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3595 Inset::fillWithBibKeys.
3596 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3598 2003-09-18 Angus Leeming <leeming@lyx.org>
3600 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3602 (ctor): pass and store a 'Buffer const &'
3603 (buffer): new member function.
3605 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3606 '*this' to the LaTeXFeatures ctor.
3608 2003-09-18 Angus Leeming <leeming@lyx.org>
3614 * text.C: rename EnumLColor as LColor_color.
3616 2003-09-18 Angus Leeming <leeming@lyx.org>
3618 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3619 remove #include "insets/insetbase.h" from cursor.h.
3621 2003-09-18 Angus Leeming <leeming@lyx.org>
3623 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3624 InsetOld_code to remove #include "inset.h".
3626 * iterators.C: add #include "insets/inset.h"
3628 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3630 * BufferView.C: remove more locking stuff that apparently doesn't
3631 do anything sensible.
3633 2003-09-16 André Pönitz <poenitz@gmx.net>
3636 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3639 2003-09-16 Angus Leeming <leeming@lyx.org>
3641 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3643 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3646 * paragraph.h: remove #include "lyxfont.h". Forward declare
3649 2003-09-16 Angus Leeming <leeming@lyx.org>
3651 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3652 of support/textutils.h.
3653 (isWord): move the contents of support/textutils.h's IsWordChar here.
3659 * text2.C: add #include "paragraph.h".
3662 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3664 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3670 * LaTeX.C: use namespace alias for lyx::support::os
3672 2003-09-16 Angus Leeming <leeming@lyx.org>
3675 * bufferview_funcs.C:
3678 * paragraph_pimpl.C:
3680 * text.C: add #include "LColor.h".
3682 2003-09-16 Angus Leeming <leeming@lyx.org>
3684 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3685 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3687 Store the FontBits::color variable as an int rather than as an
3688 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3691 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3692 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3693 string calls together.
3695 * lyxrc.C: add #include "LColor.h".
3697 2003-09-15 Angus Leeming <leeming@lyx.org>
3699 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3702 2003-09-15 Angus Leeming <leeming@lyx.org>
3704 * LColor.h: add an EnumLColor wrapper for LColor::color.
3706 * lyxfont.[Ch] (color, setColor, realColor):
3707 * lyxtext.h, text.C (backgroundColor):
3708 pass EnumLColor args to/from the functions, rather than LColor::color
3712 * lyxtext.h: forward declare EnumLColor.
3714 * lyx_main.C: add #include "LColor.h".
3716 2003-09-15 Angus Leeming <leeming@lyx.org>
3718 * .cvsignore: add lyx-gtk.
3720 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3725 * ParagraphParameters.C
3729 * bufferview_funcs.C
3739 * vc-backend.C: remove usage of STRCONV
3741 2003-09-15 Angus Leeming <leeming@lyx.org>
3743 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3744 explicitly define the color passed to the painter.
3746 2003-09-15 Angus Leeming <leeming@lyx.org>
3748 * bufferparams.C (BufferParams): reorder member initializers to avoid
3751 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3753 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3754 * text.C (updateRowPositions): remove an unusual nop
3756 2003-09-12 André Pönitz <poenitz@gmx.net>
3758 * BufferView_pimpl.C:
3767 * Counters.[Ch]: finish the 'automatic counters' job
3769 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3771 * aspell.C: include <boost/assert.cpp> (compile fix)
3773 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3775 * boost.C (assertion_failed): use lyx::support::abort instead of
3778 2003-09-10 Angus Leeming <leeming@lyx.org>
3780 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3781 with their _fwd progeny.
3783 2003-09-09 Angus Leeming <leeming@lyx.org>
3785 134 files throughtout the source tree: replace 'using namespace abc;'
3786 directives with the appropriate 'using abc::xyz;' declarations.
3788 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3790 * boost.C (emergencyCleanup): moved here from LAssert.c
3791 (assertion_failed): new function, called by BOOST_ASSERT
3793 * several files: change Assert to BOOST_ASSERT
3795 2003-09-09 Angus Leeming <leeming@lyx.org>
3797 * buffer.[Ch]: Add an Impl class and move Buffer's member
3798 variables into it. As a result move several header files out of
3801 Add header files to lots of .C files all over the tree as a result.
3803 2003-09-09 Angus Leeming <leeming@lyx.org>
3805 * buffer.[Ch]: make Buffer's member variables private. Add
3808 Lots of changes all over the tree as a result.
3810 2003-09-08 Angus Leeming <leeming@lyx.org>
3812 * graph.C: #include <config.h>.
3814 2003-09-08 Angus Leeming <leeming@lyx.org>
3818 * BufferView_pimpl.C:
3847 * toc.C: remove redundant using directives.
3849 2003-09-07 Angus Leeming <leeming@lyx.org>
3851 * LaTeXFeatures.h: remove #include "support/types.h".
3852 * ToolbarBackend.h: remove #include <algorithm>.
3853 * changes.h: remove #include <ctime>.
3854 * debug.h: remove #include <iosfwd>.
3855 * graph.h: remove #include "support/std_string.h".
3856 * lyx_main.h: remove #include <csignal>.
3857 * lyxlex_pimpl.h: remove #include <fstream>.
3858 * sgml.h: remove #include <algorithm>, <utility>.
3859 * toc.h: remove #include "support/std_ostream.h".
3860 Add #include <iosfwd>.
3862 2003-09-07 Angus Leeming <leeming@lyx.org>
3864 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3866 * converter.h: forward declare LatexRunParams.
3867 * encoding.h: remove #include "lyxrc.h".
3868 * lyxtext.h: remove #include "LColor.h".
3869 * lyxtextclass.h: remove #include "support/types.h".
3870 * trans.h: remove #include "tex-accent.h".
3871 * trans_mgr.h: remove #include "tex-accent.h".
3872 * insets/inset.h: remove #include "support/types.h", <vector>.
3873 * insets/insetcollapsable.h: remove #include "LColor.h".
3874 * insets/insetinclude.h: remove #include "dimension.h".
3875 * insets/insetlatexaccent.h: remove #include "dimension.h".
3876 * insets/insetoptarg.h:: remove #include "insettext.h".
3877 * insets/insettext.h: remove #include "dimension.h",
3878 <boost/shared_ptr.hpp>
3880 * insets/renderers.h: add #include "dimension.h".
3881 * insets/updatableinset.h: add #include "support/types.h".
3883 * many .C files: Associated changes.
3885 2003-09-06 Angus Leeming <leeming@lyx.org>
3887 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3888 one, inside testInvariant.
3890 * PrinterParams.C: new file.
3891 * PrinterParams.[Ch]: move the function bodies out of line.
3893 2003-09-06 Angus Leeming <leeming@lyx.org>
3895 * ParagraphParameters.h: forward declare ParameterStruct rather than
3896 including its header file.
3897 (depth): moved out-of-line.
3899 2003-09-06 Angus Leeming <leeming@lyx.org>
3901 * BufferView_pimpl.h:
3904 * lyxfunc.h: forward declare LyXKeySym rather than
3905 #include "frontends/LyXKeySym.h".
3907 * BufferView_pimpl.C:
3910 * lyxfunc.C: associated changes.
3912 2003-09-06 Angus Leeming <leeming@lyx.org>
3914 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3915 As a result, can remove the #include "insets/inset.h" from BufferView.h
3917 2003-09-06 Angus Leeming <leeming@lyx.org>
3919 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3920 As a result, can remove the #include "insets/inset.h" from BufferView.h
3922 2003-09-06 Angus Leeming <leeming@lyx.org>
3928 * bufferview_funcs.C:
3929 * BufferView_pimpl.C:
3934 * ParagraphParameters.C:
3939 * frontends/controllers/ControlDocument.C:
3940 * insets/insetcaption.C: rearrange the #includes into some sort of
3943 * buffer.h: remove #includes ErrorList.h, undo.h
3945 2003-09-06 Angus Leeming <leeming@lyx.org>
3947 * support/types.h: add a 'depth_type' typedef, used to store the
3948 nesting depth of a paragraph.
3951 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3952 defining explicitly.
3955 * paragraph_funcs.h:
3956 * ParagraphParameters.h:
3957 * sgml.h: use lyx::depth_type rather than Paragraph or
3958 ParameterStruct's depth_type.
3961 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3964 * BufferView_pimpl.C:
3966 * ParagraphParameters.C:
3969 * bufferview_funcs.C:
3976 * frontends/LyXView.C:
3977 * frontends/controllers/ControlDocument.C:
3978 * frontends/controllers/ControlErrorList.C:
3979 * insets/insetbibitem.C:
3980 * insets/insetbranch.C:
3981 * insets/insetcaption.C:
3982 * insets/insetcollapsable.C:
3983 * insets/insetenv.C:
3984 * insets/insetert.C:
3985 * insets/insetfloat.C:
3986 * insets/insetfoot.C:
3987 * insets/insetfootlike.C:
3988 * insets/insetnewline.C:
3989 * insets/insetquotes.C:
3990 * insets/insettabular.C:
3991 * insets/insettext.C:
3992 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3994 * frontends/controllers/ControlChanges.C: #include "changes.h".
3996 2003-09-06 Angus Leeming <leeming@lyx.org>
3998 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3999 than #including paragraph.h.
4002 * RowList.h: deleted. Superfluous.
4012 * insets/insettext.h: use ParagraphList_fwd.h rather than
4015 * paragraph.h: don't forward declare ParagraphList.
4018 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4019 rather than ParagraphList.h. paragraph.h is still needed for the
4020 Paragraph::depth_type parameters.
4022 * textcursor.h: enable it to compile stand-alone in light of the
4025 * bufferview_funcs.C:
4037 * frontends/controllers/ControlParagraph.C:
4038 * frontends/controllers/ControlTabular.C:
4039 * insets/insetmarginal.C:
4040 * insets/insetminipage.C:
4041 * insets/insetnote.C:
4042 * insets/insetoptarg.C: add header files needed to compile again.
4044 2003-09-06 Angus Leeming <leeming@lyx.org>
4046 * RowList_fwd.h: new file, forward-declaring Row rather than
4047 #including lyxrow.h.
4052 * insets/insettext.h: use it instead of RowList.h
4054 * bufferview_funcs.C:
4061 * text3.C: #include "RowList.h".
4063 2003-09-05 Angus Leeming <leeming@lyx.org>
4065 * factory.C (createInset):
4066 * vspace.C (c-tor): replace sscanf call with an istringstream.
4067 * ispell.C: re-add missing HP/UX headers.
4068 * lyxserver.C: re-add missing os2 headers.
4070 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4079 * text3.C: re-add missing system headers, needed for 2.95.2.
4081 2003-09-05 Angus Leeming <leeming@lyx.org>
4083 Changes most place everywhere due to the removal of using directives
4084 from support/std_sstream.h.
4086 2003-09-05 Angus Leeming <leeming@lyx.org>
4088 Replace LString.h with support/std_string.h,
4089 Lsstream.h with support/std_sstream.h,
4090 support/LIstream.h with support/std_istream.h,
4091 support/LOstream.h with support/std_ostream.h.
4093 Changes resulting throughout the tree.
4095 2003-09-05 Angus Leeming <leeming@lyx.org>
4097 * sgml.h: ensure that the header file can be compiled stand-alone.
4098 * *.C: strip out redundant #includes. (320 in total.)
4100 2003-09-04 Angus Leeming <leeming@lyx.org>
4102 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4103 here (from getPackages).
4105 * debug.[Ch]: add a new EXTERNAL tag.
4107 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4109 * text2.C (cursorEnd): simplify
4111 (getColumnNearX): adjust
4113 * text.C (computeBidiTables): adjust
4116 * rowpainter.C (paintChars): adjust
4117 (paintSelection): adjust
4118 (paintChangeBar): adjust
4121 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4123 (numberOfSeparators): adjust
4125 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4131 * text3.C: Restricts the mouse click functionality
4132 of insets like bibtex, include, toc and floatlist to the visible
4133 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4134 up the dialogs. Cursor has to be in front of the inset (i.e.
4135 start of row) for this to function.
4137 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4139 * bufferview_funcs.C (currentState): output row information
4141 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4143 * bufferview_funcs.C (currentState): output paragraph position
4145 2003-09-04 Angus Leeming <leeming@lyx.org>
4147 * FloatList.h: move out #include "Floating.h".
4148 * LaTeX.h: move out #include "DepTable.h".
4149 * LyXAction.h: move out #include "funcrequest.h".
4150 * buffer.h: move out #include "author.h", "iterators.h".
4151 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4152 * lyx_main.h: move out #include "errorlist.h".
4153 * lyxfunc.h: move out #include "FuncStatus.h".
4154 * lyxtext: move out #include "lyxcursor.h".
4155 * paragraph_pimpl.h: move out #include "counters.h".
4157 2003-09-03 Angus Leeming <leeming@lyx.org>
4159 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4160 preamble_snippets list, enabling us to add snippets to the preamble
4161 only if the snippet was not there already.
4163 2003-09-04 Angus Leeming <leeming@lyx.org>
4165 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4167 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4172 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4174 * BranchList.C: point fix, earlier forgotten
4176 2003-09-02 Angus Leeming <leeming@lyx.org>
4178 * box.C (contains): renamed from 'contained' after a fantastic
4181 2003-09-02 John Levon <levon@movementarian.org>
4187 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4189 2003-09-02 John Levon <levon@movementarian.org>
4191 * text2.C: simplification of cursorEnd(), including partial
4194 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4196 * buffer.C (readFile): add a space
4198 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4200 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4202 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4204 * buffer.C (readFile): new function, take a filename and a
4205 ParagraphList::iterator
4207 (readFile): adjust, make it private. don't use setStream, make
4208 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4209 always contain the filename.
4211 * BufferView.C (insertLyXFile): simplify and make it work for
4214 2003-08-30 John Levon <levon@movementarian.org>
4216 * Makefile.am: fix dist (from Kayvan)
4218 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * most files: change to use const Buffer refs
4222 2003-08-27 André Pönitz <poenitz@gmx.net>
4224 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4225 on top of ownerPar().
4227 2003-08-27 John Levon <levon@movementarian.org>
4229 * funcrequest.C: properly initialise POD members
4231 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4233 * lyxtext.h (top_y): move top_y from here
4238 * BufferView_pimpl.[Ch]: to here
4239 * frontends/screen.C:
4240 * insets/insettabular.C:
4241 * insets/insettext.C: adjust
4242 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4244 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4247 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4249 2003-08-26 André Pönitz <poenitz@gmx.net>
4251 * paragraph_func.[Ch] (outerPar): new function
4254 * paragraph_funcs.C:
4255 * paragraph_funcs.h:
4256 * paragraph_pimpl.C:
4257 * text2.C: remove Inset::par_owner
4259 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4264 * text2.C: eliminates the needFullRow/display() stuff
4265 altogether, putting the logic in metrics/draw in the insets.
4267 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4269 * text2.C (redoParagraphInternal, redoParagraphs):
4270 * text.C (redoParagraph): add a call to updateRowPositions at the
4271 end of each 'metrics-like' call. Remove all others.
4272 (getRow): remove the 'y-computing' version.
4273 (getRowNearY): do not compute nor return the real y. Solve the
4274 'y < 0' problem and simplify.
4276 2003-08-22 Angus Leeming <leeming@lyx.org>
4278 * *.[Ch]: clean-up of licence and author blurbs.
4279 Also move config.h out of a few .h files and into a few .C files.
4281 2003-08-22 André Pönitz <poenitz@gmx.net>
4283 * lyxrow.[Ch]: add x_ and *fill_ members
4288 * text2.C: adjust/remove prepareToPrint() calls
4290 2003-08-22 André Pönitz <poenitz@gmx.net>
4292 * lyxrow.[Ch]: add end_ member
4294 * lyxrow_funcs.C: use LyXRow::end_
4296 * lyxtext.h (singleWidth): add LyXFont parameter
4299 * text2.C: adjust LyXText::singleWidth() calls
4301 * text.C (redoParagraph): simplify row breaking logic
4304 2003-08-19 André Pönitz <poenitz@gmx.net>
4306 * funcrequest.C: initialize button_ member
4309 * rowpainter.[Ch]: interface consolidation
4311 2003-08-18 André Pönitz <poenitz@gmx.net>
4314 * BufferView_pimpl.C:
4316 * paragraph_funcs.C:
4318 * text3.C: remove LyXScreen::draw() and fitCursor calls
4320 * BranchList.h: remove spurious semicolons
4322 * MenuBackend.C: fix branchlist related crash
4324 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4332 * bufferparams.[Ch]:
4336 * text3.C: implements the 'branch inset'
4337 idea. This allows the output of various versions of a document
4338 from a single source version, selectively outputing or suppressing
4339 output of parts of the text.
4340 This implementation contains a 'branch list editor' in a separate
4341 tab of the document settings dialog. Branches are user definable
4342 and have a "display colour" to distinguish them on-screen.
4344 ColorHandler was somewhat cleaned up.
4345 (1) make possible a dynamically growing LColor list by allowing
4346 the graphic context cache to grow along (vector);
4347 (2) eliminate an IMHO unnecessary step in colour allocation.
4349 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4351 * BufferView_pimpl.C: compile fix
4353 2003-08-15 André Pönitz <poenitz@gmx.net>
4355 * rowpainter.C: remove extra metrics calls
4357 * lyxtext.h: merge the two constructors into a single one,
4358 pass reference to owner's par list
4360 * BufferView_pimpl.C:
4364 2003-08-15 André Pönitz <poenitz@gmx.net>
4366 * lyxrow_funcs.[Ch]:
4369 * paragraph_funcs.C:
4374 * text_funcs.C: split LyXText::rowlist_ into individual
4375 Paragraph::rows_ chunks
4378 * BufferView_pimpl.[Ch]:
4381 * text3.C: remove toggleSelection()
4383 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4385 * bufferlist.C: beautify two alerts (shorter text of buttons)
4386 * buffer.C: Remove redundant ' ' from message
4388 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4389 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4390 rename VALIGN_CENTER to VALIGN_MIDDLE
4392 2003-08-11 André Pönitz <poenitz@gmx.net>
4394 * lyxtext.h (getPar):
4395 * text.C: new function
4397 2003-08-11 André Pönitz <poenitz@gmx.net>
4400 * tracer.[Ch]: remove unneeded files
4402 * InsetList.[Ch]: remove resizeInsetsLyXText()
4407 * text3.C: merge insertParagraphs() and appendParagraph()
4408 remove breakAgain(), update()
4410 * BufferView_pimpl.[Ch]:
4411 * bufferview_funcs.[Ch]:
4415 * tabular.C: adjust after text & InsetList changes.
4417 2003-08-08 André Pönitz <poenitz@gmx.net>
4419 * text.C (insertChar, backspace): replace rowlist fiddling
4420 with rebreak of full par
4423 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4424 checkParagraph, updateInset): removed
4426 2003-08-07 André Pönitz <poenitz@gmx.net>
4429 * text3.C: merge some LFUN handlers, remove dead code
4431 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4433 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4435 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4437 * text2.C (DEPM): fix part of bug 1255 and 1256
4439 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4441 * BufferView_pimpl.C (workAreaDispatch): change to use
4442 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4443 that are no mouse related.
4445 2003-08-05 André Pönitz <poenitz@gmx.net>
4448 * BufferView_pimpl.[Ch]:
4449 * bufferview_funcs.C:
4451 * text3.C: rip out "deep update"
4453 * textcursor.[Ch] (last_sel_cursor): remove unused member
4455 2003-08-04 André Pönitz <poenitz@gmx.net>
4458 * BufferView_pimpl.[Ch]:
4459 * ParagraphParameters.C:
4460 * bufferview_funcs.C:
4466 * text3.C: replace "complicated" BufferView::update(...) calls with
4469 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4471 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4473 * Makefile.am (lyx_SOURCES): add paper.h
4475 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4477 * Makefile.am: move things around so that both lyx-qt and
4478 lyx-xforms can be built (according to --with-frontend). Then lyx
4479 is a symbolic link to lyx-[firstfrontend]
4481 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4483 * Always use std::endl with lyxerr
4485 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4487 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4489 2003-08-01 André Pönitz <poenitz@gmx.net>
4492 * BufferView_pimpl.[Ch]:
4494 * text3.C: merge BufferView::repaint() and BufferView::update()
4496 2003-08-01 José Matos <jamatos@lyx.org>
4498 * buffer.[Ch]: file_format is no longer a buffer data element.
4500 2003-08-01 André Pönitz <poenitz@gmx.net>
4505 * text2.C: make redoParagraph more independent of current cursor
4507 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4509 * text2.C: remove unneeded members
4511 2003-07-30 André Pönitz <poenitz@gmx.net>
4513 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4515 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4516 create a single function...
4518 * paragraph_funcs.C (moveItem): ... here.
4521 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4523 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4525 * LColor.[Ch]: Add comment and greyedout logical colors.
4527 2003-07-30 André Pönitz <poenitz@gmx.net>
4529 * tabular.C: don't use Assert too heavily. This crashes where it
4532 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4534 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4535 is disabled (bug 1232)
4537 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4539 * factory.C: limited 'arg' scope
4541 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4543 * factory.C: fixed Note submenu issues
4545 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4547 * factory.C: submenu for Note/Comment/Greyedout
4549 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4552 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4554 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4557 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4558 greyedout. Patch provided by Jürgen Spitzmüller.
4560 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4562 * kbmap.C (read): fix error message when reading bind files
4564 2003-07-29 Angus Leeming <leeming@lyx.org>
4566 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4567 certainly does not do what it purports to do. I am doing it, and
4568 us, a favour by killing it.
4570 2003-07-28 José Matos <jamatos@lyx.org>
4572 * buffer.C (readBody, do_writeFile):
4573 * paragraph.C(readParagraph): \end_document replaces \the_end.
4575 2003-07-29 André Pönitz <poenitz@gmx.net>
4578 * BufferView_pimpl.[Ch]:
4582 * textcursor.[Ch]: remove toggleToggle & Co
4584 2003-07-28 José Matos <jamatos@fep.up.pt>
4586 * buffer.C (readParagraph):
4587 * params_func (readParToken, readParagraph):
4588 * paragraph.C (write): \layout -> \begin_layout.
4590 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4592 * lyxlex_pimpl.C (setFile): clean up slightly.
4594 * bufferparams.h: add compressed var
4596 * buffer_funcs.C (readFile): adjust for LyXLex change
4597 (newFile): ditto + simplify
4599 * buffer.C (writeFile): handle writing of compressed files
4601 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4602 Check if the file is compressed and set a bufferparm if so.
4604 * Makefile.am (lyx_LDADD): remove explicit -lz
4606 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4608 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4609 makeDocBookFile): put the real LyX version in the first line of
4613 * version.C.in: remove lyx_docversion
4615 * tabular.C (write_attribute): add a template-based version to
4616 write enums properly
4618 2003-07-28 André Pönitz <poenitz@gmx.net>
4623 * text3.C: use doubles again for x-coordinates. They are needed.
4625 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4627 * messages.C (getLocaleDir): use lyx_localedir()
4629 * lyxlex_pimpl.C (setFile): compress stuff
4631 * buffer.C (writeFile): add some compression stuff
4632 (do_writeFile): new func, dont call expliti close... will this
4635 * Makefile.am (lyx_LDADD): add -lz
4637 2003-07-28 José Matos <jamatos@fep.up.pt>
4639 * buffer.C: increment file format.
4640 * paragraph_funcs (readParagraph, readParToken):
4641 * paragraph.C (readParagraph): add \end_layout.
4643 2003-07-27 Angus Leeming <leeming@lyx.org>
4645 * Makefile.am: remove special casing for configure-time setting of
4646 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4648 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4649 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4651 2003-07-26 André Pönitz <poenitz@gmx.net>
4653 * paragraph_func.[Ch]:
4654 * paragraph.C (realizeFont): inline it whereever it is used
4659 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4662 2003-07-26 André Pönitz <poenitz@gmx.net>
4666 * text2.C: get rid of LyXText::need_break_row
4668 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4670 * toc.[Ch]: put namespace toc inside namespace lyx
4672 * MenuBackend.C (expandToc2): adjust for lyx::toc
4675 * lyxfunc.C (dispatch): adjust for lyx::find
4677 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4678 lyx::find instead. Reorganize a bit.
4679 (LyXReplace): rename to replace
4680 (LyXFind): rename to find
4682 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4685 2003-07-26 André Pönitz <poenitz@gmx.net>
4687 * text.C (setHeightOfRow): restrict scope of temporary variable
4689 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4690 code (never has been used?)
4692 2003-07-27 Asger Alstrup <alstrup@local>
4694 * text.C (fill): Optimise algorithm to exploit that we can reuse
4695 the LyXFont for many characters.
4696 (setHeightOfRow): Same thing.
4697 (rowBreakPoint): Same thing.
4699 2003-07-26 Asger Alstrup <alstrup@local>
4701 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4703 * text.C (singleWidth): Spurious font copying in hot-spot
4704 singleWidth avoided. Reorder tests for arabic for efficiency.
4706 * text.C (fill): handle empty paragraphs better.
4708 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4711 * encoding.h: add includes
4713 * lyxrc.C: remove reading of bind files
4715 * lyx_main.C (init): setup bindings and menus only if we have a
4718 * kbmap.C (read): new method. Do the actual reading of bind
4721 * converter.C (dvipdfm_options):
4724 (output): adapt PAPER_* enums.
4726 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4728 * bufferparams.h: remove paper-related enums from there
4730 * paper.h: New file. A trivial header file to hold paper-related
4731 enums. It should later expand to contain many paper-related
4734 * lyxrc.C: declare extern displayTranslator
4736 2003-07-27 José Matos <jamatos@fep.up.pt>
4738 * tabular.[Ch] (linuxdoc): add support for tables and figures
4741 2003-07-27 José Matos <jamatos@fep.up.pt>
4743 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4744 consistency in both functions.
4745 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4747 2003-07-26 Asger Alstrup <alstrup@local>
4749 * rowpainter.C (paintRows): Change algorithm to work directly on
4750 the insets rather than asking every character in the document
4751 whether its an inset.
4753 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4755 * buffer.C (openFileWrite): factorize some code
4757 2003-07-26 Angus Leeming <leeming@lyx.org>
4760 * lyx_main.[Ch]: replace occurances of system_tempdir with
4763 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4765 * rename Inset to InsetOld
4767 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4769 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4770 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4771 which I think is a bit clearer. EDIT is gone, since it was
4772 premature optimisation, and broken for mathed anyway.
4773 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4774 with cursor positioning in insets as well (math insets still do not
4775 work, but that's a different story anyway.) It mysteriously
4776 crashes sometimes with undo in the first paragraph, but I'm fairly
4777 confident that this is a compiler bug.
4779 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * paragraph.C (Paragraph): adjust for new clone return type
4783 (copyIntoMinibuffer): ditto
4785 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4787 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4788 by not having a special case, and always doing a full rebreak of
4789 the document after undo.
4791 2003-07-23 Angus Leeming <leeming@lyx.org>
4793 * factory.C (createInset): InsetExternal::setParams now takes a
4796 2003-07-23 Angus Leeming <leeming@lyx.org>
4798 * factory.C (createInset): changed interface to the external and
4799 graphics mailers' string2params functions.
4801 2003-07-23 Angus Leeming <leeming@lyx.org>
4803 * factory.C (createInset): pass a
4804 Buffer const * parameter to InsetExternalMailer's string2params.
4806 2003-07-22 John Levon <levon@movementarian.org>
4808 * Thesaurus.h: include the right aiksaurus header
4810 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4812 * MenuBackend.C (expand): check menu shortcuts unconditionally
4814 2003-07-21 Angus Leeming <leeming@lyx.org>
4816 * factory.C (createInset): pass a
4817 buffer_path parameter to InsetGraphicsMailer's string2params.
4819 2003-07-21 Angus Leeming <leeming@lyx.org>
4821 * BufferView_pimpl.C (buffer):
4824 * lyxfunc.C (dispatch):
4825 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4826 rather than the grfx shortcut.
4828 2003-07-21 André Pönitz <poenitz@gmx.net>
4830 * rowpainter.C: remove unused variables
4833 * tabular_funcs.h: move to tabular.C
4834 * Makefile.am: adjust
4836 * tabular.[Ch]: basic optical cleaning
4838 * author.h: pass references, not values
4840 2003-07-18 André Pönitz <poenitz@gmx.net>
4848 * text3.C: two-phase drawing for InsetText and InsetTabular
4849 some float -> int changes.
4851 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4853 * lyx_main.C: fix the fix
4855 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4857 * lyx_main.C: fix a crash in batch mode if no files specified
4860 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4862 * format.[Ch] (papersize): moved to BufferParams
4863 * converter.[Ch] (dvips_options): moved to BufferParams
4864 (dvipdfm_options): moved to anon namespace
4865 * bufferparams.[Ch]: added above functions.
4867 2003-07-17 André Pönitz <poenitz@gmx.net>
4871 * text2.C: don't call inset->update() anymore
4873 * metricsinfo.[Ch]: add convenience constructor
4875 2003-07-16 André Pönitz <poenitz@gmx.net>
4880 * text2.C: replace the LyXCursor::irow_ member with
4881 on-demand computation of the value
4883 2003-07-16 John Levon <levon@movementarian.org>
4885 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4887 2003-07-15 André Pönitz <poenitz@gmx.net>
4890 * text2.C: remove no more needed refresh_row
4892 2003-07-15 André Pönitz <poenitz@gmx.net>
4897 * text3.C: refresh_status tristate -> need_update bool
4899 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4901 * lyxtext.h (init): remove reinit argument (act as if always true)
4902 * text2.C: adjust to that
4904 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4906 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4907 * text3.C: use it to delete selections in some cases
4908 (bugs 441, 673, 702, 954).
4910 2003-07-14 André Pönitz <poenitz@gmx.net>
4912 * rowpainter.[Ch]: reduce interface
4914 2003-07-14 André Pönitz <poenitz@gmx.net>
4916 * BufferView_pimpl.C:
4917 * text2.C: adjust after removing unused BufferView * argument
4919 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4921 * text2.C (init): fix a crash fired on resize
4923 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4925 * buffer.[Ch]: added new closing signal
4926 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4927 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4928 BufferView::Pimpl via the closing the signal
4930 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4932 * buffer.[Ch]: take out all bv-related from buffer
4934 * BufferView_pimpl.[Ch]: connect to new signals
4935 * CutAndPaste.C: removed useless asserts
4936 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4939 * lyxfunc.C: moved view-related funciontality from vc here
4940 * paragraph.C: removed outdated comments
4943 2003-07-10 André Pönitz <poenitz@gmx.net>
4945 * BufferView_pimpl.C:
4949 * text2.C: remove InsetText::InnerCache, clean up consequences
4951 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4953 * ispell.C: fix two typos in error messages
4955 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4957 * Extend Note inset to other forms of annotation like Comment
4958 and Greyedout. Right button click gives dialog.
4960 Files modified or added (+):
4964 * ControlNote.[Ch] +
4966 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4967 frontends/controllers
4971 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4973 * aspell.C: add missing namespace lyx::support
4975 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4977 * BufferView.[Ch] (newFile): Add
4978 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4979 * LaTeX.[Ch] (message): added this signal and use it
4980 * buffer.[Ch] (busy, message): added these signals and use them
4981 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4985 * importer.C: use buffer signals instead of direct bv calling
4986 * lyx_cb.[Ch] (ShowMessage): removed
4989 * paragraph_funcs.C:
4990 * text2.C: use buffer signals
4992 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4994 * introduce namespace lyx::graphics
4996 2003-07-02 André Pönitz <poenitz@gmx.net>
4998 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5000 2003-07-01 André Pönitz <poenitz@gmx.net>
5007 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5008 text*.C to text_func.C
5010 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5012 * introduce namespace lyx::support
5014 2003-06-30 André Pönitz <poenitz@gmx.net>
5019 * text.C: re-enable --with-included-string
5021 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5023 * textcursor.C: add <config.h>
5025 * text.C (getWord): remove const from word_location arg
5027 * lyxvc.C (getLogFile): fix const type order
5029 * lyxtext.h: remove const from word_location arg, add arg name
5031 * lyxlayout.h: currect type on labeltype.
5033 * importer.C: correct \file
5035 * converter.C (intToFormat): use std:: on ret val, ws changes
5037 * bufferlist.h: correct \file
5039 * buffer.C (makeLinuxDocFile): fix const type order
5040 (makeDocBookFile): ditto
5041 (fillWithBibKeys): use std:: on stdlib args.
5043 * CutAndPaste.C: fix authors.
5044 (availableSelections): use std:: on return vector
5046 2003-06-27 André Pönitz <poenitz@gmx.net>
5048 * BufferView_pimpl.C:
5049 * bufferview_funcs.C:
5057 * text3.C: remove LyXCursor::row_ member
5060 * text.C: rename fullRebreak() to partialRebreak() and implement
5061 a fullRebreak() that really bereks fully
5063 * textcursor.h: new struct for cursor-related data
5065 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5067 * lyx_main.C (LyX): get full path of document loaded on the
5070 2003-06-26 André Pönitz <poenitz@gmx.net>
5072 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5073 remove unused/broken operator>,<,>=.
5075 * text.C: remove only use of broken operator<= in an Assert().
5077 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5079 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5080 moved errorlist_.clear to showErrorList
5082 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5084 * converter.C (scanLog, runLaTeX):
5085 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5086 move the bv->showErrorList call to the callers
5087 * lyxfunc.C: i.e. here...
5089 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5090 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5091 namespace, the second to...
5092 * buffer_funcs (BufferFormat, parseErrors): added
5093 * errorlist.C (ErrorList(TeXErrors const &)): removed
5095 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5097 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5099 2003-06-24 "Garst R. Reese" <reese@isn.net>
5103 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5105 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5107 * version.C.in: change docversion to 1.4
5109 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5111 * buffer.C: fix a bug just introduced
5113 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5115 * buffer.[Ch]: added the parseError signal and use it, removed
5117 * BufferView.[Ch] (addError): moved to ...
5118 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5119 to the Buffer::parseError signal to catch (guess what) parse errors
5120 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5122 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5124 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5125 ability to create a buffer and to return an existing one from
5126 the list. Moved these functions to...
5127 * buffer_funcs.[Ch]: added
5128 * BufferView.[Ch] (loadLyXFile): added
5129 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5130 job removed from bufferlist::loadLyXFile.
5131 * buffer.C (setReadOnly): make it work without view
5132 (i.e added an if (users))
5134 2003-06-19 Angus Leeming <leeming@lyx.org>
5137 * LyXAction.C (init):
5138 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5139 with LFUN_DIALOG_SHOW <name> <data>.
5141 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5143 * CutAndPaste.C (availableSelections): small compilation fix for
5144 ancient (gcc 2.9x) compilers
5146 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5148 * text3.C (cursorNext): add tmp var
5150 * text2.C (updateCounters): for function calling out of for clause
5151 (replaceSelectionWithString): ditto
5152 (insertStringAsParagraphs): ditto
5153 (getColumnNearX): add tmp var
5154 (setCursorFromCoordinates): add tmp var
5155 (cursorDownParagraph): add tmp var
5156 (deleteEmptyParagraphMechanism): add tmp var
5158 * text.C (insertChar): add tmp var
5160 * rowpainter.C (paintDepthBar): add tmp var
5162 * CutAndPaste.C (availableSelections): potentially check all
5163 paragraphs in a cut to fill the shown strings.
5165 2003-06-18 André Pönitz <poenitz@gmx.net>
5167 * kbmap.[Ch]: use vector<> instead of list<>
5169 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5171 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5172 pasteSelection with index
5174 * text2.C (pasteSelection): modify, call pasteSelection with index
5176 * paragraph.C (asString): reimplement version with no interval to
5177 call the one with interval.
5179 * lyxtext.h: add index arg to pasteSelection
5181 * MenuBackend.C (MenuItem): handle PasteRecent
5182 (Menu::read::Menutags): add md_pasterecent
5184 (expandPasteRecent): new function
5187 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5189 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5191 (availableSelections): new function
5193 2003-06-17 Angus Leeming <leeming@lyx.org>
5195 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5197 2003-06-17 Angus Leeming <leeming@lyx.org>
5200 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5202 * lyxfunc.C (dispatch): invoke it.
5204 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5206 * iterators.C (operator++, ParPosition): reintroduce some
5207 const_cast for the benefit of older compilers.
5209 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5211 * text3.C (dispatch): do not modify clipboard when doing
5212 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5213 LFUN_DELETE_SKIP on a selection selection
5215 2003-06-16 André Pönitz <poenitz@gmx.net>
5221 * tabular.[Ch]: IU of clone() and getLabelList();
5223 2003-06-13 André Pönitz <poenitz@gmx.net>
5225 * tabular.h: compactification
5227 2003-06-12 André Pönitz <poenitz@gmx.net>
5231 * tabular_funcs.h: some renaming plus whitespace
5233 2003-06-12 André Pönitz <poenitz@gmx.net>
5236 * BufferView_pimpl.C:
5242 * toc.C: Return a Paragraph & for ParIterator::operator*()
5244 2003-06-11 John Levon <levon@movementarian.org>
5248 * ToolbarBackend.C: add "Toolbars" section and
5251 2003-06-10 Angus Leeming <leeming@lyx.org>
5254 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5256 * lyxfunc.C (dispatch): invoke it.
5258 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5260 * main.C: protect <ios> with HAVE_IOS
5261 (main): protect sync_with_stdio with HAVE_IOS
5263 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5265 * text2.C (cutSelection): adjust
5266 (pasteSelection): adjust
5268 * messages.C: handle get of empty string
5270 * main.C (main): use sync_with_stdio(false)
5272 * lyxfunc.C (dispatch): adjust
5274 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5275 (WriteAs): remove unneeded BufferView arg.
5277 * bufferparams.h: use correct types on papersize, papersize2 and
5280 * bufferparams.C (readToken): adjust for type
5281 (writeLaTeX): add missing cases to switch.
5283 * bufferlist.C (quitWriteBuffer): adjust
5286 * buffer.C (asciiParagraph): remove some commented code.
5288 * CutAndPaste.C: remove current_view extern variable.
5289 (cutSelection): add BufferParams arg.
5290 (eraseSelection): add BufferParams arg.
5291 (pasteSelection): add Buffer const & arg
5293 2003-06-07 John Levon <levon@movementarian.org>
5296 * paragraph_funcs.C:
5297 * paragraph_pimpl.C:
5301 * paragraph.C: allow InsetERT to freely space lines,
5302 and some consolidation of code
5304 2003-06-06 José Matos <jamatos@fep.up.pt>
5306 * buffer.C (makeDocBookFile): fix bug #821
5308 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5310 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5312 2003-06-04 Angus Leeming <leeming@lyx.org>
5314 * buffer.C: bump format to 224.
5316 2003-06-05 André Pönitz <poenitz@gmx.net>
5318 * text2.C (redoParagraphs): remove two const_cast<>
5320 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5322 * ParagraphList.h: remove last remnants of NO_STD_LIST
5324 2003-06-03 Angus Leeming <leeming@lyx.org>
5326 * factory.C (createInset): small change to the way InsetExternal's params
5329 2003-06-04 André Pönitz <poenitz@gmx.net>
5331 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5333 * paragraph_pimpl.h:
5334 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5336 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5338 * undo_funcs.C: make some simple cases of undo work again
5340 2003-06-03 John Levon <levon@movementarian.org>
5342 * ispell.C: HPUX doesn't have sys/select.h
5345 2003-06-03 John Levon <levon@movementarian.org>
5347 * CutAndPaste.C: update tabular and include inset
5352 * paragraph.C: remove owningBuffer(), don't pass Buffer
5355 * factory.C: insetGraphicsParams changed
5357 2003-06-02 John Levon <levon@movementarian.org>
5363 * text3.C: remove insetparent
5365 2003-06-02 John Levon <levon@movementarian.org>
5368 * buffer.C: fix inset_iterator.end(), move out of line
5371 2003-06-01 John Levon <levon@movementarian.org>
5373 * text3.C: use a proper cut/paste when doing inset
5374 insert (from Jürgen Spitzmüller)
5376 2003-06-01 John Levon <levon@movementarian.org>
5378 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5380 2003-05-30 André Pönitz <poenitz@gmx.net>
5382 * rowpainter.C: unify second drawing phase
5384 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5386 * trans_mgr.C: remove one case of current_view
5388 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5390 * paragraph_funcs.h: remove paragraph.h include
5392 * paragraph.h: delete NO_STD_LIST stuff
5394 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5396 * buffer.h: remove paragraph.h include
5398 * ParagraphList.C: delete file
5400 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5402 * toc.C (getTocList): adjust
5404 * paragraph_pimpl.C (validate): adjust
5406 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5408 * paragraph.C (Paragraph): adjust
5409 (getPositionOfInset): use const_iterator, adjust
5410 (bibitem): use const_iterator, adjust
5411 (setInsetOwner): adjust
5413 * iterators.C (operator++): adjust
5415 * InsetList.[Ch]: Replace selfmade iterator with standard
5416 vector::iterator also introduce const_iterator. Remove getPos,
5417 getInset and setInset from InsetTable. Adjust accordingly.
5419 * BufferView.C (lockInset): adjust
5420 (ChangeInsets): adjust
5422 * tabular.[Ch]: delete commented same_id functions
5424 2003-05-28 John Levon <levon@movementarian.org>
5426 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5428 2003-05-28 André Pönitz <poenitz@gmx.net>
5430 * metricsinfo.[Ch]: remove 'fullredraw' member
5432 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5434 * lyxtextclass.C (operator): remove caching.
5436 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5440 * text2.C (cursorBottom): adjust
5441 (setCounter): use ParagraphList::find, adjust
5443 * text.C (workWidth): use ParagraphList::find, adjust
5445 * lyxcursor.C (LyXCursor): adjust
5447 * buffer.C (inset_iterator): adjust
5449 * ParagraphList.h: make iterator(value_type) private, make
5450 ParagraphList a friend of iterator.
5452 * ParagraphList.C (find): new function
5454 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5456 2003-05-27 André Pönitz <poenitz@gmx.net>
5458 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5460 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5462 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5464 2003-05-26 John Levon <levon@movementarian.org>
5466 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5468 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5470 * remove same_id from function signatures, adjust.
5472 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5474 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5476 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5478 * paragraph.C (Paragraph): get rid of same_ids parameter
5480 * ParagraphList.C (insert): adjust
5483 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5485 * paragraph_funcs.C (breakParagraph): adjust
5486 (breakParagraphConservative): adjust
5488 * buffer.C (readParagraph): adjust
5490 * ParagraphList.C (insert): take a reference instead of a pointer
5493 * paragraph.[Ch] (id): new function
5495 * bufferlist.C (newFile): adjust
5497 * ParagraphList.C (ParagraphList): adjust
5499 (push_back): take a reference instead of a pointer.
5501 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5503 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5506 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5507 set else use old code.
5509 * ParagraphList.C: remove all NO_NEXT code and only compile this
5510 code of NO_STD_LIST is set.
5512 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5514 * BufferView_pimpl.C:
5524 * graphics/GraphicsConverter.C:
5525 * graphics/PreviewLoader.C: header adjustment
5527 2003-05-23 Angus Leeming <leeming@lyx.org>
5529 * LaTeXFeatures.[Ch] (useBabel): new method.
5530 * bufferparams.C (writeLaTeX): use it.
5532 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5534 * ParagraphList.h (set): remove unused function.
5536 2003-05-23 André Pönitz <poenitz@gmx.net>
5539 * BufferView_pimpl.C:
5543 * undo_funcs.C: setUndo reworked
5545 * iterators.[Ch]: add access to topmost ParagraphList
5547 * lyxtext.[Ch] (workWidth): add a const
5549 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5551 * texrow.[Ch] (increasePos): remove function
5552 * exporter.C (export): removed unused var and outdated comment
5554 2003-05-23 Angus Leeming <leeming@lyx.org>
5556 * latexrunparams.h: rename fragile as moving_arg.
5557 * paragraph.C (simpleTeXOnePar): ditto.
5558 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5560 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5562 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5564 (textUndoOrRedo): comment out a currently unused var.
5566 * paragraph.h (NO_NEXT): enable NO_NEXT
5568 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5570 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5572 * exporter.C (Export): adjust for removeAutoInsets removal.
5574 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5576 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5578 * BufferView.[Ch] (removeAutoInsets): delete function
5580 2003-05-22 Angus Leeming <leeming@lyx.org>
5582 * latexrunparams.h: add a free_spacing variable.
5584 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5585 to pass moving_arg, as the data is stored in runparams.fragile.
5587 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5588 to Inset::latexOptional or to simpleTeXOnePar.
5590 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5591 free_spacing arg to Inset::latexOptional.
5593 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5596 2003-05-22 Angus Leeming <leeming@lyx.org>
5598 * latexrunparams.h: add fragile and use_babel variables.
5600 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5601 * buffer.C (makeLaTeXFile): store this returned value in
5602 runparams.use_babel, thus passing it to the inset::latex methods.
5604 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5605 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5607 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5608 longer has a fragile arg, as it is stored in runparams.fragile.
5610 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5611 moving_arg parameter as the data is stored in runparams.fragile.
5613 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5614 a fragile parameter as the data is stored in runparams.fragile.
5616 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5618 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5620 2003-05-22 Angus Leeming <leeming@lyx.org>
5622 * latexrunparams.h: add a 'bool nice' which defaults to false.
5624 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5625 now encapsulated within runparams.
5627 * bufferlist.C (updateIncludedTeXfiles):
5628 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5630 2003-05-22 Angus Leeming <leeming@lyx.org>
5632 * latexrunparams.h: new file containing struct LatexRunParams.
5633 * Makefile.am: add new file.
5635 * LaTeX.[Ch] (c-tor, run):
5636 * buffer.[Ch] (makeLaTeXFile):
5637 * bufferlist.[Ch] (updateIncludedTeXfiles):
5638 * converter.C (convert, scanLog):
5639 * converter.[Ch] (runLaTeX):
5640 * exporter.C (Export):
5641 * paragraph.[Ch] (simpleTeXOnePar):
5642 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5643 * paragraph_funcs.[Ch] (latexParagraphs):
5644 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5645 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5646 pass around a LatexRunParams parameter.
5648 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5650 * paragraph.[Ch]: remove unused constructor
5652 * ParagraphList.C (erase): new function, taking two iterators
5654 2003-05-22 André Pönitz <poenitz@gmx.net>
5656 * undo_funcs.C: remove duplicated code
5658 * iterator.[Ch]: operator=
5660 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5662 * tabular.C (SetMultiColumn): ws changes
5664 * rowpainter.C (paintFirst): get rid of a ->previous
5666 * lyx_cb.C (getPossibleLabel): parlist simplification
5668 * BufferView.C (ChangeInsets): simplify slightly.
5670 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5672 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5673 * lfuns.h: new LFUN_SPACE
5674 * lyxfunc.C: protected space has a new lfun
5675 * paragraph_funcs.C: read new space insets
5677 * factory.C: handle new space insets
5679 2003-05-22 André Pönitz <poenitz@gmx.net>
5682 * BufferView_pimpl.C:
5685 * undo_funcs.C: return a ParIterator from getParFromID.
5687 * iterators.[Ch]: add two const's
5689 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * toc.C (getTocList): adjust
5693 * iterators.[Ch]: rework for parlist
5695 * buffer.C (par_iterator_begin): adjust
5696 (par_iterator_end): adjust
5698 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5700 * BufferView.C (removeAutoInsets): adjust
5701 (ChangeInsets): adjust
5703 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5705 * text.C (top_y): fix bug 1110
5707 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5709 * errorlist.[Ch]: added
5712 * BufferView_pimpl.C:
5713 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5716 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5718 * Makefile.am: ensure that lyx is relinked upon changes to the
5719 various "convenience" libs.
5721 2003-05-20 Angus Leeming <leeming@lyx.org>
5723 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5724 files are compiled in alphabetical order again.
5726 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5728 2003-05-19 Angus Leeming <leeming@lyx.org>
5730 * gettext.[Ch]: remove "char const * _(char const *)".
5732 2003-05-19 André Pönitz <poenitz@gmx.net>
5734 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5743 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5745 2003-05-19 André Pönitz <poenitz@gmx.net>
5749 * lyxtextclass.[Ch]:
5751 * paragraph_funcs.[Ch]:
5753 * text3.C: more insetenv work
5755 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5757 * ParagraphParameters.C (params2string): small bug fixed
5759 2003-05-16 André Pönitz <poenitz@gmx.net>
5762 * bufferview_funcs.C: patch from Kornel Benko to prevent
5763 crash when _(...) is called twice in a statement
5765 2003-05-16 André Pönitz <poenitz@gmx.net>
5772 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5774 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5776 * lyx_main.C (init): remove spurious static_cast
5778 2003-05-14 André Pönitz <poenitz@gmx.net>
5780 * BufferView.C: fix format string
5782 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5784 * BufferView.[Ch] (insertErrors): removed
5785 * BufferView.[Ch] (showErrorList): added
5786 * buffer.C (runChkTeX):
5787 * converter.C (scanLog): call showErrorList instead of inserterrors
5789 2003-05-13 André Pönitz <poenitz@gmx.net>
5791 * BufferView_pimpl.C:
5793 * bufferview_func.C:
5800 * tabular_funcs.h: tostr() from its own header
5802 * ParagraphParameters.C:
5807 * text3.C: STRCONV()
5809 2003-05-12 André Pönitz <poenitz@gmx.net>
5812 * BufferView_pimpl.C:
5816 * ParagraphParameters.C:
5820 * bufferview_funcs.C:
5833 * paragraph_funcs.C:
5837 * text3.C: boost::format -> bformat all over the place
5840 2003-05-09 André Pönitz <poenitz@gmx.net>
5842 * LColor.[Ch]: Pimpl the #include <map> away
5844 2003-05-09 John Levon <levon@movementarian.org>
5846 * bufferlist.C: never remove emergency saves
5848 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5850 * Makefile.am: better lib building
5852 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5854 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5856 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5857 (simpleTeXSpecialChars): adjust
5858 (simpleTeXSpecialChars): adjust
5859 * paragraph.C (simpleTeXOnePar): adjust
5860 * buffer.C (makeLaTeXFile): adjust
5862 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5864 * text2.C (changeDepth): parlist cleanup
5865 (getColumnNearX): ditto
5867 * rowpainter.C (getLabelFont): parlist cleanup
5869 * bufferlist.C (newFile): parlist cleanup
5871 * CutAndPaste.C (eraseSelection): parlist cleanup
5873 * BufferView_pimpl.C (trackChanges): parlist cleanup
5876 * BufferView.C (lockInset): parlist cleanup.
5877 (ChangeInsets): ditto
5879 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5881 * CutAndPaste.h: Update file header.
5883 * CutAndPaste.C: Update file header.
5884 Store the parts cut out of the Document in a limited_stack.
5885 (copySelection): adjust
5886 (pasteSelection): new function, takes the index in the limited stack.
5887 (nrOfParagraphs): adjust
5888 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5889 simplify error inset insertion.
5890 (checkPastePossible): adjust
5892 2003-05-06 John Levon <levon@movementarian.org>
5894 * text2.C: don't cast wrap inset to float
5896 2003-05-05 André Pönitz <poenitz@gmx.net>
5899 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5901 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5902 few naked Paragraph *.
5904 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5906 * bufferparams.C: Output warning if a document with missing
5907 TeX document class is loaded
5908 * exporter.C: Disable TeX exports if the document class is missing
5911 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5912 isTeXClassAvailable()
5914 2003-05-03 John Levon <levon@movementarian.org>
5917 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5918 explicit cursor show/hide
5920 * BufferView_pimpl.h:
5921 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5922 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5924 * lyxfunc.C: hide cursor before dispatching.
5929 * text3.C: remove explicit cursor hides
5931 2003-05-02 André Pönitz <poenitz@gmx.net>
5933 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5936 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5939 * text2.C: tiny whitespace
5941 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5943 * undo_funcs.C: almost only ws changes.
5945 * ParagraphList.C (splice): just return if pl is empty.
5947 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5949 * ParagraphList.C (splice): new function.
5951 * CutAndPaste.C (pasteSelection): use it
5953 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5955 * CutAndPaste.C (pasteSelection): remove the last next and
5956 previous from this file.
5958 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5960 * CutAndPaste.C (pasteSelection): more clean up, user proper
5961 ParagraphList functions for pasteing.
5963 * ParagraphList.C (insert): new function, three arg insert
5965 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5967 * ParagraphList.C (insert): new function, three arg insert
5969 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5972 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5974 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5976 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5978 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5980 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5982 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5983 (copySelection): clean up a bit.
5984 (pasteSelection): use make_pair
5986 * ParagraphList.C (ParagraphList): implement copy constructor
5987 (operator=): implement, base on copy constructor.
5990 * paragraph.C (erase): return a bool
5992 * paragraph_pimpl.C (erasePos): remove function, move contents...
5993 (erase): ... here. Return a bool.
5994 (erase): call erase instead of erasePos.
5996 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5998 * ParagraphList.h: define PitPosPair
5999 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6000 ParagraphList, fix a bug on pasting multiple pars
6001 * text2.C: change interface to C&P
6003 2003-04-30 André Pönitz <poenitz@gmx.net>
6005 * undo_func.C: revert part of yesterday's patch 2
6007 2003-04-30 John Levon <levon@movementarian.org>
6009 * LColor.C: s/tabular/table/
6011 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6013 * text3.C (dispatch): do not convert iterator -> pointer
6014 * undo_funcs.C (setCursorParUndo): ditto
6015 * text_funcs.C (transposeChars): ditto
6017 * text2.C (setLayout): ws changes only
6019 * text.C (breakParagraph): do not convert iterator -> pointer
6021 (acceptChange): ditto
6022 (rejectChange): ditto
6027 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6030 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6032 * text3.C (gotoInset): YABG (yet another bad getChar)
6034 2003-04-29 André Pönitz <poenitz@gmx.net>
6036 * paragraph.h: make operator= private unimplemented as long as
6039 * ParagraphList.C: whitespace
6042 * paragraph_pimpl.[Ch]:
6043 * paragraph_funcs.C:
6045 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6048 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6050 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6052 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6053 * paragraph.[Ch] (erase):
6054 * paragraph_pimpl.[Ch] (erase): change return type and value
6055 * text2.C (cutSelection): some rework
6057 2003-04-28 John Levon <levon@movementarian.org>
6059 * bufferlist.C: changes for unsaved changes dialog
6061 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6063 * bufferlist.C (newFile): set language (messages_) for new
6066 * buffer.C (readFile): ws changes only.
6068 2003-04-28 André Pönitz <poenitz@gmx.net>
6073 * BufferView_pimpl.C:
6074 * BufferView.C: getParFromID related ParagraphList::iterator changes
6076 2003-04-28 André Pönitz <poenitz@gmx.net>
6078 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6081 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6083 * messages.C: remove one more localedir class variable.
6085 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6087 * messages.C (getLocaleDir): singleton generation function
6089 (Messages): add a default constructor.
6091 * main.C (main): do not setup localedir here, do not call
6094 * gettext.C (_): use it.
6095 (gettext_init): delete funciton
6097 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * gettext.C (getLyXMessages): new singleton generating function.
6101 * buffer.C (updateDocLang): adjust
6103 * Makefile.am (messages.o): add target
6104 (main.o): remove target
6106 2003-04-27 John Levon <levon@movementarian.org>
6111 * lyxvc.C: specify cancel button in Alert::prompt
6113 2003-04-26 John Levon <levon@movementarian.org>
6118 * LyXAction.C: add LFUN_INSET_SETTINGS
6120 * lyxfunc.C: don't enable tabular-feature when there's
6121 just any locking inset
6123 2003-04-26 John Levon <levon@movementarian.org>
6125 * bufferlist.C: re-add Cancel to buffer close question
6127 * lyxfunc.C: fix import UI a bit
6129 2003-04-25 John Levon <levon@movementarian.org>
6131 * gettext.C: remove the broken asserts for now
6133 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6135 * messages.C: make case where setlocale cannot comply work better.
6137 * buffer.C (updateDocLang): new function
6138 (changeLanguage): use it
6141 * text2.C (setCounter): use B_ a bit.
6143 * lyxlayout.C (Read): be sure to trim the label strings.
6145 * messages.C (Messages): fix typo in comment
6147 * buffer.C (readFile): set message_ after file is loaded.
6148 (makeDocBookFile): remove double return
6149 (changeLanguage): reset message_ upon language change.
6150 (B_): new func, use this to get translated buffer strings.
6152 * main.C: add myself and Jean Marc as authors.
6154 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6156 * messages.[hC]: pimplify Messages, and three different pimpls to be
6157 used in different circumstances.
6159 * gettext.[Ch]: change for use with new message code.
6161 2003-04-24 André Pönitz <poenitz@gmx.net>
6163 * factory.C: support for eqref
6165 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6167 * messages.[Ch]: add missing char
6169 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6171 * messages.[Ch]: New files
6173 2003-04-18 John Levon <levon@movementarian.org>
6177 * BufferView_pimpl.C:
6181 * text2.C: remove layout-copy/paste (bug 778)
6183 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6185 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6187 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6189 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6190 if they succeed. Act accordingly.
6192 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6194 * text2.C (setCharFont): adjust
6195 (setCounter): adjust
6196 (insertStringAsLines): adjust
6198 * text.C (leftMargin): adjust
6199 (setHeightOfRow): adjust
6201 * rowpainter.C (paintFirst): adjust
6204 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6206 (isFirstInSequence): ditto
6207 (getEndLabel): ditto
6210 * paragraph.C (getParLanguage): comment out some hard stuff.
6212 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6214 (simpleDocBookOnePar): ditto
6215 (makeDocBookFile): use ParagraphList::iterator
6217 * CutAndPaste.C (pasteSelection): adjust
6219 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6221 * text2.C (getFont): adjust
6222 (getLayoutFont): adjust
6223 (getLabelFont): adjust
6225 * paragraph_funcs.C (TeXOnePar): adjust
6227 * buffer.C (simpleLinuxDocOnePar): adjust
6228 (simpleDocBookOnePar): adjust
6230 * CutAndPaste.C (pasteSelection): adjust
6232 * BufferView.C (getEncoding): adjust
6234 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6236 2003-04-16 John Levon <levon@movementarian.org>
6238 * lyxfind.C: use parlist stuff for search/changes
6240 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6242 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6244 * text2.C (deleteEmptyParagraphMechanism): adjust
6246 * text2.[Ch] (ownerParagraph): delete func (both of them
6248 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6250 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6252 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6254 * ParagraphList.C: prepare for NO_NEXT
6256 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6258 * text2.C (getFont): adjust
6259 (getLayoutFont): adjust
6260 (getLabelFont): adjust
6262 * paragraph.C (getFont): adjust
6263 (getLabelFont): adjust
6264 (getLayoutFont): adjust
6266 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6268 2003-04-15 John Levon <levon@movementarian.org>
6272 * lyx_main.C: handle Include in .ui files
6274 2003-04-15 John Levon <levon@movementarian.org>
6276 * MenuBackend.C: make the doc files length shorter
6279 * ToolbarBackend.C: handle toolbar placement flags,
6282 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6284 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6287 * paragraph_funcs.C (TeXOnePar): adjust
6289 * paragraph.C (getLabelFont): add outerfont arg, adjust
6290 (getLayoutFont): ditto
6291 (simpleTeXOnePar): adjust
6293 * paragraph_pimpl.C (realizeFont): delete func
6295 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6297 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6298 row argument, constify cur argument.
6300 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6302 * text2.C (getFont): adjust
6303 (getLayoutFont): adjust
6304 (getLabelFont): adjust
6306 * paragraph_funcs.C (TeXOnePar): adjust
6307 (outerFont): new func...
6308 (realizeFont): ...moved out from here, changed this to facilitate
6311 * paragraph.C (getFont): take outerfont as arg, adjust
6312 (simpleTeXOnePar): add outerfont arg, adjust
6314 * buffer.C (simpleLinuxDocOnePar): adjust
6315 (simpleDocBookOnePar): adjust
6317 * CutAndPaste.C (pasteSelection): adjust
6319 * BufferView.C (getEncoding): adjust
6321 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6323 * text2.C (setCharFont): adjust
6324 (setCounter): adjust
6326 * text.C (leftMargin): adjust
6327 (setHeightOfRow): adjust
6329 * rowpainter.C (paintFirst): adjust
6332 * paragraph_pimpl.C (realizeFont): adjust
6334 * paragraph.C (isFirstInSequence): move from here...
6335 * paragraph_funcs.C (isFirstInSequence): ...to here
6337 * paragraph.C (outerHook): move from here...
6338 * paragraph_funcs.C (outerHook): ...to here
6340 * paragraph.C (depthHook): move from here...
6341 * paragraph_funcs.C (depthHook): ...to here
6343 * paragraph.C (getEndLabel): move from here...
6344 * paragraph_funcs.C (getEndLabel): ...to here
6346 * text2.C (realizeFont): move from here...
6347 * paragraph_funcs.C (realizeFont): ...to here
6349 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6351 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6353 2003-04-14 Angus Leeming <leeming@lyx.org>
6355 * LColor.[Ch]: scrap LColor mathcursor.
6357 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6359 * lyxlex.[Ch] (text): delete function
6360 * trans.C (Load): adjust
6361 * paragraph_funcs.C (readParToken): adjust
6363 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6365 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6366 vector<char> instead of a char[].
6368 * lyxlex_pimpl.C (getString): adjust
6370 (lex): use getString
6374 * lyxlex.C (text): use pimpl_->getString()
6378 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6380 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6381 (makeFontEntriesLayoutSpecific): temp var for par.size()
6382 (setLayout): temp var for ownerParagraphs().end()
6383 (fullRebreak): temp var for rows().end()
6384 (selectionAsString): temp var for boost::next(startpit), realize
6385 that the while really is a regular for loop.
6386 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6387 setCursor in one place.
6388 (setParagraph): temp vr for ownerParagraphs().end()
6389 (updateCounters): make the while loop a for loop
6390 (cutSelection): temp var for ownerParagraphs().end()
6391 (updateInset): make the do {} while() a regular for loop
6392 (getCursorX): use temp vars
6393 (setCurrentFont): use temp vars
6394 (getColumnNearX): use temp vars
6396 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6398 * text.C (transformChar): use temp var for getChar
6399 (computeBidiTables): use temp var for row->par()
6400 (fill): move temp vars for row->par() and pit->layout() earlier in
6402 (labelFill): use temp var for row->par()
6403 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6404 asc and desc, realize that pit never changes and that firstpit is
6405 just a duplicate and not needed. Exchange rit->par() with pit in a
6407 (breakAgain): use a temp var for boost::next(rit)
6408 (breakAgainOneRow): ditto
6409 (breakParagraph): use a temp var for rows().begin()
6410 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6411 (cursorRightOneWord): use temp var for cursor.par() and
6412 cursor.pos(), remove usage of tmpcursor.
6413 (cursorLeftOneWord): use temp var for cursor.par() and
6414 cursor.pos() only set cur at end of function.
6416 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6418 * text.C, text2.C: exchange all usage of Paragraph::next with
6419 boost::next(ParagraphList::iterator)
6421 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6423 * text2.C (cursorTop): simplify implementation
6424 (cursorBottom): ditto
6425 (setParagraph): use ParagraphList::iterator
6426 (setCurrentFont): adjust
6427 (getColumnNearX): adjust
6428 (cursorRight): adjust
6429 (cursorLeft): remove usage of Paragraph::previous
6430 (cursorUpParagraph): ditto
6431 (deleteEmptyParagraphMechanism): slight cleanup
6433 * text.C (isBoundary): take a Paragraph const & instead of a
6435 (addressBreakPoint): ditto
6436 (leftMargin): remove usage of Paragraph::previous.
6437 (setHeightOfRow): ditto
6438 (cursorLeftOneWord): ditto
6439 (selectNextWordToSpellcheck): ditto
6442 (breakParagraph): remove one usage of Paragraph::next
6443 (redoParagraph): ditto
6444 (acceptChange): ditto
6445 (insertChar): adjust
6446 (rowBreakPoint): adjust
6448 * bufferview_funcs.C (toggleAndShow): adjust
6450 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6452 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6453 methods to access it.
6455 * text.C: Added updateRowPositions to compute all row positions.
6456 Make top_y and getRowNearY() to use the cached y position
6458 2003-04-11 John Levon <levon@movementarian.org>
6460 * text.C (rowBreakPoint): reintroduce the labelEnd
6461 checks, code copied from the row fill stuff. Deep voodoo.
6463 * text.C (fill): add a comment and debugging for the
6466 2003-04-11 John Levon <levon@movementarian.org>
6468 * text.C: make sure fullrow insets get wrapped to the next line,
6469 even when they're in a manual label
6471 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6473 * text2.C (insertParagraph): make it take ParagraphList::iterator
6475 (setLayout): make it return ParagraphList::iterator
6476 (redoParagraphs): ditto
6478 (checkParagraph): ditto
6480 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6482 * text2.C: adjust several funcs.
6483 (realizeFont): take a ParagraphList::iterator as arg.
6484 (getLayoutFont): ditto
6485 (getLabelFont): ditto
6486 (setCharFont): ditto
6488 * text.C: adjust several funcs.
6490 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6492 * text.C (selectNextWordToSpellcheck): don't accidentally
6495 2003-04-10 John Levon <levon@movementarian.org>
6497 * ToolbarBackend.C (getIcon): special handling for
6500 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6502 * text2.C (cursorRight): a getChar assert fixed
6504 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6506 * text2.C (getFont): change to take a ParagraphList::iterator
6507 instead of Paragraph*
6508 Adjust several functions.
6510 * text.C (transformChar): change to take a ParagraphList::iterator
6511 instead of Paragraph*
6512 (singleWidth): ditto
6513 Adjust several functions.
6515 * rowpainter.C: adjust several functions
6516 * rowpainter.h:store a ParagraphList::iterator and not a
6520 2003-04-09 John Levon <levon@movementarian.org>
6525 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6526 and the "help" bits as well
6528 2003-04-09 John Levon <levon@movementarian.org>
6531 * ToolbarBackend.C: allow multiple toolbars
6533 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6535 * undo_funcs.C (setCursorParUndo): adjust
6537 * text_funcs.C (transposeChars): adjust
6539 * text3.C (gotoNextInset): adjust
6542 * text2.C (setLayout): adjust
6543 (changeDepth): adjust
6545 (redoParagraphs): adjust
6546 (selectionAsString): adjust
6547 (setParagraph): adjust
6548 (insertInset): adjust
6549 (cutSelection): adjust
6550 (copySelection): adjust
6551 (pasteSelection): adjust
6552 (insertStringAsLines): adjust
6553 (updateInset): adjust
6554 (setCursor): change to take a ParagraphList::iterator parameter
6555 (setCursorIntern): change to take a ParagraphList::iterator parameter
6556 (setCurrentFont): adjust
6557 (cursorLeft): adjust
6558 (cursorRight): adjust
6559 (deleteEmptyParagraphMechanism): adjust
6561 * text.C (breakParagraph): adjust
6562 (insertChar): adjust
6563 (acceptChange): adjust
6564 (rejectChange): adjust
6565 (selectNextWordToSpellcheck): adjust
6566 (changeCase): adjust
6570 * lyxfind.C (SearchForward): adjust
6571 (SearchBackward): adjust
6572 (nextChange): adjust
6574 * lyxcursor.C (par): adjust
6576 * lyxcursor.h: store a ParagraphList::iterator instead of a
6579 * lyx_cb.C (getPossibleLabel): adjust
6581 * bufferview_funcs.C (toggleAndShow): adjust
6583 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6586 * BufferView.C (removeAutoInsets): adjust
6587 (lockedInsetStoreUndo): adjust
6589 2003-04-09 John Levon <levon@movementarian.org>
6591 * ToolbarBackend.C: try icon without argument
6592 if with argument fails
6594 2003-04-08 John Levon <levon@movementarian.org>
6597 * ToolbarBackend.C: add getIcon(), handle tooltip,
6598 and change from "Icon" to "Item".
6600 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6602 * BufferView.C (lockInset): another bad getchar crunched
6604 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6606 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6609 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6611 * lyxfind.C (searchForward, searchBackwards): bug 782
6613 2003-04-07 John Levon <levon@movementarian.org>
6615 * paragraph.C: remove dead comment
6617 * text.C: remove troublesome depth-fiddling code
6618 in leftMargin() and rightMargin() (bug 1017)
6620 * text.C: fix breaking of rows in nested lists
6623 * text2.C (updateCounters): fix up depth values
6626 2003-04-07 John Levon <levon@movementarian.org>
6628 * BufferView_pimpl.C: clear message when doc finishes resizing,
6629 and after a mouse event
6631 * lyxfunc.C: clear message after exiting inset
6633 2003-04-07 John Levon <levon@movementarian.org>
6635 * bufferview_funcs.C: show math status not outside
6636 status in the statusbar
6638 2003-04-07 John Levon <levon@movementarian.org>
6640 * lyxfunc.C: note status changed after a depth change
6642 2003-04-04 Angus Leeming <leeming@lyx.org>
6644 * LaTeX.h: move AuxInfo operator==, != out of line.
6645 Remove LaTeX virtual destructor; nothing derives from it.
6646 Move operator()() out of public area and rename it startscript().
6647 Change protected for private.
6649 2003-04-04 Angus Leeming <leeming@lyx.org>
6652 * text2.C: remove unneeded #includes.
6654 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6656 * text2.C (dEPM): fix the heigth of the next row
6658 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6660 * text.C: squashed an invalid getChar requester + some ws changes
6662 2003-04-03 John Levon <levon@movementarian.org>
6664 * bufferview_funcs.h:
6665 * bufferview_funcs.C:
6668 * text2.C: make getStatus work for the env depth lfuns
6670 2003-04-03 John Levon <levon@movementarian.org>
6672 * bufferview_funcs.h:
6673 * bufferview_funcs.C:
6676 * text2.C: parlistize decDepth(), by merging it with incDepth()
6678 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6680 * lyxrow.h: store a ParagraphList::iterator instead of a
6681 Paragraph* and adjust other class functions to suit.
6683 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6686 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6688 * text2.C (setCursor): do not anchor to cursor row for the time being
6690 2003-04-02 John Levon <levon@movementarian.org>
6697 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6699 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6701 * paragraph.h: make ParagraphList and ParagraphList::iterator
6702 friends of Paragraph.
6704 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6706 * ParagraphList.C: Use the private next_ and previous_ from
6709 2003-04-01 John Levon <levon@movementarian.org>
6713 * Makefile.am: rename, remove defaults gunk
6716 * MenuBackend.C: remove defaults gunk
6719 * Languages.C: remove defaults gunk
6722 * lyx_main.C: error out if files couldn't be found.
6724 2003-04-02 John Levon <levon@movementarian.org>
6726 * text2.C: make incDepth() use parlist
6728 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6730 * undo_funcs.C (firstUndoParagraph): adjust
6732 * text3.C (gotoInset): adjust
6733 (dispatch): adjust, and rewrite loop.
6735 * text2.C (init): adjust, and rewrite loop.
6736 (redoParagraphs): adjust
6737 (updateInset): adjust, and rewrite loop.
6738 (deleteEmptyParagraphMechanism): adjust
6740 * tabular.C (LyXTabular): adjust
6741 (SetMultiColumn): adjust
6744 * lyxtext.[Ch] (ownerParagraph): delete function
6745 (ownerParagraphs): new function returns a ParagraphList.
6747 * BufferView.C (removeAutoInsets): adjust
6748 (insertErrors): adjust
6749 (setCursorFromRow): adjust
6751 2003-04-01 Angus Leeming <leeming@lyx.org>
6753 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6756 2003-04-02 John Levon <levon@movementarian.org>
6762 * text_funcs.C: make transposeChars a free function
6764 * lyxrow_funcs.C: remove wrong comment
6766 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6769 * rowpainter.C: adjust
6774 * lyxrow_funcs. [Ch]: new files
6776 * lyxrow.[Ch]: remove next and previous pointers
6777 (next,previous): remove accessor functions
6778 (isParEnd): move to lyxrow_funcs
6779 (lastPos): move to lyxrow_funcs
6780 (nextRowIsAllInset): move to lyxrow_funcs
6781 (lastPrintablePos): move to lyxrow_funcs
6782 (numberOfSeparators): move to lyxrow_funcs
6783 (numberOfHfills): move to lyxrow_funcs
6784 (numberOfLabelHfills): move to lyxrow_funcs
6785 (hfillExpansion): move to lyxrow_funcs
6789 * bufferview_funcs.C (toggleAndShow): adjust
6791 * RowList.h: Remove class RowList from file leave just a
6794 * RowList.C: delete file
6796 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6799 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6801 * text3.C (cursorPrevious): adjust
6802 (cursorNext): adjust
6805 * text2.C (redoHeightOfParagraph): adjust
6806 (redoDrawingOfParagraph): adjust
6809 * text.C (breakParagraph): adjust
6810 (insertChar): adjust
6813 * rowpainter.C (RowPainter): adjust
6814 (leftMargin): simplify and adjust
6815 (most rowpainter functions): adjust.
6817 * rowpainter.h: store the row as RowList::iterator not as Row*
6819 * lyxcursor.C (row): taka RowList::iterator as arg
6822 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6825 2003-04-01 Angus Leeming <leeming@lyx.org>
6827 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6828 stuff like bool Bool.
6830 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6832 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6835 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6837 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6840 * lyxtext.h (rows): drop one version and leve a const variant that
6841 returns a RowList::iterator.
6843 2003-03-31 Angus Leeming <leeming@lyx.org>
6845 * text.C (fill): ensure that the signature is the same as that in the
6848 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6850 * text2.C (redoParagraphs): adjust
6851 (updateCounters): adjust
6852 (checkParagraph): adjust
6853 (getColumnNearX): adjust and reformat a bit.
6855 * text.C (top_y): adjust
6857 (leftMargin): adjust
6858 (prepareToPrint): adjust
6860 (getRowNearY): adjust
6862 * lyxtext.h: make rowlist_ mutable.
6864 * RowList.h: add const_iterator
6865 * RowList.C: adjust for RowList::const_iterator.
6867 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6870 2003-03-31 John Levon <levon@movementarian.org>
6873 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6875 * lyx_main.C: set default fonts from using lyx_gui funcs
6877 * exporter.C: pdf_mode moved from lyxrc
6880 * lyxfunc.C: changes from above
6882 2003-03-31 John Levon <levon@movementarian.org>
6884 * lyx_main.C: fix to the last fix
6886 2003-03-31 John Levon <levon@movementarian.org>
6888 * bufferlist.C: "Load original" -> "Load Original"
6894 * format.C: more Alert cleanups
6896 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6898 * text2.C (removeParagraph): make it take a RowList::iterator as
6900 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6901 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6903 * text.C (anchor_row): make it take a RowList::iterator as arg,
6905 (computeBidiTables): make it take a const reference to Row instead
6906 of Row pointer, adjust.
6907 (leftMargin): make it take a RowList::iterator as arg, adjust.
6908 (rowBreakPoint): adjust
6909 (breakAgainOneRow): make it take a RowList::iterator as arg,
6911 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6913 * bufferview_funcs.C (toggleAndShow): adjust
6915 2003-03-30 John Levon <levon@movementarian.org>
6919 * boost-inst.C: moved to support
6921 * several files: changes as a result
6923 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * text2.C (LyXText): adjust.
6927 (removeRow): make it take a RowList::iterator as arg, adjust.
6928 (fullRebreak): adjust
6929 (deleteEmptyParagraphMechanism): adjust
6930 (clearPaint): adjust
6933 * text.C (top_y): adjust
6934 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6935 (breakAgain): make it take a RowList::iterator as arg, adjust.
6936 (breakParagraph): adjust
6937 (insertChar): adjust
6940 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6941 need_break_row, and refresh_row.
6943 * text3.C (dispatch): adjust
6945 * text2.C (checkParagraph): adjust
6947 (setCursorFromCoordinates): adjust
6949 * text.C (top_y): adjust
6951 (getRow): make it return a RowList::iterator, adjust
6952 (getRowNearY): make it return a RowList::iterator, adjust
6954 * text2.C (init): adjust
6955 (insertRow): remove function
6956 (insertParagraph): adjust
6957 (redoParagraphs): adjust
6958 (fullRebreak): adjust
6959 (updateCounters): adjust
6961 * text.C (top_y): rewrite to use RowList iterators.
6963 (setHeightOfRow): rewrite to sue RowList iterators.
6964 (appendParagraph): adjust
6965 (breakAgain): adjust
6966 (breakAgainOneRow): adjust
6967 (breakParagraph): adjust
6969 (getRowNearY): adjust, and remove commented code.
6971 * lyxtext.h (firstRow): delete function
6972 (lastRow): delete function
6973 (rows): new function (const and non-const versions.)
6974 (insertRow): delete function
6976 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6978 2003-03-29 John Levon <levon@movementarian.org>
6980 * BufferView_pimpl.C: always update scrollbar top
6981 because pasting text when we're anchored could mean we
6982 miss an update altogether
6984 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6986 * text2.C (init): use rowlist_.end() and not 0.
6987 (insertRow): change to take a RowList::iterator as arg, adjust
6989 (insertParagraph): change to take a RowList::iterator as arg,
6991 (redoParagraphs): remove some debug msgs.
6993 * text.C (appendParagraph): change to take a RowList::iterator
6994 arg, adjust for this.
6995 (breakAgain): add an assert
6996 (breakAgainOneRow): ditto
6998 2003-03-29 John Levon <levon@movementarian.org>
7000 * text2.C: do not clear selection after inc/decDepth
7003 2003-03-29 John Levon <levon@movementarian.org>
7006 * buffer.C: fix broken strerrors according to Lars
7008 2003-03-29 John Levon <levon@movementarian.org>
7010 * converters.C: more Alert cleanups
7012 2003-03-29 John Levon <levon@movementarian.org>
7014 * bufferview_funcs.C: remove pointless Alert
7016 * buffer.C: fix confusing error message when
7017 a template is chmoded 000
7019 2003-03-29 John Levon <levon@movementarian.org>
7023 * BufferView_pimpl.C: Alert fixes
7027 * tabular-old.C: remove unused table compat reading
7029 2003-03-29 John Levon <levon@movementarian.org>
7034 * lyx_cb.C: more Alert cleanups
7036 * lyxfunc.C: don't allow chktex if not latex document
7038 2003-03-29 John Levon <levon@movementarian.org>
7042 * buffer.C: warnings pushed down from support/,
7045 2003-03-29 John Levon <levon@movementarian.org>
7047 * lyxfunc.C: safety check for C-r (revert)
7049 2003-03-29 John Levon <levon@movementarian.org>
7052 * bufferlist.C: several UI fixes using Alert::prompt.
7053 Fix the pointless looping quit code. Fix stupid revert
7058 * lyx_cb.C: use Alert::prompt
7060 * lyx_main.C: remove a silly question
7062 * lyxfunc.C: remove a couple of silly questions,
7065 2003-03-28 John Levon <levon@movementarian.org>
7067 * text2.C: fix bug 974 (End on empty par)
7069 2003-03-28 John Levon <levon@movementarian.org>
7071 * BufferView_pimpl.C:
7073 * lfuns.h: remove do-nothing math greek lfuns
7075 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7077 * lyxgluelength.h (isValidGlueLength): add default arg on
7078 parameter 2. Remove default arg from friend in class.
7080 * lyxlength.h (isValidLength): add default arg on parameter 2.
7081 Remove default arg from friend in class.
7083 * text2.C (LyXText): adjust, initialize refresh_row.
7087 (insertParagraph): adjst
7088 (redoParagraphs): adjust
7089 (fullRebreak): adjust
7090 (updateCounters): adjust
7091 (deleteEmptyParagraphMechanism): first attempt at fixing a
7094 * text.C (top_y): adjust
7095 (setHeightOfRow): adjust
7097 (getRowNearY): adjust
7099 * lyxtext.h: include RowList.h
7100 (~LyXText): not needed anymore, deleted.
7101 (firstRow): modify for RowList
7102 (lastRow): new function
7103 Delete firstrow and lastrow class variables, add a Rowlist
7104 rowlist_ class variable.
7106 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7109 * RowList.C (insert): fix case where it == begin().
7111 2003-03-26 Angus Leeming <leeming@lyx.org>
7113 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7114 the thesaurus dialog.
7116 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7118 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7120 * RowList.[Ch]: new files
7122 * ParagraphList.C (erase): handle the case where it == begin
7125 2003-03-25 John Levon <levon@movementarian.org>
7129 * aspell.C: add new aspell support
7132 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7135 2003-03-25 Angus Leeming <leeming@lyx.org>
7138 * LyXAction.C (init): new LFUN_INSET_INSERT.
7140 * BufferView_pimpl.C (dispatch): split out part of the
7141 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7143 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7146 2003-03-25 Angus Leeming <leeming@lyx.org>
7148 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7150 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7153 * text3.C: remove useless row->height(0)
7155 2003-03-25 John Levon <levon@movementarian.org>
7159 * text3.C: rename the refreshing stuff to better names
7161 2003-03-24 John Levon <levon@movementarian.org>
7163 * BufferView_pimpl.h:
7164 * BufferView_pimpl.C: update layout choice on a mouse
7167 2003-03-23 John Levon <levon@movementarian.org>
7169 * Makefile.am: fix commandtags.h reference
7171 2003-03-22 John Levon <levon@movementarian.org>
7173 * BufferView_pimpl.C:
7178 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7180 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7183 * text.C: take the rtl methods out of line
7185 2003-03-21 André Pönitz <poenitz@gmx.net>
7187 * metricsinfo.[Ch]: new files containing structures to be passed around
7188 during the two-phase-drawing...
7190 2003-03-21 André Pönitz <poenitz@gmx.net>
7192 * lyxtextclass.C: read 'environment' tag.
7194 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7196 * text2.C (removeRow): fix bug 964
7198 2003-03-20 John Levon <levon@movementarian.org>
7202 * text2.C: paint cleanups. Inset::update() dropped font
7205 2003-03-19 John Levon <levon@movementarian.org>
7207 * lyxfunc.C: only fitcursor/markDirty if available()
7209 2003-03-19 John Levon <levon@movementarian.org>
7211 * commandtags.h: rename to ...
7213 * lfuns.h: ... this, and renumber / cleanup
7215 2003-03-19 John Levon <levon@movementarian.org>
7217 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7218 fit the cursor after an lfun
7222 * BufferView_pimpl.h:
7223 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7225 * LyXAction.C: layout-character should have ReadOnly
7227 * ParagraphParameters.C:
7229 * bufferview_funcs.C:
7236 * undo_funcs.C: changes from above
7238 2003-03-18 John Levon <levon@movementarian.org>
7240 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7241 remove it from update()
7243 * lyxfunc.C: update layout choice after an lfun
7245 * text3.C: remove extra updateLayoutChoice()s
7247 2003-03-18 John Levon <levon@movementarian.org>
7249 * text.C: top_y change means full repaint, fix
7250 a drawing bug with cursor movement
7252 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7256 * text2.C: anchor row on setCursor
7258 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7260 * lyxtext.h: remove almost all mutable keywords
7263 * text3.C: remove const keywords accordingly
7265 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7267 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7269 (TeXEnvironment): ditto
7272 2003-03-17 John Levon <levon@movementarian.org>
7274 * text.C (rowBreakPoint): remove attempt to fix displayed
7275 math insets inside a manual label
7277 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7279 * lyxtext.h: remove BufferView* as first arg from almost all class
7281 * other files: adjust.
7283 2003-03-17 John Levon <levon@movementarian.org>
7287 * text2.C: more paint cleanups
7289 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7292 * rowpainter.C: remove "smart" background painting code
7294 2003-03-16 John Levon <levon@movementarian.org>
7299 * text3.C: add helper functions for setting refresh_row/y
7301 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7303 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7304 newline inset which *can* get inserted in the pass_thru layouts.
7305 This is primarily for literate documents.
7307 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7309 * buffer.C: increment LYX_FORMAT to 223
7311 2003-03-14 André Pönitz <poenitz@gmx.net>
7313 * textclass.h: prepare for environment handling, ws changes
7314 * lyxlayout.C: read latexheader and latexfooter tags
7316 2003-03-14 John Levon <levon@movementarian.org>
7318 * text2.C: rewrite ::status() a bit
7320 2003-03-13 John Levon <levon@movementarian.org>
7322 * lyxtext.h: add some docs
7324 2003-03-13 John Levon <levon@movementarian.org>
7329 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7331 2003-03-13 John Levon <levon@movementarian.org>
7333 * text3.C: fix appendix redrawing
7335 2003-03-13 John Levon <levon@movementarian.org>
7337 * text.C (setHeightOfRow):
7339 * rowpainter.C: make appendix mark have the text
7340 "Appendix" so the user knows what it is
7343 * LColor.C: s/appendixline/appendix/ from above
7345 2003-03-13 John Levon <levon@movementarian.org>
7347 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7349 * text.C: fix a getChar(pos) bug properly
7351 2003-03-13 Angus Leeming <leeming@lyx.org>
7354 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7355 Probably only temporary. Let's see how things pan out.
7357 * BufferView.C (unlockInset):
7358 * BufferView_pimpl.C (fitCursor):
7359 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7361 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7362 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7364 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7365 new functions that convert ParagraphParameters to and from a string.
7367 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7368 BufferView::Pimpl's dispatch.
7369 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7371 2003-03-13 André Pönitz <poenitz@gmx.net>
7375 * factory.C: make it aware of InsetEnv
7377 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7379 * text2.C (setCursor): never ask for one past last
7380 (setCursor): add some debugging messages.
7382 * text.C (singleWidth): never ask for one past last
7383 (singleWidth): ditto
7385 (rightMargin): ditto
7386 (rowBreakPoint): ditto
7387 (setHeightOfRow): ditto
7388 (prepareToPrint): ditto
7390 * rowpainter.C (paintBackground): never ask for one past last
7391 (paintText): never ask for one past last
7393 * paragraph_pimpl.C (getChar): make the assert stricter, never
7394 allow the one past last pos to be taken
7396 * paragraph.C (getChar): ws changes only
7398 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7399 (numberOfSeparators): ditto
7400 (numberOfHfills): ditto
7402 2003-03-12 John Levon <levon@movementarian.org>
7408 * paragraph_funcs.C: fix per-buffer authorlists
7410 2003-03-12 John Levon <levon@movementarian.org>
7412 * text.C: fix newline in right address
7414 2003-03-12 Angus Leeming <leeming@lyx.org>
7416 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7417 duplicate those in LyXFunc::dispatch.
7421 * ToolbarDefaults.C:
7422 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7423 Add LFUN_FONTFREE_UPDATE.
7425 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7426 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7428 * bufferview_func.[Ch]: several new functions to facilliate
7429 transfer of data to and from the character dialog.
7431 2003-03-12 John Levon <levon@movementarian.org>
7436 * paragraph_funcs.C:
7437 * paragraph_pimpl.C:
7441 * text3.C: remove META_NEWLINE in favour of an inset
7444 * rowpainter.C: remove paintNewline (done by inset)
7446 2003-03-12 John Levon <levon@movementarian.org>
7448 * paragraph_pimpl.C: complain about bad getChar()s
7449 for a while at least
7451 2003-03-12 John Levon <levon@movementarian.org>
7454 * buffer.C: move paragraph read into a separate function,
7455 a little renaming to reflect that.
7458 * bufferparams.C: remove the author_ids map, not necessary now
7461 * factory.C: moved Buffer::readInset to here
7463 * paragraph_funcs.h:
7464 * paragraph_funcs.C: readParagraph free function moved from
7467 * tabular.C: name change
7469 2003-03-12 John Levon <levon@movementarian.org>
7472 * ParagraphParameters.C: move par params input to
7475 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7476 behave like a normal read from the stream wrt reading
7477 a line vs. a \\token
7479 2003-03-12 John Levon <levon@movementarian.org>
7482 * ParagraphParameters.h:
7483 * ParagraphParameters.C: move output code to a
7486 2003-03-12 John Levon <levon@movementarian.org>
7488 * BufferView.C (insertLyXFile):
7491 * tabular.C: use a parlist iterator for creating the
7494 2003-03-12 John Levon <levon@movementarian.org>
7496 * buffer.C: make current_change static local not
7499 2003-03-12 John Levon <levon@movementarian.org>
7501 * buffer.C: fix insertStringAsLines for change tracking
7503 2003-03-12 John Levon <levon@movementarian.org>
7510 * bufferparams.C: move author list into params. Rename some
7511 functions. Move the header reading into a separate token
7512 loop. Move the header token reading into BufferParams.
7514 2003-03-12 John Levon <levon@movementarian.org>
7516 * changes.C: put debug inside lyxerr.debugging() checks
7518 2003-03-11 André Pönitz <poenitz@gmx.net>
7520 * factory.C: make it aware of InsetHFill
7522 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7524 * buffer.C (latexParagraphs): move function from here...
7525 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7528 2003-03-10 Angus Leeming <leeming@lyx.org>
7530 * LyXAction.C (init): fix bug in poplating array with multiple entries
7531 with the same LFUN (spotted by JMarc).
7533 2003-03-10 John Levon <levon@movementarian.org>
7536 * text2.C: move getColumnNearX() near its
7539 2003-03-10 John Levon <levon@movementarian.org>
7541 * text.C: fix break before a minipage
7543 2003-03-10 John Levon <levon@movementarian.org>
7545 * text.C: fix the last commit
7547 2003-03-09 John Levon <levon@movementarian.org>
7551 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7552 bug 365 (don't break before insets unless needed). Don't
7553 return a value > last under any circumstances.
7555 2003-03-09 Angus Leeming <leeming@lyx.org>
7557 * BufferView_pimpl.C (trackChanges, dispatch): call
7558 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7560 2003-03-09 Angus Leeming <leeming@lyx.org>
7562 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7563 than Dialogs::showAboutlyx().
7565 2003-03-09 Angus Leeming <leeming@lyx.org>
7567 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7568 than Dialogs::showTabularCreate().
7570 2003-03-09 John Levon <levon@movementarian.org>
7574 * text2.C: 3rd arg to nextBreakPoint was always the same.
7577 2003-03-08 John Levon <levon@movementarian.org>
7584 * text2.C: Remove the "main" bit from the "main body"
7587 2003-03-08 John Levon <levon@movementarian.org>
7589 * text.C (leftMargin): The left margin of an empty
7590 manual label paragraph should not include the label width
7593 * text.C (prepareToPrint): don't attempt to measure hfills
7594 for empty manual label paragraphs - the answer should be 0
7596 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7598 * CutAndPaste.C: remove commented code and reindent.
7600 2003-03-08 John Levon <levon@movementarian.org>
7603 * lyxfunc.C: move reloadBuffer()
7606 * BufferView.C: to here
7608 * lyxvc.C: add comment
7611 * vc-backend.C: call bv->reload() to avoid
7612 getStatus() check on MENURELOAD
7614 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7616 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7617 to an old format .dep file.
7619 2003-03-07 Angus Leeming <leeming@lyx.org>
7621 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7622 when the LFUN_MOUSE_RELEASE should have been handled by
7623 inset->localDispatch.
7625 2003-03-07 Angus Leeming <leeming@lyx.org>
7627 * BufferView_pimpl.C (dispatch):
7628 * LyXAction.C (init):
7629 * ToolbarDefaults.C (init):
7631 * lyxfunc.C (getStatus):
7632 remove LFUN_INSET_GRAPHICS.
7634 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7636 2003-03-07 Angus Leeming <leeming@lyx.org>
7639 * LyXAction.C (init):
7640 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7642 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7645 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7647 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7648 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7650 2003-03-07 Angus Leeming <leeming@lyx.org>
7652 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7655 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7657 * ParagraphList.C (front): new function
7660 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7662 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7663 and top_row_offset_. removed var first_y.
7665 * text2.C (LyXText, removeRow):
7667 * BufferView_pimpl.C:
7668 use these methods instead of using first_y
7670 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7672 * text2.C (pasteSelection): adjust for checkPastePossible
7674 * CutAndPaste.C: remove Paragraph * buf and replace with
7675 ParagraphList paragraphs.
7676 (DeleteBuffer): delete
7677 (cutSelection): change the tc type to textclass_type
7678 (copySelection): change the tc type to textclass_type
7679 (copySelection): adjust for ParagraphList
7680 (pasteSelection): change the tc type to textclass_type
7681 (pasteSelection): adjust for Paragraphlist
7682 (nrOfParagraphs): simplify for ParagraphList
7683 (checkPastePossible): simplify for ParagraphList
7684 (checkPastePossible): remove unused arg
7686 * ParagraphList.C (insert): handle the case where there are no
7689 * CutAndPaste.h: make CutAndPaste a namespace.
7691 * text3.C (dispatch): adjust
7693 * text.C (breakParagraph): add a ParagraphList as arg
7695 * paragraph_funcs.C (breakParagraph): change to take a
7696 BufferParams and a ParagraphList as args.
7697 (breakParagraphConservative): ditto
7698 (mergeParagraph): ditto
7699 (TeXDeeper): add a ParagraphList arg
7700 (TeXEnvironment): ditto
7703 * buffer.C (readLyXformat2): adjust
7704 (insertStringAsLines): adjust
7705 (latexParagraphs): adjust
7707 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7708 (cutSelection): adjust
7709 (pasteSelection): adjust
7711 * BufferView_pimpl.C (insertInset): adjust
7713 2003-03-05 Angus Leeming <leeming@lyx.org>
7716 * LyXAction.C (init):
7717 * BufferView_pimpl.C (dispatch):
7718 * lyxfunc.C (getStatus):
7719 remove LFUN_CHILD_INSERT.
7721 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7723 2003-03-05 Angus Leeming <leeming@lyx.org>
7726 * LyXAction.C (init):
7727 * src/factory.C (createInset):
7728 * lyxfunc.C (getStatus):
7729 * text3.C (dispatch):
7730 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7732 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7734 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7736 * ParagraphList.C (insert): handle insert right before end()
7737 (erase): fix cases where it can be first or last paragraph.
7739 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7741 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7742 Paragraph::next and Paragraph::previous
7745 * text.C (breakParagraph): adjust
7747 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7748 BufferParams& as arg.
7749 (breakParagraph): use ParagraphList::insert
7750 (breakParagraphConservative): take a Buffer* instead of a
7751 BufferParams& as arg.
7752 (breakParagraphConservative): use ParagraphList::insert.
7754 * buffer.C (insertStringAsLines): un-const it
7755 (insertStringAsLines): adjust
7757 * ParagraphList.C (insert): new function
7759 * CutAndPaste.C (pasteSelection): adjust
7761 * text.C (backspace): adjust
7763 * tabular.C (SetMultiColumn): adjust
7765 * CutAndPaste.C (cutSelection): adjust
7766 (pasteSelection): adjust
7768 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7769 Buffer const * as arg
7771 * ParagraphList.C (erase): new function
7772 * paragraph_funcs.C (mergeParagraph): use it
7773 (mergeParagraph): make it take a Buffer* instead of a
7774 BufferParams* as arg
7776 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7778 (breakParagraphConservative): ditto
7780 * paragraph.h: remove the breakParagraph friend
7782 * paragraph.C (eraseIntern): new function
7783 (setChange): new function
7785 * paragraph_funcs.C (mergeParagraph): make it take a
7786 ParagraphList::iterator instead of a Paragraph *, adjust
7789 * paragraph.h: move an #endif so that the change tracking stuff
7790 also works in the NO_NEXT case.
7792 2003-03-04 Angus Leeming <leeming@lyx.org>
7795 * LyXAction.C: new LFUN_INSET_MODIFY.
7797 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7798 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7800 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7802 * several files: ws changes only
7804 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7805 (TeXEnvironment): ditto
7808 * buffer.C (makeLaTeXFile): adjust
7809 (latexParagraphs): make it take ParagraphList::iterator as args
7811 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7813 * buffer.C (latexParagraphs): adjust
7815 * paragraph.C (TeXOnePar): move function...
7816 (optArgInset): move function...
7817 (TeXEnvironment): move function...
7818 * paragraph_pimpl.C (TeXDeeper): move function...
7819 * paragraph_funcs.C: ...here
7821 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7823 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7825 * buffer.C (readInset): remove compability code for old Figure and
7828 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7830 * buffer.C: ws changes
7833 * BufferView_pimpl.C: ditto
7836 * bufferlist.h: ditto
7840 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7842 * converter.[Ch]: split into itself +
7845 * Makefile.am: += graph.[Ch] + format.[Ch]
7852 * lyxrc.C: added #include "format.h"
7854 2003-02-27 Angus Leeming <leeming@lyx.org>
7856 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7859 * factory.C (createInset): add "label" to the factory.
7861 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7862 string and do no more.
7864 2003-02-27 Angus Leeming <leeming@lyx.org>
7867 * LyXAction.C (init):
7868 * factory.C (createInset):
7869 * BufferView_pimpl.C (dispatch):
7870 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7872 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7874 * lyxfunc.C (dispatch):
7875 * text3.C (dispatch): pass name to params2string.
7877 2003-02-26 Angus Leeming <leeming@lyx.org>
7879 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7881 Rearrange the ~includes. Strip out the unnecessary ones.
7883 * factory.C (createInset): reformat.
7884 create new insets for the various LFUN_XYZ_APPLY lfuns.
7886 2003-02-26 John Levon <levon@movementarian.org>
7889 * lyxrow.C: add isParStart,isParEnd helpers
7891 * paragraph.h: make isInserted/DeletedText take refs
7893 * paragraph_funcs.h:
7894 * paragraph_funcs.C: remove #if 0'd code
7899 * text.C: use lyxrow helpers above.
7900 Move draw and paint routines to RowPainter.
7901 Make several methods use refs not pointers.
7902 Make backgroundColor() const.
7903 Add markChangeInDraw(), isInInset().
7904 Merge changeRegionCase into changeCase.
7905 Make workWidth() shouldn't-happen code into an Assert.
7908 * rowpainter.C: new class for painting a row.
7911 * vspace.C: make inPixels take a ref
7913 2003-02-26 Angus Leeming <leeming@lyx.org>
7915 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7918 2003-02-25 John Levon <levon@movementarian.org>
7920 * ispell.C: give the forked command a more accurate name
7922 2003-02-22 John Levon <levon@movementarian.org>
7925 * toc.C: make TocItem store an id not a Paragraph *
7928 2003-02-21 Angus Leeming <leeming@lyx.org>
7930 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7931 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7932 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7933 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7934 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7935 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7937 * BufferView_pimpl.C (dispatch):
7938 * LyXAction.C (init):
7939 * factory.C (createInset):
7940 * lyxfunc.C (getStatus, dispatch):
7941 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7943 2003-02-21 Angus Leeming <leeming@lyx.org>
7945 * BufferView_pimpl.C (MenuInsertLyXFile):
7946 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7947 * lyxfunc.C (menuNew, open, doImport):
7948 no longer pass a LyXView & to fileDlg.
7950 2003-02-21 Angus Leeming <leeming@lyx.org>
7952 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7953 * LyXAction.C: change, BIBKEY to BIBITEM.
7954 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7955 Change InsetBibKey to InsetBibitem.
7956 Change BIBKEY_CODE to BIBITEM_CODE.
7957 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7958 * factory.C: replace insetbib.h with insetbibitem.h.
7959 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7960 * paragraph.C: replace insetbib.h with insetbibitem.h.
7961 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7962 Change bibkey() to bibitem().
7963 * text.C: remove insetbib.h.
7964 * text2.C: replace insetbib.h with insetbibitem.h.
7965 change bibkey() to bibitem().
7966 * text3.C: remove insetbib.h.
7967 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7969 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7971 * lyxrc.C (output): enclose user email in quotes (in case there are
7974 2003-02-18 John Levon <levon@movementarian.org>
7976 * buffer.h: add std::
7978 2003-02-17 John Levon <levon@movementarian.org>
7984 * pspell.C: reworking. Especially in ispell, a large
7985 number of clean ups and bug fixes.
7987 * lyxfunc.C: fix revert to behave sensibly
7989 2003-02-17 André Pönitz <poenitz@gmx.net>
7992 * commandtags.h: new LFUN_INSERT_BIBKEY
8002 * paragraph_func.C: remove special bibkey handling
8004 2003-02-17 John Levon <levon@movementarian.org>
8006 * text.C (Delete): fix case where delete at the end of
8007 the very first paragraph would not merge the pars
8009 2003-02-17 John Levon <levon@movementarian.org>
8011 * lyxrow.C: fix lastPrintablePos()
8013 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8015 * bufferparams.C (writeLaTeX): add a std:here
8017 * buffer.C: and remove a using directive there
8019 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8021 * buffer.C (makeLaTeXFile): move the code that generates the
8024 * bufferparams.C (writeLaTeX): ... in this new method
8026 * LaTeXFeatures.C (getEncodingSet): make const
8027 (getLanguages): make const
8029 * MenuBackend.C (binding): returns the binding associated to this
8031 (add): sets the status of each item by calling getStatus. Adds
8033 (read): add support for OptSubMenu
8034 (expand): remove extra separator at the end of expanded menu
8036 2003-02-15 John Levon <levon@movementarian.org>
8039 * BufferView_pimpl.C:
8041 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8042 inset code that had no actual effect. Remove unneeded status
8045 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8047 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8050 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8052 * text.C (drawLengthMarker): also draw an arrow marker for
8053 symbolic lengths (medskip...)
8055 2003-02-14 John Levon <levon@movementarian.org>
8058 * tabular.C: better method names
8060 2003-02-14 John Levon <levon@movementarian.org>
8062 * BufferView_pimpl.C:
8067 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8068 it's a more accurate name. Remove some pointless uses.
8070 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8072 * text2.C (LyXText): change order of initilizers to shut off
8075 2003-02-14 John Levon <levon@movementarian.org>
8077 * buffer.C: use ParIterator for getParFromID()
8081 * paragraph_pimpl.h:
8082 * paragraph_pimpl.C: remove unused getParFromID()
8084 2003-02-14 John Levon <levon@movementarian.org>
8086 * buffer.C: remove some very old #if 0'd parse code
8088 2003-02-13 John Levon <levon@movementarian.org>
8092 * text2.C: move hfillExpansion(), numberOfSeparators(),
8093 rowLast(), rowLastPrintable(), numberofHfills(),
8094 numberOfLabelHfills() ...
8097 * lyxrow.C: ... to member functions here.
8102 * text.C: remove LyXText::beginningOfMainBody(), and call
8103 p->beginningOfMainBody() directly. Move the check for
8104 LABEL_MANUAL into the latter.
8111 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8117 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8118 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8120 2003-02-13 John Levon <levon@movementarian.org>
8122 * CutAndPaste.C: remove debug
8124 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8126 * paragraph.C (asString): remove two unused variables
8128 * lyxtextclass.C (readTitleType):
8130 (LyXTextClass): handle new members titletype_ and titlename_
8132 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8134 2003-02-09 John Levon <levon@movementarian.org>
8137 * buffer.C: replace hand-coded list with a map for the dep clean
8139 2003-02-08 John Levon <levon@movementarian.org>
8141 * LaTeX.C: consolidate code into showRunMessage() helper
8143 2003-02-08 John Levon <levon@movementarian.org>
8148 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8149 and pass the size in explicitly
8151 * BufferView_pimpl.h:
8152 * BufferView_pimpl.C:
8154 * BufferView.C: add getCurrentChange()
8156 * BufferView_pimpl.h:
8157 * BufferView_pimpl.C: handle change lfuns
8159 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8160 for changes. Mark pasted paragraphs as new.
8162 * support/lyxtime.h:
8163 * support/lyxtime.C:
8164 * DepTable.C: abstract time_t as lyx::time_type
8167 * LColor.C: add colours for new text, deleted text, changebars
8169 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8170 package use "usenames" option.
8174 * LyXAction.C: add change lfuns
8178 * author.C: author handling
8181 * buffer.C: add a per-buffer author list, with first entry as
8182 current author. Handle new .lyx tokens for change tracking. Output
8183 author list to .lyx file. Output dvipost stuff to .tex preamble.
8184 Bump lyx format to 222.
8187 * bufferlist.C: add setCurrentAuthor() to reset current author details
8191 * bufferparams.C: add param for tracking
8193 * bufferview_funcs.C: output change info in minibuffer
8197 * changes.C: add change-tracking structure
8200 * debug.C: add CHANGES debug flag
8203 * lyxfind.C: add code for finding the next change piece
8206 * lyxrc.C: add user_name and user_email
8209 * lyxrow.C: add a metric for the top of the text line
8212 * text.C: implement accept/rejectChange()
8215 * text.C: paint changebars. Paint new/deleted text in the chosen
8216 colours. Strike through deleted text.
8220 * paragraph_pimpl.h:
8221 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8222 in the current change to the insert functions. Rework erase to
8223 mark text as deleted, adding an eraseIntern() and a range-based
8224 erase(). Implement per-paragraph change lookup and
8227 * paragraph_funcs.C: Fixup paste for change tracking.
8229 * tabular.C: mark added row/columns as new.
8231 * text.C: fix rowLast() to never return -1. Don't allow
8232 spellchecking of deleted text. Track transpose changes. Don't
8233 allow paragraph break or merge where appropriate.
8235 * text2.C: leave cursor at end of selection after a cut.
8237 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8239 * text.C (getLengthMarkerHeight):
8240 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8241 visible on screen too.
8243 2003-02-07 John Levon <levon@movementarian.org>
8245 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8247 2003-02-05 Angus Leeming <leeming@lyx.org>
8249 * lyxserver.C (read_ready): revert my patch of 11 September last year
8250 as it sends PC cpu through the roof. Presumably this means that
8251 the lyxserver will no longer run on an Alpha...
8253 2003-01-30 Angus Leeming <leeming@lyx.org>
8255 * factory.C (createInset): create an InsetCommandParam of type "index"
8256 and use it to 'do the right thing'.
8258 * text2.C (getStringToIndex): ensure that cursor position is always
8259 reset to the reset_cursor position.
8261 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8263 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8266 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8270 * lyxfunc.C: Output messages with identical spelling, punctuation,
8273 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8275 * MenuBackend.C (expandFormats): List only viewable export formats
8278 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8281 * lyxfunc.C (getStatus): Make sure that formats other than
8282 "fax" can also be disabled
8284 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8286 * text3.C (dispatch): put the lfuns that insert insets in 3
8287 groups, and call doInsertInset with appropriate arguments.
8288 (doInsertInset): new function, that creates an inset and inserts
8289 it according to some boolean parameters.
8291 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8293 * buffer.C (readFile): remember to pass on 'par' when calling
8294 readFile recursively.
8296 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8298 * MenuBackend.C (expandFormats): add "..." to import formats.
8300 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8302 * paragraph.C (asString): Remove XForms RTL hacks.
8304 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8305 * buffer.C: fix typo
8307 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8309 * Makefile.am (LIBS): delete var
8310 (lyx_LDADD): add @LIBS@ here instead.
8312 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8314 * Clarify the meaning of "wheel mouse jump"
8316 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8318 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8321 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8323 * importer.C (Loaders): do not preallocate 3 elements in the
8324 vector, since one ends up with 6 elements otherwise
8326 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8328 * DepTable.C (write): write the file name as last element of the
8329 .dep file (because it may contain spaces)
8330 (read): read info in the right order
8332 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8334 * paragraph_pimpl.C (simpleTeXBlanks):
8335 (simpleTeXSpecialChars):
8336 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8338 * tabular.C (latex): add some missing case statements. Reindent.
8340 * MenuBackend.C (expandToc): remove unused variable.
8342 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8351 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8354 2003-01-05 John Levon <levon@movementarian.org>
8357 * BufferView.C: add getEncoding()
8360 * kbsequence.C: do not store last keypress
8363 * lyxfunc.C: store last keypress here instead. Pass encoding
8366 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8368 * lyx_main.C (init): remove annoying error message when following
8369 symbolic links (bug #780)
8371 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8373 * text.C (insertChar):
8374 * lyxrc.C (getDescription): remove extra spaces
8376 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8378 * lyxrc.C (getDescription): remove extra spaces
8380 2002-12-20 John Levon <levon@movementarian.org>
8382 * text3.C: hack fix for page up/down across tall rows
8384 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8386 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8389 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8391 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8392 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8393 thesaurus is not compiled in
8395 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8397 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8399 2002-12-16 Angus Leeming <leeming@lyx.org>
8402 * lyx_main.C (init): remove override_x_deadkeys stuff.
8404 2002-12-12 John Levon <levon@movementarian.org>
8406 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8407 insert. Only remove shift modifier under strict
8410 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8412 * MenuBackend.C (expandToc): fix crash.
8414 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8416 * MenuBackend.C (expandToc): gettext on float names.
8418 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8420 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8421 implement bool empty() [bug 490]
8423 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8425 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8427 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8429 * several files: ws changes
8431 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8433 * text2.C (setCounter): clean up a bit, use boost.format.
8434 (updateCounters): initialize par upon declaration.
8436 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8437 if the layout exists. We do not just store the layout any more.
8438 (SwitchLayoutsBetweenClasses): use boost.format
8440 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8442 * converter.C (convert): if from and to files are the same, use a
8443 temporary files as intermediary
8445 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8448 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8450 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8452 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8454 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8456 * tabular.C (asciiPrintCell): use string(size, char) instead of
8459 * sgml.C (openTag): fix order of arguments to string constructor
8462 * lyxfunc.C (dispatch): use boost.format
8464 * lots of files: change "c" -> 'c'
8466 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8468 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8470 2002-11-25 Angus Leeming <leeming@lyx.org>
8472 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8474 * lyx_main.C (init): compile fix.
8476 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8478 * lyx_cb.C (start): boost.formatify
8479 do not include <iostream>
8481 * lengthcommon.C: ws only
8483 * boost-inst.C,BoostFormat.h: add more explict instantations
8485 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8487 * lots of files: handle USE_BOOST_FORMAT
8489 2002-11-21 John Levon <levon@movementarian.org>
8491 * pspell.C: fix compile
8493 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8495 * lyxfunc.C (dispatch): use boost::format
8499 * lyxfont.C (stateText): use boost::format
8501 * lyx_main.C (LyX): use boost::format
8503 (queryUserLyXDir): ditto
8506 (typedef boost::function): use the recommened syntax.
8508 * importer.C (Import): use boost::format
8510 * debug.C (showLevel): use boost::format
8512 * converter.C (view): use boost::format
8517 * bufferview_funcs.C (currentState): use boost::format
8519 * bufferlist.C (emergencyWrite): use boost::format
8521 * buffer.C (readLyXformat2): use boost::format
8522 (parseSingleLyXformat2Token): ditto
8524 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8526 * LaTeX.C (run): use boost::format
8528 * Chktex.C (scanLogFile): use boost::format
8530 * BufferView_pimpl.C (savePosition): use boost::format
8531 (restorePosition): ditto
8532 (MenuInsertLyXFile): ditto
8534 * BoostFormat.h: help file for explicit instation.
8536 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8538 * tabular.C (latex): Support for block alignment in fixed width
8541 2002-11-17 John Levon <levon@movementarian.org>
8543 * BufferView_pimpl.C:
8545 * lyxfunc.C: split filedialog into open/save
8547 2002-11-08 Juergen Vigna <jug@sad.it>
8549 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8550 by my last patch (hopefully).
8552 2002-11-08 John Levon <levon@movementarian.org>
8561 * toc.C: ParConstIterator, and use it (from Lars)
8563 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8565 * lyxtextclass.[Ch]: revise and add doxygen comments
8567 2002-11-07 John Levon <levon@movementarian.org>
8569 * text.C: fix progress value for spellchecker
8571 * toc.C: fix navigate menu for insetwrap inside minipage
8573 * paragraph_funcs.C: added FIXME for suspect code
8575 2002-11-07 John Levon <levon@movementarian.org>
8577 * BufferView_pimpl.C: fix redrawing of insets
8580 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8582 * text2.C (updateCounters): fix bug 668
8584 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8586 * text3.C (dispatch): Do not make the buffer dirty when moving the
8589 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8591 * vc-backend.C: STRCONV
8594 * text2.C (setCounter): STRCONV
8596 * paragraph.C (asString): STRCONV
8598 * lyxlength.C (asString): STRCONV
8599 (asLatexString): ditto
8601 * lyxgluelength.C (asString): STRCONV
8602 (asLatexString): ditto
8604 * lyxfunc.C (dispatch): STRCONV
8607 * lyxfont.C (stateText): STRCONV
8609 * importer.C (Import): STRCONV
8611 * counters.C (labelItem): STRCONV
8612 (numberLabel): ditto
8613 (numberLabel): remove unused ostringstream o
8618 * bufferview_funcs.C (currentState): STRCONV
8620 * buffer.C (readFile): STRCONV
8621 (asciiParagraph): ditto
8622 (makeLaTeXFile): ditto
8624 * Spacing.C (writeEnvirBegin): STRCONV
8626 * LaTeXFeatures.C (getLanguages): STRCONV
8627 (getPackages): ditto
8629 (getBabelOptions): ditto
8630 (getTClassPreamble): ditto
8631 (getLyXSGMLEntities): ditto
8632 (getIncludedFiles): ditto
8636 (scanAuxFile): ditto
8639 * LString.h: add the STRCONV macros
8641 * BufferView_pimpl.C (savePosition): STRCONV
8642 (restorePosition): ditto
8643 (MenuInsertLyXFile): ditto
8645 * vc-backend.C (scanMaster): change from submatch[...] to
8648 * funcrequest.C: include config.h
8650 * factory.C: include config.h
8652 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8654 * box.C: include config.h
8656 * LaTeX.C (scanAuxFile): change from submatch[...] to
8660 2002-10-25 Angus Leeming <leeming@lyx.org>
8662 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8664 * ispell.[Ch] (setError): new method.
8665 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8666 Use setError() insetead of goto END.
8668 * lyx_cb.C (AutoSave): move out child process into new class
8671 2002-10-30 John Levon <levon@movementarian.org>
8673 * text3.C: make start appendix undoable
8675 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8677 * lyxlength.C (inPixels): Fix returned value.
8679 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8682 2002-10-24 Angus Leeming <leeming@lyx.org>
8684 * lyxgluelength.h: no need to forward declare BufferParams
8685 or BufferView, so don't.
8687 2002-10-21 John Levon <levon@movementarian.org>
8689 * BufferView.C: menuUndo ->undo, redo
8691 * BufferView.h: document, remove dead, make some methods private
8693 * paragraph_funcs.h:
8694 * paragraph_funcs.C:
8695 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8700 * sgml.C: move sgml open/close tag into sgml.C
8702 * bufferview_funcs.h: unused prototype
8705 * lyxfunc.C: remove unused
8708 * text.C: remove unused
8710 2002-10-21 John Levon <levon@movementarian.org>
8714 * BufferView_pimpl.h:
8715 * BufferView_pimpl.C: fix mouse wheel handling based on
8716 patch from Darren Freeman
8718 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8720 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8722 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8724 * lyxlength.C (inPixels): Fix hanfling of negative length.
8725 Fix LyXLength::MU case.
8727 2002-10-16 John Levon <levon@movementarian.org>
8729 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8731 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8733 * converter.C (view): add support for $$i (file name) and $$p
8734 (file path) for the viewer command. If $$i is not specified, then
8735 it is appended to the command (for compatibility with old syntax)
8737 2002-10-14 Juergen Vigna <jug@sad.it>
8739 * undo_funcs.C (textHandleUndo): alter the order in which the
8740 new undopar is added to the LyXText, as we have to set first
8741 the right prev/next and then add it as otherwise the rebuild of
8742 LyXText is not correct. Also reset the cursor to the right paragraph,
8743 with this IMO we could remove the hack in "redoParagraphs()".
8745 2002-10-09 Angus Leeming <leeming@lyx.org>
8747 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8748 to turn off an optimisation if a new inset is to be inserted.
8750 2002-10-11 André Pönitz <poenitz@gmx.net>
8752 * lyxtext.h: make some functions public to allow access
8753 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8755 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8757 * text3.C (dispatch): when changing layout, avoid an infinite loop
8760 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8762 * lyxrc.C (read): treat a viewer or converter command of "none" as
8765 * MenuBackend.C (expandFormats): for an update, also allow the
8766 formats that are not viewable
8768 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8769 script if it is newer than the lyxrc.defaults in user directory
8771 2002-10-07 André Pönitz <poenitz@gmx.net>
8773 * text.C: Vitaly Lipatov's small i18n fix
8775 2002-09-25 Angus Leeming <leeming@lyx.org>
8777 * ispell.h: doxygen fix.
8779 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8781 * buffer.h (readFile): Add a new argument to the method, to allow
8782 reading of old-format templates.
8784 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8786 * toc.C (getTocList): Get TOC from InsetWrap.
8788 2002-09-16 John Levon <levon@movementarian.org>
8790 * lyxfunc.C: check tabular for cut/copy too
8792 2002-09-12 John Levon <levon@movementarian.org>
8797 * factory.C: add header
8799 * paragraph_funcs.h:
8800 * paragraph_funcs.C: cleanup
8802 2002-09-11 John Levon <levon@movementarian.org>
8804 * PrinterParams.h: odd/even default to true
8806 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8808 * PrinterParams.h: update printer parameters for new xforms dialog
8810 2002-09-11 Angus Leeming <leeming@lyx.org>
8812 * lyxserver.C (read_ready): re-write to make it more transparent
8813 and to make it work in coherent fashion under Tru64 Unix.
8815 2002-09-11 André Pönitz <poenitz@gmx.net>
8819 * text3.C: implement LFUN_WORDSEL
8821 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8823 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8824 make floatlist_ a boost::shared_ptr<FloatList>
8826 * lyxtextclass.C: include FloatList.h
8827 (LyXTextClass): initialize floatlist_
8828 (TextClassTags): add TC_NOFLOAT
8829 (Read): match "nofloat" to TC_NOFLOAT and use it.
8830 (readFloat): modify call to floatlist_
8834 * FloatList.[Ch] (FloatList): remove commented out float
8836 (erase): new function
8838 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8840 * MenuBackend.C (expandToc): fix crash when there is no document
8843 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8845 * many files: Add insetwrap.
8847 2002-09-09 John Levon <levon@movementarian.org>
8849 * text2.C: remove confusing and awkward depth wraparound
8851 2002-09-09 John Levon <levon@movementarian.org>
8853 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8856 * buffer.C: remove getIncludeonlyList()
8859 * lyxfunc.C: remove headers
8861 2002-09-09 Juergen Vigna <jug@sad.it>
8863 * text.C (getColumnNearX): fix form Michael this is most
8864 probably a cut&paste bug.
8866 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8868 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8870 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8871 references, ws changes.
8873 * text2.C (init): update counters after init
8874 (insertParagraph): no need to set counter on idividual paragraphs.
8875 (setCounter): access the counters object in the textclass object
8876 on in the buffer object.
8877 (updateCounters): ditto
8879 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8880 shared_ptr<Counters> to avoid loading counters.h in all
8882 (LyXTextClass): initialize ctrs_
8883 (TextClassTags): add TC_COUNTER, and ...
8884 (Read): use it here.
8885 (CounterTags): new tags
8886 (readCounter): new function
8887 (counters): new funtion
8888 (defaultLayoutName): return a const reference
8890 * counters.C (Counters): remove contructor
8891 (newCounter): remove a couple of unneeded statements.
8892 (newCounter): simplify a bit.
8893 (numberLabel): some small formatting changes.
8895 * buffer.[Ch]: remove all traces of counters, move the Counters
8896 object to the LyXTextClass.
8898 2002-09-06 Alain Castera <castera@in2p3.fr>
8900 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8901 package to set the horizontal alignment on fixed width columns.
8904 * lyx_sty.h: added tabularnewline macro def.
8906 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8908 2002-09-06 John Levon <levon@movementarian.org>
8910 * LyXAction.C: tooltips for sub/superscript
8912 * MenuBackend.C: a bit more verbose
8914 * lyxfunc.C: tiny clean
8916 * undo_funcs.C: document undo_frozen
8918 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8920 * counters.C (Counters): add missing algorithm counter.
8922 * text2.C (setCounter): lookup the counter with layouts latexname
8923 instead of by section number.
8924 (setCounter): use a hackish way to lookup the correct enum
8926 a float name->type change
8927 reset enum couners with counter name directly instead of depth value.
8929 * counters.C (Counters): remove the push_backs, change to use the
8930 float type not the float name.
8931 (labelItem): remove unused string, float name->type change
8933 * counters.h: don't include vector, loose the enums and sects vectors
8935 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8937 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8938 (Read): add float->TC_FLOAT to textclassTags
8939 (Read): and handle it in the switch
8940 (readFloat): new function
8942 * FloatList.C (FloatList): comment out the hardcoded float
8945 * lyxlayout.h: ws change.
8947 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8949 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8951 2002-09-03 Angus Leeming <leeming@lyx.org>
8953 * BufferView_pimpl.h: qualified name is not allowed in member
8954 declaration: WorkArea & Pimpl::workarea() const;
8956 * factory.C: added using std::endl directive.
8958 * text3.C: added using std::find and std::vector directives.
8960 2002-08-29 André Pönitz <poenitz@gmx.net>
8963 * text2.C: remove unused member number_of_rows
8966 * BufferView2.C: remove file, move contents to...
8967 * BufferView.C: ... here
8969 * BufferView_pimpl.C:
8970 * factory.C: move more inset creation to factory
8972 * vspace.C: avoid direct usage of LyXText, ws changes
8975 don't provide direct access to WorkArea, use two simple
8976 acessors haveSelction() and workHeight() instead
8979 2002-08-29 John Levon <levon@movementarian.org>
8981 * BufferView_pimpl.C (dispatch): do not continue when
8984 2002-08-28 André Pönitz <poenitz@gmx.net>
8986 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8989 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8991 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8993 * buffer.C: increment LYX_FORMAT to 221
8995 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8996 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8998 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9000 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9002 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9004 * factory.C (createInset): use LyXTextClass::floats
9006 * MenuBackend.C (expandFloatListInsert):
9007 (expandFloatInsert):
9010 * text2.C (setCounter):
9012 * LaTeXFeatures.C (useFloat):
9013 (getFloatDefinitions):
9015 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9017 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9018 floatlist_, with accessor floats().
9020 * FloatList.h: remove global FloatList
9022 2002-08-26 André Pönitz <poenitz@gmx.net>
9024 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9028 * BufferView_pimpl.C:
9029 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9031 2002-08-25 John Levon <levon@movementarian.org>
9033 * LyXAction.C: fix margin note description
9035 2002-08-24 John Levon <levon@movementarian.org>
9039 * bufferview_funcs.C:
9041 * undo_funcs.C: cleanups
9043 * lyxfunc.C: disable CUT/COPY when no selection
9045 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9047 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9048 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9050 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9051 Add backward compatibility to "mono", "gray" and "no".
9053 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9055 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9056 (and file_format >= 200).
9058 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9060 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9062 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9064 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9066 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9068 * BufferView_pimpl.C:
9075 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9076 inset and code to make it work with the paragraph code. The inset
9077 can be anywhere in the paragraph, but will only do the expected
9078 thing in LaTeX if the layout file contains the parameter line
9080 (or more generally, a nonzero value) for that layout.
9082 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9084 * paragraph.h: remove the declaration of undefined counters class
9087 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9089 * text2.C (setCounter): fixed enumeration mis-count as reported by
9090 Dr. Richard Hawkins.
9092 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9094 * paragraph_funcs.h: remove some unneeded includes
9096 * text.C (backspace): pasteParagraph now in global scipe
9098 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9099 (pasteSelection): ditto
9101 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9102 * paragraph_funcs.C (pasteParagraph): ... here
9104 2002-08-20 André Pönitz <poenitz@gmx.net>
9106 * commandtags.h: new LFUNs for swapping/copying table row/colums
9109 * lyxfunc.C: support for new lfuns
9111 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9114 * buffer.[Ch]: remove NO_COMPABILITY stuff
9116 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9118 * boost.C (throw_exception): new file, with helper function for
9119 boost compiled without exceptions.
9124 * ParameterStruct.h:
9125 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9127 * bufferlist.C (emergencyWriteAll): use boost bind
9129 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9131 * text.C: include paragraph_funcs.h
9132 (breakParagraph): breakParagraph is now in global scope
9134 * paragraph_funcs.[Ch]: new files
9136 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9139 * buffer.C: include paragraph_funcs.h
9140 (insertStringAsLines): breakParagraph is now in global scope
9142 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9145 * CutAndPaste.C: include paragraph_funcs.h
9146 (cutSelection): breakParagraphConservative is now in global scope
9147 (pasteSelection): ditto
9149 * buffer.h: declare oprator== and operator!= for
9150 Buffer::inset_iterator
9152 * bufferlist.C (emergencyWrite): don't use fmt(...)
9154 * text3.C: add using std::endl
9156 * BufferView.C (moveCursorUpdate): remove default arg
9158 2002-08-20 André Pönitz <poenitz@gmx.net>
9160 * buffer.[Ch]: move inline functions to .C
9163 * BufferView_pimpl.C:
9165 * buffer.[Ch]: use improved inset_iterator
9168 * paragraph.[Ch]: write one paragraph at a time
9170 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9172 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9173 style if style is not specified.
9175 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9177 * text2.C (setCounter): when searching for right label for a
9178 caption, make sure to recurse to parent insets (so that a caption
9179 in a minipage in a figure float works) (bug #568)
9181 2002-08-20 André Pönitz <poenitz@gmx.net>
9183 * text3.C: new file for LyXText::dispatch() and helpers
9185 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9187 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9189 2002-08-19 André Pönitz <poenitz@gmx.net>
9192 * text.C: new LyXText::dispatch()
9194 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9196 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9198 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9200 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9203 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9205 * Makefile.am: use $(variables) instead of @substitutions@
9207 2002-08-15 André Pönitz <poenitz@gmx.net>
9210 * BufferView_pimpl.C: streamlining mathed <-> outer world
9214 * LyXAction.C: remove unused LFUN_MATH
9216 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9218 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9220 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9222 * paragraph.C (Paragraph): reformat a bit
9223 (cutIntoMinibuffer): use builtin InsetList function instad of
9227 * buffer.C: include boost/bind.hpp, add using std::for_each
9228 (writeFileAscii): use ParagraphList iterators
9229 (validate): use for_each for validate traversal of paragraphs
9230 (getBibkeyList): use ParagraphList iterators
9231 (resizeInsets): use for_each to resizeInsetsLyXText for all
9233 (getParFromID): use ParagraphList iterators
9235 * BufferView2.C (lockInset): use paragraph list and iterators
9237 2002-08-14 John Levon <levon@movementarian.org>
9239 * lyxserver.C: remove spurious xforms include
9241 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9243 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9245 2002-08-13 André Pönitz <poenitz@gmx.net>
9248 * lyxfunc.C: further cleaning
9250 2002-08-13 André Pönitz <poenitz@gmx.net>
9252 * funcrequest.h: new constructor
9254 * funcrequest.C: move stuff here from .h
9257 * BufferView_pimpl.C:
9260 * lyxfunc.C: subsequent changes
9262 * lyxfunc.h: new view() member function
9264 * lyxfunc.C: subsequent changes
9266 2002-08-13 Angus Leeming <leeming@lyx.org>
9269 * BufferView_pimpl.C:
9277 changes due to the changed LyXView interface that now returns references
9278 to member variables not pointers.
9280 2002-08-13 Angus Leeming <leeming@lyx.org>
9282 * WordLangTuple (word, lang_code): return references to strings,
9287 * lyxtext.h: forward-declare WordLangTuple.
9292 * text.C: #include "WordLangTuple.h".
9295 * text.C: (selectNextWordToSpellcheck): constify return type.
9297 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9303 * paragraph_pimpl.h:
9306 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9308 Made updateCounter always count from start of buffer, and removed
9309 second argument (par).
9310 Reverted floats number display to '#'. Perhaps I'll try again when the
9311 code base is sanitized a bit.
9313 2002-08-12 Angus Leeming <leeming@lyx.org>
9315 * buffer.[Ch] (getLabelList): constify.
9317 2002-08-07 André Pönitz <poenitz@gmx.net>
9319 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9321 * funcrequest.h: extension to keep mouse (x,y) position
9323 2002-08-12 Juergen Vigna <jug@sad.it>
9325 * BufferView2.C (insertErrors): forbid undo when inserting error
9328 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9330 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9332 * ParagraphList.[Ch]: new files
9334 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9336 * BufferView2.C (lockInset): ParagraphList changes
9339 * bufferlist.C: ditto
9343 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9345 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9346 unused class variable counter_,
9348 * paragraph.[Ch] (getFirstCounter): delete unused function
9350 * counters.C: include LAssert.h
9351 (reset): add a new function with no arg, change other version to
9352 not have def. arg and to not allow empty arg.
9354 * text2.C (setCounter): remove empty arg from call to Counters::reset
9356 2002-08-11 John Levon <levon@movementarian.org>
9358 * Makefile.am: add WordLangTuple.h
9360 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9362 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9363 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9365 * insets/insettext.C: InsetList changes
9367 * graphics/GraphicsSupport.C (operator()): InsetList changes
9369 * toc.C (getTocList): InsetList changes
9371 * paragraph_pimpl.[Ch]: InsetList changes
9373 * paragraph.[Ch]: InsetList changes
9375 * buffer.C (inset_iterator): InsetList changes
9376 (setParagraph): ditto
9377 * buffer.h (inset_iterator): ditto
9378 * iterators.C (operator++): ditto
9379 * iterators.h: ditto
9381 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9383 * InsetList.[Ch]: new files, most InsetList handling moved out of
9386 * BufferView2.C (removeAutoInsets): InsetList changes
9388 (ChangeInsets): ditto
9390 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9392 * paragraph_pimpl.h (empty): new function
9394 * paragraph.[Ch] (empty): new function
9396 * other files: use the new Paragraph::empty function
9398 2002-08-09 John Levon <levon@movementarian.org>
9400 * lyxtext.h: remove unused refresh_height
9402 2002-08-09 John Levon <levon@movementarian.org>
9409 * paragraph.C: move sgml char escaping out of paragraph
9412 * paragraph.C: remove id setter
9416 * paragraph_pimpl.C: remove dead tex_code_break_column
9418 * bufferview_funcs.C: small cleanup
9420 * lyxfunc.C: remove dead proto
9422 * lyxtext.h: make some stuff private. Remove some dead stuff.
9424 * lyxgluelength.C: make as[LyX]String() readable
9426 2002-08-08 John Levon <levon@movementarian.org>
9431 * ToolbarDefaults.C:
9434 * toc.C: lyxaction cleanup
9436 2002-08-08 John Levon <levon@movementarian.org>
9438 * BufferView2.C: small cleanup
9441 * lyxfind.C: move unnecessary header into the .C
9443 2002-08-08 John Levon <levon@movementarian.org>
9445 * funcrequest.h: just tedious nonsense
9448 * lyx_main.C: cleanups
9451 * vspace.C: remove dead header lyx_main.h
9453 2002-08-07 Angus Leeming <leeming@lyx.org>
9456 * paragraph_pimpl.h:
9457 Forward declare class Counters in paragraph.h by moving the ctrs member
9458 variable into Paragraph::Pimpl.
9459 (counters): new method, returning a reference to pimpl_->ctrs.
9461 * text2.C: ensuing changes.
9463 2002-08-07 John Levon <levon@movementarian.org>
9465 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9467 * BufferView_pimpl.C: announce X selection on double/triple
9470 * lyx_main.C: use correct bool in batch dispatch
9472 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9474 2002-08-07 André Pönitz <poenitz@gmx.net>
9476 * funcrequest.h: new class to wrap a kb_action and its argument
9479 * BufferView_pimpl[Ch]:
9483 * lyxrc.C: subsequent changes
9486 2002-08-07 John Levon <levon@movementarian.org>
9488 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9489 document options change.
9491 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9496 * makefile.am: move counters functionality over from
9497 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9499 2002-08-06 John Levon <levon@movementarian.org>
9501 * WordLangTuple.h: new file for word + language code tuple
9512 * BufferView2.C: use WordLangTuple
9515 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9517 2002-08-06 John Levon <levon@movementarian.org>
9519 * lyx_main.C: fix cmdline batch handling
9521 2002-08-06 André Pönitz <poenitz@gmx.net>
9523 * lyxrc.C: set default for show_banner to true
9525 2002-08-06 John Levon <levon@movementarian.org>
9527 * pspell.C: fix a crash, and allow new aspell to work
9529 2002-08-06 John Levon <levon@movementarian.org>
9532 * kbmap.C: small cleanup
9535 * vspace.C: add const
9537 2002-08-05 John Levon <levon@movementarian.org>
9539 * LyXAction.C: back to tabular-insert
9541 2002-08-04 John Levon <levon@movementarian.org>
9544 * BufferView.C: cosmetic change
9546 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9556 * BufferView2.C: purge all "Lyx" not "LyX" strings
9559 * lyxcursor.C: attempt to add some documentation
9564 * ToolbarDefaults.C:
9565 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9566 merge with LFUN_TABULAR_INSERT
9573 * pspell.C: split up i/pspell implementations into separate
9574 files, many cleanups
9576 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9578 * text2.C: some cleanup
9580 * lyxfunc.C: don't check for isp_command == "none" any more, it
9581 didn't make any sense
9583 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9588 * makefile.am: move counters functionality over
9589 from text2.C/paragraph.[Ch] to counters.[Ch], and
9591 2002-08-02 John Levon <levon@movementarian.org>
9593 * buffer.C: s/lyxconvert/lyx2lyx/
9595 2002-08-02 Angus Leeming <leeming@lyx.org>
9597 * lyxlex.C: revert John's change as it breaks reading of the user
9600 2002-08-02 Angus Leeming <leeming@lyx.org>
9602 * importer.C (Import):
9603 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9604 changes due to LyXView::view() now returning a boost::shared_ptr.
9606 2002-08-02 John Levon <levon@movementarian.org>
9608 * lyxlex.C: small cleanup
9610 2002-08-02 John Levon <levon@movementarian.org>
9612 * text2.C (status): small cleanup, no logic change
9614 2002-08-01 John Levon <levon@movementarian.org>
9617 * buffer.C (writeFile): don't output alerts, caller
9621 * lyx_cb.C: from above
9623 * lyxfunc.C: allow to open non-existent files
9625 2002-07-31 John Levon <levon@movementarian.org>
9627 * lyxserver.C: don't let incidental errors get
9630 2002-07-30 John Levon <levon@movementarian.org>
9632 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9634 2002-07-30 John Levon <levon@movementarian.org>
9637 * lyxserver.C: remove I/O callback too
9639 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9641 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9644 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9646 * many files: strip,frontStrip -> trim,ltrim,rtrim
9648 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9650 * PrinterParams.h: remove extern containsOnly, and include
9651 support/lstrings.h instead.
9653 * LaTeX.C (scanAuxFile): modify because of strip changes
9655 * buffer.C (makeLaTeXFile): ditto
9656 * bufferparams.C (writeFile): ditt
9657 * lyxfont.C (stateText): ditto
9658 * lyxserver.C (read_ready): ditto
9659 * vc-backend.C (scanMaster): ditto
9661 * BufferView_pimpl.h: ws changes
9663 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9665 2002-07-26 André Pönitz <poenitz@gmx.net>
9667 * kb_sequence.C: remove unnedred usings
9669 2002-07-26 Juergen Vigna <jug@sad.it>
9671 * lyxfind.C (LyXReplace): we have to check better if the returned
9672 text is not of theLockingInset()->getLockingInset().
9674 2002-07-25 Juergen Vigna <jug@sad.it>
9676 * lyxfind.C (LyXReplace): don't replace if we don't get the
9679 * undo_funcs.C (createUndo): remove debugging code.
9681 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9683 * buffer.C (parseSingleLyXformat2Token): Use default placement
9684 when reading old floats.
9686 * FloatList.C (FloatList): Change the default placement of figure
9687 and tables to "tbp".
9689 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9691 * MenuBackend.C: using std::max
9693 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9695 * MenuBackend.C (expandToc):
9696 (expandToc2): code moved from xforms menu frontend. It is now
9697 generic and TOCs are transparent to menu frontends.
9699 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9701 * toc.C (getTocList): protect against buf=0
9703 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9704 Menu as first parameter. Now, this calls itself recursively to
9705 expand a whole tree (this will be useful for TOC handling)
9706 (expandFloatInsert): remove 'wide' version of floats
9708 * MenuBackend.h (submenuname): returns the name of the submenu.
9709 (submenu): returns the submenu itself, provided it has been
9710 created by MenuBackend::expand
9712 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9714 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9715 insets which have noFontChange == true. (bug #172)
9717 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9719 * BufferView_pimpl.C: add connection objects and use them...
9722 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9724 * MenuBackend.C (expandLastfiles):
9727 (expandFloatListInsert):
9728 (expandFloatInsert):
9729 (expand): split expand in parts
9731 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9733 * lyx_gui.C: use lyx_gui::exit()
9735 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9737 * LyXAction.C: show the failing pseudo action
9739 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9741 * buffer.C (readFile): Run the lyxconvert script in order to read
9744 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9748 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9750 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9754 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9756 2002-07-22 Herbert Voss <voss@lyx.org>
9759 * lyxlength.[Ch]: add support for the vertical lengths
9761 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9763 * toc.[Ch]: std:: fixes
9765 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9767 * lyxrc.C: do not include lyx_main.h
9769 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9775 * BufferView2.C: include "lyxlex.h"
9778 * bufferparams.h: do not #include "lyxlex.h"
9780 * lyxtextclasslist.C (Add): remove method
9781 (classlist): renamed to classlist_
9783 * paragraph_pimpl.C:
9787 * bufferview_funcs.C:
9792 * toc.C (getTocList): use BufferParams::getLyXTextClass
9794 * toc.C (getTocList): use InsetFloat::addToToc
9796 * toc.[Ch]: new files, containing helper functions to handle table
9799 * lyxfunc.C (dispatch): no need to remove spaces around command
9801 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9802 first command of the sequence; it is not very clever, but I do not
9803 have a better idea, actually
9805 * LyXAction.C (LookupFunc): make sure to remove space at the
9806 beginning and end of the command
9808 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9810 * MenuBackend.C (getMenubar): new method: return the menubar of
9812 (read): treat differently reading of menu and menubar (in
9813 particular, the menubar has no name now)
9814 (Menu::menubar): remove
9816 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9819 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9821 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9822 a bibitem inset in a RTL paragraph.
9824 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9826 * paragraph_pimpl.C: constify
9828 * BufferView_pimpl.C:
9830 * lyxfunc.C: fix dispatch in a nicer way
9832 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9834 * lyxfunc.C (dispatch):
9835 * BufferView_pimpl.C:
9836 * BufferView_pimpl.h:
9838 * BufferView.h: rename Dispatch() to dispatch()
9840 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9842 * lyxlayout.C (Read): honor DependsOn tag
9844 * lyxlayout.[Ch] (depends_on): new method
9846 * version.C.in: update lyx_docversion
9848 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9850 * paragraph.C (validate): remove from here...
9851 * paragraph_pimpl.C (validate): ... and move here
9852 (isTextAt): make it const
9854 * buffer.C (getLists): ws cleanup
9856 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9858 * language.C (read): Use iso8859-1 encoding in latex_lang
9859 (this prevents LyX from crashing when using iso10646-1 encoding).
9861 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9863 * text2.C (toggleInset): if cursor is inside an inset, close the
9864 inset and leave cursor _after_ it
9866 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9868 * lyxfunc.C: move minibuffer completion handling out of here
9870 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9872 * BufferView_pimpl.C:
9873 * LaTeX.C: fix dispatch calls
9875 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9877 * text.C (drawChars): Fix Arabic text rendering.
9879 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9883 * lyxfunc.C: remove message-push/pop
9887 * lyxfunc.C: rationalise some code by removing verboseDispatch
9888 in favour of a bool argument to dispatch()
9890 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9892 * lyx_main.C (init): make sure to read symlinks as absolute paths
9894 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9897 * lyxfunc.C: no need for commandshortcut to be a member
9899 2002-07-15 André Pönitz <poenitz@gmx.net>
9901 * converter.C: add support for $$s (scripts from lib/scripts dir)
9902 * lyx_main.C: white space
9904 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9908 * lyxrc.C: remove second exit confirmation
9910 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9915 * BufferView_pimpl.h:
9916 * BufferView_pimpl.C:
9917 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9919 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9921 * MenuBackend.C (expand): add numeric shortcuts to document menu
9923 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9925 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9927 * lyxfont.C (setLyXFamily):
9934 * buffer.C (asciiParagraph): use ascii_lowercase
9936 2002-07-15 Mike Fabian <mfabian@suse.de>
9938 * lyxlex_pimpl.C (search_kw):
9939 * lyxlex.C (getLongString):
9940 * converter.h (operator<):
9941 * converter.C (operator<):
9942 * buffer.C (parseSingleLyXformat2Token):
9944 * ToolbarDefaults.C (read):
9945 * MenuBackend.C (checkShortcuts):
9947 * LColor.C (getFromGUIName):
9948 (getFromLyXName): use the compare_ascii_no_case instead of
9949 compare_no_case, because in turkish, 'i' is not the lowercase
9950 version of 'I', and thus turkish locale breaks parsing of tags.
9952 2002-07-16 Angus Leeming <leeming@lyx.org>
9954 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9955 now takes a Buffer const & argument.
9957 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9959 * BufferView.C (resize): check there's a buffer to resize
9961 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9963 * lyxfunc.C: remove dead code
9966 * lyxserver.C: use lyx_guii::set_read_callback
9968 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9970 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9971 an inset in a RTL paragraph.
9973 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9975 * lyxfunc.C: repaint after a font size update
9977 2002-07-15 André Pönitz <poenitz@gmx.net>
9979 * lyxlength.C: inBP should be able to return negative values
9981 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9983 * lyxfunc.C: use lyx_gui::update_fonts()
9985 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9987 * lyxfunc.C: use lyx_gui::update_color()
9989 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9995 * lyxrc.C: remove file->new asks for name option, and let
9996 buffer-new take an argument
9998 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10000 * BufferView_pimpl.C: remove unneeded extra repaint()
10002 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10004 * LyXAction.C: allow command-sequence with NoBuffer
10006 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10008 2002-07-10 Angus Leeming <leeming@lyx.org>
10010 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10012 2002-07-09 Angus Leeming <leeming@lyx.org>
10014 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10016 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10018 * lengthcommon.h: whitespace
10020 * lyxfunc.C: update scrollbar after goto paragraph
10022 * lyxtext.h: factor out page break drawing, and fix it so
10023 page break/added space paints as selected nicely
10025 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10027 * BufferView_pimpl.C: add FIXMEs, clean up a little
10029 2002-07-09 André Pönitz <poenitz@gmx.net>
10031 * lyxfont.[Ch]: support for wasy symbols
10033 2002-07-08 André Pönitz <poenitz@gmx.net>
10035 * BufferView_pimpl.C: apply John's patch for #93.
10037 2002-07-05 Angus Leeming <leeming@lyx.org>
10039 * BufferView_pimpl.C (buffer): generate previews if desired.
10041 * LColor.h: add "preview" to the color enum.
10043 * LColor.C (LColor): add a corresponding entry to the items array.
10045 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10048 2002-07-05 Angus Leeming <leeming@lyx.org>
10050 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10051 The body of the code is now in the method that is passed an ostream &
10052 rather than a file name.
10053 Pass an additional only_preamble parameter, useful for the forthcoming
10056 2002-07-03 André Pönitz <poenitz@gmx.net>
10058 * lyxfunc.C: simplify getStatus() a bit for math stuff
10060 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10062 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10064 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10066 * text.C (changeRegionCase): do not change case of all the
10067 document when region ends at paragraph end (bug #461)
10069 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10071 * paragraph.C (startTeXParParams):
10072 (endTeXParParams): add \protect when necessary
10074 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10076 * BufferView_pimpl.C (workAreaExpose): remove warning
10078 2002-06-27 Angus Leeming <leeming@lyx.org>
10080 * Makefile.am: add lyxlayout_ptr_fwd.h.
10082 2002-06-26 André Pönitz <poenitz@gmx.net>
10084 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10086 2002-06-25 Angus Leeming <leeming@lyx.org>
10088 * lyxfunc.C (dispatch): Comment out the call to
10089 grfx::GCache::changeDisplay. The method no longer exists now that the
10090 pixmap generation part of the graphics loader has been moved into
10093 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10095 * text2.C: layout as layout
10097 * text.C: layout as layout
10099 * tabular.C (OldFormatRead): layout as layout
10101 * paragraph_pimpl.C (TeXDeeper): layout as layout
10102 (realizeFont): layout as layout
10104 * paragraph.C (writeFile): layout as layout
10105 (validate): layout as layout
10106 (getFont): layout as layout
10107 (getLabelFont): layout as layout
10108 (getLayoutFont): layout as layout
10109 (breakParagraph): layout as layout
10110 (stripLeadingSpaces): layout as layout
10111 (getEndLabel): layout as layout
10112 (getMaxDepthAfter): layout as layout
10113 (applyLayout): layout as layout
10114 (TeXOnePar): layout as layout
10115 (simpleTeXOnePar): layout as layout
10116 (TeXEnvironment): layout as layout
10117 (layout): layout as layout
10118 (layout): layout as layout
10120 * lyxtextclass.C (compare_name): new functor to work with
10121 shared_ptr, layout as layout
10122 (Read): layout as layout
10123 (hasLayout): layout as layout
10124 (operator): layout as layout
10125 (delete_layout): layout as layout
10126 (defaultLayout): layout as layout
10128 * lyxlayout_ptr_fwd.h: new file
10130 * lyxlayout.C (Read): layout as layout
10132 * lyx_cb.C (MenuInsertLabel): layout as layout
10134 * bufferlist.C (newFile): layout as layout
10136 * buffer.C (readLyXformat2): layout as layout
10137 (parseSingleLyXformat2Token): layout as layout
10138 (insertStringAsLines): layout as layout
10139 (asciiParagraph): layout as layout
10140 (latexParagraphs): layout as layout
10141 (makeLinuxDocFile): layout as layout
10142 (simpleLinuxDocOnePar): layout as layout
10143 (makeDocBookFile): layout as layout
10144 (simpleDocBookOnePar): layout as layout
10145 (getLists): layout as layout
10147 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10149 * CutAndPaste.C (cutSelection): layout as layout
10150 (pasteSelection): layout as layout
10151 (SwitchLayoutsBetweenClasses): layout as layout
10153 * BufferView_pimpl.C (Dispatch): layout as layout
10154 (smartQuote): layout as layout
10156 * BufferView2.C (unlockInset): layout as layout
10158 2002-06-24 André Pönitz <poenitz@gmx.net>
10160 * lyxfunc.C: fix #487
10162 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10166 * lyxfunc.C: remove display_shortcuts, show_banner
10168 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10170 * Buffer_pimpl.C: oops, update on resize
10172 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10179 * BufferView.C: use repaint()
10181 * BufferView_pimpl.h:
10182 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10183 as it's a clearer description. Remove superfluous
10186 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10188 * text.C: fix bug 488. Not ideal, but getting
10189 getWord() to work properly for the insets that
10190 matter is more difficult ...
10192 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10194 * BufferView_pimpl.C:
10197 * lyxfunc.C: remove the six million index lyxfuncs to just
10198 one, and DTRT (bug 458)
10200 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10204 * BufferView_pimpl.h:
10205 * BufferView_pimpl.C: clean up resize() stuff,
10206 and unnecessary updateScreen()s
10208 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10212 * BufferView_pimpl.h:
10213 * BufferView_pimpl.C:
10216 * minibuffer.C: remove focus management of workarea,
10217 not needed. Use screen's greyOut()
10219 2002-06-17 Herbert Voss <voss@lyx.org>
10221 * converter.C: (convert) do not post a message, when converting
10222 fails, let the calling function decide what to do in this case
10224 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10226 * lyxfunc.C: tidy up a little
10228 2002-06-16 <alstrup@diku.dk>
10230 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10231 Got rid of FORMS_H_LOCATION include. Now we are
10234 2002-06-15 LyX Development team <lyx@rilke>
10236 * buffer.[Ch] (sgmlOpenTag):
10237 (sgmlCloseTag): Added support for avoiding pernicious mixed
10238 content. Return number of lines written.
10240 (makeLinuxDocFile):
10241 (makeDocBookFile): Fixed calls to sgml*Tag.
10242 Simple white space clean.
10244 (simpleDocBookOnePar): Simple white space clean.
10246 * tabular.[Ch] (docBook): Renamed to docbook and got another
10247 argument to related with the pernicious mixed content.
10249 (docbookRow): Fixed calls for docbook inset method.
10251 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10253 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10254 so it's X11 independent.
10258 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10260 2002-06-15 Lyx Development team <lyx@electronia>
10262 * intl.h: Renamed getTrans to getTransManager.
10264 2002-06-14 Angus Leeming <leeming@lyx.org>
10266 * Makefile.am: nuke forgotten stl_string_fwd.h.
10268 2002-06-12 Angus Leeming <leeming@lyx.org>
10270 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10272 2002-06-13 Angus Leeming <leeming@lyx.org>
10275 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10277 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10279 * kbmap.C (getiso): add support for cyrillic and greek
10281 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10285 * BufferView_pimpl.h:
10286 * BufferView_pimpl.C: move bogus scrolling logic
10289 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10292 * BufferView_pimpl.C: view->resize() change
10294 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10296 * BufferView_pimpl.C: topCursorVisible
10299 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10303 * lyx_gui.C: move to frontends/
10307 * lyx_main.C: changes from above
10309 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10316 * lyx_main.C: minor tidy
10318 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10320 * BufferView_pimpl.h:
10321 * BufferView_pimpl.C:
10323 * BufferView.C: make painter() const,
10326 * BufferView2.C: use screen() accessor
10329 * lyx_main.C: some minor cleanup
10331 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10333 * BufferView_pimpl.h:
10334 * BufferView_pimpl.C: remove enter/leaveView,
10337 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10342 * BufferView_pimpl.h:
10343 * BufferView_pimpl.C: only construct screen once,
10346 * lyxrc.C: remove pointless comment
10348 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10351 * BufferView.C: remove active() and belowMouse()
10353 * BufferView_pimpl.h:
10354 * BufferView_pimpl.C: use workarea() not workarea_,
10355 and make it use a scoped_ptr instead
10357 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10359 * lyx_gui.C: add debug message on BadWindow
10361 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10363 * sp_spell.C: fdopen is not part of the C++ standard.
10365 * paragraph.C (InsetIterator): use >= instead of ==
10367 2002-06-07 Angus Leeming <leeming@lyx.org>
10369 Fixes needed to compile with Compaq cxx 6.5.
10370 * BufferView_pimpl.C:
10377 * lyxtextclasslist.C:
10382 all c-library variables have been moved into namespace std. Wrap
10383 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10388 Add a using std::abs declaration.
10390 * kbmap.h (modifier_pair):
10391 * paragraph.h (InsetTable, InsetList):
10392 * lyxfont.h (FontBits):
10393 type definition made public.
10395 * bufferlist.C (emergencyWriteAll): the compiler complains that
10396 there is more than one possible lyx::class_fun template to choose from.
10397 I re-named the void specialisation as lyx::void_class_fun.
10399 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10401 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10402 the compiler is is unable to find tostr in write_attribute.
10404 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10406 * buffer.C (sgmlError): hide #warning
10408 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10410 * xtl/*: get rid of xtl, which is not in use anyway
10412 * LyXAction.C (init):
10413 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10414 were unimplemented xtl experimentation
10416 2002-06-04 André Pönitz <poenitz@gmx.net>
10418 * lyxfunc.C: disable array operation on simple formulae
10420 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10422 * converter.C: constify a bit
10424 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10426 * lyx_gui.C: check xforms version correctly
10428 2002-04-30 Herbert Voss <voss@lyx.org>
10430 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10433 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10435 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10436 attempt to register it with a VCS)
10438 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10440 * lyx_main.C (init): honor variables LYX_DIR_13x and
10443 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10447 * lyx_main.C: fix a crash on bad command line,
10448 and give a useful exit status on error
10450 * lyxfunc.C (doImport): allow -i lyx to work
10452 2002-03-30 André Pönitz <poenitz@gmx.net>
10454 * lyxfunc.C: mathed font changes
10456 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10471 * trans_mgr.h: srcdocs, and some minor cleanups
10473 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10475 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10476 call getFont all the time)
10478 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10480 * switch from SigC signals to boost::signals
10482 2002-05-29 André Pönitz <poenitz@gmx.net>
10484 * paragraph_pimpl.C (getChar): don't call size() too often...
10486 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10488 * paragraph_pimpl.C (insertChar): do not try to update tables when
10489 appending (pos == size())
10491 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10492 in order to reduce drastically the number of comparisons needed to
10493 parse a large document
10495 2002-05-29 André Pönitz <poenitz@gmx.net>
10501 * textclasslist.[Ch]:
10502 * sp_ispell.h: whitespace change
10504 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10506 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10507 lyxaction directly now.
10509 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10513 * lyxvc.C: remove unused headers
10515 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10522 * undo_funcs.C: some cleanups. Use shared_ptr
10523 and a template for the undo stacks.
10525 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10527 * BufferView_pimpl.h:
10528 * BufferView_pimpl.C:
10535 * text2.C: use key_state/mouse_state
10537 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10539 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10542 * chset.C: change include order
10543 (loadFile): use boost regex and get rid of LRegex and LSubstring
10545 * Makefile.am (BOOST_LIBS): new variable
10546 (lyx_LDADD): use it
10548 * LaTeX.C: change include order.
10549 (scanAuxFile): use boost regex and get rid of LRegex and
10553 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10558 * FontInfo.C: moved to frontends/xforms/
10561 * FontLoader.C: moved into frontends for GUIIzation
10566 * lyxfunc.C: changes from above
10568 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10570 * LColor.C: remove spurious X include
10572 * BufferView_pimpl.C:
10577 * text2.C: move font metrics to frontends/
10579 2002-05-24 Juergen Vigna <jug@sad.it>
10581 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10582 setting the undo_cursor.
10584 * ParagraphParameters.h: include local includes first.
10586 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10588 * BufferView_pimpl.C:
10589 * BufferView_pimpl.h:
10593 * screen.C: move WorkArea into frontends/
10599 * BufferView2.C: move LyXScreen into frontends/
10603 * lyx_gui.C: move lyxlookup into frontends/xforms/
10605 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10608 * BufferView_pimpl.C:
10618 * bufferview_funcs.C:
10631 * vc-backend.C: move LyX/XFormsView into frontends/
10633 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10645 * text2.C: move Painter to frontends/
10647 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10649 * buffer.C: comment out some some code that depend upon lyx_format
10652 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10653 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10655 * buffer.h (NO_COMPABILITY): turn off compability
10657 * ColorHandler.C: include scoped_array.hpp
10659 * font.C: Use more specific smart_ptr header.
10662 * ShareContainer.h: ditto
10663 * lyx_main.h: ditto
10665 * FontInfo.h: ditto
10666 * BufferView_pimpl.h: ditto
10667 * ColorHandler.h: ditto
10669 * kbmap.C (defkey): change call to shared_ptr::reset
10671 2002-05-21 Juergen Vigna <jug@sad.it>
10673 * buffer.C (insertErtContents): fix to insert ert asis if it is
10674 non empty. Skip it completely if it contains only whitespaces.
10676 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10678 * BufferView_pimpl.C:
10679 * BufferView2.C: clear selection on paste (bug 393)
10681 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10683 * DepTable.C: include ctime
10685 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10687 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10689 2002-05-14 Juergen Vigna <jug@sad.it>
10691 * text.C (breakParagraph): fixed function to honor the keepempty
10692 layout in the right maner and also to permit the right breaking
10693 algorithm on empty or non empyt keepempty paragraphs.
10695 * paragraph.C (breakParagraph): we have to check also if the par
10696 is really empty (!size()) for isempty otherwise we do the wrong
10699 2002-05-10 Juergen Vigna <jug@sad.it>
10701 * buffer.[Ch] : The following are only changes to the ert
10702 compatibility read reading old LaTeX layout and font stuff and
10703 convert it to ERTInsets.
10705 * buffer.h: added isErtInset().
10707 * buffer.C (struct ErtComp): add a fromlayout bool to check
10708 if we're inside a LaTeX layout.
10709 (isErtInset): new helper function.
10710 (insertErtContents): look for other ert insets before this one
10711 and insert the contents there, so that we don't have subsequent
10712 ERT insets with nothing between them. This way we create only one
10713 inset with multiple paragraphs. Also check if we don't insert only
10714 spaces ' ' as they are ignored anyway afterwards in the .tex file
10715 so if we have only spaces we will ignore this latex part in the
10717 (parseSingleLyXformat2Token \\layout): better compatibility when
10718 reading layout-latex stuff.
10719 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10721 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10722 stuff after reading the inset only get the information back from
10725 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10727 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10729 * LaTeXFeatures.C (getBabelOptions): New method.
10731 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10733 * BufferView_pimpl.C (Dispatch): work around missing argument for
10736 2002-05-08 Juergen Vigna <jug@sad.it>
10738 * text.C (leftMargin): handle paragraph leftindent.
10740 * paragraph.C (writeFile): write the new \\leftindent tag.
10741 (validate): handle leftindent code.
10742 (TeXEnvironment): handle paragraphleftindent code again.
10744 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10746 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10747 for paragrap_extra indent code and new token \\leftindent.
10748 (latexParagraphs): handle the leftindent as environment.
10750 * ParameterStruct.h: added leftindent support.
10752 * ParagraphParameters.C (leftIndent): added support functions for
10753 the paragraph left indent.
10755 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10758 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10760 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10763 * text.C (computeBidiTables): No bidi in insetERT.
10765 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10768 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10770 * version.C.in: pre 5
10772 2002-05-02 José Matos <jamatos@fep.up.pt>
10773 * buffer.C (makeDocBookFile): white space changes, add newline to
10775 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10777 * tabular.C (docBook): fix typo.
10779 2002-05-03 Juergen Vigna <jug@sad.it>
10781 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10782 change in LyXText as we can not be sure it was not freed.
10783 (drawOneRow): remove unused code.
10785 * text.C (drawInset): redo the calculation of the need_break_row as
10786 it could have a row which was already freed.
10787 (draw): look at the return value of drawInset and return false if
10788 it also returned false.
10789 (paintRowText): look at the return value of draw and return false if
10790 it also returned false.
10792 * lyxtext.h: added bool return type to drawInset() and draw() so that
10793 if we have a change in the row so that the rowbreak has to be redone
10794 we abort drawing as it will be called again.
10796 2002-05-02 Juergen Vigna <jug@sad.it>
10798 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10799 a change in the maintext also if we're inside an inset.
10800 (Dispatch): set the cursor again after a break line and after the
10801 screen has been updated as it could be we're in a different row.
10803 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10804 to set the cursor behind the pargraph with > size().
10805 (setCursor): check also for the same paragraph when checking where
10806 to put the cursor if we have a NFR inset.
10808 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10809 parts of layout read further up as it still was in the wrong
10812 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10814 * screen.C (drawFromTo): change sine fullRebreak always return
10817 * buffer.C (parseSingleLyXformat2Token): reindent some
10819 * BufferView_pimpl.C (update): change since fullRebreak always
10821 (Dispatch): git rid of the last hardcoded "Standard"s.
10823 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10825 * text2.[Ch] (fullRebreak): make it return void now that we always
10828 2002-04-30 Juergen Vigna <jug@sad.it>
10830 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10831 ert compatibility check for "latex" layout.
10833 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10835 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10836 minipages: use col% instead of p%, and also use the current font.
10837 (makeLaTeXFile): Fix use babel condition.
10838 (parseSingleLyXformat2Token): Correct font when reading old floats.
10840 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10842 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10843 inserting list of floats.
10845 2002-04-25 Herbert Voss <voss@lyx.org>
10847 * MenuBackend.C (expand): don't add the graphics extensions to the
10850 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10852 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10853 non-existing layout, do not complain if it was the default layout
10854 of the original class (bug #342)
10856 2002-04-24 Juergen Vigna <jug@sad.it>
10858 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10859 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10861 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10863 * buffer.C (getBibkeyList): If using \bibliography, return the
10864 option field with the reference itself. Enables us to provide natbib
10865 support when using \bibliography.
10867 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10869 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10871 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10872 natbib is provided by the LaTeX class.
10874 2002-04-23 Juergen Vigna <jug@sad.it>
10876 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10879 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10881 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10883 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10885 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10886 ensuremath around textordmasculine, textordfeminine and
10889 2002-04-19 Juergen Vigna <jug@sad.it>
10891 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10892 reinitializing the buffer otherwise row-dimensions may be wrong.
10893 (update): reset also the selection cursors if they do exits otherwise
10894 their x/y positions may be wrong.
10896 * text2.C (cursorDown): don't enter the inset if we came from a row
10897 above and are one row over the inset.
10899 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10900 really leaving an inset.
10902 2002-04-18 Juergen Vigna <jug@sad.it>
10904 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10905 of the selected paragraph does not have the selected layout also if
10908 * text2.C (setLayout): fixed bug which did not change last selected
10911 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10912 changed the read and substituted \\end_float with \\end_inset!
10914 * BufferView_pimpl.C (cursorPrevious):
10915 (cursorNext): fixed to make it work with rows heigher than the work
10916 area without moving the cursor only the draw of the row.
10917 (workAreaMotionNotify): fix jumping over high rows.
10919 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10921 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10924 2002-04-16 Juergen Vigna <jug@sad.it>
10926 * text2.C (setCursor): set also the irow().
10927 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10929 (cursorDown): support for locking an inset if the x_fix value goes
10930 inside it. That way I can transverse insets too with cursor up/down.
10932 * lyxrow.h: added irow helper function same as other (i) functions.
10934 * BufferView_pimpl.C (cursorPrevious):
10935 (cursorNext): fixed for insets!
10937 2002-04-15 Juergen Vigna <jug@sad.it>
10939 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10940 position otherwise it is wrong in some cases.
10942 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10943 inside the inset before the call.
10945 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10947 * buffer.[Ch] (getBibkeyList): make it const.
10949 2002-04-12 Juergen Vigna <jug@sad.it>
10951 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10953 * text2.C (getCursorX): new helper function
10954 (setCursor): compute also ix_
10955 (setCursorFromCoordinates): set also ix.
10957 * lyxcursor.h: added ix_ and helper functions.
10959 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10961 * buffer.C (insertStringAsLines): dont break paragraph if the this
10962 paragraph is inside an inset which does not permit it!
10964 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10965 also with no chars on this paragraph.
10966 (paintRowText): only paint stuff if it's inside the workarea!
10968 * paragraph.C (breakParagraph): honor keepempty flag and break the
10969 paragraph always below not above.
10971 * BufferView2.C (unlockInset): update the paragraph layout on inset
10972 unlock as we changed paragraph in such a case.
10974 * lyxfind.C (LyXFind): clear the former selection if not found!
10976 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10977 again called in insertChar().
10979 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10980 an inset which uses the whole row!
10981 (rightMargin): ditto.
10982 (insertChar): force a rebreak if we inserted an inset!
10984 2002-03-28 Herbert Voss <voss@lyx.org>
10986 * lyxlength.[Ch]: add inBP() to get the right PS-point
10987 units (BigPoint). With inPixels we have rounding errors
10989 2002-04-11 Juergen Vigna <jug@sad.it>
10991 * text2.C (setCursorFromCoordinates): set iy to the right value.
10992 (setCursor): add check if row->previous exists!
10994 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10995 an old float_type as this was the case in the old code!
10997 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10999 * BufferView2.C (showLockedInsetCursor): use iy
11000 (fitLockedInsetCursor): ditto
11002 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11003 locked insets as there we have the right value now.
11005 * lyxcursor.C: added iy_ variable and iy functions to set to the
11006 baseline of cursor-y of the locked inset.
11008 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11009 (setCursor): fixed for insets which need a full row.
11011 * text.C (rowLastPrintable): don't ignore the last space when before
11012 an inset which needs a full row.
11013 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11014 as last character of a row when before a inset which needs a full row.
11016 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11018 * version.C.in: update date
11020 * text2.C (fullRebreak): try to always return true and see what
11023 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11025 * MenuBackend.C (expand): use Floating::listName
11027 * FloatList.C (FloatList): add listName argument to the built-in
11030 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11031 text associated with the float.
11033 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11035 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11037 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11039 * ShareContainer.h: add a couple of missing typenames.
11041 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11043 * lyxrc.C (getDescription): use _() correctly rather than N_().
11045 2002-03-28 Herbert Voss <voss@lyx.org>
11047 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11048 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11050 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11052 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11053 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11055 2002-03-29 Juergen Vigna <jug@sad.it>
11057 * lyxfunc.C (dispatch): add a missing fitCursor call.
11059 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11060 it was scrolled by a cursor move, so return the bool status.
11062 * BufferView.C (fitCursor): return the bool flag also to the outside
11063 world as this is needed.
11065 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11067 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11068 call the edit() as it is not needed (and wrong) IMO.
11069 (workAreaButtonPress): set the screen_first variable before evt.
11070 unlock the inset as this may change screen_first and then we have
11071 a wrong y position for the click!
11073 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11075 * MenuBackend.C (expand): another translation that I missed
11077 2002-03-28 Juergen Vigna <jug@sad.it>
11079 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11081 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11083 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11085 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11087 * MenuBackend.C (expand): fix export/view/update when there is no
11090 2002-03-27 Herbert Voss <voss@lyx.org>
11092 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11095 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11097 * bufferview_funcs.C (currentState): only show paragraph number
11098 for is DEVEL_VERSION is set.
11100 * lyxfunc.C (dispatch): put warning in INFO channel
11102 * MenuBackend.C (expand): translate the name of floats
11104 * FloatList.C (FloatList): mark the float names for translation
11106 * converter.C (convert): use LibScriptSearch
11108 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11110 * MenuBackend.C (defaults): fix default menu (we might as well get
11113 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11115 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11118 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11120 * lyxvc.C: reorder includes.
11122 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11124 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11127 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11129 * CutAndPaste.C: change layouts earlier on paste
11130 to avoid crashing when calling getFont()
11132 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11134 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11137 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11139 * WorkArea.C: remove 'Pending' debug message.
11141 * most files: ws cleanup
11143 * buffer.[Ch]: ws changes
11145 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11147 2002-03-21 Juergen Vigna <jug@sad.it>
11149 * tabular.C (SetMultiColumn): collapse also the contents of the
11150 cells and set the last border right. Added a Buffer const * param.
11152 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11154 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11157 2002-03-19 Juergen Vigna <jug@sad.it>
11159 * text2.C (clearSelection): reset also xsel_cache.
11161 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11162 where it needs to be called (John tells us to do so too :)
11163 (selectionLost): reset sel_cache.
11165 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11167 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11169 * text2.C (setCursorIntern): put debuging code in INSETS channel
11171 2002-03-19 André Pönitz <poenitz@gmx.net>
11173 * lyxfunc.C: tiny whitespace change
11175 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11177 * ToolbarDefaults.C (init):
11178 * LyXAction.C (init):
11180 * BufferView_pimpl.C (Dispatch):
11181 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11183 2002-03-19 Allan Rae <rae@lyx.org>
11185 * exporter.C (Export): removeAutoInsets before doing anything else.
11186 While I've just introduced a dependency on BufferView this really is
11187 the best place to clean the buffer otherwise you need to cleanup in
11188 a dozen places before calling export or cleanup in a dozen functions
11191 * converter.C (runLaTeX):
11192 (scanLog): Better handling of removeAutoInsets and screen updates.
11194 * lyxfunc.C (dispatch): small whitespace changes
11196 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11198 * WorkArea.C (C_WorkAreaEvent): return a value.
11199 (event_cb): return 1 if we handled the event, 0 otherwise.
11201 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11203 2002-03-18 Juergen Vigna <jug@sad.it>
11205 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11206 (GetAdditionalWidth): ditto.
11207 (RightLine): ditto.
11210 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11211 inset if we're there actually (probably not used right now but this
11212 is the direction to go for unifying code).
11213 (paste): disable code to clear the selection.
11215 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11216 inside an InsetText and move the check further up as it is in the
11219 * text2.C (pasteSelection): set a selection over the pasted text.
11221 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11223 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11224 and libgraphics to build on Cygwin.
11226 2002-03-15 Juergen Vigna <jug@sad.it>
11228 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11229 inserting an Inset into the paragraph. I know this is not the best
11230 fix but we already use current_view in CutAndPaste so we will remove
11231 all of it's using at the same time.
11233 * buffer.C (sgmlError): deactivated function till it is rewritten in
11234 the right mode, now it can create problems.
11236 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11237 before accessing it.
11239 2002-03-14 Juergen Vigna <jug@sad.it>
11241 * undo_funcs.C (textHandleUndo): do the right thing when updating
11242 the inset after the undo/redo.
11244 * text2.C (setCursor): just some testcode for #44 not ready yet.
11246 * undo_funcs.C (textHandleUndo): set the next() and previous()
11247 pointers of the paragraph to 0 before deleting otherwise we have
11248 problems with the Paragraph::[destructor].
11250 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11251 on a paragraph insertion.
11253 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11255 * buffer.C (asciiParagraph): use += operator for char append to
11258 * paragraph.C (getFontSettings): compare >= not just >
11259 (highestFontInRange): ditto
11262 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11264 * paragraph.C: change several algorithm to be more appripriate for
11265 the problem domain. This is lookip in FontList and in the InsetList.
11267 2002-03-13 André Pönitz <poenitz@gmx.net>
11270 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11272 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11277 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11279 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11281 * Painter.C (display): anon helper function, adjust code for this
11283 (pixmap): remove function.
11285 * Painter.h: remove private display variable.
11287 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11289 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11291 * WorkArea.[Ch]: remove figinset_canvas cruft.
11293 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11295 * lyxtextclass.C (operator): add one item cache optimization.
11297 * bufferlist.h: doxy changes
11299 * bufferlist.C: ws changes
11301 * DepTable.[Ch] (ext_exist): place const in the right spot.
11303 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11305 (workAreaExpose): call resizeInsets when the with BufferView changes.
11306 (Dispatch): adjust for protectedBlank removal
11307 (specialChar): call updateInset if the insert went ok.
11309 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11310 specialChar instead.
11312 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11314 * BufferView.h: doxy change
11316 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11318 * lyxtextclass.C (operator[]): remove non-const version
11319 (defaultLayout): remove non-const version
11321 2002-03-12 Juergen Vigna <jug@sad.it>
11323 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11324 did resize the LyXText too.
11326 * buffer.C (readLyXformat2): set layout information on newly allocated
11329 * tabular.C (OldFormatRead): set layout information on the paragraph.
11331 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11333 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11335 2002-03-11 Juergen Vigna <jug@sad.it>
11337 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11339 (resizeCurrentBuffer): force also the insets to resize themselfes.
11340 (moveCursorUpdate): fixed up for InsetText.
11342 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11345 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11346 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11347 value of Dialogs::tooltipsEnabled().
11348 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11350 2002-03-08 Juergen Vigna <jug@sad.it>
11352 * BufferView_pimpl.C (updateInset): update inset inside inset also
11353 if it isn't inside theLockingInset().
11355 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11357 * buffer.C (asciiParagraph): redo some of the word and line length
11359 (getLists): look for Caption instead of caption.
11361 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11363 * buffer.C (Buffer): initialize niceFile to true
11365 (makeLinuxDocFile):
11366 (makeDocBookFile): make sure niceFile is true on exit
11368 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11370 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11372 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11374 * LyXSendto.C: remove.
11375 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11376 * lyx_gui.C: remove now-redundant comment.
11377 * ColorHandler.h: remove forward declaration of class WorkArea.
11378 * lyxfunc.C: remove #include "WorkArea.h".
11380 2002-03-07 Juergen Vigna <jug@sad.it>
11382 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11383 got moved away with the DEPM and also set the inset_owner always
11384 right which before could have been omitted.
11386 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11388 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11389 wanted layout is not found.
11391 2002-03-07 Juergen Vigna <jug@sad.it>
11393 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11395 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11397 * paragraph.C (breakParagraph): use default layout not layout of
11399 (Paragraph): clear ParagraphParameters.
11401 2002-03-06 Juergen Vigna <jug@sad.it>
11403 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11404 otherwise it would not be a valid lenght. Fixed a special case in
11405 the minipage compatibility read where we end the document with a
11408 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11409 was set as it could be 0 for InsetTexts first entry.
11411 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11413 * paragraph.C (writeFile): if layout is empty write out
11414 defaultLayoutName().
11416 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11417 file without named layout we set layout to defaultLayoutName().
11419 2002-03-06 Juergen Vigna <jug@sad.it>
11421 * CutAndPaste.C (copySelection): set layout for new paragraph.
11423 * text.C (prepareToPrint): leave ERT inset left aligned
11424 (leftMargin): don't indent paragraphs inside ERT insets
11426 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11428 * paragraph.C (breakParagraph): dont call clear do the work manually
11430 * paragraph.[Ch] (clear): remove function
11432 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11434 * paragraph.C (Paragraph): dont call clear, the work has already
11437 * lyxtextclass.C (operator): assert if n is empty
11439 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11440 work manually instead.
11442 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11444 * BufferView_pimpl.C: protect selectionLost against text == 0
11446 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11448 * text.C (breakParagraph): fix a setting layout to '0' problem.
11450 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11452 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11453 final location of file, for the included files, and graphics.
11455 2002-03-05 Juergen Vigna <jug@sad.it>
11457 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11459 2002-03-04 Juergen Vigna <jug@sad.it>
11461 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11463 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11464 last column of multicolumn cells.
11465 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11467 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11469 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11470 file if it doesn't go to a temporary file.
11472 * buffer.C (sgmlOpenTag):
11473 (sgmlCloseTag): remove extra newline insertion.
11475 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11477 * text.C (getRowNearY): comment out debug msg
11479 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11481 * text2.C: first -> first_y
11483 * text.C (getRowNearY): add some attemts at a possible
11484 optimization, not working.
11486 * tabular.[Ch]: add BufferParams to several function so that newly
11487 created paragraph can be initialized to he default layotu for the
11490 * tabular-old.C (ReadOld): add buf->params to call of Init
11492 * screen.C: rename text->first to text->first_y
11494 * paragraph.C (breakParagraph): always set layout in the broken
11497 * lyxtextclass.C (Read): remove lowercase
11500 (delete_layout): ditto
11502 * lyxtext.h: rename first -> first_y
11504 * lyxlayout.C (Read): remove lowercase
11507 (obsoleted_by): ditto
11509 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11511 * buffer.C (insertErtContents): add params are to InsetERT
11512 (parseSingleLyXformat2Token): add code to check if a paragraphs
11513 layout really exist.
11514 (parseSingleLyXformat2Token): add params to several inset
11516 (asciiParagraph): remove lowercase, do the layout comparisons with
11519 * BufferView_pimpl.C (cursorNext): first -> first_y
11520 (resizeCurrentBuffer): first -> first_y
11521 (updateScrollbar): first -> first_y
11522 (scrollCB): first -> first_y
11523 (workAreaMotionNotify): first -> first_y
11524 (workAreaButtonPress): first -> first_y
11525 (checkInsetHit): first -> first_y
11526 (cursorPrevious): first -> first_y
11527 (cursorNext): first -> first_y
11528 (Dispatch): add buffer_->params to severl inset contructors
11530 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11532 * lyxlayout.C (Read): remove some debug info that I forgot.
11534 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11535 clean up the code slightly.
11536 (makeLinuxDocFile): ditto
11537 (makeDocBookFile): ditto
11539 * text2.C: layout as string
11541 * text.C: layout as string
11543 * paragraph_pimpl.C: layout as string
11545 * paragraph.[Ch]: layout as string
11547 * lyxtextclasslist.[Ch]: layout as string
11549 * lyxtextclass.[Ch]: layout as string
11551 * lyxtext.h: layout as string
11553 * lyxlayout.[Ch]: layout as string
11555 * lyx_cb.C: layout as string
11557 * bufferview_funcs.C: layout as string
11559 * bufferparams.C: layout as string
11561 * buffer.C: layout as string
11563 * LyXView.[Ch]: layout as string
11565 * LaTeXFeatures.[Ch]: layout as string
11567 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11569 * BufferView_pimpl.C: change current_layout to string, remove
11574 (workAreaButtonRelease): layout as string
11576 * BufferView2.C (unlockInset): adjust
11578 * vspace.C (asLatexCommand): use an explict temp variable.
11580 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11582 * Makefile.am: use FRONTEND_*
11584 2002-03-01 Juergen Vigna <jug@sad.it>
11586 * tabular.C (SetWidthOfMulticolCell): changed to something better
11587 I hope but still work in progress.
11588 (recalculateMulticolumnsOfColumn): renamed function from
11589 recalculateMulticolCells as it is more appropriate now.
11590 (SetWidthOfCell): calculate multicols better.
11592 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11594 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11596 * lyxfunc.C (processKeySym): print sequence also if it is
11597 `deleted' (complete)
11599 * kbsequence.C (print): print sequence even if it is deleted
11600 (complete would be a better word, actually).
11602 * lyxfunc.C (dispatch): print complete options after a prefix key
11604 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11606 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11608 * text2.C (setCharFont): eliminate setCharFont code duplication.
11610 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11612 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11613 LFUN_TABULAR_FEATURE (bug #177)
11615 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11617 * Makefile.am: remove figure.h
11619 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11621 * Bufferview_pimpl.C:
11633 * text2.C: remove #include "lyx_gui_misc.h".
11635 * LaTeX.C: added #include <cstdio>
11637 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11639 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11640 that the paragraph following this one can have.
11642 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11644 * vspace.C (asLatexCommand): fix bogus gcc warning
11646 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11648 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11650 * text2.C (setLayout): get rid of redundant code
11652 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11654 * text2.C (incDepth): make sure depth cannot be increased beyond
11657 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11659 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11660 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11662 * PainterBase.h (image):
11663 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11664 a LyXImage const *.
11666 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11670 * BufferView_pimpl.C:
11671 * BufferView_pimpl.h:
11691 * sp_spell.C: remove fig inset, and the crap house of
11692 cards that follows it
11694 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11699 * os2_errortable.h:
11700 * nt_defines.h: move .h into support/
11702 * vms_defines.h: remove
11704 * WorkArea.C: add space in debug output
11708 * buffer.C: add WITH_WARNINGS
11712 * bufferlist.C: s/retrive/retrieve/, add docs
11721 * chset.C: add docs
11723 * lyxgui.C: add ID to X error handler
11725 * lyxtestclass.c: fix typo
11727 2002-02-26 Juergen Vigna <jug@sad.it>
11729 * tabular_funcs.C (write_attribute): changed so that some default
11730 attributes are not written at all.
11731 (getTokenValue): set default values before trying to read the
11732 value so we have the return value always set as default if we don't
11733 find the token we search for.
11735 * tabular.C (Write): write bools as bools not as strings!
11737 2002-02-22 Juergen Vigna <jug@sad.it>
11739 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11740 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11742 * text.C (leftMargin): don't add an indent for paragraphs inside
11743 tabular cells (fix #208).
11745 2002-02-21 José Matos <jamatos@fep.up.pt>
11747 * tabular.C (docBook): fixed support for long tables.
11749 2002-02-20 Juergen Vigna <jug@sad.it>
11751 * text2.C (getFont): get the drawing font of the Inset if this
11752 paragraph is inside an inset (only important for InsetERT for now).
11754 * buffer.C (insertErtContents): use new lanugage params in ERT
11757 * CutAndPaste.C: commenting out seemingly uneeded code.
11759 2002-02-19 Allan Rae <rae@lyx.org>
11761 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11762 Iterators might be simple to use but they also get invalidated.
11763 (removeAutoInsets): renamed saved cursor tracking variables and added
11764 some comments to clarify what everything does.
11766 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11773 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11774 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11777 * vc-backend.h: remove #include "support/syscall.h"
11781 * converter.C: rearrange #includes in Lars' approved fashion.
11783 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11784 forward declare class Timeout in the header file.
11786 * XFormsView.C: changes due to the above.
11788 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11789 similar to LyXView.
11791 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11792 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11794 2002-02-18 José Matos <jamatos@fep.up.pt>
11796 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11799 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11801 * a lot of small ws changes
11802 * add a lot of using std::XXX
11803 * use std construcs some places where approp.
11804 * use some exisint stuff from lyxfunctional where approp.
11805 * Make file changes to use partial linking (lets test this now...)
11807 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11811 remove #include "support/syscontr.h" as it's redundant. Always has been.
11819 change Systemcalls::System to Systemcalls::Wait and
11820 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11821 No change of functionality, just reflects the stripped down Systemcalls
11824 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11826 * debug.[Ch]: add a GRAPHICS type to the enum.
11828 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11830 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11832 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11835 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11837 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11838 match the changes below.
11840 * text2.C (toggleInset): if there is not editable inset at cursor
11841 position, try to see if cursor is _inside_ a collapsable inset
11844 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11846 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11847 document menu has a nice checkbox
11849 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11851 * lyxlength.C (asLatexString): change PW to output as percent of
11854 * lengthcommon.C: change '%' to 't%'
11856 * lyxfunc.C (dispatch): a few comments from Martin
11858 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11862 * BufferView_pimpl.h:
11863 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11866 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11868 * vspace.C (inPixels): fix compiler warning
11870 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11872 * lyxfunc.C (getStatus): fix status message for disabled commands.
11874 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11876 * BufferView_pimpl.C: fix crash on close buffer
11877 during selection (#227)
11879 2002-01-27 Herbert Voss <voss@lyx.org>
11881 * buffer.C: link old Figure to new graphic inset
11883 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11885 * FontLoader.C (getFontinfo): Change the latex font names in order
11886 to match the names of type1inst.
11888 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11890 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11892 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11893 (extchanged): ditto
11895 (remove_files_with_extension): ditto
11896 (remove_file): ditto
11899 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11900 document is smaller than the work area height. Do not initialize
11901 static variables to 0.
11903 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11905 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11907 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11908 LFUN_LAYOUT_PARAGRAPHS.
11910 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11911 tabular. It is possible to provide a possible cell, which will
11912 typically be the actcell from the corresponding insettabular
11914 * lyxfunc.C (getStatus): small cleanup; disable
11915 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11918 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11920 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11922 * paragraph.C (startTeXParParams):
11923 (endTeXParParams): new methods. The LaTeX code to
11924 start/end paragraph formatting
11925 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11926 empty (fixes bug #200)
11928 * vspace.C (inPixels): adapt to the change below
11929 (inPixels): [later] more cleanups (remove unused variables)
11931 * lyxlength.C (inPixels): change to use a width and a height as
11934 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11936 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11937 Replaced with \paperwidth
11939 * DepTable.C (insert): add std:: qualifier
11941 2002-01-18 Allan Rae <rae@lyx.org>
11943 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11946 * text.C (drawInset): Turned out I didn't know enough about how
11947 rebreaking worked. This fixes most of the redraw problems. I see
11948 an occasional cursor trail when a line is broken now and the cursor
11949 placement can seem out by a few pixels also after a rebreak.
11951 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11953 * buffer.C (parseSingleLyXformat2Token): update because minipage
11954 width is now a LyXLength
11956 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11958 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11961 2002-01-17 Juergen Vigna <jug@sad.it>
11963 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11965 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11966 is set correctly and the inset is updated correctly.
11968 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11970 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11971 the beginning of the loop.
11973 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11975 * lyxrc.C: improve help for use_scalable_fonts
11977 2002-01-17 Allan Rae <rae@lyx.org>
11979 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11981 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11983 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11984 make sure to set their inset_owner to the right value (bug #171)
11986 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11989 * DepTable.C: Implement mtime checking to reduce time spent doing
11992 2002-01-16 Juergen Vigna <jug@sad.it>
11994 * tabular.C (GetAdditionalHeight): one of error fixed.
11996 * lyxrc.C (output): small fix in writing use_pspell.
11998 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12000 * sp_base.h: #include LString.h
12002 2002-01-16 Allan Rae <rae@lyx.org>
12004 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12005 Can someone check this please?
12007 * text.C (drawInset): It was possible that p.row would be removed by
12008 breakAgainOneRow upsetting a few other settings. There may be another
12009 small tweak possible by setting need_break_row = 0 when p.row has been
12010 removed but I don't know enough about the logic here.
12012 2002-01-15 Allan Rae <rae@lyx.org>
12014 * text.C (insertChar): removed conditional truism.
12016 * BufferView2.C (removeAutoInsets): More tweaks.
12017 cur_par_prev could be a stray pointer. Check for trailing empty line
12018 in case last line was cur_par and only had an error inset on it.
12020 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12022 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12025 * vc-backend.C (most methods):
12026 * exporter.C (Export):
12027 * converter.C (convert):
12029 * LyXSendto.C (SendtoApplyCB):
12030 * lyxfunc.C (dispatch):
12034 * lyx_cb.C (AutoSave):
12036 * BufferView_pimpl.C (MenuInsertLyXFile):
12037 * buffer.C (runChktex): use Buffer::filePath().
12039 * buffer.h: rename filename to filename_; rename filepath to
12040 filepath_ and make it private
12041 (filePath): new method
12043 * buffer.C (writeFile): use fileName()
12046 * lyx_main.C (init): fix starting of LyX when the binary is a
12047 link from so,ewhere else.
12049 * minibuffer.C: include <cctype> for isprint
12051 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12053 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12054 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12055 name clash with InsetCollapsable's width function.
12057 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12059 * lastfiles.C: include <iterator>
12061 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12063 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12066 * buffer.C (makeLaTeXFile): ditto.
12067 Also make loop operation more transparent.
12069 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12071 * ToolbarDefaults.C: remove trailing comma closing namespace.
12073 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12075 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12078 * trans.C (Load): comment out unused variable, allowed.
12080 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12082 * minibuffer.[Ch] (append_char): new method to recieve input from the
12083 drop-down completion browser. If a key was pressed, then recieve this
12084 char and append it to the existing string.
12085 (peek_event): modify the positioning data passed to the completion
12086 browser so that it can be placed above the minibuffer rather than below.
12087 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12089 * LyXAction.C (init): alloe error-next for readonly documents.
12091 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12094 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12096 * bufferlist.C (readFile): create the buffer _after_ checking that
12099 * lyxfunc.C (verboseDispatch): fix handling of arguments
12101 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12103 * lyxrc.C: use string::erase() instead of initializing to "".
12106 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12108 * BufferView_pimpl.h:
12109 * BufferView_pimpl.C:
12112 * text2.C: tell X when we have made a selection for copying
12114 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12116 * BufferView_pimpl.C (MenuInsertLyXFile):
12117 * lyxfunc.C (menuNew):
12119 (doImport): add shortcuts to directory buttons
12121 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12124 * lyxfunc.C (setStatusMessage):
12125 (getStatusMessage): new methods
12126 (getStatus):use setStatusMessage instead of setErrorMessage
12127 (dispatch): when function is disabled, set error message here
12128 [instead of in getStatus previously]
12130 * BufferView_pimpl.C (workAreaButtonRelease): update
12131 toolbar/menubar here too.
12133 2002-01-13 Allan Rae <rae@lyx.org>
12135 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12136 Now seems indestructible. Remaining task is to audit all other
12137 code affected by deleteEmptyParagraphMechanism. One small quirk
12138 left is that an empty document with an error in the preamble can
12139 be made to report an error but no error box appears. I don't know
12141 (removeAutoInsets): Improved comments.
12143 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12146 * Thesaurus.C: update for Aiksaurus 0.14
12148 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * text2.C (firstParagraph): removed member function, all uses
12151 replaces with ownerParagraph
12152 (redoParagraphs): here
12153 (updateInset): here
12154 (toggleAppendix): here
12155 * BufferView2.C (insertErrors): here
12156 (setCursorFromRow): here
12158 2002-01-13 Allan Rae <rae@lyx.org>
12160 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12161 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12162 There is still a way to segfault this although you may have to do this
12163 multiple times: Have an InsetERT with an unknown command in it.
12164 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12165 <down-arrow>, <Enter> again, View->DVI, BANG!
12167 * text2.C (setCursor):
12168 (deleteEmptyParagraphMechanism):
12169 * lyxtext.h (setCursor):
12170 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12171 Making use of the return value may help fix other bugs.
12173 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12175 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12177 * LyXView.C (updateMenubar): call MenuBar::update here
12178 (updateToolbar): but not here
12179 (showState): do not update toolbar/menubar
12181 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12182 should need to care about that.
12184 * lyxfunc.C (verboseDispatch): simplify a bit
12185 (getStatus): have a version which takes a pseudoaction, and
12186 another which requires a (kb_action,string).
12188 * LyXAction.C (retrieveActionArg): make it work also when action
12189 is not a pseudo-action.
12190 (getActionName): simplify a bit
12193 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12195 * lyxfunc.C (verboseDispatch): new families of methods with
12196 several ways to specify a command and a bool to indicate whether
12197 the command name and shortcut should be displayed in minibuffer
12198 (eventually, we could extend that to a finer bitmask like
12199 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12200 (dispatch): the pristine dispatch command which just, well,
12201 dispatchs! Note it still sets its result to minibuffer; I'm not
12204 * lyxfunc.h: remove setHintMessage
12206 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12208 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12210 * BufferView_pimpl.C (specialChar): delete new inset if we have
12211 not been able to insert it.
12213 * kbmap.C: revert to using int instead of kb_action, since all we
12214 are dealing with is pseudo-actions.
12216 * LyXAction.C (searchActionArg): change to return int instead of
12217 kb_action, since the result is a pseudoaction.
12219 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12221 * buffer.C (insertErtContents): Fix (partially) the font bug.
12223 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12225 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12226 as the other one is broken on my machine!
12228 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12231 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12233 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12235 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12236 reflect their actual use. Provide compatibility code for older lyxrc
12239 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12241 change names of popup font variables in line with the changes to lyxrc.C
12243 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12245 * buffer.C (asciiParagraph): avoid outputing a word twice after
12248 * lyxrc.C (getDescription): document that document_path and
12249 template_path can be empty.
12251 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12253 * LaTeXFeatures.C (getMacros):
12254 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12256 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12258 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12260 (getPackages): rename feature "floats" to "float". Use an array to
12261 iterate over 'simple' features (i.e. just a \usepackage). Add
12262 handling of "amsmath" (renamed from "amsstyle").
12264 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12266 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12269 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12271 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12272 FuncStaus::FuncStatus & FuncStaus::some_method().
12274 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12276 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12277 of the func_satus stuff. Edited and massaged in various ways by
12280 * lyxfunc.C (getStatus): use FuncStatus
12282 2002-01-08 Juergen Vigna <jug@sad.it>
12284 * text.C (nextBreakPoint): use function Inset::isChar().
12286 * paragraph.C (TeXOnePar): use function
12287 Inset::forceDefaultParagraphs.
12289 * buffer.C (latexParagraphs): use function
12290 Inset::forceDefaultParagraphs.
12292 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12294 * lyx_gui.C (init): set the style of the menu popups to
12295 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12297 2002-01-07 Juergen Vigna <jug@sad.it>
12299 * text.C (setHeightOfRow): small fix
12300 (prepareToPrint): don't look at alignment if we don't have the place
12303 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12305 * box.C: New file. Move the Box methods and functions out of box.h,
12306 following Lars' suggestion.
12308 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12310 * box.h: #include "support/LOstream.h", needed for inlined function.
12313 * lyxtextclasslist.C: added some using std declarations.
12315 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12317 * box.h: make signed dimensions to allow insets wider than
12318 the screen (bug #162)
12320 * BufferView_pimpl.C: add some insetHit debug
12322 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12324 * vc-backend.C: add FIXME
12326 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12328 * lyxfunc.C (getStatus): enable code for showing math font status
12331 2002-01-07 Juergen Vigna <jug@sad.it>
12333 * text.C (nextBreakPoint): removed debug output not needed anymore.
12335 2002-01-06 Juergen Vigna <jug@sad.it>
12337 * text.C (nextBreakPoint): fixed up this function we had this bug
12338 since ever but now hopefully we break row better.
12339 (insertChar): we have to check if an inset is the next char as it
12340 could now happen that a large inset is causing a break.
12342 2002-01-05 Juergen Vigna <jug@sad.it>
12344 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12345 if it doesn't like to be drawed.
12347 2002-01-04 Juergen Vigna <jug@sad.it>
12349 * BufferView2.C (lockInset): forgot to set a cursor.
12351 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12353 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12355 * FormMathsPanel.C:
12358 * form_maths_panel.C:
12359 * form_maths_panel.h:
12360 * form_maths_panel.fd: implemented sub- and super- buttons in math
12363 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12364 (or ^ space) to be used as in TeX (req'd by André).
12366 * lyxfunc.C: Allow ^ and _ again to be used both as
12367 super/subscript (mathed) and as themselves (in text).
12369 2002-01-03 Allan Rae <rae@lyx.org>
12371 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12372 "LyX" or the filename of the current buffer if it has one. This is a
12373 modified form of John Levon's patch.
12375 * XFormsView.C (setWindowTitle): also set icon title.
12377 * LyXView.h (setWindowTitle): signature changed.
12378 * XFormsView.h (setWindowTitle): ditto.
12380 2002-01-02 Juergen Vigna <jug@sad.it>
12382 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12384 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12386 * screen.C (topCursorVisible): introduce a temp var for
12387 text->cursor.row(), handle the case where this row is null. (kindo
12390 * text2.C (setCursor): add a couple of asserts.
12392 * paragraph.h (inset_iterator): add -> operator
12394 * paragraph.[Ch] (autoDeleteInsets): remove member function
12396 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12397 cursor pos correctly and handle inset deletion by itself.
12398 (insertErrors): move iterator declaration out of for expression
12400 * lyxtextclass.C: add <algorithm>
12402 * Makefile.am: added the new files to sources, removed layout.C
12404 * layout.C: removed file
12406 * layout.h: remove LYX_DUMMY_LAYOUT
12408 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12412 * lyxtextclass.[Ch]:
12413 * lyxtextclasslist.[Ch]: new files
12415 * include order changes to a lot of files, also changes because of
12418 2001-12-27 Juergen Vigna <jug@sad.it>
12420 * buffer.C (asciiParagraph): more fixes.
12422 * tabular.C (ascii): make ascii export support export of only the
12423 data separated by a column-delimiter.
12424 (ascii): better support for ascii export.
12426 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12428 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12430 * tabular_funcs.C: use a "using std::getline" instead of the
12431 previous fix from Angus (necessary for cxx + lyxstring)
12433 2001-12-24 Juergen Vigna <jug@sad.it>
12435 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12437 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12438 problems. First check a minipage also if we have some ert-contents
12439 (not only on par->size(), second set the right depth of the paragraph
12440 on the relink to the root-paragraph-list!
12442 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12443 which then did not anymore update the main paragraphs on undo/redo!
12445 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12447 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12448 code. Support all font-changing funcs (even those which are not in
12449 menu currently). Support for reporting font settings in
12450 mathed (disabled until Andre provides a function on mathed's side).
12452 * func_status.h (toggle): small helper function to set toggle
12455 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12457 * tabular_funcs.C: getline -> std::getline
12459 2001-12-21 Juergen Vigna <jug@sad.it>
12461 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12462 accessed and could be 0 (I couldn't generate this but it seems
12465 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12467 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12468 * tabular_funcs.h: here and include iosfwd
12470 2001-12-20 Juergen Vigna <jug@sad.it>
12472 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12473 inside inset but undo_par was.
12475 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12477 * Thesaurus.C: always include <config.h> in sources.
12481 * box.h: do not include <config.h> in header files
12483 * text.C (paintLastRow): remove unused variable
12485 * text.C (transformChar):
12487 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12489 * Painter.C (text):
12490 * font.C (width): rewrite to use uppercase() instead of
12493 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12495 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12497 * lyxfind.C: clean up of find failure position change
12499 2001-12-20 Juergen Vigna <jug@sad.it>
12501 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12503 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12504 (TeXRow): added to LaTeX a single tabular row.
12505 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12506 (Latex): simplified and finally good LT-h/f support.
12507 (various_functions): just small adaptions for LT-h/f support.
12509 * tabular_funcs.[hC]: added and moved here all not classfunctions
12512 2001-12-19 Juergen Vigna <jug@sad.it>
12514 * tabular.[Ch]: better support for longtabular options (not finished
12517 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12519 * text.C (paintLastRow): use the label font instead of the font of
12520 the last character to compute the size of *_BOX. This makes more
12521 sense and avoids a crash with empty paragraphs.
12522 Use Painter::rectangle to draw EMPTY_BOX.
12524 2001-12-19 Juergen Vigna <jug@sad.it>
12526 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12527 the paragraphs if the replaced paragraph is not the first one!
12528 Tried to delete not used paragraphs but does not work yet so for
12529 now it's inside #ifdef's and by default off!
12531 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12533 * MenuBackend.C: include "lyx_main.h" instead of declaring
12534 lastfiles (actually was declared as LastFiles* instead of a
12537 2001-12-17 Juergen Vigna <jug@sad.it>
12539 * tabular.C (AppendColumn): applied John's fix
12541 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12545 * BufferView_pimpl.h:
12546 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12549 * box.h: new start of class for above
12551 * lyxfunc.C: ignore space-only minibuffer dispatches.
12552 Show the command name when it doesn't exist
12554 * minibuffer.C: don't add empty lines to the history
12556 * minibuffer.C: add a space on dropdown completion
12558 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12560 * text.C: fix line above/below drawing in insets
12562 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12564 * lyxlength.C (LyXLength): Initialize private variables.
12566 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12568 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12569 when inserting error insets.
12571 2001-12-13 Juergen Vigna <jug@sad.it>
12573 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12574 actually sometimes the before-paragraph.
12575 (setUndo): don't clear the redostack if we're not actually undoing!
12577 2001-12-06 Juergen Vigna <jug@sad.it>
12579 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12580 and fixed redoing of main paragraph, so we can use it now ;)
12582 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12584 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12586 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12589 2001-12-13 André Pönitz <poenitz@gmx.net>
12592 * undo_func.C: minor cleanup
12594 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12596 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12597 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12598 font in urw-fonts package which is marked as -urw-fontspecific and
12599 does not work (incidentally, changing the encoding in the
12600 fonts.dir of this package to -adobe-fontspecific fixes the
12603 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12604 is a crash when undoing first paragraph (Juergen, please take a
12605 look). THis does not mean the undo fix is wrong, just that it
12608 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12609 the (Paragraph*) version when needed instead of duplicating the
12612 * text.C (workWidth): use Inset::parOwner to find out where the
12613 inset has been inserted. This is a huge performance gain for large
12614 documents with lots of insets. If Inset::parOwner is not set, fall
12615 back on the brute force method
12617 * paragraph_pimpl.C (insertInset):
12618 * paragraph.C (Paragraph):
12619 (cutIntoMinibuffer): set parOwner of insets when
12620 inserting/removing them
12622 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12624 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12630 * mathed/formulabase.C:
12631 * mathed/math_cursor.[Ch]:
12632 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12635 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12637 * lyxlength.[Ch] (operator!=): new function
12639 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12641 * text.C (workWidth): use Inset::parOwner to find out where the
12642 inset has been inserted. This is a huge performance gain for large
12643 documents with lots of insets. If Inset::parOwner is not set, fall
12644 back on the brute force method
12646 * paragraph_pimpl.C (insertInset):
12647 * paragraph.C (Paragraph):
12648 (cutIntoMinibuffer): set parOwner of insets when
12649 inserting/removing them
12651 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12653 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12655 * tabular-old.C (getTokenValue):
12656 * tabular.C (getTokenValue):
12657 (write_attribute): new versions for LyXLength
12658 (everywhere): adjust the use of widths
12660 * tabular.h: change the type of widths from string to LyXLength
12662 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12664 * paragraph.C: fixed missing line number count when exporting
12665 Environments to LaTeX file
12667 * buffer.C: added informational message for checking line numbers.
12669 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12671 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12672 paragraph, do the 'double space' part, but not the 'empty
12675 * text.C (workWidth): small optimization
12676 (getLengthMarkerHeight): use minimal size for negative lengths.
12678 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12680 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12682 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12684 2001-12-11 André Pönitz <poenitz@gmx.net>
12687 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12689 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12691 * text2.C: keep selection on a setFont()
12693 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12695 * lyx_cb.C: another bv->text misuse, from insert label
12697 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12700 * kbsequence.C: re-instate nmodifier mask
12702 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12704 * lyx_main.h: make lyxGUI private.
12706 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12708 * lyxfind.C: place the cursor correctly on failed search
12710 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12712 * text.C (getLengthMarkerHeight): for small heights, the arrows
12713 are not always on top/bottom of the text
12714 (drawLengthMarker): smaller arrows; take the left margin in
12715 account; draw also vfills.
12717 (paintLastRow): remove special code for vfill and standard spaces,
12718 since everything is handled in drawLengthMarker now.
12720 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12722 * buffer.C (insertErtContents): try to handle font and language
12723 interaction a bit better.g
12725 * ColorHandler.C (updateColor): change the hash to cover the whole
12726 LColor enum, ws cleanup
12727 (getGCLinepars): ditto
12728 (getGCLinepars): only lookup in the linecache once.
12730 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12732 * iterators.C (operator++): Make the iterator more robust
12734 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12736 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12738 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12741 * text.C: better added space drawing
12743 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12746 * BufferView2.C: fix layout combo update on inset unlock
12748 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12750 * Makefile.am: don't compile unused files
12752 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12756 * LyXAction.C: remove old LFUN_LAYOUTNO
12758 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12760 * paragraph_pimpl.h:
12761 * paragraph_pimpl.C: isTextAt() doesn't need font param
12763 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12766 * lyxlex.C: little cleanup
12768 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12770 * BufferView_pimpl.C: fix insertAscii for insets
12772 2001-12-05 Juergen Vigna <jug@sad.it>
12774 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12775 set the right font on the "multi" paragraph paste!
12777 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12783 * lyxlength.C: remove out-commented code.
12785 * BufferView_pimpl:
12799 * vc-backend.C: change "while(" to "while ("
12801 * lyxlength.[Ch]: add zero function to check if length is zero or
12803 * lyxgluelength.C: use it
12805 2001-12-05 Allan Rae <rae@lyx.org>
12807 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12808 Works for 2.95.3, from what I understand of Garst's reports this should
12809 work for other g++ versions. We're screwed if the abs(int) definition
12810 changed between bugfix releases of gcc.
12812 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12814 * text.C: fix chapter label offset !
12816 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12819 * text.C: fix hfill at end of line, clean up
12821 2001-12-04 Juergen Vigna <jug@sad.it>
12823 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12824 that we force an update of the inset and it's owners if neccessary.
12826 2001-12-03 Juergen Vigna <jug@sad.it>
12828 * text.C (rowLast): simplified code
12830 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12832 * lyxfunc.C: fix show options on timeout
12834 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12836 * screen.C (topCursorVisible): scroll half a page when the cursor
12837 reached top of bottom of screen
12839 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12841 * minibuffer.C: deactivate on loss of focus
12843 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12845 * vspace.[Ch] (operator!=): add operator.
12847 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12849 * BufferView_pimpl.C: refuse to open an inset when
12850 there's a selection.
12852 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12854 * BufferView_pimpl.C: allow to click on RHS of full row insets
12856 2001-11-30 Juergen Vigna <jug@sad.it>
12858 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12859 insets for undo reasons.
12861 2001-11-28 André Pönitz <poenitz@gmx.net>
12863 * vspace.[Ch]: cosmetical changes
12865 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12875 * kbsequence.C: part re-write of old kb code
12878 * WorkArea.C: remove Lgb_bug_find_hack
12880 2001-11-30 José Matos <jamatos@fep.up.pt>
12882 * buffer.C (makeDocBookFile): add a comment to point a hack.
12883 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12884 Fixed a double write of labels.
12886 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12889 * LaTeX.h Fixed bug in LaTeX class where it would not
12890 re-run latex if no depfiles were changed, but the .dvi was removed.
12892 2001-11-28 André Pönitz <poenitz@gmx.net>
12894 * all the files from the change on 2001/11/26:
12895 use lyx::layout_type instead of LyXTextClass::size_type
12896 use lyx::textclass_type instead of LyXTextClassList::size_type
12898 2001-11-29 Juergen Vigna <jug@sad.it>
12900 * text.C: added support for paragraph::isFreeSpacing()
12902 * buffer.C: same as above
12904 * paragraph.h: inserted isFreeSpacing() function to enable
12905 FreeSpacing inside InsetERT.
12907 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12908 of the paragraph's in the cut/copy buffer to 0!
12910 * text2.C (removeRow): remove the assert as it can!
12912 * lyxtext.h: added helper function firstRow returning firstrow and
12913 made firstrow private again.
12915 * BufferView2.C (lockInset): don't relock if we're already locked!
12917 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12918 the only paragraph.
12919 (removeRow): added Assert::(firstrow)
12921 * debug.C: forgot to add INSETTEXT here.
12923 2001-11-28 Juergen Vigna <jug@sad.it>
12925 * sp_spell.C (initialize): changed error text to more general
12926 spellchecker command use (not only ispell!)
12928 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12930 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12932 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12934 * vspace.C: initialise lyxgluelength on failure
12936 2001-11-28 Allan Rae <rae@lyx.org>
12938 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12939 declaration & definition that looks like a function declaration.
12941 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12943 * BufferView2.C (copy):
12944 (copyEnvironment): do not clear the selection when doing a copy.
12946 * text.C (paintFirstRow): compilation fix
12948 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12950 * tabular.C (Latex): correct line count when writing latex.
12952 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12954 * paragraph_pimpl.h:
12955 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12958 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12962 * LColor.C: change vfillline->added_space
12964 * text.C: add markers and text for added space
12966 * vspace.C: fix comment
12968 2001-11-28 André Pönitz <poenitz@gmx.net>
12970 * paragraph.C: whitespace changes
12971 * all the other files from the change on 2001/11/26:
12972 change *::pos_type into lyx::pos_type
12974 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12976 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12977 language of the document when inserting error insets.
12979 2001-11-26 André Pönitz <poenitz@gmx.net>
12981 * BufferView_pimpl.[Ch]:
12989 * paragraph_pimpl.[Ch]:
12992 * text2.C: reduce header dependencies, introduce type for positions
12994 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12996 * <various>: change to use Alert.h
12998 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13000 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13001 when encountering an unknown token.
13002 (readLyXformat2): Show an error message if there were unknown tokens.
13004 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13007 * BufferView_pimpl.C:
13011 * text2.C: use par->isInset()
13013 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13015 * paragraph_pimpl.h:
13016 * paragraph_pimpl.C: cleanup
13018 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13020 * text2.C (removeRow):
13021 * text.C (setHeightOfRow): remove useless (and costly) call to
13024 2001-11-20 Allan Rae <rae@lyx.org>
13026 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13027 Now need Inset*::checkInsertChar() to return true for appropriate
13028 cases so that the characters in the minibuffer will actually be
13031 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13033 * text.C: change the order of the includes.
13034 (workWidth): initialize it at once.
13035 (workWidth): make maxw unsigned
13036 (setHeightOfRow): remove unused variable (inset)
13037 (selectSelectedWord): remove unused variable (inset)
13038 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13040 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13042 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13043 server is not running.
13045 (closeConnection): add debug info when server is disabled.
13047 * ColorHandler.C (getGCForeground): send debug message to GUI
13050 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13052 * kbmap.C (bind): modify because return conventions of
13053 kb_sequence::parse have changed.
13055 * kbsequence.C (parse): only ignore spaces and not any stupid
13056 control character. This avoids tests like s[i] <= ' ', which are
13057 guaranteed to fail with 8bit characters and signed chars.
13058 Change return code to string::npos when there have been no error
13059 (0 was a bad idea when error is at first character)
13061 2001-11-14 José Matos <jamatos@fep.up.pt>
13064 * buffer.C (simpleDocBookOnePar): removed unused argument.
13066 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13068 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13069 insets which are part of a word. Paragraph::isLetter takes care of
13070 that now. Use Paragraph::isInset to identify insets.
13071 (selectSelectedWord): do not test for hyphenation break.
13073 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13074 that protected spaces are considered as spaces.
13076 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13079 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13082 * lyxserver.C: fix it. and small cleanup.
13084 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13086 * BufferView_pimpl.C: use inline helpers
13089 * LaTeXFeatures.C: fix typos
13092 * Spacing.C: move spacing_string into class
13094 * ToolbarDefaults.C: move stuff into namespace anon
13096 * layout.h: update enum
13098 * lyxfunc.C: use better debug
13100 * minibuffer.h: fix typo
13104 * WorkArea.C: add and use Debug::WORKAREA
13108 * text2.C: code re-organisation, inline helpers
13110 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13112 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13113 std::vector.empty().
13115 2001-11-09 Allan Rae <rae@lyx.org>
13117 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13118 '\n's after tables. Tabular and ERT inset work now makes this no
13121 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13124 * minibuffer.C: fix crash, improve drop-down completion
13126 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13129 * lyxserver.C: invalidate fd's when doing endPipe()
13131 2001-11-08 José Matos <jamatos@fep.up.pt>
13133 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13134 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13137 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13139 2001-11-07 José Matos <jamatos@fep.up.pt>
13142 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13145 * buffer.C (sgmlOpenTag):
13146 * buffer.C (sgmlCloseTag): removed debug info.
13148 * buffer.h (sgmlOpenTag):
13149 * buffer.h (sgmlCloseTag): made public.
13151 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13153 * buffer.C (saveParamsAsDefaults):
13154 * lyx_cb.C (MenuLayoutSave): remove
13156 * LyXAction.C (init):
13158 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13160 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13162 * buffer.C (setPaperStuff): removed from here...
13164 * bufferparams.C (setPaperStuff): ... and moved there.
13166 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13170 * XFormsView.C: add support for drop-down completion
13172 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13174 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13177 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13179 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13182 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13184 * lyx_main.C: change ref to known bugs
13186 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13188 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13189 to work around older babel problems.
13191 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13193 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13195 2001-10-24 Juergen Vigna <jug@sad.it>
13197 * tabular-old.C (ReadOld): below variable changes reflected.
13199 * tabular.[Ch]: added ltType struct for longtable header/footer
13200 defines and changed all instances where they are used. Added
13201 future support for double top/bottom rows.
13203 2001-10-24 José Matos <jamatos@fep.up.pt>
13205 * buffer.h (docbookHandleCaption):
13206 * buffer.C (docbookHandleCaption): removed unused function.
13207 (makeDocBookFile): moved docbook supported version to v4.1.
13209 2001-10-24 José Matos <jamatos@fep.up.pt>
13212 * tabular.C (docbookRow): new function to export docbook code of a row.
13213 (DocBook): now honors the longtable flags.
13215 2001-10-23 José Matos <jamatos@fep.up.pt>
13218 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13219 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13221 * buffer.C (makeLinuxDocFile):
13222 (makeDocBookFile): reworked the preamble, more clean, and with
13223 support for lyx defined entities. Changed the document declaration
13224 to be more XML friendly.
13226 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13227 if we need to output XML that should be done with a filter.
13229 2001-10-22 Juergen Vigna <jug@sad.it>
13231 * sp_pspell.h (class PSpell): add alive function needed in the
13232 controller to see if the spellchecker could be started.
13234 2001-10-22 Juergen Vigna <jug@sad.it>
13236 * buffer.C (insertStringAsLines): modify the font for inserting
13237 chars in certain conditions by calling checkInsertChar(font).
13239 2001-10-19 Juergen Vigna <jug@sad.it>
13241 * text.C (workWidth): use getRow instead of wrong algorithm.
13242 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13244 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13249 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13251 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13253 * text.C (workWidth): do not search for the exact row when
13254 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13255 optimization for big documents.
13257 2001-10-18 Juergen Vigna <jug@sad.it>
13259 * text.C (workWidth): new function with added Inset * parameter.
13261 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13263 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13265 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13266 change return type of getColumnNearX.
13269 * text.C (changeRegionCase): use uppercase/lowercase instead of
13272 (rightMargin): simplify code by factoring out the uses of
13277 (appendParagraph): use Paragraph::size_type
13279 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13281 * vspace.C (asLatexString): add a missing break
13283 2001-10-15 Herbert Voss <voss@perce.de>
13285 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13287 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13289 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13292 2001-10-10 André Pönitz <poenitz@gmx.net>
13294 * lyxfunc.C: removed greek_kb_flag.
13296 2001-10-10 Herbert Voss <voss@perce.de>
13298 * lyx_main.C: delete global string help_lyxdir.
13300 2001-10-09 Herbert Voss <voss@perce.de>
13302 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13304 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13306 * lyx_main.C: added global string help_lyxdir.
13308 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13310 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13312 * lyxrc.C (set_font_norm_type): support iso8859-4
13314 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13316 * LaTeX.C (deplog): add another regex for MikTeX
13318 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13320 * lyxrc.C (set_font_norm_type): support iso8859-3
13322 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13324 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13326 * LaTeXFeatures.C: remove special case of french and index
13328 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13329 before \begin{document}). This solves several incompatibilities.
13331 2001-10-03 Garst Reese <reese@isn.net>
13333 * lyx_cb.C: change CheckTex error msg.
13335 2001-10-03 José Matos <jamatos@fep.up.pt>
13337 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13339 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13341 * .cvsignore: update
13343 * lyx_main.C (commandLineVersionInfo): use new style version info.
13345 * buffer.C (writeFile):
13347 (makeLinuxDocFile):
13348 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13350 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13352 * version.h: update to use stuff in version.C
13354 * version.C.in: new file. Contains version information determined
13355 at compile time. This is a merging of version.h and
13358 2001-10-03 Juergen Vigna <jug@sad.it>
13360 * BufferView_pimpl.C (update): don't change "dirty" status in
13363 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13365 * WorkArea.C (c-tor): re-position version string slightly.
13367 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13369 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13370 revert to previous code.
13372 WorkArea.[Ch]: (show, destroySplash): methods removed.
13374 WorkArea.C: rework code so that it's an amalgam of the codes before and
13375 after the splash screen was moved to WorkArea.
13377 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13380 * vspace.C (inPixels):
13383 * buffer.C (insertStringAsLines):
13384 (asciiParagraph): fix types to be large enough
13386 * lyxlex_pimpl.h: change member status from short to int
13388 * layout.h: fix type of endlabeltype
13391 * kbsequence.C (parse): change return type to string::size_type
13393 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13396 * Bullet.C (bulletSize):
13397 (bulletEntry): do not use short ints as parameters
13399 * BufferView2.C (insertLyXFile): change a char to an int.
13401 * WorkArea.C (WorkArea): remove unneeded floats in computation
13403 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13405 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13407 * paragraph.C (asString): Do not ignore newline/hfill chars when
13408 copying to the clipboard.
13410 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13412 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13413 after a multi-line inset.
13415 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13417 * paragraph.C (validate): Set NeedLyXFootnoteCode
13419 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13421 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13422 and decrease-error to decrease.
13424 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13426 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13427 it more readable (should be equivalent)
13429 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13431 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13433 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13435 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13436 of a cursor (row, etc.) after a character has been deleted
13437 (deleteEmptyParagraphMechanism): call the method above on _all_
13438 cursors held by the LyXText when a double space has been
13441 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13443 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13445 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13447 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13448 background. Use greyOut() and the new show() methods to toggle between
13449 the foreground and background. Add code to remove the splash after
13450 its initial showing.
13452 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13453 (create_forms): no longer call Dialogs::showSplash.
13455 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13457 * .cvsignore: add version_info.h
13459 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13461 * version_info.h.in: new file
13463 * Makefile.am: add version_info.h.in
13465 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13466 version_info.h instead of VERSION_INFO
13468 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13470 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13471 The ERT inset now returns string().
13473 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13475 * lyxtext.h, text.C (selectNextWord): renamed as
13476 selectNextWordToSpellcheck.
13478 * text.C (selectNextWordToSpellcheck): Modified to not select
13479 words inside an ERT inset.
13481 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13483 * lyx_cb.C (MenuLayoutSave): change a bit the question
13485 * sp_base.h: include <sys/types.h>
13487 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13489 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13491 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13493 * several files: fix typos in user-visible strings
13495 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13497 * text2.C (pasteSelection): do not set the selection, since it
13498 will be cleared later. Actually, the intent was to fix the way the
13499 selection was set, but I figured rmoving the code was just as good.
13501 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13503 * FontLoader.C (available): Check if font is available without
13506 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13508 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13510 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13512 * lyxrc.[Ch]: added display_graphics variable and associated code.
13514 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13516 * bufferparams.C (hasClassDefaults): new method. Returns true if
13517 the buffer parameters correspond to known class defaults
13519 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13521 * XFormsView.C (show): set minimum size to the main window.
13523 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13525 * text2.C (copySelection):
13527 * lyxfind.C (LyXReplace):
13528 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13529 LyXText::selectionAsString.
13531 * paragraph.C (asString): add "label" argument to the second form
13533 * text2.C (selectionAsString): add "label" argument and pass it to
13534 Paragraph::asString.
13536 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13538 * lyx_main.C (commandLineHelp): remove version information
13540 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13542 * lyx_main.C: add -version commandline option
13544 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13546 * paragraph.h: make the optional constructor arg required instead.
13547 some modifications to other files because of this.
13549 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13551 * lyxserver.C (C_LyXComm_callback): make it static
13553 * lyx_main.C (error_handler): make it static
13555 * lyx_gui.C (LyX_XErrHandler): make it static
13557 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13559 * WorkArea.C: make the extern "C" methods static.
13561 * Makefile.am (lyx_LDADD): simplify
13563 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13565 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13566 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13568 * LyXAction.C (init):
13569 * lyxfunc.C (dispatch): associated code removal.
13571 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13573 * lyxfont.h (isSymbolFont): shut off warning
13575 * text.C (setHeightOfRow):
13576 (getVisibleRow): fix crash with empty paragraphs which have a
13579 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13581 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13584 2001-09-04 José Matos <jamatos@fep.up.pt>
13587 * tabular.C (docbook): rename docBook method to docbook.
13589 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13591 * Makefile.am: add dependencies to main.o.
13593 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13595 * FontLoader.C (available): Return false if !lyxrc.use_gui
13597 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13599 * FontInfo.C (query):
13600 * converter.C (view):
13601 * importer.C (Import):
13602 * exporter.C (Export): Can not -> cannot.
13604 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13606 * BufferView_pimpl.C: allow to create index inset even if
13609 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13611 * buffer.C (getLists): replace boost::tie code with an explicit pair
13612 as boost::tie can break some compilers.
13614 * iterators.h: Added a std:: declaration to the return type of
13617 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13619 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13622 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13624 * iterators.[Ch]: New files. Provide paragraph iterators.
13626 * buffer.C (changeLanguage): Use paragraph iterators.
13627 (isMultiLingual): ditto
13629 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13631 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13633 * FontLoader.C: Support for cmr font.
13635 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13637 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13638 (available): New method.
13640 * FontInfo.C (getFontname): Use scalable fonts even when
13641 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13644 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13646 * converter.C (Formats::view): reverted! Incorrect fix.
13648 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13650 * converter.C (Formats::view): only output the -paper option
13651 if the dvi viewer is xdvi, thereby fixing bug #233429.
13653 2001-08-23 Herbert Voss <voss@perce>
13655 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13657 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13659 * Spacing.h (Spacing): Set space to Default on in the default
13662 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13664 * vc-backend.h (RCS::versionString): add RCS to version
13665 (CVS::versionString): add CVS to version
13667 * vc-backend.C (scanMaster): do not add CVS to version.
13668 (scanMaster): do not add RCS to version
13670 * lyxvc.C (versionString): new method
13672 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13674 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13676 * Spacing.C (set): initialize fval
13678 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13680 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13683 2001-08-16 Juergen Vigna <jug@sad.it>
13685 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13687 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13689 * BufferView_pimpl.C:
13692 * text2.C: setParagraph takes linespacing now
13694 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13696 * LyxAction.C: add internal LFUN_CITATION_INSERT
13698 * LyXView.C: actually apply fix
13700 * bufferlist.C: fix open non-existent file
13702 * lyxfind.C: fix indentation
13704 * lyxfunc.C: remove unneeded assert, fix typo
13706 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13708 * MenuBackend.C: use "Floatname List"
13710 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13712 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13713 when converting LaTeX layout to insetERT.
13714 Generate a non-collapsed float when reading old float
13716 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13718 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13721 2001-08-13 Juergen Vigna <jug@sad.it>
13723 * text.C (fill): return 0 instead of 20 as this seems to be the more
13726 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13728 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13731 2001-08-13 Juergen Vigna <jug@sad.it>
13733 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13735 (SearchBackward): comment out the unlocking of the inset_owner this
13736 should not be needed!
13738 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13740 * Many files: Remove inherit_language, and add latex_language
13742 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13743 collapsible insets.
13745 2001-08-10 Juergen Vigna <jug@sad.it>
13747 * text.C (prepareToPrint): fixed hfill-width in draw!
13749 * BufferView2.C (selectLastWord): save the selection cursor as this
13750 now is cleared in the function LyXText::clearSelection!
13752 2001-08-08 Juergen Vigna <jug@sad.it>
13754 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13755 BACKSPACE type functions.
13757 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13758 is only cutted from the document but not put in the cut-buffer, where
13759 still the old stuff should be.
13761 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13763 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13765 * tabular.C (SetWidthOfCell): fixed special case where the width
13767 (LeftLine): handle '|' in align_special.
13769 (LeftAlreadyDrawed): ditto
13770 (SetWidthOfCell): ditto
13772 2001-08-07 Juergen Vigna <jug@sad.it>
13774 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13776 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13778 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13779 * lyxlex.[hC]: ditto
13781 2001-08-06 Juergen Vigna <jug@sad.it>
13783 * text.C (getVisibleRow): fix up row clearing a bit.
13785 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13787 * minibuffer.C: make sure the X server sees the changes in the input.
13789 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13791 * paragraph.C (getFont): split into...
13792 (getLabelFont): this
13793 (getLayoutFont): and this
13794 * paragraph_pimpl.C (realizeFont): calling this
13796 * text2.C (getFont): split into...
13797 (getLayoutFont): this
13798 (getLabelFont): and this
13799 (realizeFont): all three calling this
13801 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13804 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13806 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13808 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13810 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13811 layouts from the Quote inset insertion.
13813 2001-08-03 Juergen Vigna <jug@sad.it>
13815 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13817 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13818 only if status not is already CHANGED_IN_DRAW (second level).
13820 * text.C (draw): don't set the need_break_row when inside an
13823 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13825 * buffer.C (parseSingleLyXformat2Token): handle more latex
13828 * bufferview_funcs.[hC]: change function names to
13829 begin with small char, adjust other files.
13831 2001-08-02 André Pönitz <poenitz@gmx.net>
13834 BufferView_pimpl.C: remove broken special code for math-greek
13836 2001-08-02 Juergen Vigna <jug@sad.it>
13838 * BufferView_pimpl.C (update): redone this function so that we
13839 update the text again if there was a CHANGE_IN_DRAW.
13841 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13842 (drawFromTo): added a new internal bool which is used by draw() and
13844 (general): some cursor drawing problems fixed.
13846 2001-08-01 Juergen Vigna <jug@sad.it>
13848 * lyxfind.C (LyXFind): fixed
13849 (SearchForward): ditto
13850 (SearchBackward): ditto
13852 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13853 spurius drawing of the cursor in the main area.
13855 * text2.C (status): small fix which could lead to a segfault!
13856 (clearSelection): remove unneeded BufferView param.
13858 2001-08-01 André Pönitz <poenitz@gmx.net>
13860 * lyxfunc.C: small change due to changed mathed interface
13862 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13864 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13866 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13868 * lyxfunc.c: fail gracefully if file doesn't exist
13873 * BufferView_pimpl.C: IsDirWriteable() proto changed
13875 * LyXView.C: fix updateWindowTitle() to store the last title
13877 2001-07-31 Juergen Vigna <jug@sad.it>
13879 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13880 the font (wrong since using of Paragraph::highestFontInRange).
13882 * paragraph.C (highestFontInRange): added a default_size parameter.
13884 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13885 (setHeightOfRow): reformat
13887 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13889 * converter.[hC] + affected files: move to (inital-char)lowercase
13892 * ParagraphParameters.C (ParagraphParameters): remove commented code
13894 * PainterBase.[Ch]: remove commented code
13896 * LaTeXFeatures.h: add "bool floats" for float.sty
13898 * LaTeXFeatures.C (LaTeXFeatures): init floats
13899 (require): handle float
13900 (getPackages): do it with floats
13902 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13904 * BufferView_pimpl.C (Dispatch): improve handling of
13905 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13907 * commandtags.h: #include lyxfont.h here temporarily to avoid
13910 * bufferlist.h: include LString.h here.
13912 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13914 * text2.C (getStringToIndex): new method.
13916 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13918 * *: Reduced header file dependencies all over.
13920 2001-07-30 Baruch Even <baruch@lyx.org>
13922 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13924 2001-07-29 Baruch Even <baruch@lyx.org>
13926 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13928 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13930 * ParameterStruct.h (endif): add a default constructor to make
13931 sure that all variables is initialized.
13933 * ParagraphParameters.C (ParagraphParameters): adjust
13935 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13937 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13938 index; also, check that there is something to index, and that it
13939 does not span over several paragraphs.
13940 (doubleClick): use WHOLE_WORD_STRICT for double click.
13942 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13944 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13947 2001-07-26 Baruch Even <baruch@lyx.org>
13949 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13950 an InsetFig figure, backwards compatible reading of old figure code.
13952 2001-07-27 Juergen Vigna <jug@sad.it>
13954 * text2.C: font.realize function adaption.
13956 * text.C (draw): add a warnings lyxerr text if needed.
13958 * layout.C: font.realize function adaption.
13960 * language.C: add inherit_language and implement it's handlings
13962 * bufferview_funcs.C (StyleReset): remove language parameter from
13963 font creation (should be language_inherit now).
13965 * bufferparams.C (writeFile): handle ignore_language.
13967 * paragraph.C (getFontSettings): the language has to be resolved
13968 otherwise we have problems in LyXFont!
13970 * lyxfont.C (lyxWriteChanges): added document_language parameter
13971 (update): removed unneeded language parameter
13973 * paragraph.C (validate): fixed wrong output of color-package when
13974 using interface colors for certain fonts in certain environments,
13975 which should not seen as that on the final output.
13977 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13979 * BufferView_pimpl.C:
13984 * LyXAction.C: add thesaurus support
13987 * lyxfind.C: add "once" parameter, for thesaurus, to not
13988 move to the next match
13990 2001-07-26 Juergen Vigna <jug@sad.it>
13992 * lyxfont.C (realize): honor ignore_language too!
13995 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13997 * text.C (draw): one place more for ignore_language to not draw
14000 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14002 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14004 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14006 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14007 the minipage conversion problem.
14009 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14011 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14014 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14016 * BufferView.h: don't forward declare WorkArea
14018 * BufferView.C: don't include WorkArea.h
14020 2001-07-25 André Pönitz <poenitz@gmx.net>
14024 * lyxfunc.C: new LFUN 'math-space'
14026 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14028 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14030 * text2.C (toggleInset): call open/close
14032 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14034 * lyxfunc.C (dispatch): add debug for the disabled case
14036 * font.C (buttonText): make similar to rectText
14038 * buffer.C (readInset): comment out parsing of insetlist and
14041 * PainterBase.C (rectText): small correction
14043 * BufferView_pimpl.C: comment out insettheorem and insetlist
14044 * LyXAction.C: ditto
14045 * commandtags.h: ditto
14047 2001-07-24 Juergen Vigna <jug@sad.it>
14049 * text.C (draw): honor the ignore_language.
14051 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14053 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14055 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14058 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14060 * lyxtext.h: remove unused (and unimplemented) methods
14062 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14064 * text.C (getVisibleRow): honor background color
14067 * Painter.h: remove default color argument for fillRectangle
14069 * text.C (backgroundColor): new method
14071 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14073 * text.C (getVisibleRow): adjust
14075 * font.[Ch] (rectText): new method, metrics
14076 (buttonText): new method, metrics
14078 * PainterBase.[hC]: make rectText and buttonText always draw and take
14081 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14083 * ToolbarDefaults.C (read):
14084 * MenuBackend.C (read): allow escaping in all strings
14086 * BufferView_pimpl.C (insertAndEditInset): new method.
14087 (Dispatch): use insertAndEditInset whenever appropriate.
14089 * BufferView_pimpl.C (insertNote): removed
14091 * BufferView_pimpl.C (smartQuote): new method, moved from
14092 BufferView; if an insetquote cannot be inserted, insert a '"'
14095 * BufferView2.C: remove insertCorrectQuote();
14097 * lyxfunc.C (getStatus): Add support for all remaingin
14098 inset-insert lfuns.
14100 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14102 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14103 command (necessary to pass " as parameter of self-insert.
14105 * text.C (selectWordWhenUnderCursor):
14106 (selectWord): add word_location parameter
14107 (selectWordWhenUnderCursor): same + remove special code for word
14109 (selectNextWord): use kind() to guess type of insetspecialchar,
14112 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14113 (insertErtContents): create ert insets as collapsed.
14114 (readInset): better compatibility code for Info inset.
14116 2001-07-20 Juergen Vigna <jug@sad.it>
14118 * lyxfunc.C (dispatch): use always LyXFind now!
14120 * text2.C (init): add a reinit flag so that the LyXText can be
14121 reinited instead of deleted and reallocated (used in InsetText).
14123 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14129 2001-07-18 Juergen Vigna <jug@sad.it>
14131 * text.C (selectNextWord): handle insets inside inset by calling
14132 always the bv->text functions so that we can go up the_locking_inset!
14134 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14135 in strange locations when inside an inset!
14137 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14138 handling to include insets.
14140 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14142 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14144 * LyXAction.C (init):
14146 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14147 LIGATURE_BREAK, since the name is so stupid.
14149 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14151 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14154 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14156 * sp_form.[Ch]: remove.
14158 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14160 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14163 * src/buffer.C (readInset): ditto.
14165 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14167 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14168 menuSeparator(), endOfSentenceDot(), ldots() and
14169 hyphenationPoint(), which are therefore removed.
14170 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14172 * LyXAction.C (init):
14173 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14175 * paragraph.C (getWord): removed.
14177 * BufferView_pimpl.C (Dispatch): use last word or selection for
14178 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14180 * lyx_main.C (queryUserLyXDir): do not ask before creating
14181 user_dir, except if it has been named explicitely.
14183 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14185 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14186 a document of zero size.
14188 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14190 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14191 approriately in the c-tor and in require().
14192 (getPackages): output the appropriate LaTeX for natbib support.
14194 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14195 variables "use_natbib" and "use_numerical_citations" when reading the
14197 (readInset): read the various natbib cite commands.
14198 (validate): white-space change.
14200 * bufferparams.[Ch]: new variables "bool use_natbib" and
14201 "bool use_numerical_citations".
14202 (writeFile): output them in the LyX file.
14204 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14206 * lyxfunc.C (getStatus): add support for all the inset insertion
14209 * text2.C (insertInset):
14210 * paragraph.C (insetAllowed):
14211 * BufferView_pimpl.C (insertInset): update to take in account the
14212 renaming of insertInsetAllowed
14214 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14216 * text2.C (getInset): new method. returns inset at cursor position.
14218 * BufferView_pimpl.C (Dispatch): changes because of this.
14220 * LyXAction.C (init): rename open-stuff to inset-toggle.
14222 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14224 * text2.C (toggleInset): renamed from openStuff; use
14227 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14229 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14231 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14233 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14235 * buffer.C (readLyXformat2): Add filename to the error dialog
14237 2001-07-18 Juergen Vigna <jug@sad.it>
14239 * tabular.C (GetCellNumber): put an assert here instead of the check!
14241 2001-07-17 Juergen Vigna <jug@sad.it>
14243 * BufferView_pimpl.C (toggleSelection): adapted too.
14245 * text.C (selectNextWord): adapted for use with insets.
14246 (selectSelectedWord): ditto
14248 2001-07-17 Juergen Vigna <jug@sad.it>
14250 * sp_spell.C (PSpell): fix initialitation order.
14252 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14254 * paragraph.C: spacing
14256 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14258 * sp_spell.C: repair language selection for pspell
14260 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14262 * lyxfunc.h: change more methods to begin with lower char.
14264 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14266 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14267 for unknown layouts.
14269 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14271 * buffer.C (readLyXformat2): Generate an error dialog if there are
14274 2001-07-16 Juergen Vigna <jug@sad.it>
14276 * sp_spell.C: always compile ISpell part.
14278 * lyxrc.C: added use_pspell entry and it's handling.
14280 2001-07-13 Juergen Vigna <jug@sad.it>
14282 * sp_spell.C: removed double includes.
14284 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14286 Consistent use of Lsstream.h:
14287 * Lsstream.h: added using std::stringstream for consistencies sake.
14289 * buffer.C: removed using std::stringstream
14291 * lyxfont.C (stateText):
14292 * paragraph.C (asString):
14293 * text.C (selectNextWord, selectSelectedWord):
14294 * text2.C (setCounter):
14295 * vspace.C (asString, asLatexString):
14296 std::ostringstream -> ostringstream.
14298 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14300 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14301 * commandtags.h: add LFUN_HELP_ABOUTLYX
14302 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14304 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14306 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14308 * lyx_gui_misc.C: remove spellchecker
14309 * lyxfunc.C: showSpellchecker
14311 * sp_ispell.h: added
14312 * sp_pspell.h: added
14313 * sp_spell.C: added
14314 * sp_form.[Ch]: removed
14315 * spellchecker.[Ch]: removed
14317 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14319 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14321 (simpleTeXSpecialChars): Simply print the input character without
14322 any special translation if pass_thru is set.
14324 * layout.h: Added bool pass_thru to layout class for being able to
14325 implement pass through of a paragraph for Literate Programming.
14327 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14328 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14329 * layout.C (Read): add "passthru" to list of layout tags and add
14330 code to set the pass_thru boolean when it is read.
14332 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14334 * trans_decl.h: remove allowed from KmodInfo
14336 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14337 remove allowed code
14340 * paragraph_pimpl.C (erase): use boost::prior
14342 * Painter.C (text): use data() instead of c_str() when length is
14344 * WorkArea.C (putClipboard): ditto
14345 * font.h (width): ditto
14347 * BufferView2.C: use it-> instead of (*it). for iterators
14349 * paragraph_pimpl.C: ditto
14350 * paragraph.C: ditto
14351 * minibuffer.C: ditto
14352 * language.C: ditto
14354 * encoding.C: ditto
14355 * counters.C: ditto
14356 * converter.C: ditto
14358 * Variables.C: ditto
14359 * TextCache.C: ditto
14360 * MenuBackend.C: ditto
14361 * LyXAction.C: ditto
14363 * FloatList.C: ditto
14364 * DepTable.C: ditto
14365 * ColorHandler.C (LyXColorHandler): ditto
14367 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14369 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14371 * text2.C (openStuff): reintroduce this method (which had been
14372 nuked in NEW_INSETS frenzy).
14374 * lyxfunc.C (Dispatch): when an action has not been handled, use
14375 its name in the error message, not its number.
14377 * paragraph.C (inInset): change method name to begin with lowercase.
14380 * text2.C: updates because of this.
14382 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14384 * ToolbarDefaults.C (add): add spaces in error message
14386 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14388 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14389 (readLyXformat2): rename return_par to first_par, use lyxlex's
14390 pushToken and remove the manual push handling.
14391 (parseSingleLyXformat2Token): add another ert comp. variable:
14392 in_tabular, rename return_par to first_par. handle newlines better
14394 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14396 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14398 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14400 * text2.C (getParFromID): removed
14402 * buffer.C (getParFromID): new method moved form lyxtext.
14403 * BufferView2.C (insertErrors): adjust
14404 (setCursorFromRow): adjust
14405 * BufferView_pimpl.C (restorePosition): adjust
14406 * lyxfunc.C (Dispatch): adjust
14407 * undo_funcs.C (textUndo): adjust
14409 (textHandleUndo): adjust
14410 (textHandleUndo): adjust
14412 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14414 * buffer.C: up' the LYX_FORMAT
14416 * lyxfont.h: turn NO_LATEX on as default
14418 * buffer.C (insertErtContents): new methods of tex style compability.
14419 (parseSingleLyXformat2Token): use it several places.
14420 * tabular.C (OldFormatRead): and here
14422 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14424 * text2.C: remove some commented code.
14427 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14428 * trans.C: changes because of the above.
14430 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14432 * text2.C (setCounter): Fix counters bug with bibliography layout.
14434 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14436 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14437 own member functions
14438 (simpleTeXSpecialChars): ditto
14440 2001-07-06 Juergen Vigna <jug@sad.it>
14442 * a lot of files: changed the access to LyXText::status and the
14443 call of undo-functions.
14445 * undo.[Ch]: added a inset_id to the undo informations.
14447 * undo_funcs.[Ch]: added and moved here all undo functions.
14449 * lyxtext.h: give the status enum a weight, made status_ a private
14450 variable and made accessor functions for it, removed the whole bunch
14451 of undo-functions as they are now in their own file, make some
14452 functions publically available. Added function ownerParagraph with
14455 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14456 made InInset() a const function, added getParFromID() function.
14458 * buffer.[Ch]: added const version for inset_iterator functions,
14459 added getInsetFromID() function.
14461 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14462 changed undo functions for new version.
14464 2001-07-05 Juergen Vigna <jug@sad.it>
14466 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14467 unknow mechanism does not call the proper constructor but only this
14468 one also if I request the other!?
14470 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14472 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14474 * text2.C (LyXText): use initialization lists.
14476 * lyxtext.h (Selection): initialize set_ and mark_
14477 (init): remove method
14479 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14481 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14483 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14485 * screen.[Ch]: change method names to begin with lowercase
14487 * BufferView_pimpl.C (updateScrollbar): simplify further and
14488 hopefully make it a bit faster.
14490 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14492 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14493 calling directly xforms functions.
14495 * Painter.C (Painter):
14496 * lyx_cb.C (MenuWrite):
14497 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14500 * lyx_gui.C: remove bogus guiruntime extern declaration.
14502 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14504 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14506 (redoDrawingOfParagraph): ditto
14507 (redoParagraphs): ditto
14508 (cutSelection): don't create a object for CutAndPaste use the
14509 static method directly
14510 (pasteSelection): ditto
14512 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14515 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14517 * modifications to some other files because of this.
14519 * Makefile.am (lyx_SOURCES): add XFormsView
14521 * XFormsView.[Ch]: new files
14523 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14524 the main window. Move the gui dependent stuff to XFormsView
14526 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14528 * tabular.C (GetCellInset): update cur_cell also in the row/col
14529 version of this function.
14531 * lyxfunc.C: no need to include figure_form.h here.
14537 * lyxvc.C: no need to include forms.h here.
14539 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14541 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14543 * lyxfunc.C (Dispatch):
14545 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14546 constructor argument.
14548 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14550 * paragraph.C (Paragraph): dont't clear, and just set layout.
14551 (makeSameLayout): use params's copy contructor.
14553 * ParagraphParameters.[Ch] (makeSame): delete method
14555 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14557 * Variables.[Ch]: fix indentation, rename set to isSet
14559 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14561 * lyxfunc.C (Dispatch): fix typo
14563 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14565 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14568 * bufferlist.C: include assert.h for emergencyWrite().
14570 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14572 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14573 give up at last (bug #425202) !
14575 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14581 * spellchecker.C: strip spellchecker options and bring up
14582 preferences tab instead
14584 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14586 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14587 the istringstream constructor
14589 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14591 * paragraph.C (getLayout): fix return value
14593 * paragraph.h: do not declare getLayout as inline.
14595 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14597 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14599 * lyxcursor.h (operator<): new func
14600 (operator>): new func
14601 (operator>=): new func
14602 (operator<=): new func
14604 * text.C (changeCase): use selection.start and selection.end
14605 (changeRegionCase): require from to be <= to. Require par to be a
14608 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14610 2001-06-27 Juergen Vigna <jug@sad.it>
14612 * text.C (cursorLeftOneWord): changed to return the cursor and added
14613 overlay with BufferView * parameter which calls this one.
14615 (selectWord): use new getWord function.
14616 (changeCase): renamed from changeWordCase as and extended to work
14617 also on selections.
14619 * lyxtext.h: added enum word_location
14621 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14622 changeCase as this operates now also on selections.
14624 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14626 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14628 * many files: send debug output to Debug::INFO instead of
14631 * converter.C (View):
14633 (Move): send debug output to Debug::FILES instead of console.
14635 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14637 * lyxfunc.C (getStatus): use func_status
14639 * func_status.h: new header, describing the results of
14640 LyXFunc::getStatus;
14642 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14645 2001-06-25 The LyX Project <jug@sad.it>
14647 * buffer.C (sgmlOpenTag):
14649 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14651 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14653 * text2.C: remove some dead code
14655 * tabular.C (GetCellInset): store the last cell checked (gotten)
14657 * tabular.h: add the helper for the speedup
14659 * lyxtext.h: remove some dead code
14661 2001-06-26 The LyX Project <Asger>
14663 * paragraph.C: Change export to LaTeX of alignment to
14664 \begin{center} and family for better roundtrip work with reLyX.
14666 * Tune the math drawing a bit.
14668 2001-06-25 The LyX Project <Asger>
14670 * LColor.C (LColor): New color for math background. New color
14673 2001-06-25 The LyX Project <jug@sad.it>
14675 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14677 * lyxfunc.C (Open):
14678 * bufferlist.C (newFile): do not restrict to files ending with
14681 * BufferView_pimpl.C (MenuInsertLyXFile):
14683 2001-06-24 The LyX Project <jug@sad.it>
14685 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14688 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14690 * lyxtext.h: rename most methods to begin with a small char.
14691 Lots of changes because of this.
14693 * paragraph.C (Paragraph): do not call fitToSize
14694 (erase): call Pimpl::erase
14695 (insertChar): call Pimpl::insertChar
14696 (insertInset): call Pipl::insertInset
14697 (breakParagraph): do not call fitToSize
14698 (breakParagraphConservative): do not call fitToSize
14699 (fitToSize): remove method
14701 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14703 2001-06-24 The LyX Project <Asger>
14705 * Fix Qt compilation^2
14707 2001-06-24 The LyX Project <jug@sad.it>
14709 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14710 depthHook(getDepth()-1).
14713 * ParagraphParameters.h:
14714 * ParameterStruct.h: change type of depth to unsigned int ==
14715 depth_type. Many adaptations to other files before of that.
14717 2001-06-24 The LyX Project <Asger>
14719 * Fix Qt compilation.
14721 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14723 * paragraph.h: renamed several methods to begin with small letter.
14724 several changes to many parts of the code because of this.
14726 2001-06-23 The LyX Project <jug@sad.it>
14728 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14729 rewritten to discard all double spaces when KeepEmpty is off
14730 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14731 to only handle newlines but not fiddle with spaces and friends.
14733 * lyxfunc.C (MenuNew): when doing 'new from template', use
14734 template_path as default directory
14736 2001-06-23 The LyX Project <Asger>
14738 * Clean-up of header file includes all over
14739 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14741 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14743 * paragraph.h: renamed from lyxparagraph.h
14745 2001-06-23 Asger <lyx@violet.home.sad.it>
14747 * Buffer.h: Removed Buffer::resize
14748 * BufferList.h: Removed BufferList::resize
14749 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14750 the document lazily when we change the width, or the font settings.
14752 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14754 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14756 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14758 * buffer.h: remove out of date comment
14760 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14763 * screen.C: fix "theoretical" GC leak
14765 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14767 * LaTeX.C (scanAuxFile):
14768 (deplog): remove trailing \r when reading stream (useful under
14771 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14773 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14774 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14775 and BufferView::theLockingInset(Inset*), so should use them and not
14776 access bv_->text->the_locking_inset directly.
14778 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14780 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14783 * tex-defs.h: remove old unused file
14785 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14787 * BufferView_pimpl.C: fix typo, remove minibuffer message
14788 when buffer has loaded
14790 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14792 * lyxfunc.C (Dispatch): use stringstream
14793 (MenuNew): use stringstream
14794 (Open): use stringstream
14796 * importer.C (Import): use stringstream
14798 * bufferview_funcs.C (CurrentState): use stringstream
14800 * LaTeX.C (run): use stringstream
14802 * BufferView_pimpl.C (savePosition): use stringstream
14803 (restorePosition): use stringstream
14804 (MenuInsertLyXFile): use stringstream
14806 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14819 * vspace.C: removed // -*- C++ -*- as first line.
14822 * version.h: added // -*- C++ -*- as first line.
14824 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14826 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14828 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14831 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14833 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14836 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14838 * gettext.C: include LString.h even when --disable-nls is on.
14840 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14842 * converter.h (Get): changed argument type from int to
14843 FormatList::size_type to avoid unnecessary conversion.
14845 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14848 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14850 * gettext.h: include LString.h even when --disable-nls is on.
14852 2001-06-07 Juergen Vigna <jug@sad.it>
14854 * text.C (BreakAgain): subst spaces with tabs.
14856 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14857 (resizeInsetsLyXText): set force on resizeLyXText.
14859 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14861 * gettext.h (gettext_init):
14862 (locale_init): use a real definition instead of a macro
14864 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14866 * Bufferview_pimpl.C:
14868 * LColor.C: further lcolor tidies
14870 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14872 * BufferView_pimpl.C (updateScrollbar): simplify.
14874 * BufferView2.C: don't include insets/insetinfo.h, change
14875 prototype for insertInset and call the Pimpl version. let
14876 updateInset call Pimpl version.
14878 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14879 gotoInset to BufferView::Pimpl
14881 2001-06-01 Juergen Vigna <jug@sad.it>
14883 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14884 inside a LockingInset (is the update needed at all?).
14886 2001-05-31 Juergen Vigna <jug@sad.it>
14888 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14889 here not the old one otherwise how should we compare it afterwards
14892 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14897 * FontInfo.C: bring C functions into global namespace when
14900 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14902 * LString.h: make sure config.h has been loaded before LString.h.
14904 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14905 (one for each char read by EatLine!).
14907 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14910 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14912 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14913 to the same as the par we break from
14915 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14917 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14919 * MenuBackend.C (expand): also create menu entries for wide
14920 versions of the floats.
14922 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14924 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14926 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14927 frontends/Makefile.am
14933 * tabular.C (getTokenValue): add std::
14935 * tabular-old.C (getTokenValue): add std::
14936 (getTokenValue): ditto
14937 (getTokenValue): ditto
14939 * screen.C (ToggleSelection): adjust
14941 * lyxtext.h: put selection cursors inside a Selection struct.
14943 * lyxfunc.C (moveCursorUpdate): adjust
14945 * lyxfont.C (latexWriteStartChanges): add std::
14947 * lyxfind.C: adjust
14949 * font.h: delete with(char const *, LyXFont const &)
14951 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14953 * FontInfo.C (getFontname): add std::
14955 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14956 (workAreaButtonPress): adjust
14957 (tripleClick): adjust
14959 (moveCursorUpdate): adjust
14962 * BufferView2.C (gotoInset): adjust
14964 2001-05-30 Juergen Vigna <jug@sad.it>
14966 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14967 to check pspell I add this as default as I now have new pspell
14968 libraries and they seem to use this.
14970 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14972 * text2.C (CutSelection): make the cursor valid before the call to
14975 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14977 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14978 relied on 0 terminated strings and other horrors. Bug found due to
14979 the new assert in lyxstring!
14981 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14984 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14986 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14989 * lyxfunc.C (processKeySym): change method of getting to the
14992 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14993 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14994 * BufferView_pimpl.[Ch]: here as private methods.
14996 2001-05-28 Juergen Vigna <jug@sad.it>
14998 * text.C (SetHeightOfRow): added the update() call again as it is
14999 needed to initialize inset dimensions!
15001 2001-05-16 Juergen Vigna <jug@sad.it>
15003 * text2.C (SetCharFont): Add new function with BufferView * and
15004 bool toggleall parameters for setting insets internal fonts.
15005 (SetFont): Freeze the undo as we may change fonts in Insets and
15006 all this change should be inside only one Undo!
15008 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15009 setting font's in insets as for them we have the SetFont function!
15011 2001-05-15 Juergen Vigna <jug@sad.it>
15013 * text2.C (ClearSelection): to be sure we REALLY don't have any
15016 * tabular.C (TeXCellPreamble): fixed the left border problem for
15019 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15021 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15024 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15026 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15027 LFUN_BREAKPARAGRAPH.
15029 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15030 help test to "internal only", similar for LFUN_INSERT_URL
15032 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15033 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15034 auto_region_delete and deadkeys.
15036 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15039 * LColor.C: remove some dead entries, tidy a little
15041 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15043 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15045 (Dispatch): implement LFUN_ESCAPE
15047 * commandtags.h: add LFUN_ESCAPE
15049 * LyXAction.C (init): add entry for LFUN_ESCAPE
15051 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15052 Remove commented code.
15053 (insertNote): moved here
15054 (open_new_inset): moved here
15056 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15059 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15061 * kbmap.C (findbinding): clean it up and make it work correctly.
15063 * lyx_main.C (init): do not pass argc and argv as parameters
15065 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15067 * buffer.C: fix path for OS/2 & Win32
15071 * lyx_main.C: Added os:: class.
15073 * os2_defines.h: update
15075 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15077 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15078 better by trying again with reduced state.
15080 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15082 * lyxrc.C (read): print error about invalid key sequence only when
15083 debugging (because not all latinX keysyms are known to some X
15086 * kbsequence.C (getiso): add a few std:: qualifiers
15087 (getiso): comment out extra return statement.
15089 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15091 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15093 (Dispatch): enhance the accent inset a bit. (not perfect)
15095 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15097 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15099 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15101 * bufferlist.C (emergencyWrite): fix assert() call
15103 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15105 * text.C (InsertChar): Added trivial patch to only send the "you
15106 can not do multiple spaces this way" message once during a
15109 2001-05-08 Baruch Even <baruch@lyx.org>
15111 * Makefile.am: Changed order of libraries to get LyX to link properly
15112 with the gnome frontend.
15114 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15116 * LaTeXFeatures.h: add a std:: qualifier
15118 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15120 * paragraph.C (String): use stringstream
15122 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15124 * paragraph.C (writeFile): remove footflag arg
15126 * buffer.C (makeLaTeXFile): use stringstream
15127 (latexParagraphs): remove footnot gurba
15129 * LaTeXFeatures.C (getPackages): use stringstream
15130 (getMacros): likewise
15131 (getTClassPreamble): likewise
15132 (getFloatDefinitions): new method
15134 * paragraph.C (writeFile): reindent
15137 * WorkArea.h: revert the xpos + etc changes.
15139 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15141 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15143 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15144 (pasteSelection): likewise
15145 * text2.C (CreateUndo): likewise
15147 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15149 * minibuffer.C (peek_event): temporarily reduce the functionality
15150 of the minibuffer (to allow args on lfuns)
15152 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15153 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15155 * buffer.C (readInset): add compability reading of old float
15156 lists, add reading of new style float list.
15157 (readInset): avoid reevaluation of inscmd.getCmdName()
15158 (getLists): reindent
15160 * MenuBackend.C (MenuItem): implement parsing of
15161 md_floatlistinsert and md_floatinsert.
15162 (expand::LastFiles): move initalizaton of iterators out of loop,
15163 avoid reevaluation.
15164 (expand::Documents): introduce typdedef vector<string> Strings,
15166 (expand::ExportFormats): introduce typedef vector<Format const *>
15167 Formats, and use it.
15168 (expand): implement FloatListInsert and FloatInsert.
15170 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15171 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15172 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15174 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15176 (Dispatch::LFUN_FLOAT_LIST): implement
15178 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15180 * LaTeX.C (run): Fix problem with --export code.
15182 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15184 * BufferView.[Ch] (workarea): removed.
15185 (getClipboard) new method; wrapper for workarea()->getClipboard()
15187 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15190 * WorkArea.h (width, height, xpos, ypos): These methods all
15191 returned the dimensions of the work_area sub-area of WorkArea,
15192 resulting in a position error if the WorkArea were resized. Now
15193 return the dimensions of the entire WorkArea.
15195 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15197 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15199 * LaTeX.C (deplog): correct the syntax of regex reg1
15201 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15203 * undo.C: remove !NEW_INSETS cruft
15205 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15207 * text2.C: remove !NEW_INSETS cruft
15209 * text.C: remove !NEW_INSETS cruft
15211 * tabular.C: remove !NEW_INSETS cruft
15213 * spellchecker.C: remove !NEW_INSETS cruft
15215 * lyxtext.h: remove !NEW_INSETS cruft
15217 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15219 * lyxfunc.C: remove !NEW_INSETS cruft
15221 * lyxfind.C: remove !NEW_INSETS cruft
15223 * lyx_cb.C: remove !NEW_INSETS cruft
15225 * figureForm.C: remove !NEW_INSETS cruft
15227 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15229 * buffer.[Ch]: remove !NEW_INSETS cruft
15231 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15233 * CutAndPaste.C: remove !NEW_INSETS cruft
15235 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15237 * BufferView2.C: remove !NEW_INSETS cruft
15239 * BufferView.h: remove !NEW_INSETS cruft
15241 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15243 * Lsstream.h: include LString.h before the sstream headers to
15244 fix problem with gcc 2.95.3 and lyxstring
15246 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15248 * lyx_main.C: add using directives when needed for C functions
15249 declared in std:: namespace.
15251 2001-04-27 Juergen Vigna <jug@sad.it>
15253 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15254 (SetHeightOfRow): comment out the update call should not be needed!
15256 2001-04-13 Juergen Vigna <jug@sad.it>
15258 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15259 (LyXTabular): tried to minimize operator= operations (and realized
15260 hopfully Lars wish).
15262 2001-04-27 Juergen Vigna <jug@sad.it>
15264 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15266 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15268 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15270 * buffer.C (readInset): hack to make listof algorithm work
15272 * BufferView_pimpl.C: hack to make listof algorithm work
15274 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15276 * LyXAction.C: removed all !NEW_INSETS cruft
15277 (init): moved lfun_item in method
15279 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15281 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15283 * BufferView2.C (theLockingInset): white space.
15285 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15287 * minibuffer.C: include <iostream>
15289 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15291 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15293 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15295 * text.[Ch] (TransposeChars): new method
15297 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15299 * call message directly through LyXView instead of through LyXFunc
15300 * BufferView2.C: adjust
15301 * BufferView_pimpl.C: adjust
15302 * FontLoader.C: adjust
15304 * bufferview_funcs.C: adjust
15305 * converter.C: adjust
15306 * figureForm.C: adjust
15307 * importer.C: adjust
15309 * lyx_gui_misc.C: adjust
15310 * lyxfunc.C: adjust
15313 + more files in subdirs
15315 * lyxparagraph.h (size): move up int file
15318 * adjust all uses of Assert to lyx::Assert.
15320 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15321 lyxfunctional in namespace lyx
15322 * layout.C (hasLayout): ditto
15325 (delete_layout): ditto
15326 (NumberOfClass): ditto
15327 * converter.C (GetFormat): ditto
15332 * bufferlist.C (getFileNames): ditto
15333 (emergencyWriteAll): ditto
15336 * MenuBackend.C (hasSubmenu): ditto
15339 * BufferView_pimpl.C (getInsetByCode): ditto
15341 2001-04-18 Juergen Vigna <jug@sad.it>
15343 * vspace.C (asLatexString): fixed the 100% problem.
15345 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15347 * lyxfunc.C (Dispatch):
15349 * minibuffer.h: add a few std:: qualifiers
15351 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15353 * minibuffer.[Ch]: reimplement so that commands is initiated and
15354 run from lyxfunc, simplified som handling, and made the completion
15355 and history code for complete. wip.
15357 * lyxfunc.C (processKeySym): call message
15358 (miniDispatch): new temporary method
15359 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15360 (LFUN_MESSAGE): implement
15361 (LFUN_MESSAGE_PUSH): implement
15362 (LFUN_MESSAGE_POP): implement
15363 (initMiniBuffer): the initial/defualt minibuffer message.
15365 * lyxfont.[Ch]: inline some more getters
15367 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15369 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15371 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15372 (AutoSave): use LFUN_MESSAGE
15373 (Reconfigure): ditto
15375 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15377 * figureForm.C: use LFUN_MESSAGE
15379 * converter.C (runLaTeX): use LFUN_MESSAGE
15381 * bufferview_funcs.C: use LFUN_MESSAGE
15383 (changeDepth): ditto
15385 * bufferparams.h: use boost::
15387 * bufferlist.h: inherit privately from noncopyable
15389 * bufferlist.C (loadLyXFile): remove some commented code.
15391 * buffer.C (runChktex): use LFUN_MESSAGE
15393 * ShareContainer.h: inherit privately from noncopyable
15395 * ParagraphParameters.[hC] (depth): inline it.
15397 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15399 (message): new method
15400 (messagePush): ditto
15401 (messagePop): ditto
15402 (show): init minibuffer
15403 (showState): direct call
15405 * LaTeX.[Ch]: inherit privately from noncopyable
15406 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15407 instead of WriteStatus.
15409 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15411 * BufferView_pimpl.C (buffer): don't init minibuffer
15412 (workAreaButtonPress): use LFUN_MESSAGE
15413 (workAreaButtonRelease): ditto
15414 (savePosition): ditto
15415 (restorePosition): ditto
15416 (MenuInsertLyXFile): ditto
15417 (workAreaExpose): don't init minibuffer
15418 (update): remove commented code, simplify
15420 * BufferView2.C (openStuff): use LFUN_MESSAGE
15421 (toggleFloat): ditto
15424 (copyEnvironment): ditto
15425 (pasteEnvironment): ditto
15430 (updateInset): remove some commented code
15432 * lastfiles.h: inherit privately from noncopyable
15435 * lyx_main.h: ditto
15437 * lyxlex_pimpl.h: ditto
15439 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15440 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15441 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15443 * LyXAction.h: inherit privately from noncopyable, add methods
15444 func_begin, func_end, returning iterators to the func map.
15446 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15447 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15448 (func_begin): new method
15449 (func_end): new method
15451 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15453 (copySelection): ditto
15454 (pasteSelection): ditto
15456 * BufferView.C: whitespace change
15457 * BufferView.h: inherit privately from noncopyable
15459 2001-04-16 Allan Rae <rae@lyx.org>
15461 * tabular-old.C (l_getline):
15462 * spellchecker.C (sc_check_word):
15463 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15464 an unrecognised preprocessor directive. So ensure they're wrapped.
15466 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15468 * src/exporter.C (Export): Give an error message when path to file
15471 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15473 * LaTeX.C (deplog): Always check that foundfile exists.
15475 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15478 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15480 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15482 * tabular.[Ch] (getLabelList): implement new method
15484 * minibuffer.h: comment ouf setTiimer
15486 * minibuffer.C (ExecutingCB): constify res
15487 (peek_event): constify s
15488 (Set): constify ntext
15489 (Init): constify nicename
15491 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15493 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15494 (savePosition): use two params to Minibuffer::Set
15495 (restorePosition): ditto
15497 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15499 * lyx_main.C: include language.h
15501 * Makefile.am (lyx_main.o): add language.h
15503 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15509 * CutAndPaste.C: include gettext.h
15511 * lyxfont.h: remove old hack with ON and OFF.
15514 * lyxfont.h: do not include language.h...
15519 * bufferview_funcs.C:
15525 * paragraph.C: ... but do it here instead
15527 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15529 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15531 * tabular.C: small reformat
15533 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15536 (BreakParagraph): ditto
15537 (SetOnlyLayout): ditto
15540 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15543 * lastfiles.C: removed most using decl, add std:: where needed
15545 * buffer.C: ws changes
15547 * MenuBackend.C (class compare_format): put into anon namespace
15548 (expand): constify label, names, action, action2
15551 * text.C (SingleWidth): constify font
15552 (IsBoundary): constify rtl2
15553 (GetVisibleRow): constify ww
15555 * LaTeX.C (deplog): constify logfile
15557 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15559 (workAreaExpose): constify widthChange, heightChange
15561 * lyxrow.C (par): moved
15564 * lyxrow.h: as inlines here
15566 * lyxfont.h (shape): moved from lyxfont.C
15567 (emph): moved from lyxfont.C
15569 * lyxfont.C (LyXFont): use initialization list for all
15571 (shape): move to lyxfont.h as inline
15572 (emph): move to lyxfont.h as inline
15575 2001-04-04 Juergen Vigna <jug@sad.it>
15577 * vspace.C: had to include stdio.h for use of sscanf
15579 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15582 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15583 independent of xforms.
15585 2001-04-02 Juergen Vigna <jug@sad.it>
15587 * spellchecker.C: fixed namespace placing!
15589 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15591 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15592 the LyXParagraph * is 0.
15594 2001-03-29 Juergen Vigna <jug@sad.it>
15596 * vspace.C: added support for %, c%, p%, l%.
15597 (stringFromUnit): added helper function.
15598 (asLatexString): changed to give right results for the %-values.
15600 * buffer.C: convert the widthp in a width%.
15602 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15604 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15607 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15608 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15610 * lyx_cb.[Ch]: see above.
15612 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15616 * lyx.[Ch]: replaced by figure_form.[Ch].
15620 * lyxfunc.C: changed headers associated with above changes.
15622 2001-03-27 Juergen Vigna <jug@sad.it>
15624 * BufferView_pimpl.C: set the temporary cursor right!
15626 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15628 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15630 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15632 * LString.h: removed "using std::getline"!
15634 * BufferView_pimpl.C (Dispatch): changes due to changes in
15635 InsetInclude::Params.
15637 * buffer.C (tag_name): removed redundant break statements as they were
15638 producing lots of warnings with my compiler.
15640 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15642 * LString.h: add "using std::getline" when using the real <string>.
15644 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15646 * buffer.C: removed bitset usage.
15647 PAR_TAG moved to an anonymous name space.
15648 (tag_name): new funtion, also in the anonymous namespace.
15649 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15650 (makeDocBookFile): clean code. Completed transition from string arrays
15652 (SimpleDocBookOnePar): code clean.
15654 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15656 * tabular.C: add some comments.
15658 2001-03-22 Juergen Vigna <jug@sad.it>
15660 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15661 compatibility read a bit and fixed bug with minipage in different
15664 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15666 * buffer.C (pop_tag): removed.
15667 (push_tag): removed.
15668 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15669 array replaced with vector. Added support for CDATA sections.
15670 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15672 (makeDocBookFile): XML conformant declaration of CDATA section,
15673 fixed bug related to <emphasis> in the first paragraph char.
15674 (sgmlOpenTag): exclude empty tags.
15675 (sgmlCloseTag): ditto.
15677 * buffer.h (pop_tag): removed.
15678 (push_tag): removed.
15680 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15682 * language.h (Languages): added size_type and size().
15684 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15686 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15687 response on compability reading of minipages. One probliem is that
15688 the old usage of minipages was «flertydig»
15690 * several files here and in subdirs: don't use static at file
15691 scope use anon namespaces instead.
15693 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15695 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15696 LaTeX output. This is necessary for Literate document
15699 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15701 * buffer.C: insert hfill when needed.
15703 * tabular.C (l_getline): use string::erase, small whitespace change.
15705 * BufferView_pimpl.C: try the anon namespace.
15706 * WorkArea.C: ditto
15708 2001-03-16 Juergen Vigna <jug@sad.it>
15710 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15711 otherwise it won't open options-dialogs.
15713 * buffer.C: honor pextraWidth(p) on converting minipages.
15715 * tabular.C (l_getline): changed the functions to strip trailing \r.
15717 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15719 * BufferView_pimpl.C:
15720 * minibuffer..C: added "using SigC::slot" declaration.
15722 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15724 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15730 * paragraph.C: ditto
15732 * lyxtext.h: NO_PEXTRA
15734 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15736 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15737 * ParameterStruct.h: ditto
15738 * ParagraphParameters.h: ditto
15739 * lyxparagraph.h: ditto
15741 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15743 * buffer.C: add compability for minipage alignment.
15744 (latexParagraphs): remove unwanted pextra check.
15746 * several files: remove CXX_WORKING_NAMESPACES
15748 * buffer.C (pop_tag): tie is in namespace boost
15750 * BufferView.h: noncopyable is in namespace boost
15752 * lyx_main.h: ditto
15755 * lastfiles.h: ditto
15756 * bufferlist.h: ditto
15757 * ShareContainer.h: ditto
15759 * LyXAction.h: ditto
15762 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15764 * Merging changes from BRANCH_MVC back into HEAD.
15766 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15768 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15770 * BufferView_pimpl.C: change from intl.C
15774 * Makefile.am: move combox.*
15780 * intl.C: remove dialog (covered by prefs)
15782 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15784 * lyxfunc.C (Dispatch): removed redundant break statement.
15786 2001-03-14 Juergen Vigna <jug@sad.it>
15788 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15790 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15792 * buffer.C: add hack to fix compability reading of minipages.
15794 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15796 * buffer.C (getLists): Cleanup.
15798 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15800 * lyxfont.C (update): don't honor toggleall on font size.
15802 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15806 * Makefile.am: moved to frontends/xforms/
15810 * BufferView_pimpl.C: changes for moved mathpanel
15812 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15814 * gettext.h: fix gettext_init() in --disable-nls
15816 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15818 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15820 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15823 * lyx.h: strip external form
15825 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15827 * BufferView_pimpl.C: add comment, destroySplash()
15829 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15831 * BufferView_pimpl.C:
15835 * lyxfunc.C: use re-worked insetinclude
15837 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15839 * buffer.C: add using std::stringstream.
15841 * lyx_cb.C: readd using std::ios.
15843 * buffer.C: add using std::map.
15845 * BufferView_pimpl.C: add using std::vector.
15847 * ShareContainer.h: add std:: to swap.
15849 * buffer.h: add some typedefs
15850 * buffer.C (getLists): use them
15851 (getLists): renamed from getTocList.
15852 add a counter for the different float types and use it in the
15854 (getLists): use the same counter for the NEW_INSETS and the "non"
15857 * lyx_cb.h: remove unused items, includes, using etc.
15859 * ShareContainer.h: remove some commented code, add more comments
15860 and "documentation".
15862 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15864 * buffer.C (getTocList): make the list also when NEW_INSETS is
15867 * buffer.h: remove TocType
15869 * buffer.C (getTocList): change to return a map<string,
15870 vector<TocItem> >, implement for dynamic number of list.
15872 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15873 * text2.C (PasteSelection): adjust
15874 * CutAndPaste.C (pasteSelection): adjust
15876 * FloatList.C (FloatList): update from the new_insets branch.
15877 * Floating.[Ch]: ditto
15878 * LaTeXFeatures.C: ditto
15880 * lyxlex_pimpl.C: ditto
15882 * paragraph.C (Last): remove when NEW_INSETS is defined.
15884 * other file: changes because of the above.
15886 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15888 * lyxparagraph.h: rename next to next_, previous to previous_,
15889 make them private for NEW_INSETS. Rename Next() to next(),
15890 Previous() to previous().
15892 * other files: changes because of the above.
15894 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15897 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15900 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15902 * main.C (main): pass lyx_localedir to gettext_init().
15904 * gettext.h: remove locale_init and gettext_init macros
15906 * gettext.C (locale_init): new function
15907 (gettext_init): new function
15909 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15912 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15914 * Moved credits to frontends:
15915 * credits.[Ch]: removed
15916 * credits_form.[Ch]: removed
15917 * lyx_gui_misc.C: remove credits stuff
15920 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15922 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15924 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15925 unneeded destructor.
15927 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15928 a standalone pointer again.
15930 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15932 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15938 * ToolbarDefaults.C:
15947 * BufferView_pimpl.C: use new file dialog in GUII
15950 * lyx_cb.C: remove LayoutsCB to Toolbar
15952 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15954 * ShareContainer.h (get): add std:: qualifier
15956 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15958 * ShareContainer.h: define a proper ShareContainer::value_type
15959 type (and use typename to please compaq cxx)
15961 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15963 * lyxparagraph.h: move serveral local vars to
15964 ParameterStruct/ParagraphParameters., use ShareContainer in
15965 FontTable., make vars in FontTable private and add getter and
15968 * paragraph.C: changes because of the above.
15970 * lyxfont.h: remove copy constructor and copy assignment. (the
15971 default ones is ok), move number inside FontBits. move inlines to
15974 * lyxfont.C: add number to initializaton of statics, move several
15975 inlines here. constify several local vars. some whitespace
15976 cleanup. Dont hide outerscope variables.
15978 * Spacing.h: add two new constructors to match the set methods.
15980 * ShareContainer.h: new file, will perhaps be moved to support
15982 * ParameterStruct.h: new file
15984 * ParagraphParameters.h: new file
15986 * ParagraphParameters.C: new file
15988 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15989 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15991 * BufferView_pimpl.C: ParagraphParameter changes.
15992 * buffer.C: Likewise.
15993 * bufferview_funcs.C: Likewise.
15994 * text.C: Likewise.
15995 * text2.C: Likewise.
15997 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15999 * lyxfind.C (LyXReplace): do not redefine default argument in
16001 (IsStringInText): ditto
16002 (SearchForward): ditto
16003 (SearchBackward): ditto
16005 2001-03-06 Juergen Vigna <jug@sad.it>
16007 * lyxfind.C (IsStringInText): put parentes around expressions.
16009 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16011 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16013 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16015 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16017 * stl_string_fwd.h: add comment
16019 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16022 * tabular.C: remove unused DocBook methods
16028 killed DO_USE_DEFAULT_LANGUAGE
16030 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16032 * lyx_gui.C: do not include language.h.
16034 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16035 arguments in function implementation.
16037 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16039 * BufferView_pimpl.C: add <ctime>
16041 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16043 * BufferView_pimpl.C: add using std::find_if
16045 2001-02-27 José Matos <jamatos@fep.up.pt>
16047 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16050 2001-02-11 José Matos <jamatos@fep.up.pt>
16052 * buffer.C (makeDocBookFile): command styles now have a parameter as
16053 "title" by default.
16055 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16057 * layout_forms.[Ch]: removed
16058 * lyx_cb.[Ch]: out character
16059 * lyx_gui.C: out character
16060 * lyx_gui_misc.C: out character
16061 * bufferview_funcs.C: : out character,
16062 added toggleall as parameter in ToggleAndShow
16064 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16066 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16068 * text2.C (SetCurrentFont): Disable number property at boundary.
16070 2001-02-26 Juergen Vigna <jug@sad.it>
16072 * lyxfunc.C (getStatus): added a string argument override function so
16073 that this is correctly called from LyXFunc::Dispatch if it contains a
16074 do_not_use_argument which is used!
16075 (Dispatch): added check for "custom" export and call appropriate func.
16077 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16079 * lyxrc.C: Add language_command_local, language_use_babel and
16080 language_global_options.
16082 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16084 * buffer.C (makeLaTeXFile): Use language_use_babel and
16085 language_global_options.
16087 2001-02-23 Juergen Vigna <jug@sad.it>
16089 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16090 which works with LyXText and putted it inside BufferView. Here now we
16091 only call for that part the BufferView::Dispatch() function.
16093 * BufferView.C (Dispatch): added.
16095 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16096 functions which needs to use a LyXText over from LyXFunc.
16097 (MenuInsertLyXFile): added
16098 (getInsetByCode): added
16099 (moveCursorUpdate): added
16100 (static TEXT): added
16102 2001-02-22 Juergen Vigna <jug@sad.it>
16104 * BufferView_pimpl.C (update): call a status update to see if LyXText
16107 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16109 * vc-backend.C (revert): implement for CVS
16110 (getLog): implement for CVS
16112 2001-02-20 Juergen Vigna <jug@sad.it>
16114 * text2.C (ClearSelection): added BufferView param for inset_owner call
16116 * lyxfunc.C (TEXT): added this function and use it instead of
16117 directly owner->view()-text of getLyXText().
16119 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16121 * src/layout_forms.C: out preamble
16122 * src/layout_forms.h: out preamble
16123 * src/lyx_cb.C: out preamble
16124 * src/lyx_cb.h: out preamble
16125 * src/lyx_gui.C: out preamble
16126 * src/lyx_gui_misc.C: out preamble
16127 * src/lyxfunc.C: connect with guii preamble
16129 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16131 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16133 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16135 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16136 whether to run bibtex.
16138 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16140 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16142 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16144 * Makefile.am (lyx_SOURCES): removed bibforms.h
16146 * vspace.h: doxygen
16148 * text.C (GetVisibleRow): make several local vars const
16150 * tabular.C: small cleanup.
16152 * lyxserver.C (callback): use compare instead of strncmp
16154 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16155 inlines to after class or to paragraph.C
16157 * lyxfont.h: remove friend operator!=
16159 * converter.h: move friend bool operator< to non friend and after
16162 * combox.h: small cleanup
16164 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16165 to inlines after class def.
16167 * buffer.C (pop_tag): use string operations instead of strcmp
16169 * bmtable.c: doxygen, small cleanup
16171 * LaTeX.h: remove friend operator==
16173 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16185 * BufferView_pimpl.C:
16186 * BufferView.[Ch]: remove cruft
16188 2001-02-14 Juergen Vigna <jug@sad.it>
16190 * lyxfunc.C: removed #if 0 unused code
16192 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16194 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16196 * text2.C (SetSelection): added a BufferView * parameter
16198 2001-02-13 Juergen Vigna <jug@sad.it>
16200 * lyxfunc.C (Dispatch): fixed protected blank problem.
16201 * BufferView2.C (protectedBlank): added LyxText * parameter.
16203 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16204 (AppendColumn): same as above for column_info.
16206 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16207 (moveCursorUpdate): use a LyXText param for support of InsetText.
16209 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16210 (tripleClick): ditto
16212 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16214 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16216 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16218 * text2.C (SetSelection): set correct update status if inset_owner
16219 (ToggleFree): ditto
16221 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16223 * tabular.C: remove some commented code.
16225 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16227 * BufferView_pimpl.C: call hideSplash()
16229 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16232 * bibforms.h: remove
16235 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16236 add LFUN_CHILD_CREATE
16238 * counters.h: fix tiny typo
16243 * lyx.C: move splash to frontends/xforms/
16245 * lyx_gui_misc.C: move Include and Bibform to frontends
16247 * lyxvc.h: clarify comment
16249 * vspace.C: tiny housekeeping
16251 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16253 * text.C (PrepareToPrint): RTL Fix.
16255 * paragraph.C (GetUChar): New method.
16256 (String): Use GetUChar.
16258 * buffer.C (asciiParagraph): Use GetUChar.
16260 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16262 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16264 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16267 * buffer.C: rename to getLogName(), handle
16268 build log / latex log nicely
16270 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16273 * MenuBackend.h: remove support for reference menuitem type.
16275 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16277 * BufferView_pimpl.C: housekeeping
16278 * BufferView_pimpl.h:
16283 * minibuffer.h: move Timeout GUI-I
16285 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16287 * lyxrc.C (read): Update converters data-structures.
16289 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16291 * LaTeX.h (operator!=): add operator != for Aux_Info
16293 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16295 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16297 * LaTeXLog.C: deleted, useful code moved to Buffer
16300 * buffer.C: new function getLatexLogName()
16306 * lyxfunc.C: use frontends for LaTeX and VC logs
16308 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16310 * LaTeX.h: yet another std:: that Allan forgot.
16312 * Variables.C (set): renamed from isset(), because this clashes
16313 with some HP-UX macros (grr).
16315 2001-02-06 Allan Rae <rae@lyx.org>
16317 * LaTeX.h: Another bug fix. Missing std:: this time.
16319 2001-02-04 Allan Rae <rae@lyx.org>
16321 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16322 floats problem. I've left it commented out because it's not quite
16323 correct. It should also test that the current object is a table or
16324 figure inset. But I haven't gotten around to figuring out how to do
16325 that. I *think* it'll be something like: "table" == inset.type()
16327 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16330 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16332 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16333 all the citation/databases/styles in the auxilary file.
16334 (run): Rerun latex if there was a babel language error.
16336 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16338 * text.C (Backspace): Preserve the font when changing newline char
16340 (BreakParagraph): If the cursor is before a space, delete the space.
16342 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16344 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16346 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16347 new argument (code).
16348 (ChangeCitationsIfUnique): New method.
16350 * paragraph.C (GetPositionOfInset): Handle bibkey.
16352 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16354 * BufferView_pimpl.h: change type of Position::par_pos to
16355 LyXParagraph::size_type.
16357 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16359 * BufferView_pimpl.C (savePosition, restorePosition): Write
16360 messages to minibuffer.
16362 2001-01-28 José Matos <jamatos@fep.up.pt>
16364 * buffer.C (makeDocBookFile): adds support for document language.
16365 A silly restriction on the name of LatexCommand types where removed.
16366 Added support for CDATA sections, allows to chars unescaped, used
16367 among others in code, to avoid escape < and >.
16369 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16371 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16372 saved positions instrad of a stack. Furthermore, a position is
16373 stored using paragraph id/paragraph position.
16375 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16376 Remove LFUN_REF_BACK.
16378 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16380 * converter.C (dvipdfm_options): New method.
16382 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16384 * vspace.C (isValidLength): Fix for empty input string.
16386 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16388 * LyXAction.C (init): change description of LFUN_FIGURE to
16391 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16393 * LaTeX.C: add using directive
16395 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16397 * MenuBackend.C (expand): Fix the sorting of the formats.
16399 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16401 * lyx_main.C: tiny error message fix
16403 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16405 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16406 calling fl_initialize(). This fixes the problem with ',' as
16407 decimal separator in text files.
16409 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16411 * trans.C (process): Fix the keymap bug.
16413 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16415 * LaTeX.C (scanAuxFiles): New method. Provides support for
16416 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16417 (scanLogFile) Scan for "run BibTeX" messages.
16419 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16420 OT1 font encoding. Also, load the aecompl package if the ae
16423 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16425 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16427 * texrow.C (increasePos): turn two error messages into debug
16430 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16432 * LaTeX.C (scanAux): Handle the \@input macro.
16433 (runBibTeX): Use scanAux().
16435 * language.C (latex_options_): New field.
16437 * LaTeXFeatures.C (getMacros): Add language macros.
16439 * buffer.C (makeLaTeXFile): Small fix.
16441 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16443 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16445 * text2.C: add a using directive.
16447 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16452 * lyxfunc.C: kill LyXBell.
16454 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16456 * text.C (IsBoundary): Remove the error message
16458 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16460 * lyxrc.C (setDefaults): Correct initialization value for
16463 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16465 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16468 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16469 and GotoNextNote().
16471 * src/LyXAction.C: Added reference-next.
16473 * text.C (InsertChar): Use contains instead of strchr.
16475 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16477 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16479 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16480 alignment commands (when needed).
16482 * text.C (InsertChar): Add ':' to number separator chars.