1 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * rename a lot of InsetOld to InsetBase
5 2004-11-25 Angus Leeming <leeming@lyx.org>
9 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
11 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
14 call BufferView::getStatus if LCursor::getStatus did nothing
15 (setStatusMessage, getStatusMessage): removed.
17 * FuncStatus.C (message): new methods. Used to provide an error
18 message indicating why a command is disabled.
19 (clear, |=, FuncStatus): update for message.
21 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
23 * lyxfunc.C (dispatch): always call sendDispatchMessage
25 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
42 * undo.C: par->pit renaming
45 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
47 * tabular.C (cellstruct): use initialization, store a shared_ptr
48 to insettext instead of the insettext directly, adjust to fit.
49 (operator=): new function
51 (rowstruct): use initialization
52 (columnstruct): use initialization
53 (ltType): use initialization
56 * lyxlength.h (swap): new function
58 * LColor.[Ch] (operator=): use the common semantics
60 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
62 * lyxfind.C (findNextChange): update the bufferview after setting
65 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
67 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
68 number of InsetOptArgs has already been inserted.
70 * output_latex.C (latexOptArgInsets): new method. This outputs all
71 the optarg insets, up to the limit defined in the layout file.
72 (optArgInset): removed
73 (TeXOnePar): call latexOptArgInsets; correctly update texrow
75 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * paragraph.C (isLetter): remove special spellchecker-related
78 code; return true also for digits
79 (isWord, isKomma): remove
81 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
82 * lyxfind.C (MatchString()): use isLetter instead of isWord
84 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
86 * pariterator.h (operatir=): comment out un-implemented member
89 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
92 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
94 * lyxfont.h: include LColor.h to satisfy concept checks.
96 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
98 * pariterator.h: add typdefs for value_type, difference_type,
99 pointer and reference to satisfy concept checks. Also add default
100 constructor for same reason.
102 * pariterator.C (operator++): add post-increment operator to
103 satisfy concept checks.
105 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
108 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
110 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
111 checks. Also rename base_type to BaseType to follow naming
114 * FloatList.h: include Floating.h to satisfy concept checks.
116 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
118 * lyxfunc.C (getStatus): when the origin of the request is menu or
119 toolbar, and the LyXView does not have focus, do as if there was
122 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
123 FuncRequest to individual entries of LFUN_SEQUENCE
125 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
127 * output_latex.C (TeXOnePar): override runparams.moving_arg
128 according to the needprotect value of the current paragraph (bug
131 * paragraph.C (simpleTeXOnePar): no need to override
132 runparams.moving_args here
134 2004-11-14 John Spray <spray_john@users.sourceforge.net>
136 * vspace.C: fix off-by-one-error, related to fix #1682
138 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
140 * lengthcommon.C: a more general fix for bug 1682
142 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
144 * text.C (backspace): fix crash
146 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * format.[Ch] (getFormatFromFile): new method
149 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
151 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
155 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
157 * lyxfunc.C (dispatch): remove the verbose argument
158 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
161 * kbmap.C (defkey): set the origin of func to KEYBOARD
163 * MenuBackend.C (MenuItem):
164 * ToolbarBackend.C (add): set the origin of func to UI
166 * funcrequest.[Ch]: add origin member, which indicates which part
167 of LyX requests an action
169 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
171 * converter.C (move): don't lie in the error message
172 * converter.h (isReachable, move): document
174 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
176 * buffer.C: remove unused using lyx::support::atoi
177 * paragraph_funcs.C: ditto
179 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
181 * bufferlist.C (exists): use bind and equal_to instead of
184 * lyxtextclasslist.C (NumberOfClass): ditto
186 * cursor.C (insert): use for_each instead of explicit for loop
188 * bufferlist.C (getFileNames): use std::transform and
189 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
191 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
194 * buffer.C (changeLanguage): use for_each instead of explicit for
196 (hasParWithID): implement using getParFromID
198 * LaTeXFeatures.C: ws change only
200 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
203 * BufferView_pimpl.C (trackChanges): use for_each instead of
206 2004-11-04 André Pönitz <poenitz@gmx.net>
209 * undo.C (textUndoOrRedo): fix crash when creating undo information.
211 * dociterator.C (asDocIterator): use hard assert again.
213 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
215 * lyxlength.C (asLatexString): rewrite so that it does not use
218 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
220 * text3.C (specialChar, dispatch): make sure cursor moves to the
221 right after inserting an inset
223 2004-11-02 José Matos <jamatos@lyx.org>
225 * output_docbook.C (docbook):
226 * paragraph.C (getID):
227 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
228 garantee that the output is always legal.
230 * tabular.C (docbook):
231 * outputprams.[Ch]: remove mixed contents.
233 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
235 * text2.C (setCounter): prevent endless loop
237 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
239 * exporter.C (copyFile): use the mover instead of support::copy()
240 * exporter.C (Export): pass format and latex name to copyFile()
241 * exporter.h (addExternalFile): document
242 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
244 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
246 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
248 2004-10-30 José Matos <jamatos@lyx.org>
250 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
251 text and no inset or font change. This allows to use CDATA
252 sections just for the whole paragraph.
254 2004-10-30 José Matos <jamatos@lyx.org>
256 * paragraph.C (getFirstWord): remove unused variable.
258 2004-10-30 José Matos <jamatos@lyx.org>
260 * paragraph.C (getFirstWord): the content should always be escaped
262 (simpleDocBookOnePar):
263 * output_docbook.C (makeEnvironment): replace reference to CDATA
266 2004-10-30 José Matos <jamatos@lyx.org>
268 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
270 2004-10-30 José Matos <jamatos@lyx.org>
272 * output_docbook.C (makeParagraphs):
273 * paragraph.[Ch] (emptyTag): for docbook and company, if the
274 standard paragraph has only a given type of content drop the wrapper.
276 2004-10-29 José Matos <jamatos@lyx.org>
278 * output_docbook.C (makeEnvironment):
280 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
282 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
284 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
285 (cleanID): sanitize any id.
287 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
289 * buffer.C, lyxlex_pimpl.C:
290 * lyxlex_pimpl.C (setFile):
291 s/getExtFromContents/getFormatFromContents/
293 2004-10-28 José Matos <jamatos@lyx.org>
295 * output_docbook.C (makeEnvironment): move id to broadest possible
298 * sgml.C (openTag): apply substitution of <> for all attributes.
300 2004-10-28 José Matos <jamatos@lyx.org>
302 * buffer.C (makeLinuxDocFile, makeDocBookFile):
303 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
304 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
306 * sgml.[Ch]: new version for open and closeTag for paragraph and
307 for strings. Now they handle the ids of paragraphs.
309 2004-10-26 Angus Leeming <leeming@lyx.org>
311 * Makefile.am: add mover.[Ch].
313 * converter.C (convert, move): use the new Movers to move external
314 files to the temp directory.
316 * lyx_main.C (init): ensure that the global system_movers data
319 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
322 * mover.[Ch]: new files, defining a Mover as a utility to move an
323 external file between directories and, if necessary, manipulate this
324 file using a helper script.
326 2004-10-25 José Matos <jamatos@lyx.org>
328 * output_docbook.C (makeCommand): merge two if's that tested the
331 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * sgml.C (escapeString): fix warning in a better way
335 2004-10-25 José Matos <jamatos@lyx.org>
337 * sgml.C (escapeString): import the require boosts header file for
338 tie, and avoid a signed unsigned comparison.
340 2004-10-25 José Matos <jamatos@lyx.org>
342 * sgml.h: add #include <string>
344 2004-10-25 José Matos <jamatos@lyx.org>
346 * sgml.[Ch] (escapeString): new function to escape all the string.
348 2004-10-24 José Matos <jamatos@lyx.org>
350 * paragraph.[Ch] (getFirstWord): new function to get the first
351 word. Useful for description.
352 (simpleDocBookOnePar): remove depth argument, add another that
353 says where to start the paragraph.
355 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
356 use the new functions to fix cleanly the support for descriptions.
358 2004-10-24 José Matos <jamatos@lyx.org>
360 * buffer.C (makeLinuxDocFile, makeDocBookFile):
361 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
362 * output_linuxdoc.C (linuxdocParagraphs):
363 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
364 add buffer as argument.
366 2004-10-24 José Matos <jamatos@lyx.org>
368 * output_docbook.C (makeEnvironment, searchEnvironment): place
369 CDATA inside paragraphs and fix scope for listitems.
371 2004-10-24 José Matos <jamatos@lyx.org>
373 * output_docbook.C: remove using statement for stack.
375 2004-10-23 José Matos <jamatos@lyx.org>
377 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
378 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
379 docbook. The new scheme is recursive and makes use of iterators, the
380 same as latex export works.
381 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
382 directly with the paragraph contents. This code was moved up to
383 output_docbook.C (docbookParagraphs).
384 * sgml.C (openTag, closeTag): removed unneeded newlines.
385 (closeEnvTags) removed.
387 2004-10-23 André Pönitz <poenitz@gmx.net>
389 * undo.C (textUndoOrRedo):
390 * dociterator.C (asDocIterator): work around crash
392 * cursor.C (getStatus): replace ASSERT by more verbose error message
393 and manual correction of the problem. Should increase stability
394 while providing more sensible information.
396 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
400 * bufferlist.C (previous, next): new methods
403 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
405 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
407 * buffer.C (makeDocBookFile): add dsssl stylesheet control
408 entities to preamble.
410 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
412 * messages.C (Pimpl): strip off translation context information
414 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
416 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
417 the cursor is correct (bug 1694)
419 2004-10-13 José Matos <jamatos@lyx.org>
421 * output_docbook.C (docbookParagraphs): fix closing tags in the
424 2004-10-09 José Matos <jamatos@lyx.org>
426 * buffer.C: format up to 237.
427 * bufferparams.C (write): use tostr to convert booleans to strings.
429 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
431 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
433 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
435 * LaTeX.C: implement use of babel language in xindy.
437 2004-10-05 José Matos <jamatos@lyx.org>
439 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
440 Add new translators to help reading and writing the lyx file.
442 2004-10-05 José Matos <jamatos@lyx.org>
444 * ParagraphParameters.C (read):
445 * text.C (readParToken): replace nexToken by more appropriate lex
448 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
450 * LaTeX.C (runMakeIndex):
451 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
452 (usually 'makeindex') configurable.
454 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
455 with a variable rather than with a number.
457 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
459 * output_latex.C (TeXOnePar): make sure font setting is the first
460 thing that gets output (and the last at the end). Should fix bug
463 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
465 * pch.h: use proper signal include
467 * LaTeX.h: Use preferred calling of Boost.Signal
470 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
472 * pch.h: dont include <boost/function/function0.hpp>
474 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
476 * paragraph_pimpl.h: remove usage of ShareContainer
478 * paragraph_pimpl.C: remove initialization of ShareContainer.
480 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
484 * BufferView.C (putSelectionAt): change the semantics when
485 backwards == true: now, this just swaps cursor and anchor wrt the
488 * BufferView.h (putSelectionAt): add some documentation
490 * lyxfind.C (findBackwards): rewrite using while(). In particular,
491 make sure backwardChar is done at least once (to avoid getting
493 (findNextChange): use putSelectionAt in the forward direction
494 (operator()): use Paragraph::isWord
496 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
498 * Spacing.C (set): c_str fix
500 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
502 * lyx_cb.C (Reconfigure): quote the name of configure script in
503 case it contains spaces
505 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
509 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
510 (BOOST_LIBS): use top_buildir when looking for the file
512 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
514 * pch.h: do not use include boost/format.hpp, multiple symbols
515 will result (gcc bug)
518 2004-08-23 José Matos <jamatos@lyx.org>
520 * bufferparams.C (readToken): fix reading of the author field.
522 2004-08-20 José Matos <jamatos@lyx.org>
524 * lyxrc.C: remove support/translator.h inclusion since it is not used.
526 2004-08-20 José Matos <jamatos@lyx.org>
528 * lyxlex.[Ch] (findToken): remove function.
530 * ParagraphParameters.C (findToken):
531 * bufferparams.C (findToken): replace call for previous function
532 with local copy. This local function has one more argument, the
533 read string argument.
535 2004-08-16 José Matos <jamatos@lyx.org>
537 * ParagraphParameters.C (write):
538 * Spacing.C (writeFile):
539 * bufferparams.C (writeLaTeX):
540 * lyx_cb.C (Reconfigure):
541 * paragraph.C (write):
542 * tabular.C (write): remove unnecessary space at end of line.
545 2004-08-16 José Matos <jamatos@lyx.org>
547 * text.C (readParagraph): remove debug message.
549 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
551 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
554 * output_plaintext.C (asciiParagraph): set depth correctly
556 * outputparams.h: add member depth
558 * paragraph_funcs.C (ownerPar): remove.
560 * text2.C (setCounter): remove first_pit; comment out some
561 non-working code that uses ownerPar
563 * BufferView.C (getParentLanguage): remove. Not used anymore, and
566 2004-08-16 José Matos <jamatos@lyx.org>
568 * text.C (readParToken, readParagraph, read): report all unknown tokens.
569 For the same level of importance use the same chanel to report problems.
570 (read): add code to deal with \begin_body and \end_body.
573 2004-08-15 José Matos <jamatos@lyx.org>
575 * lyxlex.C (getString): fix comment, buffer::readBody is now
578 * tex-strings.C (string_papersize): Default -> default,
579 Custom -> custom, for consistency with other options.
581 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
585 * Makefile.am: support pch
587 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
589 * text.C (readParToken): remove the static LyXFont variable and
590 pass it as a parameter instead. This fixes a nasty bug where an
591 inset will be inserted with a bad font in some situations
592 (readParagraph): adapt
594 * text2.C (setCounter): reduce number of calls to pars_[pit]
596 * text.C (singleWidth): add an assert, fix a test
598 * rowpainter.C (paintText): reduce number of calls to singleWidth
600 * paragraph.C (isHfill):
603 2004-08-14 André Pönitz <poenitz@gmx.net>
608 * lyxtext.h (several functions): use a Paragraph & argument
611 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
613 * metricsinfo.h: add a new field ltr_pos to PainterInfo
615 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
617 * text.C (singleWidth): remove useless test
619 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
621 * tabular.h: remove bogus comments
623 * tabular.C (getDescentOfRow):
624 (isPartOfMultiColumn): add assertions
626 * lyxlength.C (inPixels): remove #warning
628 2004-08-14 André Pönitz <poenitz@gmx.net>
630 * paragraph.h: inline getChar()
632 * BufferView.h: remove unused declarations
634 2004-08-14 José Matos <jamatos@lyx.org>
636 * Buffer.[Ch] (readDocument): new name for old readBody.
637 * Buffer.C: new file format, new keywords: \begin_document,
638 \begin_header, \begin_body, \end_body.
640 * bufferparams.C (readToken): replace all calls to lex.nextToken
641 by lex.next(). Do the same to eatLine except where really needed.
643 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
644 line when writing to the lyx file.
646 * output_plaintext.C (asciiParagraph): fix Bibliography style
649 * text.C (read): fix end of file handling.
651 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
653 * MenuBackend.C (Menu::operator[]): new method to access
654 individual menu items
655 (Menu::hasFunc): new method. search for an item that corresponds
657 (MenuBackend::specialMenu): new method
658 (MenuBackend::expand): if a special menu has been set, skip
659 entries whose func() appears in this menu
661 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
663 * text3.C: use Debug::DEBUG a bit more
665 * text.C (leftMargin): try to simplify a tiny bit change var x to
666 l_margin. Dont output the wide margins always.
667 (rightMargin): no margin in inner texts
669 * rowpainter.h (nestMargin): new func
670 (changebarMargin): new func
671 (rightMargin): new func
673 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
677 * factory.C (createInset): modify setDrawFrame
679 * cursor.C: use Debug::DEBUG a bit more
681 2004-08-14 André Pönitz <poenitz@gmx.net>
684 * Makefile.am: new files to accomodate an 'external' (x,y)-position
685 cache for all insets in (at least partially) visible (top-level)
688 * BufferView_pimpl.C: reset external coord cache before every update.
689 This means the coord cache only contains valid entries.
691 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
694 * BufferView_pimpl.C (getInsetByCode): move function out of class
695 and change in to a template in anon namespace. Also fix to do what
698 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
701 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
703 (breakParagraph): rename par to par_offset and use a local
704 reference. Add code to keep the language over a rebreak.
705 (breakParagraphConservative): rename par to par_offset, use a
707 (mergeParagraph): ditto
709 (isFirstInSequence): ditto
710 (outerFont): rename pit to par_offset
712 * paragraph.C: ws change
717 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
719 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
722 * paragraph.C (simpleTeXOnePar): when we have a \item with
723 optional argument, enclose the argument with curly brackets (in
724 case it contains a closing square bracket)
728 * text3.C (checkInsetHit): constify
730 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
732 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
735 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
737 Fix toggling of collapsable insets with the mouse (bug 1558)
739 * lyxfunc.C (dispatch): adapt to LCursor changes
741 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
742 make sure that dispatch is not invoked twice
744 * cursor.C (needsUpdate): new method
745 (dispatch): return void
746 (result): new method, to access the DispatchResult of the cursor.
748 2004-08-13 José Matos <jamatos@lyx.org>
750 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
752 2004-08-13 André Pönitz <poenitz@gmx.net>
754 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
756 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
759 2004-08-12 André Pönitz <poenitz@gmx.net>
761 * text3.C: take out the 'cursor right' form insertInset and only
762 do it in those places when it is really needed. Fixes crash on
765 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
767 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
769 * BufferView_pimpl.C (setBuffer): initialize the current font of
770 the underlying LyXText
772 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
774 * kbsequence.C (print): use UI native formatting for menu
777 * text.C (insertChar): call Paragraph::insertChar with a font
780 * paragraph.C (insertInset, insertChar): the version that takes a
781 LyXFont argument is now a wrapper around the other one (the
782 opposite used to be true).
784 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
785 argument. Font setting is done in Paragraph now.
787 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
789 * outputparams.h: add new members intitle and lang.
791 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
792 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
794 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
796 * text3.C (dispatch): remove special handling of button 4 and 5,
797 it is now taken care of in the frontend code.
799 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
801 * Spacing.h: add <string> (STLPort compile fix)
803 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
805 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
807 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
809 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
812 * converter.C (showMessage): inherit from unary_function, make
815 * buffer.C (writeFile): initialize retval
817 * InsetList.h: rename private variable list to list_
818 * InsetList.[Ch]: adjust accordingly.
820 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
822 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
823 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
824 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
825 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
826 * ParagraphParameters.C, LaTeXFeatures.C: replace
827 "support/std_sstream.h" with <sstream>
829 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
831 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
832 * lyxsocket.C (LyXServerSocket): ditto
833 (serverCallback): ditto
835 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
837 * LaTeXFeatures.C: check release date when loading jurabib.
839 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
841 * lyxserver.C (startPipe): call register_socket_callback
842 (endPipe): call unregister_socket_callback
844 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
846 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
847 (LyXServerSocket): register the callback
848 (LyXServerSocket): unregister the callback
849 (fd): delete function
850 (serverCallback): improve error checking and setup the callbacks.
851 (dataCallback): change arg to fd.
852 (writeln): new func (copied fro the client socket) used for server
854 (LyXDataSocket): simplify
855 (~LyXDataSocket): close ann unregiser callback
856 (server): delete function
857 (fd): delete function
858 (readln): small changes, improve some std::string usage
859 (writeln): constify a bit
861 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
863 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
866 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
868 * BufferView_pimpl.C (setBuffer): set the layout combox value only
869 after it has been populated
871 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
873 * text2.C (insertInset): move cursor when inserting inset.
875 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
877 * kbmap.C (findbindings): a couple of new methods. returns a
878 container of kb_sequence objects. The real work is done by the
879 private recursive version
880 (printbindings): uses findbindings to print out a bracketed list
881 of bindings (renamed from findbinding).
883 * MenuBackend.C (binding): use kb_keymap::findbindings
885 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
887 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
889 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
891 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
893 * paragraph.C (isWord): return true on insets that report
896 * text.C (getWord): use Paragraph::isWord to decide what is in a
897 word and what is not; fix bug 1609.
899 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
901 * tex-strings.C: add "none" to string_paperpackages[], fixes
902 off-by-one-error in the paperpackage selection.
905 * tex-strings.[Ch]: char const * string[n]
906 -> char const * const string[]
908 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
910 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
911 command, return early.
913 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
915 * debug.h: add DEBUG to enum and fix size of ANY.
917 * debug.C: add support for Debug::DEBUG
918 (showTags): cast errorTags.level to unsigned int
920 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
921 (redoCurrentBuffer): ditto
922 (updateScrollbar): ditto
923 * cursor.C (dispatch): ditto
924 * text2.C (setLayout): ditto
926 (updateCounters): ditto
928 (deleteEmptyParagraphMechanism): ditto
930 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
932 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
933 annotations to cleanup the Makefile slightly.
935 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
937 * lyxrc.C: do not set user_email to a default value but use empty
938 instead. The entry used to be translated, which does not work
939 since at the point where lyxrc is constructed there is no
940 translation service available
942 * messages.C (getLocaleDir): remove and use directly
943 lyx_localedir() instead
945 2004-06-02 Angus Leeming <leeming@lyx.org>
947 Fix crash caused by dereferencing null pointer 'exportdata' in
948 OutputParams by creating a new ExportData variable on the heap,
949 storing it in a boost::shared_ptr.
950 The crash was triggered when generating an Instant Preview
951 of an external inset.
953 * Makefile.am: add outputparams.C
955 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
956 (c-tor): allocate memory to it.
958 * exporter.C (c-tor): associated changes.
960 2004-06-01 Angus Leeming <leeming@lyx.org>
962 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
963 contains data before calling isInset(0). (Bug 1513.)
965 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
967 * exporter.C (checkOverwrite): new method
968 * exporter.C (copyFile): new method
969 * exporter.C (Export): copy referenced files to the document dir
970 * exporter.[Ch]: new class ExportedFile
971 * exporter.[Ch]: new class ExportData. Contains currently the
972 names of referenced external files
973 * outputparams.h: add exportdata member.
975 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
977 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
980 2004-05-19 Angus Leeming <leeming@lyx.org>
985 * lyxfunc.C: small changes due to the introduction of namespace
986 lyx::frontend and the moving of namespace biblio to lyx::biblio.
988 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
990 * text3.C (dispatch): supress update when only moving the cursor
991 * cursor.C (selHandle): remove commented code
993 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
995 * paragraph.C (startTeXParParams): correct column count
996 * CutAndPaste.C (pasteSelection): remove const_cast
997 * output_docbook.C (docbookParagraphs): remove const_cast
998 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
999 const_cast and return ParagraphList::const_iterator
1000 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1001 * output_plaintext.C (writeFileAscii): remove const_cast
1002 * paragraph.[Ch] (simpleTeXOnePar): make const
1003 * paragraph_funcs.C (outerPar): use const iterators
1004 * paragraph_pimpl.C (validate): use const iterators
1005 * text.C (setHeightOfRow): use const iterators
1007 2004-05-17 Angus Leeming <leeming@lyx.org>
1010 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1012 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1013 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1014 if the citation engine has changed.
1016 2004-05-14 José Matos <jamatos@lyx.org>
1018 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1019 if the textclass does not provide it. Have it different for sgml and
1021 support the language of document.
1022 * output_docbook.C (docbookParagraphs):
1023 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1024 first anchor as the id of the paragraph, remove special case code.
1025 * sgml.C (escapeChar): escape only < & >.
1027 2004-05-14 Angus Leeming <leeming@lyx.org>
1029 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1030 dependencies on src/frontends/controllers/biblio.h. Define a
1031 CiteEngine_enum wrapper class to enable the enum to be forward
1034 2004-05-12 Angus Leeming <leeming@lyx.org>
1036 * buffer.C: up LYX_FORMAT to 234.
1037 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1038 use_numerical_citations with a single biblio::CiteEngine cite_engine
1040 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1042 2004-05-13 José Matos <jamatos@lyx.org>
1045 * converter.C (Converter, readFlags): add xml member.
1046 * outputparams.h: add XML flavor.
1047 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1049 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 * lyxfunc.C (dispatch):
1052 (getStatus): fix handling of LFUN_SEQUENCE
1054 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1056 * debug.C (showLevel): do not forget the end-of-line marker
1058 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1060 * kbmap.C (read): do not stop parsing a bind file when an error
1063 2004-04-29 Angus Leeming <leeming@lyx.org>
1068 * text2.C: wrap a bunch of #warning statements
1069 inside #ifdef WITH_WARNINGS blocks.
1071 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1073 * buffer.C: increment format to 233.
1075 2004-04-28 Angus Leeming <leeming@lyx.org>
1077 * BufferView_pimpl.C:
1080 s/updateToolbar()/updateToolbars()/
1081 s/Toolbar.h/Toolbars.h/
1083 2004-04-28 Angus Leeming <leeming@lyx.org>
1085 * BufferView.[Ch] (c-tor):
1086 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1087 No longer passes these data to the WorkArea generator.
1089 2004-04-28 Angus Leeming <leeming@lyx.org>
1091 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1093 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1095 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1097 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1099 * output_latex.C (TeXEnvironment): make sure that there is a line
1100 break before \end{foo} for the last paragraph of a document
1101 (TeXOnePar): if the paragraph is at the end of the document (or
1102 inset) and the language has to be reset, then make sure that the
1103 line break is _before_ the language command, not after (fixes bug
1104 1225); also make sure that the language reset command is the first
1105 thing after the paragraph (to ensure proper nesting of
1106 environments and thus fix bug 1404)
1108 2004-04-21 John Levon <levon@movementarian.org>
1111 * ToolbarBackend.C: make "name" be a programmatic name
1112 and a gui_name field.
1114 * lyxfunc.C: display the minibuffer on M-x
1116 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1118 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1121 2004-04-19 Angus Leeming <leeming@lyx.org>
1123 * BufferView_pimpl.C (setBuffer): changed preview interface.
1125 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1128 2004-04-19 John Levon <levon@movementarian.org>
1130 * BufferView_pimpl.C:
1131 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1133 2004-04-05 Angus Leeming <leeming@lyx.org>
1135 * text.C (redoParagraphs): add call to updateCounters(), thereby
1136 fixing the missing "Figure #:" label from the caption of a
1139 2004-04-13 Angus Leeming <leeming@lyx.org>
1141 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1142 cursor is clicked out of an inset.
1144 2004-04-13 Angus Leeming <leeming@lyx.org>
1146 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1147 than an InsetOld one.
1149 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1151 * format.[Ch]: add editor to Format
1152 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1153 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1155 2004-04-08 André Pönitz <poenitz@gmx.net>
1157 * metricsinfo.h: remove PainterInfo::width member
1159 2004-04-08 Angus Leeming <leeming@lyx.org>
1161 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1162 "\providecommand" rather than "\newcommand", thereby preventing
1163 clashes with packages that define "\boldsymbol" themselves.
1166 2004-04-08 Angus Leeming <leeming@lyx.org>
1168 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1169 thereby squashing an unnecessary warning.
1171 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1173 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1176 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1178 * BufferView.C (setCursor): call redoParagraph (some insets could
1180 (putSelectionAt): remove the 'double update' trick
1182 * BufferView_pimpl.C (fitCursor): call refreshPar
1183 (workAreaDispatch): remove an uneeded update call
1184 (dispatch): remove some manual update calls
1186 * cursor.[Ch]: remove cached_y_, updatePos
1187 (selHandle): set noUpdate when appropriate
1189 * lyxfunc.C (dispatch): track if we need an update
1191 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1193 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1194 (paintSelection): cheap optimization, do not call cursorX when not
1196 (paintPars): change signature
1199 (paintTextInset): adjust
1203 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1205 * lengthcommon.C: compilation fix: remove explicit array size from
1206 unit_name[] and friends
1208 2004-04-05 Angus Leeming <leeming@lyx.org>
1210 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1212 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1213 present only for the preferences dialog.
1214 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1216 2004-04-05 Angus Leeming <leeming@lyx.org>
1218 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1219 to enable the frontends to export changes to lyxrc correctly.
1221 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1223 2004-04-07 André Pönitz <poenitz@gmx.net>
1225 * cursor.[Ch] (selClear, adjust): remove math
1227 * cursor_slice.C: more agressive assert
1230 * BufferView_pimpl.C: rework mouse event dispatch
1237 2004-04-05 André Pönitz <poenitz@gmx.net>
1239 * cursor.[Ch] (valign, halign...): remove unneeded functions
1241 2004-04-05 Angus Leeming <leeming@lyx.org>
1243 * lyxlength.[Ch] (unit_name et al.): const-correct.
1245 2004-04-05 Angus Leeming <leeming@lyx.org>
1247 * BufferView_pimpl.C:
1256 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1258 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1260 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1262 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1264 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1265 * BufferView_pimpl.[Ch] (getStatus)
1266 * BufferView.[Ch] (getStatus): add
1267 * lyxfunc.C (getStatus): move lfuns handled in
1268 BufferView::dispatch to te function above
1269 * Cursor.C (setSelection): set selection() = true
1271 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1273 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1275 2004-03-31 Angus Leeming <leeming@lyx.org>
1277 * lyxfunc.C (dispatch): Fall through to the generic
1278 Dialogs::show("preamble").
1280 2004-03-31 Angus Leeming <leeming@lyx.org>
1282 * lyxfunc.C (dispatch): Fall through to the generic
1283 Dialogs::show("spellchecker").
1285 2004-03-31 Angus Leeming <leeming@lyx.org>
1287 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1290 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1295 * insetiterator.[Ch]:
1300 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1302 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1304 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1305 insets where we are putting the cursor.
1307 2004-03-31 Angus Leeming <leeming@lyx.org>
1310 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1312 * lyxrc.[Ch] (read, write): overloaded member functions taking
1313 a std::[io]stream arguments.
1315 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1317 2004-03-31 Angus Leeming <leeming@lyx.org>
1319 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1320 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1322 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1323 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1325 2004-03-31 Angus Leeming <leeming@lyx.org>
1327 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1328 the LFUN_ALL_INSETS_TOGGLE code.
1330 2004-03-30 Angus Leeming <leeming@lyx.org>
1332 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1333 has died. Fall through to the generic Dialogs::show("document").
1335 2004-03-30 Angus Leeming <leeming@lyx.org>
1338 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1339 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1341 * lyxfunc.C (getStatus, dispatch): define the actions for these
1342 lfuns. Little more than a cut and pste job from ControlDocument.C
1344 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1346 2004-03-30 Angus Leeming <leeming@lyx.org>
1349 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1350 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1352 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1353 open/closed state of ollapsable insets. Usage:
1355 all-inset-toggle <state> <name>, where
1356 <state> == "open" || "closed" || "toggle" and
1357 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1359 * lyxtext.h, text2.C (toggleInset): removed.
1361 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1362 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1363 now passes LFUN_INSET_TOGGLE to the found inset.
1365 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1366 is now invoked as "all-insets-toggle toggle branch".
1368 2004-03-30 Angus Leeming <leeming@lyx.org>
1372 * pariterator.[Ch]: added/corrected header blurb.
1374 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1376 * dociterator.[Ch]: add an inset_ member
1377 (backwardPos): implemented
1378 (backwardPos, forwardPos): use inset_ when the stack is empty.
1379 (doc_iterator_begin, doc_iterator_end): implemented
1380 * pariterator.[Ch]: adjust, add begin, end
1381 * insetiterator.[Ch]: adjust, add begin, end
1385 * BufferView_pimpl.C:
1386 * CutAndPaste.C: adjust
1388 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1390 * buffer.C: increment file format to 232.
1391 * LaTeXFeatures.C: add bibtopic package.
1392 * bufferparams.[Ch]: param \use_bibtopic.
1394 * lyxrc.[Ch]: add lyxrc bibtex_command
1395 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1397 * buffer.C: increment file format to 231.
1399 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1401 * dociterator.C: implement forwardPar
1402 * iterators.[Ch]: remove, replaced by
1403 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1405 * BufferView_pimpl.C:
1408 * bufferview_funcs.C:
1414 * Makefile.am: adjust
1416 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1418 * CutAndPaste.C (pasteSelection): fix 2 crashes
1419 (eraseSelection): fix a crash
1420 * paragraph_funcs.C: remove a warning
1422 2004-03-28 Angus Leeming <leeming@lyx.org>
1425 * LyXAction.C (init): new LFUN_PRINT.
1427 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1429 2004-03-27 Angus Leeming <leeming@lyx.org>
1432 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1434 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1436 2004-03-27 Angus Leeming <leeming@lyx.org>
1438 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1439 insetlist always contains non-null pointers to insets.
1441 2004-03-26 Angus Leeming <leeming@lyx.org>
1443 * src/BufferView_pimpl.C:
1444 * src/CutAndPaste.C:
1447 * src/output_plaintext.C:
1448 * src/outputparams.h:
1449 * src/paragraph_funcs.C:
1453 * src/frontends/controllers/ControlErrorList.C:
1454 * src/frontends/gtk/FileDialogPrivate.C:
1455 * src/frontends/gtk/GPainter.C:
1456 * src/frontends/gtk/GToolbar.C:
1457 * src/frontends/qt2/QRef.C:
1458 * src/mathed/math_scriptinset.C: squash compiler warnings.
1460 2004-03-26 Angus Leeming <leeming@lyx.org>
1462 * ispell.C (LaunchIspell::start):
1463 * lyx_cb.C (AutoSaveBuffer::start):
1464 invoke run(DontWait) rather than runNonBlocking().
1466 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1468 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1470 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1472 * kbsequence.C (print): adjust
1474 * kbmap.C (printKeySym): rename and change signature
1475 (printKey): use LyXKeySym::print()
1477 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1479 * undo.C: add using std::advance to compile for stlport
1481 2004-03-24 Angus Leeming <leeming@lyx.org>
1483 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1484 it leads to a crash when no buffer is present.
1486 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1487 Martin Vermeer <martin.vermeer@hut.fi>
1489 * lyxfunc.C (dispatch):
1490 * bufferparams.C (readToken): use the new LColor::setColor
1492 * LColor.[Ch] (setColor): new version that takes two strings as
1493 argument and creates a new color entry if necessary
1495 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1497 * buffer.C (makeLaTeXFile): if the main latex file that is
1498 processed is usually a subdocument of some master, then pretend
1499 for a while that it is actually the master
1501 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1503 * buffer.C (getLabelList):
1504 (getBibkeyList): use getMasterBuffer()
1505 (getMasterBuffer): new method. Returns the main document in the
1506 case where one is using included documents.
1508 2004-03-25 André Pönitz <poenitz@gmx.net>
1512 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1514 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1516 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1517 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1519 * ParameterStruct.h: merge with ParagraphParameters
1521 * lyxtext.h: remove LyXText::parOffset() and getPar()
1523 * text3.C: Remove all 'manual' update calls. We do now one per user
1524 interaction which is completely sufficient.
1528 * BufferView_pimpl.C:
1529 * FontIterator.[Ch]:
1531 * ParagraphParameters.[Ch]:
1536 * cursor_slice.[Ch]:
1543 * output_docbook.[Ch]:
1544 * output_latex.[Ch]:
1545 * output_linuxdoc.[Ch]:
1546 * output_plaintext.[Ch]:
1548 * paragraph_funcs.[Ch]:
1549 * paragraph_pimpl.[Ch]:
1557 * frontends/controllers/ControlDocument.C:
1558 * frontends/controllers/ControlErrorList.C:
1559 * frontends/controllers/ControlSpellchecker.C:
1562 * insets/insetbase.h:
1563 * insets/insetbibitem.C:
1564 * insets/insetbox.C:
1565 * insets/insetbranch.C:
1566 * insets/insetcaption.C:
1567 * insets/insetcharstyle.C:
1568 * insets/insetcharstyle.h:
1569 * insets/insetcollapsable.C:
1570 * insets/insetcollapsable.h:
1571 * insets/insetert.C:
1572 * insets/insetfloat.C:
1573 * insets/insetfoot.C:
1574 * insets/insetmarginal.C:
1575 * insets/insetnote.C:
1576 * insets/insetoptarg.C:
1577 * insets/insettabular.C:
1578 * insets/insettext.C:
1579 * insets/insettext.h:
1580 * insets/insetwrap.C:
1581 * mathed/math_mboxinset.C:
1582 * mathed/math_nestinset.C:
1583 * mathed/math_scriptinset.C:
1584 * mathed/math_scriptinset.h:
1587 2004-03-24 Angus Leeming <leeming@lyx.org>
1589 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1590 deal with any child processes that have finished but are waiting to
1591 communicate this fact to the rest of LyX.
1593 2004-03-24 Angus Leeming <leeming@lyx.org>
1595 64-bit compile fixes.
1597 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1598 (c-tor): pass lyx::pos_types rather than ints.
1600 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1603 * text.C (Delete): compile fix.
1604 (getPar): ensure that function declaration is the same as that in
1607 2004-03-23 Angus Leeming <leeming@lyx.org>
1609 * ispell.C (LaunchIspell):
1610 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1611 a boost::shred_ptr rather than a std::auto_ptr.
1613 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1615 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1616 handle LFUN_FILE_INSERT_*
1618 * lyxrc.C (setDefaults, getDescription, output, read):
1619 * lyxrc.h: remove ps_command
1621 2004-03-22 Angus Leeming <leeming@lyx.org>
1623 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1624 Ensure that error_handler is processed once only and that all data
1625 is saved before attempting to output any warning messages.
1627 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1629 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1631 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1633 2004-03-19 André Pönitz <poenitz@gmx.net>
1635 * cursor.[Ch] (reset): take main text inset as argument
1637 * BufferView: adjust
1638 * BufferView_pimpl.C: adjust
1640 * paragraph.[Ch]: fix completely broken operator=()
1642 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1644 * LColor.C (getFromLyXName): make sure that the color name is used
1647 2004-03-17 Angus Leeming <leeming@lyx.org>
1650 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1652 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1653 dialog and to kill a forked process.
1655 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1657 * text2.C (setCursorFromCoordinates): fix font problem
1659 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1661 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1662 bogus "rebuild cursor" code
1664 2004-03-11 André Pönitz <poenitz@gmx.net>
1666 * buffer.[Ch]: use InsetText instead of LyXText as container for
1669 * dociterator.[Ch]: drop the BufferView * member which is not needed
1670 anymore after the change to buffer.C
1672 * paragraph_funcs.C:
1676 * BufferView_pimpl.[Ch]:
1678 * cursor_slice.[Ch]: adjust
1680 * text3.C: fix bug in mathDispatch
1682 2004-03-08 André Pönitz <poenitz@gmx.net>
1684 * undo.[Ch]: use 'StableDocumentIterator' as base for
1687 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1690 * bufferparams.[Ch]: add jurabib support and param.
1692 * LaTeX.C: add FIXME/comment.
1694 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1696 * buffer.C: increment file format to 230.
1698 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1700 * cursor.C (dispatch): avoid infinite loops
1702 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1704 * rowpainter.C (paintSelection): fix x coordinates
1706 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1708 * text.C (rowBreakPoint): fix breaking before displayed insets
1710 2004-03-01 André Pönitz <poenitz@gmx.net>
1712 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1714 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1718 * BufferView_pimpl.C:
1726 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1732 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1733 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1735 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1737 * Bidi.[Ch] (computeTables): const correctness
1738 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1739 fill_hfill, fill_label_hfill and x from Row
1740 * lyxtext.h: prepareToPrint returns a RowMetrics
1741 * rowPainter.C: adjust
1742 * text.C (prepareToPrint): use width, not textWidth. adjust
1743 (redoParagraphInternal, cursorX): adjust
1744 * text2.C (getColumnNearX): adjust
1745 (init): put a default value to the top LyXText::width
1747 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1749 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1751 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1753 * lyxtext.h: add FontIterator class
1755 * text.C (FontIterator, operator*, operator->, operator++): add
1756 (rowBreakPoint, setRowWidth): adjust (fixing a
1759 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1761 * BufferView_pimpl.C (workAreaDispatch): allow also
1762 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1764 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1766 * text.C (rowBreakPoint): fix a bug showing with very large insets
1768 2004-02-25 André Pönitz <poenitz@gmx.net>
1771 * cursor.[Ch]: move some mathed specific code to mathed
1773 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1775 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1776 use_tempdir in preferences
1777 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1779 * lyx_main.C: ensure that tempdir is valid
1780 * lyxlex.h: correct typo
1781 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1782 * paragraph.[Ch] (isMultiLingual): make const
1783 * cursor.[Ch] (openable): make const
1785 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1787 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1789 2004-02-20 André Pönitz <poenitz@gmx.net>
1791 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1793 * cursor.[Ch]: prepare for localized getStatus()
1799 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1801 2004-02-20 André Pönitz <poenitz@gmx.net>
1803 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1805 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1807 * text2.C (setCursorFromCoordinates): switch to absolute coords
1809 (cursorDown): adjust
1810 * text3.C (dispatch): adjust
1812 2004-02-16 André Pönitz <poenitz@gmx.net>
1814 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1817 * cursor_slice.[Ch]: remove unneeded acessor function
1819 * lyxtext.h: rename rtl() to isRTL()
1827 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1829 * rowpainter.C (paintSelection): coord fix
1831 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1833 * Spacing.C: compile fix
1835 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1837 * cursor.C (dispatch): restore current_ before returning
1839 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1841 * text2.C (cursorUp, cursorDown): fix coords
1844 2004-02-12 André Pönitz <poenitz@gmx.net>
1849 * text3.C: add LCursor & parameter to most cursor movement functions
1850 remove usage of LyXText::cursorRow() and cursorPar()
1852 * cursor.[Ch]: add textRow() needed members
1855 * BufferView_pimpl.C:
1858 * BufferView_pimpl.C: adjust
1860 2004-02-11 André Pönitz <poenitz@gmx.net>
1864 * BufferView_pimpl.C: shift undo/redo handling
1866 * cursor.[Ch]: fix mathed crash
1869 * lyxtext.h: move selectionAsText to LCursor
1877 * rowpainter.C: fix excessive drawing
1879 2004-02-06 André Pönitz <poenitz@gmx.net>
1882 * BufferView_pimpl.[Ch]:
1883 * text3.C: move some text specific LFUN handling
1885 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1887 * text3.C (checkInsetHit): adjust coords
1888 * text2.C (getColumnNearX): adjust coords
1889 (edit): adjust coords
1890 * text.C (getRowNearY): add two asserts
1892 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1895 * format.C: add using std::distance to compile on gcc 2.95/stlport
1897 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1899 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1901 2004-02-04 André Pönitz <poenitz@gmx.net>
1903 * BufferView.[Ch] (insertInset):
1904 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1909 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1911 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1912 on the default clause of the switch
1913 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1914 wasn't catched by LCursor::dispatch
1916 2004-02-03 André Pönitz <poenitz@gmx.net>
1919 * cursor.[Ch]: some additional asserts
1921 * undo.[Ch]: remove LyXText dependency in interface
1925 * lyxtext.h (firstPar, lastPar): remove dead functions
1930 * paragraph.[Ch]: adjust
1932 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1934 * lyxfind.C (find): fix argument order in call to ::find
1936 2004-02-02 André Pönitz <poenitz@gmx.net>
1938 * cursor.[Ch]: remove direct access to anchor
1940 * text.C: remove findText() hack
1942 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1944 * iterators.[Ch] (lockPath): remove in favour of...
1945 * BufferView.[Ch] (setCursor): this addition
1946 * BufferView.C (putSelectionAt): adjust
1947 * undo.C (performUndoOrRedo): adjust
1948 * lyxfunc.C (dispatch): adjust
1950 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1952 * iterators.C (lockPath): add a missing slice
1953 * undo.C (performUndoOrRedo): remove redundant positioning code
1955 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1957 * vc-backend.C (scanMaster): ";" -> ';'
1959 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1961 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1962 std::binary_function
1964 * lyxtextclass.C (compare_name): rename to...
1965 (LayoutNamesEqual): ...this
1967 * lyxlex_pimpl.C (compare_tags): inherit from
1968 std::binary_function, put back into anon namespace
1970 * lyxfind.C (MatchString): inherig from std::binary_function
1971 (findChange): use empty() istead of !size()
1973 * format.C (FormatNamesEqual): new functor
1980 * converter.C (compare_Converter): rename to...
1981 (ConverterEqual): ...this, and fixup a bit.
1982 (getConverter): use it, and make function const
1983 (getNumber): use it, and make function const
1987 * bufferlist.C: add using boost::bind
1989 * MenuBackend.C (MenuNamesEqual): new functor
1990 (hasMenu): use it, and make function const
1991 (hasSubmenu): use nested bind to get rid of compare_memfun.
1993 2004-01-30 André Pönitz <poenitz@gmx.net>
1995 * BufferView_pimpl.C:
1998 * cursor_slice.[Ch]:
2001 * paragraph_funcs.C:
2002 * paragraph_funcs.h:
2006 * text3.C: move some of the edit(x,y) handling to the insets
2007 some coordinate changes.
2009 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2011 * text.C: add using statements for std::advance and std::distance
2013 * paragraph.C: add using statement for std::distance
2015 * lyxfind.C: add using statement for std::advance
2017 * cursor.C (region): remove std:: from swap
2018 (openable): use nucleus in stead of operator->
2020 * BufferView.C: add using statements for std::distance and std::swap
2022 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2024 * iterators.C: Remove the pimple, move the needed structures to
2025 the header file. Create accessor for the positions stack.
2026 (asPosIterator): remove function
2028 * PosIterator.C (PosIterator): move constructors to top of file
2029 (PosIterator): reimplement the constructor taking a ParIterator in
2031 (setFrom): new function
2032 (operator!=): inline it
2034 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2036 * lyxfind.C (replaceAll): use std::advance
2038 * iterators.h: inherit from std::iterator.
2040 * PosIterator.C (advance, distance): remove
2041 * PosIterator.h: interit from std::iterator.
2043 2004-01-26 André Pönitz <poenitz@gmx.net>
2046 * BufferView_pimpl.[Ch]:
2050 * bufferview_funcs.C:
2060 * output_linuxdoc.C:
2061 * output_plaintext.C:
2063 * paragraph_funcs.[Ch]:
2064 * paragraph_pimpl.[Ch]:
2070 * text3.C: more IU: dumps most of the rest of the mathcursor
2071 implementation into cursor.[Ch]; "globalize" a bit of it.
2073 2004-01-25 Angus Leeming <leeming@lyx.org>
2075 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2077 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2079 * LaTeXFeatures.h: add nice_ and nice() const
2080 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2082 2004-01-20 André Pönitz <poenitz@gmx.net>
2085 * BufferView_pimpl.C:
2087 * bufferview_funcs.C:
2089 * cursor_slice.[Ch]:
2100 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2101 LCursor and mathcursor parts to LCursor and InsetBase.
2103 2004-01-15 André Pönitz <poenitz@gmx.net>
2105 * cursor_slice.[Ch]: add a few covienience functions
2107 * funcrequest.[Ch]: remove BufferView * member
2109 * BufferView_pimpl.C:
2116 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2118 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2120 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2121 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2123 2004-01-13 André Pönitz <poenitz@gmx.net>
2126 * lyxtext.h: hide cursor and selection anchor behind accessor function
2129 * BufferView_pimpl.[Ch]:
2131 * bufferview_funcs.C:
2141 * cursor_slice.[Ch]: some integer type changes for inset unification
2143 * lyxcursor.[hC]: remove, it's CursorSlice now.
2146 * BufferView_pimpl.[Ch]:
2147 * bufferview_funcs.C:
2153 * textcursor.[Ch]: adjust
2155 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2157 * text2.C (undoSpan): add and use
2158 * text.C (breakParagraph): use undoSpan (fix bug 578)
2161 2004-01-08 Angus Leeming <leeming@lyx.org>
2163 * BufferView_pimpl.C (MenuInsertLyXFile):
2164 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2165 * lyxfunc.C (menuNew, open, doImport):
2166 FileFilterList change to the FileDialog open and save functions.
2168 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2170 * ShareContainer.h: make isEqual and isUnique adaptable
2172 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2174 2004-01-07 Angus Leeming <leeming@lyx.org>
2177 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2179 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2181 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2182 functions replacing find, replace and replaceAll.
2184 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2185 LFUN_WORDFIND(FORWARD|BACKWARD).
2187 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2189 * text.C (breakParagraph): remove an outdated #warning
2191 2004-01-07 André Pönitz <poenitz@gmx.net>
2193 * lyxfind.C: somewhat clearer logic
2195 * text.C: prevent crash in cursorX on unitialized row cache
2197 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2199 * lyxcursor.[Ch] (operator>): add
2200 * textcursor.C (selStart, selEnd): use std::min and std::max
2202 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2204 * Chktex.C: include boost/format.hpp
2206 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2208 * InsetList.C: replace functor MathcIt with adaptable functor
2210 (insetIterator): modify accordingly
2212 * BranchList.h: move the BranchNamesEqual functor here from...
2213 * BranchList.C: ... to here
2215 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2217 (add): replace a finding loop with std::find_if.
2219 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2221 * output_docbook.C: moving LatexParam functionality into
2224 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2226 * buffer.C: increment format to 229.
2228 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2231 * lyx_sty.[Ch]: remove minipageindent_def
2237 * text3.C: remove LFUN_INSET_MINIPAGE
2239 2003-12-28 Angus Leeming <leeming@lyx.org>
2241 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2243 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2245 * text2.C (setParagraph): fix off-by-one crash
2247 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2249 * output_docbook.C: header stuff for AGU
2251 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2253 * text2.C (redoCursor): remove
2256 * BufferView_pimpl.C: remove calls to redoCursor and
2257 setCursor(cursor.par(), cursor.pos()) all around
2259 2003-12-15 Angus Leeming <leeming@lyx.org>
2261 * buffer.C: up the format to 228.
2263 2003-12-15 André Pönitz <poenitz@gmx.net>
2265 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2270 * BufferView_pimpl.C:
2279 2003-12-15 Angus Leeming <leeming@lyx.org>
2281 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2282 than getFromGUIName to manipulate the color.
2284 2003-12-14 Angus Leeming <leeming@lyx.org>
2286 * BranchList.[Ch]: minimize the API.
2287 (Branch::getBranch, getColor): now return a 'const &'.
2288 (Branch::setSelected) now returns a bool set to true if the
2289 selection status changes.
2290 (BranchList::clear, size, getColor, setColor, setSelected,
2291 allBranches, allSelected, separator): removed.
2292 (BranchList::find): new functions, returning the Branch with
2294 (BranchList::add, remove): return a bool indicating that
2295 the operation was successful.
2297 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2298 new InsetBranch::isBranchSlected member function.
2300 * LColor.[Ch]: mimimize the API.
2301 (fill): renamed as addColor and made private.
2302 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2303 versions of these functions taking a string arg have been removed.
2305 * bufferparams.C (readToken):
2306 * lyxfunc.C (dispatch):
2307 * lyxrc.C (read): changes due to the altered BranchList and
2310 * factory.C (createInset, readInset): changes due to altered
2313 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2316 * lyxfunc.C: remove insetminipage. "minipage-insert"
2317 now produces a frameless minipage box inset.
2319 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2321 * textcursor.[Ch] (selStart,selEnd): add new methods
2322 remove selection::start, end, use LyXCursor::operator<
2323 * lyxcursor.[Ch] (operator<): add
2324 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2325 * BufferView.[Ch] (unsetXSel): add
2326 * text2.C (clearSelection): use unsetXSel,adjust
2329 * rowpainter.C: adjust
2330 * bufferview_funcs.C (put_selection_at): adjust
2332 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2334 * BufferView_pimpl.C: small coord. correction
2336 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2338 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2339 dragging over the splash screen.
2341 2003-12-11 Angus Leeming <leeming@lyx.org>
2343 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2344 as it is now handled in LyXText::dispatch.
2346 * text3.C (doInsertInset): remove a level of nesting.
2348 2003-12-11 Angus Leeming <leeming@lyx.org>
2350 * factory.C (createInset): changes due to the changed interface to
2351 InsetCommandMailer::string2params.
2353 2003-12-10 Angus Leeming <leeming@lyx.org>
2355 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2356 'dialog-show-new-inset <inset name>'
2358 2003-12-10 Angus Leeming <leeming@lyx.org>
2360 * buffer.C: up the format to 227.
2362 * factory.C: the box inset is now identified simply by 'Box'.
2364 2003-12-10 Angus Leeming <leeming@lyx.org>
2366 * buffer.C: up the format to 226.
2368 * factory.C: the note inset is now identified simply by 'Note'.
2370 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2372 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2373 when a pit is enough. Standarize a couple of loops.
2375 2003-12-05 Angus Leeming <leeming@lyx.org>
2377 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2378 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2379 data to the re-worked "log" dialog.
2381 2003-12-03 André Pönitz <poenitz@gmx.net>
2387 * paragraph_funcs.C:
2389 * text2.C: use Inset::getText instead of Inset::getParagraph
2391 2003-12-03 André Pönitz <poenitz@gmx.net>
2395 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2396 InsetText::read() as LyXText::read()
2398 2003-12-02 Angus Leeming <leeming@lyx.org>
2400 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2401 type. Add a comment in the implementation that the function uses
2402 the stream's bad() function rather than fail() as the std::streams
2405 2003-12-02 André Pönitz <poenitz@gmx.net>
2407 * lyxlex.[Ch]: make interface more similar to std::stream
2409 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2411 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2413 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2415 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2417 * vspace.[Ch]: remove VSpace::NONE
2419 2003-12-01 André Pönitz <poenitz@gmx.net>
2422 * lyxtext.h: move ParagraphList member to LyXText
2423 rename LyXText::ownerParagraphs to LyXText::paragraph
2426 * bufferview_funcs.C:
2436 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2438 * undo.C: fix cursor positioning
2440 2003-12-01 John Levon <levon@movementarian.org>
2442 * BufferView_pimpl.C: fix a crash on exit with
2445 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2447 * BranchList.C: fix setSelected() method.
2449 2003-11-28 André Pönitz <poenitz@gmx.net>
2451 * ParagraphParameters.[Ch]:
2452 * ParameterStruct.h: remove space above/below from Paragraph to
2455 * BufferView_pimpl.C:
2461 * paragraph_funcs.C:
2467 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2469 * factory.C: Syntax change for CharStyles
2471 2003-11-28 André Pönitz <poenitz@gmx.net>
2476 * buffer.[Ch]: move LyXText member
2478 2003-11-28 André Pönitz <poenitz@gmx.net>
2480 * BufferView.[Ch]: make LyXText * text a private member
2482 * BufferView_pimpl.C:
2493 * output_plaintext.C: cleanup
2495 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2498 * lyxtextclass.[Ch]: parametrize SGML document header
2500 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2503 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2506 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2508 * text2.C (setFont): rework using PosIterator (no more recursive)
2509 (setCharFont): no more needed
2510 (setLayout): no more selection cursors fiddling (done by redoCursor)
2511 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2512 destroy remaining ones)
2514 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2516 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2518 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2521 * text3.C: adjust + re-allow multi par depth changes
2522 * textcursor.C: simplify a bit
2524 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2530 * src/output_docbook.C:
2531 * src/output_latex.C:
2536 * src/text2.C: Introducing a number of tags parametrizing various
2537 XML formats that we may want to support
2539 2003-11-25 André Pönitz <poenitz@gmx.net>
2541 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2543 * lyxtext.h (leftMargin/rightMargin): simplify interface
2550 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2552 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2553 master file to any child files. Fixes bug 546.
2555 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2557 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2559 2003-11-24 André Pönitz <poenitz@gmx.net>
2561 * rowpainter.C: simplification
2563 * text2.C (updateCounters): remove call to redoParagraph on
2564 changed labels as this is far too expensive.
2566 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2568 * converter.C (convert): fix a crash: this function gets
2569 called with buffer == 0 from importer code.
2571 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2573 * text3.C (cursorPrevious): make sure that we do not compare
2574 iterators form different containers.
2577 * rowpainter.C (paintSelection): make sure that we do not compare
2578 iterators from different containers.
2580 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2581 iterators from different ParagraphList containers.
2584 * text2.C (LyXText): change order of initialization slightly
2585 (operator=): new function. copy all variables except cache_par_
2586 (moveUp): make sure that we do not compare iterators from
2587 different ParagraphList constainers.
2590 * text.C (firstPar): new function
2591 (lastPar): new function
2592 (endPar): new function
2594 * lyxtext.h: move things around and group public functions, public
2595 variables, private functions, private variables
2597 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2599 * factory.C: change call to InsetERT constructor to avoid
2600 additional invocation of method status
2601 * text2.C (toggleInset): remove redundant update() call
2602 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2603 instead of a Bufferview pointer
2605 2003-11-21 André Pönitz <poenitz@gmx.net>
2607 * rowpainter.C: simplification
2609 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2611 * text3.C (dispatch): make possible to extend a word/row selection
2614 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2616 * lyxtext.h: x0_,y0_ -> xo_,yo_
2617 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2618 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2619 * rowpainter.C (paintRows): paint full paragraphs
2621 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2623 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2626 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2628 * lyxtext.h: add x0_, y0_
2629 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2630 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2632 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2634 * text2.C (setCursorIntern): move the x_target update here *
2635 * text3.C: change some bv() to true/false in calls to
2636 cursorUp/Down/Right/Left
2637 * cursor.C: use helper function.
2639 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2641 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2642 * paragraph_funcs.[Ch]: correct comment
2643 * rowpainter.C: do not paint selections away from bv->cursor()
2644 Fix a long standing selection painting bug.
2645 * text3.C: generalize mouse-selection code to LyXTexts other that
2647 * textcursor.C: do not use y coords if we can use par offsets
2649 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2651 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2652 cursor position after e.g. inset insert)
2654 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2656 * lyxfind.C (replace): adjust to locking removal + some
2659 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2661 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2664 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2667 * output_docbook.C: XML sanitation: new layout
2668 parameters InnerTag and CommandDepth
2670 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2672 * BufferView_pimpl.C:
2674 * text3.C: Fix the insertion and modification of button-style
2677 2003-11-13 André Pönitz <poenitz@gmx.net>
2679 * InsetList.[Ch]: remove deleteLyXText
2681 * paragraph.[Ch]: cache beginOfBody position
2686 * text3.C: remove superfluous update() calls
2690 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2692 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2693 * BufferView.C (fitLockedInsetCursor): remove
2694 * cursor.[Ch] (getDim): add
2695 * text.C (getRowNearY): add faster version
2696 * text3.C: remove some update calls
2698 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2710 * text3.C: The Character Style /XML short element patch.
2712 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2715 * factory.C: Small step to solving 'unable to insert some insets'
2718 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2720 * cursor.[Ch] (updatePos): new function for updating the y
2721 position of the tip inset
2722 * bufferview_funcs.C (put_selection_at):
2723 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2725 2003-11-11 André Pönitz <poenitz@gmx.net>
2727 * text.C: remove big comment on invalid Paragraph pointers as it is
2730 2003-11-11 André Pönitz <poenitz@gmx.net>
2732 * text_funcs.[Ch]: merge with ...
2740 * Makefile.am: remove text_funcs.[Ch]
2742 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2744 * cursor.C (getPos): return absolute cached y coord
2746 * BufferView_pimpl.C (fitCursor): new simplistic code
2747 (workAreaDispatch): add a fitCursor call
2749 2003-11-10 André Pönitz <poenitz@gmx.net>
2752 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2754 2003-11-10 André Pönitz <poenitz@gmx.net>
2756 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2757 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2758 indicate that the cursor needs to leave an inset
2760 * lyxtext.h: remove inset locking
2762 * cursor.[Ch]: re-implement functionality provided by inset locking
2765 * BufferView_pimpl.[Ch]:
2767 * bufferview_funcs.[Ch]:
2779 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2781 * PosIterator.[Ch]: replace the stack with a vector, add inset
2783 * iterators.[C]: adjust
2785 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2787 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2789 * paragraph_funcs.C (readParToken): put the correct id in the
2790 error item, not the id of the top paragraph
2792 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2794 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2795 * bufferview_funcs.C (put_selection_at): use the above
2797 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2799 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2801 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2803 * output_linuxdoc.h:
2804 * output_plaintext.h:
2806 * output_docbook.h: add #include statements
2808 2003-11-05 José Matos <jamatos@lyx.org>
2810 * output_docbook.[Ch]:
2811 * output_latex.[Ch]:
2812 * output_linuxdoc.[Ch]:
2813 * output_plaintext.[Ch]: New files for output formats.
2814 * output.[Ch]: New file for helper functions.
2817 * paragraph_funcs.[Ch]: output functions moved to new files.
2819 * outputparams.h: rename of latexrunparams.h
2827 * paragraph_funcs.[Ch]:
2828 * paragraph_pimpl.[Ch]:
2829 * tabular.[Ch]: rename ascii to plaintext
2830 and LatexRunParams to OutputParams.
2832 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2834 * iterators.[Ch] (text): require bv argument
2835 * undo.C (recordUndo):
2836 * lyxfunc.C (dispatch):
2837 * bufferview_funcs.C (put_selection_at): adjust
2839 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2841 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2843 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2845 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2848 2003-11-04 André Pönitz <poenitz@gmx.net>
2850 * cursor.[Ch]: restructure
2853 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2855 * iterators.[Ch] (asCursor): remove
2857 * lfuns.h: remove LFUN_INSET_EDIT
2863 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2865 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2867 * lyxfind.[Ch]: complete overhaul
2868 * BufferView_pimpl.C:
2870 * paragraph.[Ch] (insert): add
2872 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2876 * text.C: remove dead spellcheck code
2878 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2880 * dispatchresult.h: add a val setter
2882 * cursor.C (dispatch): use a tempvar for data_[i]
2884 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2886 * PosIterator.[Ch]: compile fix
2888 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2890 * text.C (cursorPar): deactivate the cursor cache
2892 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2894 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2896 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2898 * text3.C (dispatch): adjust for new DisptchResult semantics.
2900 * lyxfunc.C (dispatch): handle update when return from
2901 Cursor::dispatch, adjust for new DispatchResult semantics.
2903 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2904 DispatchResult(true) mean to not update. Add class functions for
2905 setting dispatched and update, as well as reading.
2907 * cursor.C (dispatch): don't handle update here
2909 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2911 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2912 * trans_mgr.C: adjust
2914 * paragraph_funcs.C (readParToken): exception safety
2916 * lyxvc.h: store the vcs pointer in a scoped_ptr
2919 * lyxsocket.C (serverCallback): exception safety
2921 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2923 * ispell.C (clone): make it return a auto_ptr
2925 * factory.C (createInset): exception safety
2926 (readInset): exception safety
2928 * bufferlist.C (newBuffer): exception safety
2930 * Thesaurus.C (Thesaurus): use initialization for aik_
2932 * MenuBackend.C (expandToc): exception safety.
2934 2003-11-03 André Pönitz <poenitz@gmx.net>
2938 * bufferview_funcs.C: remove getInsetFromId()
2941 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2947 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2949 * PosIterator.C (distance, advance): new
2950 * bufferview_funcs.[Ch] (put_selection_at): new
2951 * iterators.[Ch] (lockPath): new
2953 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2955 * iterators.[Ch] (asPosIterator): added
2956 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2957 * PosIterator.[Ch]: added
2959 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2963 * cursor.C (dispatch):
2964 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2966 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2967 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2968 contructor, add a class function dispatched. Remove operator>=
2970 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2972 * debug.C: only use the default constructor for debugstream
2975 * main.C (main): include debug.h and setup the lyxerr streambuf
2978 2003-10-31 José Matos <jamatos@lyx.org>
2980 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2982 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2983 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2984 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2985 * paragraph_pimpl.C (simpleTeXSpecialC):
2986 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2987 add LatexRunParams argument.
2989 * exporter.C (Export): change call accordingly.
2991 * latexrunparams.h: add new member to take care of the other backends.
2992 2003-10-30 José Matos <jamatos@lyx.org>
2994 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2995 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2996 factorise code for paragraph output.
2998 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3001 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3003 * text3.C (dispatch):
3004 * lyxfunc.C (dispatch):
3005 * cursor.C (dispatch):
3006 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3008 * dispatchresult.h: make the dispatch_result_t ctor explicit
3010 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3013 * buffer.C: small refactoring of docbook stuff
3015 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3017 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3020 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3022 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3023 operator dispatch_result_t, and operators for == != and >=
3025 * cursor.C (dispatch): adjust for operator dispatch_result_t
3026 removal. comment out call to update
3028 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3030 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3038 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3041 * dispatchresult.h: new file, DispatchResult broken out of
3044 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3046 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3048 * text.C (rowBreakPoint): put a hack inside #if 0
3050 2003-10-28 André Pönitz <poenitz@gmx.net>
3054 * paragraph_funcs.C:
3057 * text2.C: general cleanup (lots of small stuff)
3059 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3061 * text2.C (cursorEnd): simple fix to the "end key goes to one
3062 before the end on last row" bug
3064 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3066 * text.C (backspace): fix the "zombie characters"
3068 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3070 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3072 2003-10-27 André Pönitz <poenitz@gmx.net>
3074 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3076 * factory.C: handle new InsetPagebreak, InsetLine
3078 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3079 and move handling into new InsetPagebreak, InsetLine
3081 * BufferView_pimpl.C:
3083 * ParagraphParameters.C:
3084 * ParameterStruct.h:
3089 * paragraph_funcs.C:
3090 * paragraph_pimpl.C:
3096 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3099 * lyxrow_funcs.[Ch]:
3105 * text3.C: remove lastPos uses in favour of Row::endpos
3107 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3109 * undo.C (performUndoOrRedo): fix two crashes by setting a
3110 cursor by hand and reordering some calls. Use bv->lockInset instead
3111 of inset->edit because the latter loses cursor information
3113 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3115 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3117 (rowBreakPoint): fix width. change point to point + 1.
3118 Add a missing check.
3120 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3123 * lyxfunc.C: fix (at least partly) the problems
3124 with the Nav menu and headers inside branch insets
3127 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3129 * paragraph.C (getChar): add strong asserts
3131 * lyxrow_funcs.C (lastPos): remove hideous hack
3133 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3134 (fill): adjust to that (avoid an infinite loop)
3136 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3138 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3140 2003-10-23 André Pönitz <poenitz@gmx.net>
3142 * RowList_fwd.h: change list<> to vector<> to gain speed
3143 after suggestion from Alfredo
3145 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3147 * lyxtext.h: move the bidi stuff from here...
3150 * Bidi.[Ch]: ... to here
3152 2003-10-23 André Pönitz <poenitz@gmx.net>
3155 * text.C (isLastRow, isFirstRow): new functions
3157 * paragraph.h: new width cache member
3159 * rowpainter.C: replace RowList::iterator with Row & where possible
3161 * lyxfunc.C: replace several view()->text with a single call
3163 * toc.C: fix 'unused' warning
3165 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3167 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3168 when woring with stream::pos_type
3169 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3171 2003-10-22 André Pönitz <poenitz@gmx.net>
3174 * text.C: use Row & instead of RowList::iterator
3176 * lyxrow.h: rename end() to endpos()
3182 2003-10-22 Angus Leeming <leeming@lyx.org>
3184 * buffer.[Ch] (fully_loaded): new member function, returning true
3185 only when the file has been loaded fully.
3186 Used to prevent the premature generation of previews and by the
3187 citation inset to prevent computation of the natbib-style label.
3189 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3190 templates are all set up.
3192 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3194 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3196 * text.C: fixed an "oops" in the "is a bit silly"
3199 2003-10-21 André Pönitz <poenitz@gmx.net>
3201 * FuncStatus.[Ch]: small stuff, whitespace
3203 * lyxfont.[Ch]: operator<<() for debug reasons
3207 * lyxtext.h: whitespace, spelling
3209 * paragraph.C: naming of variables
3212 * text2.C: small stuff
3215 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3217 * text.C: (1) finish off the inset display() work;
3218 (2) fix the "is a bit silly" bug (accessing char
3221 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3223 * text.C: re-introduce display() for insets, fixing the
3224 various bugs (stretch of line above, math inset
3227 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3229 * text.C (rightMargin): remove spurious semicolon
3231 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3234 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3236 * text3.C: fix one crash due to wrong cursor def
3238 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3240 * vc-backend.C (scanMaster): make the regex static
3242 * LaTeX.C (scanAuxFile): make the regexs static
3244 * text3.C (doInsertInset, dispatch, dispatch):
3245 * text2.C (cursorUp, cursorDown):
3246 * text.C (selectNextWordToSpellcheck):
3247 * BufferView_pimpl.C (dispatch):
3248 * lyxfunc.C (dispatch): localDispatch -> dispatch
3250 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3252 * lyxsocket.C: include <cerrno>
3254 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3256 * lyxfunc.C (dispatch): remove textcache stuff
3258 * bufferlist.C (release): remove textcache stuff
3261 * TextCache.C: delete file
3262 * TextCache.h: delete file
3264 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3266 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3267 delete of the bv_->text.
3268 (resizeCurrentBuffer): remove texcache stuff
3269 (workAreaResize): ditto
3271 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3273 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3276 2003-10-16 André Pönitz <poenitz@gmx.net>
3283 * text3.C: speed up by storing y positions per paragraph plus per-row
3284 offset instead of having a 'full' y position in the row.
3286 2003-10-15 André Pönitz <poenitz@gmx.net>
3290 * undo.[Ch]: make undo aware of inner insets
3292 2003-10-14 Angus Leeming <leeming@lyx.org>
3294 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3295 static member functions LyX::ref() and LyX::cref.
3296 (lastfiles): new accessor functions for the new lastfiles_ member var.
3297 (addLyXView, views_): add a new LyXView to the list of views_.
3298 (updateInset): loop over all LyXViews to call their own updateInset
3299 member function, returning a pointer to the Buffer owning the inset.
3301 * BufferView_pimpl.C (loadLyXFile):
3302 * MenuBackend.C (expandLastfiles):
3303 * bufferlist.C (MenuWrite, QuitLyX):
3304 lastfiles is no longer a global variable.
3305 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3307 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3308 static function. Access through LyX::cref().emergencyCleanup().
3310 2003-10-14 André Pönitz <poenitz@gmx.net>
3312 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3314 * undo.[Ch]: restoring part of 'undo in insets'
3317 * undo_funcs.[Ch]: merge with undo.[Ch]
3319 * tabular.C: small cleansing stuff
3321 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3323 * paragraph_funcs.C (readParToken): report unknown insets as error
3324 boxes. Use the outer paragraph as location (also for unknown
3327 * factory.C (readInset): do not abort on reading an unknown inset.
3328 Eat it and return 0.
3330 2003-10-13 Angus Leeming <leeming@lyx.org>
3332 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3334 * lyxrc.C: displayTranslator is now a function,
3335 declared in GraphicsTypes.h.
3337 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3339 * format.C: new placeholder $$a to pass the socket address.
3341 * bufferlist.[Ch]: new function getBufferFromTmp.
3343 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3344 files in the temporary dir.
3346 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3348 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3350 * Makefile.am: add lyxsocket.[Ch].
3352 * lyx_main.C (error_handler): handle SIGPIPE.
3354 2003-10-13 André Pönitz <poenitz@gmx.net>
3356 * BufferView_pimpl.C:
3361 * undo_funcs.[Ch]: use paroffset_type instead of
3362 ParagraphList::iterators to prevent multiple conversion
3363 (and get a more robust interface)
3365 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3369 * text3.C (dispatch): ditto
3371 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3373 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3374 move the onlyfile, use onlyfile instead of foundfile in a couple
3377 * DepTable.C (update): flush the error stream a bit more
3379 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3381 * lyxserver.C (callback): adjust
3383 * lyxfunc.C (getStatus): add a missing brace in commented code
3384 (ensureBufferClean): reindent
3385 (dispatch): delete version taking a string
3387 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3389 * LaTeX.C (deplog): move found file handlig from here...
3390 (handleFoundFile): .. to new function here.
3391 (deplog): make sure to discover several files mentioned on the
3394 2003-10-10 André Pönitz <poenitz@gmx.net>
3401 * text3.C: fix some of the tabular crashes
3403 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3405 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3407 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3409 2003-10-09 André Pönitz <poenitz@gmx.net>
3411 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3414 * BufferView_pimpl.C:
3415 * bufferview_funcs.C:
3426 * undo_funcs.C: adjust
3428 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3430 * text2.C (incrementItemDepth): new function, use a backtracking
3431 algorithm to discover the correct item depth.
3432 (resetEnumCounterIfNeeded): new function, use a backtracking
3433 algorithm to discover if counter reset is needed.
3434 (setCounter): use them. Simplify a bit. Add different labels for
3435 different item depths for itemize.
3437 * paragraph.C (Paragraph): remove initialization of enumdepth
3440 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3441 enumerate and itemize. Change the type of itemdepth to signed char.
3443 2003-10-08 André Pönitz <poenitz@gmx.net>
3445 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3450 * tabular.[Ch]: fix crash after 'row-insert'
3452 2003-10-08 Angus Leeming <leeming@lyx.org>
3454 Fix doxygen warnings.
3456 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3457 Remove CutAndPaste:: prefix from header file declaration.
3459 * LColor.h (fill): remove LColor:: prefix from declaration.
3461 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3462 use lyx::depth_type rather than Paragraph::depth_type so that
3463 header file and .C file match.
3465 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3467 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3468 * aspell.C: \file aspell_local.C -> \file aspell.C
3469 * gettext.C: \file gettext.C -> \file src/gettext.C
3470 * gettext.h: \file gettext.h -> \file src/gettext.h
3471 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3472 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3473 * text.C: \file text.C -> \file src/text.C
3475 * toc.C: move comment so that doxygen is not confused.
3477 2003-10-07 Angus Leeming <leeming@lyx.org>
3479 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3481 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3484 * aspell_local.h: add forgotten std::string's.
3486 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3493 * text3.C: The Box patch. Fancybox support, minipage, parbox
3495 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3501 * ParagraphParameters.h:
3511 * lyxtextclasslist.h:
3514 * paragraph_pimpl.C:
3515 * textcursor.h: add <string> and other small fixes to make Lars'
3516 std::string patch compile with STLport.
3518 2003-10-06 Angus Leeming <leeming@lyx.org>
3520 * LColor.h: Add missing #include <string>.
3522 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * All most all file in all subdirs: Make <string> be the prefered
3525 way of getting to std::string, add using declarations.
3527 2003-10-06 André Pönitz <poenitz@gmx.net>
3529 * metricsinfo.C: initialize LyXFont before changing attribute.
3530 (fixes the 'math in \emph is upright' bug)
3532 2003-10-06 André Pönitz <poenitz@gmx.net>
3534 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3536 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3539 * paragraph_pimpl.C: Small fixes to build using STLport
3541 2003-10-02 André Pönitz <poenitz@gmx.net>
3544 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3546 2003-10-01 André Pönitz <poenitz@gmx.net>
3548 * factory.C: assert early
3550 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3552 * lyx_main.C: remove the global debug object
3554 * debug.h: adjust for new debugstream
3556 * debug.C: adjust for new debugstream and keep the global debug
3559 2003-09-22 Angus Leeming <leeming@lyx.org>
3561 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3562 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3563 an incomplete class LyXFont.
3565 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3567 * factory.C: bug fix in branches
3569 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3571 * lyxfunc.C (processKeySym): adjust
3573 (dispatch): change arg name from ev to func, adjust
3574 (sendDispatchMessage): ditto
3576 * lyx_main.C (defaultKeyBindings): adjust keybindings
3577 (deadKeyBindings): ditto
3579 * kbsequence.C (addkey): return a FuncRequest
3581 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3583 * kbmap.C (bind): take a FuncRequest as arg, adjust
3586 (defkey): change to take a FuncRequest as arg, adjust
3587 (findbinding): take a FuncRequest as arg, adjust.
3589 * funcrequest.h (operator=): added
3591 * funcrequest.C (FuncRequest): default kb_action changed from
3592 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3594 * buffer.C (dispatch): simplify
3595 (dispatch): adjust to take a FuncRequest as arg, adjust
3597 * boost.C (assertion_failed): change assertion message slightly
3599 * ToolbarBackend.C (read): simplify
3601 * MenuBackend.C (binding): adjust call to findbinding, add a
3602 message if no binding is found.
3604 (expandToc): correct by adding a empty FuncRequest
3606 * LyXAction.C: include <boost/assert.hpp>
3607 (isPseudoAction): delete function
3608 (LookupFunc): change name to...
3609 (lookupFunc): this. change return type to FuncRequest.
3610 (getActionName): take kb_action as arg, simplify
3611 (funcHasFlag): add an assert, simplify.
3613 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3615 * toc.C (action): return a FuncRequest, simplify
3617 * lyxfunc.C (processKeySym): adjust
3618 (getStatus): delete version that takes an int.
3620 (dispatch): delete version that takes action as int
3622 (sendDispatchMessage): simplify and adjust
3624 * funcrequest.C (getArg): take unsigned int as arg
3626 * ToolbarBackend.C (read): adjust
3627 (add): delete version that takes func as a string.
3628 (getIton): take a FuncRequest as arg
3630 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3633 * MenuBackend.C (MenuItem): add a new construct that only takes a
3634 Kind, simplify the constructor use for submenus.
3636 (expandLastfiles): adjust
3637 (expandDocuments): adjust
3638 (expandFormats): adjust
3639 (expandFloatListInsert): adjust
3640 (expandFloatInsert): adjust
3641 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3643 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3644 Remove class variables lyx_pseudo_map and lyx_arg_map
3646 * LyXAction.C (searchActionArg): delete function
3647 (getPseudoAction): delete function
3648 (retrieveActionArg): delete function
3649 (LookupFunc): make it return kb_action, simplify.
3650 (getActionName): simplify
3652 * factory.C (createInset): fix new bug
3654 2003-09-19 Angus Leeming <leeming@lyx.org>
3656 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3657 masterFilename_ parameter in the include inset.
3659 * factory.C (createInset): changes due to the changes to InsetInclude.
3661 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3663 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3665 2003-09-18 Angus Leeming <leeming@lyx.org>
3668 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3669 Inset::fillWithBibKeys.
3670 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3672 2003-09-18 Angus Leeming <leeming@lyx.org>
3674 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3676 (ctor): pass and store a 'Buffer const &'
3677 (buffer): new member function.
3679 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3680 '*this' to the LaTeXFeatures ctor.
3682 2003-09-18 Angus Leeming <leeming@lyx.org>
3688 * text.C: rename EnumLColor as LColor_color.
3690 2003-09-18 Angus Leeming <leeming@lyx.org>
3692 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3693 remove #include "insets/insetbase.h" from cursor.h.
3695 2003-09-18 Angus Leeming <leeming@lyx.org>
3697 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3698 InsetOld_code to remove #include "inset.h".
3700 * iterators.C: add #include "insets/inset.h"
3702 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3704 * BufferView.C: remove more locking stuff that apparently doesn't
3705 do anything sensible.
3707 2003-09-16 André Pönitz <poenitz@gmx.net>
3710 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3713 2003-09-16 Angus Leeming <leeming@lyx.org>
3715 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3717 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3720 * paragraph.h: remove #include "lyxfont.h". Forward declare
3723 2003-09-16 Angus Leeming <leeming@lyx.org>
3725 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3726 of support/textutils.h.
3727 (isWord): move the contents of support/textutils.h's IsWordChar here.
3733 * text2.C: add #include "paragraph.h".
3736 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3738 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3744 * LaTeX.C: use namespace alias for lyx::support::os
3746 2003-09-16 Angus Leeming <leeming@lyx.org>
3749 * bufferview_funcs.C:
3752 * paragraph_pimpl.C:
3754 * text.C: add #include "LColor.h".
3756 2003-09-16 Angus Leeming <leeming@lyx.org>
3758 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3759 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3761 Store the FontBits::color variable as an int rather than as an
3762 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3765 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3766 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3767 string calls together.
3769 * lyxrc.C: add #include "LColor.h".
3771 2003-09-15 Angus Leeming <leeming@lyx.org>
3773 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3776 2003-09-15 Angus Leeming <leeming@lyx.org>
3778 * LColor.h: add an EnumLColor wrapper for LColor::color.
3780 * lyxfont.[Ch] (color, setColor, realColor):
3781 * lyxtext.h, text.C (backgroundColor):
3782 pass EnumLColor args to/from the functions, rather than LColor::color
3786 * lyxtext.h: forward declare EnumLColor.
3788 * lyx_main.C: add #include "LColor.h".
3790 2003-09-15 Angus Leeming <leeming@lyx.org>
3792 * .cvsignore: add lyx-gtk.
3794 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3799 * ParagraphParameters.C
3803 * bufferview_funcs.C
3813 * vc-backend.C: remove usage of STRCONV
3815 2003-09-15 Angus Leeming <leeming@lyx.org>
3817 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3818 explicitly define the color passed to the painter.
3820 2003-09-15 Angus Leeming <leeming@lyx.org>
3822 * bufferparams.C (BufferParams): reorder member initializers to avoid
3825 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3827 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3828 * text.C (updateRowPositions): remove an unusual nop
3830 2003-09-12 André Pönitz <poenitz@gmx.net>
3832 * BufferView_pimpl.C:
3841 * Counters.[Ch]: finish the 'automatic counters' job
3843 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3845 * aspell.C: include <boost/assert.cpp> (compile fix)
3847 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3849 * boost.C (assertion_failed): use lyx::support::abort instead of
3852 2003-09-10 Angus Leeming <leeming@lyx.org>
3854 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3855 with their _fwd progeny.
3857 2003-09-09 Angus Leeming <leeming@lyx.org>
3859 134 files throughtout the source tree: replace 'using namespace abc;'
3860 directives with the appropriate 'using abc::xyz;' declarations.
3862 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3864 * boost.C (emergencyCleanup): moved here from LAssert.c
3865 (assertion_failed): new function, called by BOOST_ASSERT
3867 * several files: change Assert to BOOST_ASSERT
3869 2003-09-09 Angus Leeming <leeming@lyx.org>
3871 * buffer.[Ch]: Add an Impl class and move Buffer's member
3872 variables into it. As a result move several header files out of
3875 Add header files to lots of .C files all over the tree as a result.
3877 2003-09-09 Angus Leeming <leeming@lyx.org>
3879 * buffer.[Ch]: make Buffer's member variables private. Add
3882 Lots of changes all over the tree as a result.
3884 2003-09-08 Angus Leeming <leeming@lyx.org>
3886 * graph.C: #include <config.h>.
3888 2003-09-08 Angus Leeming <leeming@lyx.org>
3892 * BufferView_pimpl.C:
3921 * toc.C: remove redundant using directives.
3923 2003-09-07 Angus Leeming <leeming@lyx.org>
3925 * LaTeXFeatures.h: remove #include "support/types.h".
3926 * ToolbarBackend.h: remove #include <algorithm>.
3927 * changes.h: remove #include <ctime>.
3928 * debug.h: remove #include <iosfwd>.
3929 * graph.h: remove #include "support/std_string.h".
3930 * lyx_main.h: remove #include <csignal>.
3931 * lyxlex_pimpl.h: remove #include <fstream>.
3932 * sgml.h: remove #include <algorithm>, <utility>.
3933 * toc.h: remove #include "support/std_ostream.h".
3934 Add #include <iosfwd>.
3936 2003-09-07 Angus Leeming <leeming@lyx.org>
3938 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3940 * converter.h: forward declare LatexRunParams.
3941 * encoding.h: remove #include "lyxrc.h".
3942 * lyxtext.h: remove #include "LColor.h".
3943 * lyxtextclass.h: remove #include "support/types.h".
3944 * trans.h: remove #include "tex-accent.h".
3945 * trans_mgr.h: remove #include "tex-accent.h".
3946 * insets/inset.h: remove #include "support/types.h", <vector>.
3947 * insets/insetcollapsable.h: remove #include "LColor.h".
3948 * insets/insetinclude.h: remove #include "dimension.h".
3949 * insets/insetlatexaccent.h: remove #include "dimension.h".
3950 * insets/insetoptarg.h:: remove #include "insettext.h".
3951 * insets/insettext.h: remove #include "dimension.h",
3952 <boost/shared_ptr.hpp>
3954 * insets/renderers.h: add #include "dimension.h".
3955 * insets/updatableinset.h: add #include "support/types.h".
3957 * many .C files: Associated changes.
3959 2003-09-06 Angus Leeming <leeming@lyx.org>
3961 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3962 one, inside testInvariant.
3964 * PrinterParams.C: new file.
3965 * PrinterParams.[Ch]: move the function bodies out of line.
3967 2003-09-06 Angus Leeming <leeming@lyx.org>
3969 * ParagraphParameters.h: forward declare ParameterStruct rather than
3970 including its header file.
3971 (depth): moved out-of-line.
3973 2003-09-06 Angus Leeming <leeming@lyx.org>
3975 * BufferView_pimpl.h:
3978 * lyxfunc.h: forward declare LyXKeySym rather than
3979 #include "frontends/LyXKeySym.h".
3981 * BufferView_pimpl.C:
3984 * lyxfunc.C: associated changes.
3986 2003-09-06 Angus Leeming <leeming@lyx.org>
3988 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3989 As a result, can remove the #include "insets/inset.h" from BufferView.h
3991 2003-09-06 Angus Leeming <leeming@lyx.org>
3993 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3994 As a result, can remove the #include "insets/inset.h" from BufferView.h
3996 2003-09-06 Angus Leeming <leeming@lyx.org>
4002 * bufferview_funcs.C:
4003 * BufferView_pimpl.C:
4008 * ParagraphParameters.C:
4013 * frontends/controllers/ControlDocument.C:
4014 * insets/insetcaption.C: rearrange the #includes into some sort of
4017 * buffer.h: remove #includes ErrorList.h, undo.h
4019 2003-09-06 Angus Leeming <leeming@lyx.org>
4021 * support/types.h: add a 'depth_type' typedef, used to store the
4022 nesting depth of a paragraph.
4025 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4026 defining explicitly.
4029 * paragraph_funcs.h:
4030 * ParagraphParameters.h:
4031 * sgml.h: use lyx::depth_type rather than Paragraph or
4032 ParameterStruct's depth_type.
4035 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4038 * BufferView_pimpl.C:
4040 * ParagraphParameters.C:
4043 * bufferview_funcs.C:
4050 * frontends/LyXView.C:
4051 * frontends/controllers/ControlDocument.C:
4052 * frontends/controllers/ControlErrorList.C:
4053 * insets/insetbibitem.C:
4054 * insets/insetbranch.C:
4055 * insets/insetcaption.C:
4056 * insets/insetcollapsable.C:
4057 * insets/insetenv.C:
4058 * insets/insetert.C:
4059 * insets/insetfloat.C:
4060 * insets/insetfoot.C:
4061 * insets/insetfootlike.C:
4062 * insets/insetnewline.C:
4063 * insets/insetquotes.C:
4064 * insets/insettabular.C:
4065 * insets/insettext.C:
4066 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4068 * frontends/controllers/ControlChanges.C: #include "changes.h".
4070 2003-09-06 Angus Leeming <leeming@lyx.org>
4072 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4073 than #including paragraph.h.
4076 * RowList.h: deleted. Superfluous.
4086 * insets/insettext.h: use ParagraphList_fwd.h rather than
4089 * paragraph.h: don't forward declare ParagraphList.
4092 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4093 rather than ParagraphList.h. paragraph.h is still needed for the
4094 Paragraph::depth_type parameters.
4096 * textcursor.h: enable it to compile stand-alone in light of the
4099 * bufferview_funcs.C:
4111 * frontends/controllers/ControlParagraph.C:
4112 * frontends/controllers/ControlTabular.C:
4113 * insets/insetmarginal.C:
4114 * insets/insetminipage.C:
4115 * insets/insetnote.C:
4116 * insets/insetoptarg.C: add header files needed to compile again.
4118 2003-09-06 Angus Leeming <leeming@lyx.org>
4120 * RowList_fwd.h: new file, forward-declaring Row rather than
4121 #including lyxrow.h.
4126 * insets/insettext.h: use it instead of RowList.h
4128 * bufferview_funcs.C:
4135 * text3.C: #include "RowList.h".
4137 2003-09-05 Angus Leeming <leeming@lyx.org>
4139 * factory.C (createInset):
4140 * vspace.C (c-tor): replace sscanf call with an istringstream.
4141 * ispell.C: re-add missing HP/UX headers.
4142 * lyxserver.C: re-add missing os2 headers.
4144 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4153 * text3.C: re-add missing system headers, needed for 2.95.2.
4155 2003-09-05 Angus Leeming <leeming@lyx.org>
4157 Changes most place everywhere due to the removal of using directives
4158 from support/std_sstream.h.
4160 2003-09-05 Angus Leeming <leeming@lyx.org>
4162 Replace LString.h with support/std_string.h,
4163 Lsstream.h with support/std_sstream.h,
4164 support/LIstream.h with support/std_istream.h,
4165 support/LOstream.h with support/std_ostream.h.
4167 Changes resulting throughout the tree.
4169 2003-09-05 Angus Leeming <leeming@lyx.org>
4171 * sgml.h: ensure that the header file can be compiled stand-alone.
4172 * *.C: strip out redundant #includes. (320 in total.)
4174 2003-09-04 Angus Leeming <leeming@lyx.org>
4176 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4177 here (from getPackages).
4179 * debug.[Ch]: add a new EXTERNAL tag.
4181 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4183 * text2.C (cursorEnd): simplify
4185 (getColumnNearX): adjust
4187 * text.C (computeBidiTables): adjust
4190 * rowpainter.C (paintChars): adjust
4191 (paintSelection): adjust
4192 (paintChangeBar): adjust
4195 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4197 (numberOfSeparators): adjust
4199 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4205 * text3.C: Restricts the mouse click functionality
4206 of insets like bibtex, include, toc and floatlist to the visible
4207 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4208 up the dialogs. Cursor has to be in front of the inset (i.e.
4209 start of row) for this to function.
4211 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4213 * bufferview_funcs.C (currentState): output row information
4215 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4217 * bufferview_funcs.C (currentState): output paragraph position
4219 2003-09-04 Angus Leeming <leeming@lyx.org>
4221 * FloatList.h: move out #include "Floating.h".
4222 * LaTeX.h: move out #include "DepTable.h".
4223 * LyXAction.h: move out #include "funcrequest.h".
4224 * buffer.h: move out #include "author.h", "iterators.h".
4225 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4226 * lyx_main.h: move out #include "errorlist.h".
4227 * lyxfunc.h: move out #include "FuncStatus.h".
4228 * lyxtext: move out #include "lyxcursor.h".
4229 * paragraph_pimpl.h: move out #include "counters.h".
4231 2003-09-03 Angus Leeming <leeming@lyx.org>
4233 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4234 preamble_snippets list, enabling us to add snippets to the preamble
4235 only if the snippet was not there already.
4237 2003-09-04 Angus Leeming <leeming@lyx.org>
4239 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4241 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4243 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4246 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4248 * BranchList.C: point fix, earlier forgotten
4250 2003-09-02 Angus Leeming <leeming@lyx.org>
4252 * box.C (contains): renamed from 'contained' after a fantastic
4255 2003-09-02 John Levon <levon@movementarian.org>
4261 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4263 2003-09-02 John Levon <levon@movementarian.org>
4265 * text2.C: simplification of cursorEnd(), including partial
4268 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4270 * buffer.C (readFile): add a space
4272 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4274 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4276 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4278 * buffer.C (readFile): new function, take a filename and a
4279 ParagraphList::iterator
4281 (readFile): adjust, make it private. don't use setStream, make
4282 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4283 always contain the filename.
4285 * BufferView.C (insertLyXFile): simplify and make it work for
4288 2003-08-30 John Levon <levon@movementarian.org>
4290 * Makefile.am: fix dist (from Kayvan)
4292 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4294 * most files: change to use const Buffer refs
4296 2003-08-27 André Pönitz <poenitz@gmx.net>
4298 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4299 on top of ownerPar().
4301 2003-08-27 John Levon <levon@movementarian.org>
4303 * funcrequest.C: properly initialise POD members
4305 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4307 * lyxtext.h (top_y): move top_y from here
4312 * BufferView_pimpl.[Ch]: to here
4313 * frontends/screen.C:
4314 * insets/insettabular.C:
4315 * insets/insettext.C: adjust
4316 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4318 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4321 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4323 2003-08-26 André Pönitz <poenitz@gmx.net>
4325 * paragraph_func.[Ch] (outerPar): new function
4328 * paragraph_funcs.C:
4329 * paragraph_funcs.h:
4330 * paragraph_pimpl.C:
4331 * text2.C: remove Inset::par_owner
4333 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4338 * text2.C: eliminates the needFullRow/display() stuff
4339 altogether, putting the logic in metrics/draw in the insets.
4341 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4343 * text2.C (redoParagraphInternal, redoParagraphs):
4344 * text.C (redoParagraph): add a call to updateRowPositions at the
4345 end of each 'metrics-like' call. Remove all others.
4346 (getRow): remove the 'y-computing' version.
4347 (getRowNearY): do not compute nor return the real y. Solve the
4348 'y < 0' problem and simplify.
4350 2003-08-22 Angus Leeming <leeming@lyx.org>
4352 * *.[Ch]: clean-up of licence and author blurbs.
4353 Also move config.h out of a few .h files and into a few .C files.
4355 2003-08-22 André Pönitz <poenitz@gmx.net>
4357 * lyxrow.[Ch]: add x_ and *fill_ members
4362 * text2.C: adjust/remove prepareToPrint() calls
4364 2003-08-22 André Pönitz <poenitz@gmx.net>
4366 * lyxrow.[Ch]: add end_ member
4368 * lyxrow_funcs.C: use LyXRow::end_
4370 * lyxtext.h (singleWidth): add LyXFont parameter
4373 * text2.C: adjust LyXText::singleWidth() calls
4375 * text.C (redoParagraph): simplify row breaking logic
4378 2003-08-19 André Pönitz <poenitz@gmx.net>
4380 * funcrequest.C: initialize button_ member
4383 * rowpainter.[Ch]: interface consolidation
4385 2003-08-18 André Pönitz <poenitz@gmx.net>
4388 * BufferView_pimpl.C:
4390 * paragraph_funcs.C:
4392 * text3.C: remove LyXScreen::draw() and fitCursor calls
4394 * BranchList.h: remove spurious semicolons
4396 * MenuBackend.C: fix branchlist related crash
4398 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4406 * bufferparams.[Ch]:
4410 * text3.C: implements the 'branch inset'
4411 idea. This allows the output of various versions of a document
4412 from a single source version, selectively outputing or suppressing
4413 output of parts of the text.
4414 This implementation contains a 'branch list editor' in a separate
4415 tab of the document settings dialog. Branches are user definable
4416 and have a "display colour" to distinguish them on-screen.
4418 ColorHandler was somewhat cleaned up.
4419 (1) make possible a dynamically growing LColor list by allowing
4420 the graphic context cache to grow along (vector);
4421 (2) eliminate an IMHO unnecessary step in colour allocation.
4423 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4425 * BufferView_pimpl.C: compile fix
4427 2003-08-15 André Pönitz <poenitz@gmx.net>
4429 * rowpainter.C: remove extra metrics calls
4431 * lyxtext.h: merge the two constructors into a single one,
4432 pass reference to owner's par list
4434 * BufferView_pimpl.C:
4438 2003-08-15 André Pönitz <poenitz@gmx.net>
4440 * lyxrow_funcs.[Ch]:
4443 * paragraph_funcs.C:
4448 * text_funcs.C: split LyXText::rowlist_ into individual
4449 Paragraph::rows_ chunks
4452 * BufferView_pimpl.[Ch]:
4455 * text3.C: remove toggleSelection()
4457 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4459 * bufferlist.C: beautify two alerts (shorter text of buttons)
4460 * buffer.C: Remove redundant ' ' from message
4462 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4463 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4464 rename VALIGN_CENTER to VALIGN_MIDDLE
4466 2003-08-11 André Pönitz <poenitz@gmx.net>
4468 * lyxtext.h (getPar):
4469 * text.C: new function
4471 2003-08-11 André Pönitz <poenitz@gmx.net>
4474 * tracer.[Ch]: remove unneeded files
4476 * InsetList.[Ch]: remove resizeInsetsLyXText()
4481 * text3.C: merge insertParagraphs() and appendParagraph()
4482 remove breakAgain(), update()
4484 * BufferView_pimpl.[Ch]:
4485 * bufferview_funcs.[Ch]:
4489 * tabular.C: adjust after text & InsetList changes.
4491 2003-08-08 André Pönitz <poenitz@gmx.net>
4493 * text.C (insertChar, backspace): replace rowlist fiddling
4494 with rebreak of full par
4497 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4498 checkParagraph, updateInset): removed
4500 2003-08-07 André Pönitz <poenitz@gmx.net>
4503 * text3.C: merge some LFUN handlers, remove dead code
4505 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4507 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4509 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4511 * text2.C (DEPM): fix part of bug 1255 and 1256
4513 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4515 * BufferView_pimpl.C (workAreaDispatch): change to use
4516 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4517 that are no mouse related.
4519 2003-08-05 André Pönitz <poenitz@gmx.net>
4522 * BufferView_pimpl.[Ch]:
4523 * bufferview_funcs.C:
4525 * text3.C: rip out "deep update"
4527 * textcursor.[Ch] (last_sel_cursor): remove unused member
4529 2003-08-04 André Pönitz <poenitz@gmx.net>
4532 * BufferView_pimpl.[Ch]:
4533 * ParagraphParameters.C:
4534 * bufferview_funcs.C:
4540 * text3.C: replace "complicated" BufferView::update(...) calls with
4543 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4545 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4547 * Makefile.am (lyx_SOURCES): add paper.h
4549 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4551 * Makefile.am: move things around so that both lyx-qt and
4552 lyx-xforms can be built (according to --with-frontend). Then lyx
4553 is a symbolic link to lyx-[firstfrontend]
4555 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4557 * Always use std::endl with lyxerr
4559 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4561 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4563 2003-08-01 André Pönitz <poenitz@gmx.net>
4566 * BufferView_pimpl.[Ch]:
4568 * text3.C: merge BufferView::repaint() and BufferView::update()
4570 2003-08-01 José Matos <jamatos@lyx.org>
4572 * buffer.[Ch]: file_format is no longer a buffer data element.
4574 2003-08-01 André Pönitz <poenitz@gmx.net>
4579 * text2.C: make redoParagraph more independent of current cursor
4581 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4583 * text2.C: remove unneeded members
4585 2003-07-30 André Pönitz <poenitz@gmx.net>
4587 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4589 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4590 create a single function...
4592 * paragraph_funcs.C (moveItem): ... here.
4595 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4597 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4599 * LColor.[Ch]: Add comment and greyedout logical colors.
4601 2003-07-30 André Pönitz <poenitz@gmx.net>
4603 * tabular.C: don't use Assert too heavily. This crashes where it
4606 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4608 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4609 is disabled (bug 1232)
4611 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4613 * factory.C: limited 'arg' scope
4615 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4617 * factory.C: fixed Note submenu issues
4619 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4621 * factory.C: submenu for Note/Comment/Greyedout
4623 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4626 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4628 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4631 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4632 greyedout. Patch provided by Jürgen Spitzmüller.
4634 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4636 * kbmap.C (read): fix error message when reading bind files
4638 2003-07-29 Angus Leeming <leeming@lyx.org>
4640 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4641 certainly does not do what it purports to do. I am doing it, and
4642 us, a favour by killing it.
4644 2003-07-28 José Matos <jamatos@lyx.org>
4646 * buffer.C (readBody, do_writeFile):
4647 * paragraph.C(readParagraph): \end_document replaces \the_end.
4649 2003-07-29 André Pönitz <poenitz@gmx.net>
4652 * BufferView_pimpl.[Ch]:
4656 * textcursor.[Ch]: remove toggleToggle & Co
4658 2003-07-28 José Matos <jamatos@fep.up.pt>
4660 * buffer.C (readParagraph):
4661 * params_func (readParToken, readParagraph):
4662 * paragraph.C (write): \layout -> \begin_layout.
4664 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4666 * lyxlex_pimpl.C (setFile): clean up slightly.
4668 * bufferparams.h: add compressed var
4670 * buffer_funcs.C (readFile): adjust for LyXLex change
4671 (newFile): ditto + simplify
4673 * buffer.C (writeFile): handle writing of compressed files
4675 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4676 Check if the file is compressed and set a bufferparm if so.
4678 * Makefile.am (lyx_LDADD): remove explicit -lz
4680 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4682 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4683 makeDocBookFile): put the real LyX version in the first line of
4687 * version.C.in: remove lyx_docversion
4689 * tabular.C (write_attribute): add a template-based version to
4690 write enums properly
4692 2003-07-28 André Pönitz <poenitz@gmx.net>
4697 * text3.C: use doubles again for x-coordinates. They are needed.
4699 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4701 * messages.C (getLocaleDir): use lyx_localedir()
4703 * lyxlex_pimpl.C (setFile): compress stuff
4705 * buffer.C (writeFile): add some compression stuff
4706 (do_writeFile): new func, dont call expliti close... will this
4709 * Makefile.am (lyx_LDADD): add -lz
4711 2003-07-28 José Matos <jamatos@fep.up.pt>
4713 * buffer.C: increment file format.
4714 * paragraph_funcs (readParagraph, readParToken):
4715 * paragraph.C (readParagraph): add \end_layout.
4717 2003-07-27 Angus Leeming <leeming@lyx.org>
4719 * Makefile.am: remove special casing for configure-time setting of
4720 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4722 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4723 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4725 2003-07-26 André Pönitz <poenitz@gmx.net>
4727 * paragraph_func.[Ch]:
4728 * paragraph.C (realizeFont): inline it whereever it is used
4733 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4736 2003-07-26 André Pönitz <poenitz@gmx.net>
4740 * text2.C: get rid of LyXText::need_break_row
4742 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4744 * toc.[Ch]: put namespace toc inside namespace lyx
4746 * MenuBackend.C (expandToc2): adjust for lyx::toc
4749 * lyxfunc.C (dispatch): adjust for lyx::find
4751 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4752 lyx::find instead. Reorganize a bit.
4753 (LyXReplace): rename to replace
4754 (LyXFind): rename to find
4756 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4759 2003-07-26 André Pönitz <poenitz@gmx.net>
4761 * text.C (setHeightOfRow): restrict scope of temporary variable
4763 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4764 code (never has been used?)
4766 2003-07-27 Asger Alstrup <alstrup@local>
4768 * text.C (fill): Optimise algorithm to exploit that we can reuse
4769 the LyXFont for many characters.
4770 (setHeightOfRow): Same thing.
4771 (rowBreakPoint): Same thing.
4773 2003-07-26 Asger Alstrup <alstrup@local>
4775 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4777 * text.C (singleWidth): Spurious font copying in hot-spot
4778 singleWidth avoided. Reorder tests for arabic for efficiency.
4780 * text.C (fill): handle empty paragraphs better.
4782 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4785 * encoding.h: add includes
4787 * lyxrc.C: remove reading of bind files
4789 * lyx_main.C (init): setup bindings and menus only if we have a
4792 * kbmap.C (read): new method. Do the actual reading of bind
4795 * converter.C (dvipdfm_options):
4798 (output): adapt PAPER_* enums.
4800 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4802 * bufferparams.h: remove paper-related enums from there
4804 * paper.h: New file. A trivial header file to hold paper-related
4805 enums. It should later expand to contain many paper-related
4808 * lyxrc.C: declare extern displayTranslator
4810 2003-07-27 José Matos <jamatos@fep.up.pt>
4812 * tabular.[Ch] (linuxdoc): add support for tables and figures
4815 2003-07-27 José Matos <jamatos@fep.up.pt>
4817 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4818 consistency in both functions.
4819 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4821 2003-07-26 Asger Alstrup <alstrup@local>
4823 * rowpainter.C (paintRows): Change algorithm to work directly on
4824 the insets rather than asking every character in the document
4825 whether its an inset.
4827 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4829 * buffer.C (openFileWrite): factorize some code
4831 2003-07-26 Angus Leeming <leeming@lyx.org>
4834 * lyx_main.[Ch]: replace occurances of system_tempdir with
4837 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * rename Inset to InsetOld
4841 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4843 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4844 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4845 which I think is a bit clearer. EDIT is gone, since it was
4846 premature optimisation, and broken for mathed anyway.
4847 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4848 with cursor positioning in insets as well (math insets still do not
4849 work, but that's a different story anyway.) It mysteriously
4850 crashes sometimes with undo in the first paragraph, but I'm fairly
4851 confident that this is a compiler bug.
4853 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * paragraph.C (Paragraph): adjust for new clone return type
4857 (copyIntoMinibuffer): ditto
4859 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4861 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4862 by not having a special case, and always doing a full rebreak of
4863 the document after undo.
4865 2003-07-23 Angus Leeming <leeming@lyx.org>
4867 * factory.C (createInset): InsetExternal::setParams now takes a
4870 2003-07-23 Angus Leeming <leeming@lyx.org>
4872 * factory.C (createInset): changed interface to the external and
4873 graphics mailers' string2params functions.
4875 2003-07-23 Angus Leeming <leeming@lyx.org>
4877 * factory.C (createInset): pass a
4878 Buffer const * parameter to InsetExternalMailer's string2params.
4880 2003-07-22 John Levon <levon@movementarian.org>
4882 * Thesaurus.h: include the right aiksaurus header
4884 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4886 * MenuBackend.C (expand): check menu shortcuts unconditionally
4888 2003-07-21 Angus Leeming <leeming@lyx.org>
4890 * factory.C (createInset): pass a
4891 buffer_path parameter to InsetGraphicsMailer's string2params.
4893 2003-07-21 Angus Leeming <leeming@lyx.org>
4895 * BufferView_pimpl.C (buffer):
4898 * lyxfunc.C (dispatch):
4899 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4900 rather than the grfx shortcut.
4902 2003-07-21 André Pönitz <poenitz@gmx.net>
4904 * rowpainter.C: remove unused variables
4907 * tabular_funcs.h: move to tabular.C
4908 * Makefile.am: adjust
4910 * tabular.[Ch]: basic optical cleaning
4912 * author.h: pass references, not values
4914 2003-07-18 André Pönitz <poenitz@gmx.net>
4922 * text3.C: two-phase drawing for InsetText and InsetTabular
4923 some float -> int changes.
4925 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4927 * lyx_main.C: fix the fix
4929 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4931 * lyx_main.C: fix a crash in batch mode if no files specified
4934 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4936 * format.[Ch] (papersize): moved to BufferParams
4937 * converter.[Ch] (dvips_options): moved to BufferParams
4938 (dvipdfm_options): moved to anon namespace
4939 * bufferparams.[Ch]: added above functions.
4941 2003-07-17 André Pönitz <poenitz@gmx.net>
4945 * text2.C: don't call inset->update() anymore
4947 * metricsinfo.[Ch]: add convenience constructor
4949 2003-07-16 André Pönitz <poenitz@gmx.net>
4954 * text2.C: replace the LyXCursor::irow_ member with
4955 on-demand computation of the value
4957 2003-07-16 John Levon <levon@movementarian.org>
4959 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4961 2003-07-15 André Pönitz <poenitz@gmx.net>
4964 * text2.C: remove no more needed refresh_row
4966 2003-07-15 André Pönitz <poenitz@gmx.net>
4971 * text3.C: refresh_status tristate -> need_update bool
4973 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4975 * lyxtext.h (init): remove reinit argument (act as if always true)
4976 * text2.C: adjust to that
4978 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4980 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4981 * text3.C: use it to delete selections in some cases
4982 (bugs 441, 673, 702, 954).
4984 2003-07-14 André Pönitz <poenitz@gmx.net>
4986 * rowpainter.[Ch]: reduce interface
4988 2003-07-14 André Pönitz <poenitz@gmx.net>
4990 * BufferView_pimpl.C:
4991 * text2.C: adjust after removing unused BufferView * argument
4993 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4995 * text2.C (init): fix a crash fired on resize
4997 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4999 * buffer.[Ch]: added new closing signal
5000 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5001 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5002 BufferView::Pimpl via the closing the signal
5004 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5006 * buffer.[Ch]: take out all bv-related from buffer
5008 * BufferView_pimpl.[Ch]: connect to new signals
5009 * CutAndPaste.C: removed useless asserts
5010 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5013 * lyxfunc.C: moved view-related funciontality from vc here
5014 * paragraph.C: removed outdated comments
5017 2003-07-10 André Pönitz <poenitz@gmx.net>
5019 * BufferView_pimpl.C:
5023 * text2.C: remove InsetText::InnerCache, clean up consequences
5025 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5027 * ispell.C: fix two typos in error messages
5029 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5031 * Extend Note inset to other forms of annotation like Comment
5032 and Greyedout. Right button click gives dialog.
5034 Files modified or added (+):
5038 * ControlNote.[Ch] +
5040 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5041 frontends/controllers
5045 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5047 * aspell.C: add missing namespace lyx::support
5049 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5051 * BufferView.[Ch] (newFile): Add
5052 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5053 * LaTeX.[Ch] (message): added this signal and use it
5054 * buffer.[Ch] (busy, message): added these signals and use them
5055 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5059 * importer.C: use buffer signals instead of direct bv calling
5060 * lyx_cb.[Ch] (ShowMessage): removed
5063 * paragraph_funcs.C:
5064 * text2.C: use buffer signals
5066 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5068 * introduce namespace lyx::graphics
5070 2003-07-02 André Pönitz <poenitz@gmx.net>
5072 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5074 2003-07-01 André Pönitz <poenitz@gmx.net>
5081 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5082 text*.C to text_func.C
5084 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5086 * introduce namespace lyx::support
5088 2003-06-30 André Pönitz <poenitz@gmx.net>
5093 * text.C: re-enable --with-included-string
5095 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5097 * textcursor.C: add <config.h>
5099 * text.C (getWord): remove const from word_location arg
5101 * lyxvc.C (getLogFile): fix const type order
5103 * lyxtext.h: remove const from word_location arg, add arg name
5105 * lyxlayout.h: currect type on labeltype.
5107 * importer.C: correct \file
5109 * converter.C (intToFormat): use std:: on ret val, ws changes
5111 * bufferlist.h: correct \file
5113 * buffer.C (makeLinuxDocFile): fix const type order
5114 (makeDocBookFile): ditto
5115 (fillWithBibKeys): use std:: on stdlib args.
5117 * CutAndPaste.C: fix authors.
5118 (availableSelections): use std:: on return vector
5120 2003-06-27 André Pönitz <poenitz@gmx.net>
5122 * BufferView_pimpl.C:
5123 * bufferview_funcs.C:
5131 * text3.C: remove LyXCursor::row_ member
5134 * text.C: rename fullRebreak() to partialRebreak() and implement
5135 a fullRebreak() that really bereks fully
5137 * textcursor.h: new struct for cursor-related data
5139 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5141 * lyx_main.C (LyX): get full path of document loaded on the
5144 2003-06-26 André Pönitz <poenitz@gmx.net>
5146 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5147 remove unused/broken operator>,<,>=.
5149 * text.C: remove only use of broken operator<= in an Assert().
5151 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5153 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5154 moved errorlist_.clear to showErrorList
5156 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5158 * converter.C (scanLog, runLaTeX):
5159 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5160 move the bv->showErrorList call to the callers
5161 * lyxfunc.C: i.e. here...
5163 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5164 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5165 namespace, the second to...
5166 * buffer_funcs (BufferFormat, parseErrors): added
5167 * errorlist.C (ErrorList(TeXErrors const &)): removed
5169 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5171 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5173 2003-06-24 "Garst R. Reese" <reese@isn.net>
5177 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5179 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5181 * version.C.in: change docversion to 1.4
5183 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5185 * buffer.C: fix a bug just introduced
5187 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5189 * buffer.[Ch]: added the parseError signal and use it, removed
5191 * BufferView.[Ch] (addError): moved to ...
5192 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5193 to the Buffer::parseError signal to catch (guess what) parse errors
5194 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5196 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5198 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5199 ability to create a buffer and to return an existing one from
5200 the list. Moved these functions to...
5201 * buffer_funcs.[Ch]: added
5202 * BufferView.[Ch] (loadLyXFile): added
5203 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5204 job removed from bufferlist::loadLyXFile.
5205 * buffer.C (setReadOnly): make it work without view
5206 (i.e added an if (users))
5208 2003-06-19 Angus Leeming <leeming@lyx.org>
5211 * LyXAction.C (init):
5212 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5213 with LFUN_DIALOG_SHOW <name> <data>.
5215 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5217 * CutAndPaste.C (availableSelections): small compilation fix for
5218 ancient (gcc 2.9x) compilers
5220 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5222 * text3.C (cursorNext): add tmp var
5224 * text2.C (updateCounters): for function calling out of for clause
5225 (replaceSelectionWithString): ditto
5226 (insertStringAsParagraphs): ditto
5227 (getColumnNearX): add tmp var
5228 (setCursorFromCoordinates): add tmp var
5229 (cursorDownParagraph): add tmp var
5230 (deleteEmptyParagraphMechanism): add tmp var
5232 * text.C (insertChar): add tmp var
5234 * rowpainter.C (paintDepthBar): add tmp var
5236 * CutAndPaste.C (availableSelections): potentially check all
5237 paragraphs in a cut to fill the shown strings.
5239 2003-06-18 André Pönitz <poenitz@gmx.net>
5241 * kbmap.[Ch]: use vector<> instead of list<>
5243 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5245 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5246 pasteSelection with index
5248 * text2.C (pasteSelection): modify, call pasteSelection with index
5250 * paragraph.C (asString): reimplement version with no interval to
5251 call the one with interval.
5253 * lyxtext.h: add index arg to pasteSelection
5255 * MenuBackend.C (MenuItem): handle PasteRecent
5256 (Menu::read::Menutags): add md_pasterecent
5258 (expandPasteRecent): new function
5261 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5263 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5265 (availableSelections): new function
5267 2003-06-17 Angus Leeming <leeming@lyx.org>
5269 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5271 2003-06-17 Angus Leeming <leeming@lyx.org>
5274 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5276 * lyxfunc.C (dispatch): invoke it.
5278 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5280 * iterators.C (operator++, ParPosition): reintroduce some
5281 const_cast for the benefit of older compilers.
5283 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5285 * text3.C (dispatch): do not modify clipboard when doing
5286 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5287 LFUN_DELETE_SKIP on a selection selection
5289 2003-06-16 André Pönitz <poenitz@gmx.net>
5295 * tabular.[Ch]: IU of clone() and getLabelList();
5297 2003-06-13 André Pönitz <poenitz@gmx.net>
5299 * tabular.h: compactification
5301 2003-06-12 André Pönitz <poenitz@gmx.net>
5305 * tabular_funcs.h: some renaming plus whitespace
5307 2003-06-12 André Pönitz <poenitz@gmx.net>
5310 * BufferView_pimpl.C:
5316 * toc.C: Return a Paragraph & for ParIterator::operator*()
5318 2003-06-11 John Levon <levon@movementarian.org>
5322 * ToolbarBackend.C: add "Toolbars" section and
5325 2003-06-10 Angus Leeming <leeming@lyx.org>
5328 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5330 * lyxfunc.C (dispatch): invoke it.
5332 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5334 * main.C: protect <ios> with HAVE_IOS
5335 (main): protect sync_with_stdio with HAVE_IOS
5337 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5339 * text2.C (cutSelection): adjust
5340 (pasteSelection): adjust
5342 * messages.C: handle get of empty string
5344 * main.C (main): use sync_with_stdio(false)
5346 * lyxfunc.C (dispatch): adjust
5348 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5349 (WriteAs): remove unneeded BufferView arg.
5351 * bufferparams.h: use correct types on papersize, papersize2 and
5354 * bufferparams.C (readToken): adjust for type
5355 (writeLaTeX): add missing cases to switch.
5357 * bufferlist.C (quitWriteBuffer): adjust
5360 * buffer.C (asciiParagraph): remove some commented code.
5362 * CutAndPaste.C: remove current_view extern variable.
5363 (cutSelection): add BufferParams arg.
5364 (eraseSelection): add BufferParams arg.
5365 (pasteSelection): add Buffer const & arg
5367 2003-06-07 John Levon <levon@movementarian.org>
5370 * paragraph_funcs.C:
5371 * paragraph_pimpl.C:
5375 * paragraph.C: allow InsetERT to freely space lines,
5376 and some consolidation of code
5378 2003-06-06 José Matos <jamatos@fep.up.pt>
5380 * buffer.C (makeDocBookFile): fix bug #821
5382 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5384 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5386 2003-06-04 Angus Leeming <leeming@lyx.org>
5388 * buffer.C: bump format to 224.
5390 2003-06-05 André Pönitz <poenitz@gmx.net>
5392 * text2.C (redoParagraphs): remove two const_cast<>
5394 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5396 * ParagraphList.h: remove last remnants of NO_STD_LIST
5398 2003-06-03 Angus Leeming <leeming@lyx.org>
5400 * factory.C (createInset): small change to the way InsetExternal's params
5403 2003-06-04 André Pönitz <poenitz@gmx.net>
5405 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5407 * paragraph_pimpl.h:
5408 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5410 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5412 * undo_funcs.C: make some simple cases of undo work again
5414 2003-06-03 John Levon <levon@movementarian.org>
5416 * ispell.C: HPUX doesn't have sys/select.h
5419 2003-06-03 John Levon <levon@movementarian.org>
5421 * CutAndPaste.C: update tabular and include inset
5426 * paragraph.C: remove owningBuffer(), don't pass Buffer
5429 * factory.C: insetGraphicsParams changed
5431 2003-06-02 John Levon <levon@movementarian.org>
5437 * text3.C: remove insetparent
5439 2003-06-02 John Levon <levon@movementarian.org>
5442 * buffer.C: fix inset_iterator.end(), move out of line
5445 2003-06-01 John Levon <levon@movementarian.org>
5447 * text3.C: use a proper cut/paste when doing inset
5448 insert (from Jürgen Spitzmüller)
5450 2003-06-01 John Levon <levon@movementarian.org>
5452 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5454 2003-05-30 André Pönitz <poenitz@gmx.net>
5456 * rowpainter.C: unify second drawing phase
5458 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5460 * trans_mgr.C: remove one case of current_view
5462 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5464 * paragraph_funcs.h: remove paragraph.h include
5466 * paragraph.h: delete NO_STD_LIST stuff
5468 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5470 * buffer.h: remove paragraph.h include
5472 * ParagraphList.C: delete file
5474 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5476 * toc.C (getTocList): adjust
5478 * paragraph_pimpl.C (validate): adjust
5480 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5482 * paragraph.C (Paragraph): adjust
5483 (getPositionOfInset): use const_iterator, adjust
5484 (bibitem): use const_iterator, adjust
5485 (setInsetOwner): adjust
5487 * iterators.C (operator++): adjust
5489 * InsetList.[Ch]: Replace selfmade iterator with standard
5490 vector::iterator also introduce const_iterator. Remove getPos,
5491 getInset and setInset from InsetTable. Adjust accordingly.
5493 * BufferView.C (lockInset): adjust
5494 (ChangeInsets): adjust
5496 * tabular.[Ch]: delete commented same_id functions
5498 2003-05-28 John Levon <levon@movementarian.org>
5500 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5502 2003-05-28 André Pönitz <poenitz@gmx.net>
5504 * metricsinfo.[Ch]: remove 'fullredraw' member
5506 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5508 * lyxtextclass.C (operator): remove caching.
5510 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5514 * text2.C (cursorBottom): adjust
5515 (setCounter): use ParagraphList::find, adjust
5517 * text.C (workWidth): use ParagraphList::find, adjust
5519 * lyxcursor.C (LyXCursor): adjust
5521 * buffer.C (inset_iterator): adjust
5523 * ParagraphList.h: make iterator(value_type) private, make
5524 ParagraphList a friend of iterator.
5526 * ParagraphList.C (find): new function
5528 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5530 2003-05-27 André Pönitz <poenitz@gmx.net>
5532 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5534 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5536 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5538 2003-05-26 John Levon <levon@movementarian.org>
5540 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5542 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5544 * remove same_id from function signatures, adjust.
5546 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5548 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5550 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5552 * paragraph.C (Paragraph): get rid of same_ids parameter
5554 * ParagraphList.C (insert): adjust
5557 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5559 * paragraph_funcs.C (breakParagraph): adjust
5560 (breakParagraphConservative): adjust
5562 * buffer.C (readParagraph): adjust
5564 * ParagraphList.C (insert): take a reference instead of a pointer
5567 * paragraph.[Ch] (id): new function
5569 * bufferlist.C (newFile): adjust
5571 * ParagraphList.C (ParagraphList): adjust
5573 (push_back): take a reference instead of a pointer.
5575 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5577 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5580 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5581 set else use old code.
5583 * ParagraphList.C: remove all NO_NEXT code and only compile this
5584 code of NO_STD_LIST is set.
5586 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5588 * BufferView_pimpl.C:
5598 * graphics/GraphicsConverter.C:
5599 * graphics/PreviewLoader.C: header adjustment
5601 2003-05-23 Angus Leeming <leeming@lyx.org>
5603 * LaTeXFeatures.[Ch] (useBabel): new method.
5604 * bufferparams.C (writeLaTeX): use it.
5606 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5608 * ParagraphList.h (set): remove unused function.
5610 2003-05-23 André Pönitz <poenitz@gmx.net>
5613 * BufferView_pimpl.C:
5617 * undo_funcs.C: setUndo reworked
5619 * iterators.[Ch]: add access to topmost ParagraphList
5621 * lyxtext.[Ch] (workWidth): add a const
5623 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5625 * texrow.[Ch] (increasePos): remove function
5626 * exporter.C (export): removed unused var and outdated comment
5628 2003-05-23 Angus Leeming <leeming@lyx.org>
5630 * latexrunparams.h: rename fragile as moving_arg.
5631 * paragraph.C (simpleTeXOnePar): ditto.
5632 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5634 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5636 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5638 (textUndoOrRedo): comment out a currently unused var.
5640 * paragraph.h (NO_NEXT): enable NO_NEXT
5642 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5644 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5646 * exporter.C (Export): adjust for removeAutoInsets removal.
5648 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5650 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5652 * BufferView.[Ch] (removeAutoInsets): delete function
5654 2003-05-22 Angus Leeming <leeming@lyx.org>
5656 * latexrunparams.h: add a free_spacing variable.
5658 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5659 to pass moving_arg, as the data is stored in runparams.fragile.
5661 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5662 to Inset::latexOptional or to simpleTeXOnePar.
5664 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5665 free_spacing arg to Inset::latexOptional.
5667 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5670 2003-05-22 Angus Leeming <leeming@lyx.org>
5672 * latexrunparams.h: add fragile and use_babel variables.
5674 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5675 * buffer.C (makeLaTeXFile): store this returned value in
5676 runparams.use_babel, thus passing it to the inset::latex methods.
5678 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5679 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5681 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5682 longer has a fragile arg, as it is stored in runparams.fragile.
5684 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5685 moving_arg parameter as the data is stored in runparams.fragile.
5687 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5688 a fragile parameter as the data is stored in runparams.fragile.
5690 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5692 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5694 2003-05-22 Angus Leeming <leeming@lyx.org>
5696 * latexrunparams.h: add a 'bool nice' which defaults to false.
5698 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5699 now encapsulated within runparams.
5701 * bufferlist.C (updateIncludedTeXfiles):
5702 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5704 2003-05-22 Angus Leeming <leeming@lyx.org>
5706 * latexrunparams.h: new file containing struct LatexRunParams.
5707 * Makefile.am: add new file.
5709 * LaTeX.[Ch] (c-tor, run):
5710 * buffer.[Ch] (makeLaTeXFile):
5711 * bufferlist.[Ch] (updateIncludedTeXfiles):
5712 * converter.C (convert, scanLog):
5713 * converter.[Ch] (runLaTeX):
5714 * exporter.C (Export):
5715 * paragraph.[Ch] (simpleTeXOnePar):
5716 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5717 * paragraph_funcs.[Ch] (latexParagraphs):
5718 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5719 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5720 pass around a LatexRunParams parameter.
5722 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5724 * paragraph.[Ch]: remove unused constructor
5726 * ParagraphList.C (erase): new function, taking two iterators
5728 2003-05-22 André Pönitz <poenitz@gmx.net>
5730 * undo_funcs.C: remove duplicated code
5732 * iterator.[Ch]: operator=
5734 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5736 * tabular.C (SetMultiColumn): ws changes
5738 * rowpainter.C (paintFirst): get rid of a ->previous
5740 * lyx_cb.C (getPossibleLabel): parlist simplification
5742 * BufferView.C (ChangeInsets): simplify slightly.
5744 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5746 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5747 * lfuns.h: new LFUN_SPACE
5748 * lyxfunc.C: protected space has a new lfun
5749 * paragraph_funcs.C: read new space insets
5751 * factory.C: handle new space insets
5753 2003-05-22 André Pönitz <poenitz@gmx.net>
5756 * BufferView_pimpl.C:
5759 * undo_funcs.C: return a ParIterator from getParFromID.
5761 * iterators.[Ch]: add two const's
5763 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5765 * toc.C (getTocList): adjust
5767 * iterators.[Ch]: rework for parlist
5769 * buffer.C (par_iterator_begin): adjust
5770 (par_iterator_end): adjust
5772 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5774 * BufferView.C (removeAutoInsets): adjust
5775 (ChangeInsets): adjust
5777 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5779 * text.C (top_y): fix bug 1110
5781 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5783 * errorlist.[Ch]: added
5786 * BufferView_pimpl.C:
5787 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5790 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5792 * Makefile.am: ensure that lyx is relinked upon changes to the
5793 various "convenience" libs.
5795 2003-05-20 Angus Leeming <leeming@lyx.org>
5797 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5798 files are compiled in alphabetical order again.
5800 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5802 2003-05-19 Angus Leeming <leeming@lyx.org>
5804 * gettext.[Ch]: remove "char const * _(char const *)".
5806 2003-05-19 André Pönitz <poenitz@gmx.net>
5808 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5817 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5819 2003-05-19 André Pönitz <poenitz@gmx.net>
5823 * lyxtextclass.[Ch]:
5825 * paragraph_funcs.[Ch]:
5827 * text3.C: more insetenv work
5829 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5831 * ParagraphParameters.C (params2string): small bug fixed
5833 2003-05-16 André Pönitz <poenitz@gmx.net>
5836 * bufferview_funcs.C: patch from Kornel Benko to prevent
5837 crash when _(...) is called twice in a statement
5839 2003-05-16 André Pönitz <poenitz@gmx.net>
5846 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5848 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5850 * lyx_main.C (init): remove spurious static_cast
5852 2003-05-14 André Pönitz <poenitz@gmx.net>
5854 * BufferView.C: fix format string
5856 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5858 * BufferView.[Ch] (insertErrors): removed
5859 * BufferView.[Ch] (showErrorList): added
5860 * buffer.C (runChkTeX):
5861 * converter.C (scanLog): call showErrorList instead of inserterrors
5863 2003-05-13 André Pönitz <poenitz@gmx.net>
5865 * BufferView_pimpl.C:
5867 * bufferview_func.C:
5874 * tabular_funcs.h: tostr() from its own header
5876 * ParagraphParameters.C:
5881 * text3.C: STRCONV()
5883 2003-05-12 André Pönitz <poenitz@gmx.net>
5886 * BufferView_pimpl.C:
5890 * ParagraphParameters.C:
5894 * bufferview_funcs.C:
5907 * paragraph_funcs.C:
5911 * text3.C: boost::format -> bformat all over the place
5914 2003-05-09 André Pönitz <poenitz@gmx.net>
5916 * LColor.[Ch]: Pimpl the #include <map> away
5918 2003-05-09 John Levon <levon@movementarian.org>
5920 * bufferlist.C: never remove emergency saves
5922 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5924 * Makefile.am: better lib building
5926 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5928 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5930 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5931 (simpleTeXSpecialChars): adjust
5932 (simpleTeXSpecialChars): adjust
5933 * paragraph.C (simpleTeXOnePar): adjust
5934 * buffer.C (makeLaTeXFile): adjust
5936 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5938 * text2.C (changeDepth): parlist cleanup
5939 (getColumnNearX): ditto
5941 * rowpainter.C (getLabelFont): parlist cleanup
5943 * bufferlist.C (newFile): parlist cleanup
5945 * CutAndPaste.C (eraseSelection): parlist cleanup
5947 * BufferView_pimpl.C (trackChanges): parlist cleanup
5950 * BufferView.C (lockInset): parlist cleanup.
5951 (ChangeInsets): ditto
5953 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5955 * CutAndPaste.h: Update file header.
5957 * CutAndPaste.C: Update file header.
5958 Store the parts cut out of the Document in a limited_stack.
5959 (copySelection): adjust
5960 (pasteSelection): new function, takes the index in the limited stack.
5961 (nrOfParagraphs): adjust
5962 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5963 simplify error inset insertion.
5964 (checkPastePossible): adjust
5966 2003-05-06 John Levon <levon@movementarian.org>
5968 * text2.C: don't cast wrap inset to float
5970 2003-05-05 André Pönitz <poenitz@gmx.net>
5973 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5975 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5976 few naked Paragraph *.
5978 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5980 * bufferparams.C: Output warning if a document with missing
5981 TeX document class is loaded
5982 * exporter.C: Disable TeX exports if the document class is missing
5985 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5986 isTeXClassAvailable()
5988 2003-05-03 John Levon <levon@movementarian.org>
5991 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5992 explicit cursor show/hide
5994 * BufferView_pimpl.h:
5995 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5996 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5998 * lyxfunc.C: hide cursor before dispatching.
6003 * text3.C: remove explicit cursor hides
6005 2003-05-02 André Pönitz <poenitz@gmx.net>
6007 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6010 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6013 * text2.C: tiny whitespace
6015 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6017 * undo_funcs.C: almost only ws changes.
6019 * ParagraphList.C (splice): just return if pl is empty.
6021 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6023 * ParagraphList.C (splice): new function.
6025 * CutAndPaste.C (pasteSelection): use it
6027 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6029 * CutAndPaste.C (pasteSelection): remove the last next and
6030 previous from this file.
6032 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6034 * CutAndPaste.C (pasteSelection): more clean up, user proper
6035 ParagraphList functions for pasteing.
6037 * ParagraphList.C (insert): new function, three arg insert
6039 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6041 * ParagraphList.C (insert): new function, three arg insert
6043 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6046 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6048 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6050 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6052 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6054 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6056 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6057 (copySelection): clean up a bit.
6058 (pasteSelection): use make_pair
6060 * ParagraphList.C (ParagraphList): implement copy constructor
6061 (operator=): implement, base on copy constructor.
6064 * paragraph.C (erase): return a bool
6066 * paragraph_pimpl.C (erasePos): remove function, move contents...
6067 (erase): ... here. Return a bool.
6068 (erase): call erase instead of erasePos.
6070 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6072 * ParagraphList.h: define PitPosPair
6073 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6074 ParagraphList, fix a bug on pasting multiple pars
6075 * text2.C: change interface to C&P
6077 2003-04-30 André Pönitz <poenitz@gmx.net>
6079 * undo_func.C: revert part of yesterday's patch 2
6081 2003-04-30 John Levon <levon@movementarian.org>
6083 * LColor.C: s/tabular/table/
6085 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6087 * text3.C (dispatch): do not convert iterator -> pointer
6088 * undo_funcs.C (setCursorParUndo): ditto
6089 * text_funcs.C (transposeChars): ditto
6091 * text2.C (setLayout): ws changes only
6093 * text.C (breakParagraph): do not convert iterator -> pointer
6095 (acceptChange): ditto
6096 (rejectChange): ditto
6101 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6104 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6106 * text3.C (gotoInset): YABG (yet another bad getChar)
6108 2003-04-29 André Pönitz <poenitz@gmx.net>
6110 * paragraph.h: make operator= private unimplemented as long as
6113 * ParagraphList.C: whitespace
6116 * paragraph_pimpl.[Ch]:
6117 * paragraph_funcs.C:
6119 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6122 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6124 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6126 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6127 * paragraph.[Ch] (erase):
6128 * paragraph_pimpl.[Ch] (erase): change return type and value
6129 * text2.C (cutSelection): some rework
6131 2003-04-28 John Levon <levon@movementarian.org>
6133 * bufferlist.C: changes for unsaved changes dialog
6135 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6137 * bufferlist.C (newFile): set language (messages_) for new
6140 * buffer.C (readFile): ws changes only.
6142 2003-04-28 André Pönitz <poenitz@gmx.net>
6147 * BufferView_pimpl.C:
6148 * BufferView.C: getParFromID related ParagraphList::iterator changes
6150 2003-04-28 André Pönitz <poenitz@gmx.net>
6152 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6155 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6157 * messages.C: remove one more localedir class variable.
6159 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6161 * messages.C (getLocaleDir): singleton generation function
6163 (Messages): add a default constructor.
6165 * main.C (main): do not setup localedir here, do not call
6168 * gettext.C (_): use it.
6169 (gettext_init): delete funciton
6171 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * gettext.C (getLyXMessages): new singleton generating function.
6175 * buffer.C (updateDocLang): adjust
6177 * Makefile.am (messages.o): add target
6178 (main.o): remove target
6180 2003-04-27 John Levon <levon@movementarian.org>
6185 * lyxvc.C: specify cancel button in Alert::prompt
6187 2003-04-26 John Levon <levon@movementarian.org>
6192 * LyXAction.C: add LFUN_INSET_SETTINGS
6194 * lyxfunc.C: don't enable tabular-feature when there's
6195 just any locking inset
6197 2003-04-26 John Levon <levon@movementarian.org>
6199 * bufferlist.C: re-add Cancel to buffer close question
6201 * lyxfunc.C: fix import UI a bit
6203 2003-04-25 John Levon <levon@movementarian.org>
6205 * gettext.C: remove the broken asserts for now
6207 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6209 * messages.C: make case where setlocale cannot comply work better.
6211 * buffer.C (updateDocLang): new function
6212 (changeLanguage): use it
6215 * text2.C (setCounter): use B_ a bit.
6217 * lyxlayout.C (Read): be sure to trim the label strings.
6219 * messages.C (Messages): fix typo in comment
6221 * buffer.C (readFile): set message_ after file is loaded.
6222 (makeDocBookFile): remove double return
6223 (changeLanguage): reset message_ upon language change.
6224 (B_): new func, use this to get translated buffer strings.
6226 * main.C: add myself and Jean Marc as authors.
6228 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6230 * messages.[hC]: pimplify Messages, and three different pimpls to be
6231 used in different circumstances.
6233 * gettext.[Ch]: change for use with new message code.
6235 2003-04-24 André Pönitz <poenitz@gmx.net>
6237 * factory.C: support for eqref
6239 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6241 * messages.[Ch]: add missing char
6243 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6245 * messages.[Ch]: New files
6247 2003-04-18 John Levon <levon@movementarian.org>
6251 * BufferView_pimpl.C:
6255 * text2.C: remove layout-copy/paste (bug 778)
6257 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6259 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6261 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6263 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6264 if they succeed. Act accordingly.
6266 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6268 * text2.C (setCharFont): adjust
6269 (setCounter): adjust
6270 (insertStringAsLines): adjust
6272 * text.C (leftMargin): adjust
6273 (setHeightOfRow): adjust
6275 * rowpainter.C (paintFirst): adjust
6278 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6280 (isFirstInSequence): ditto
6281 (getEndLabel): ditto
6284 * paragraph.C (getParLanguage): comment out some hard stuff.
6286 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6288 (simpleDocBookOnePar): ditto
6289 (makeDocBookFile): use ParagraphList::iterator
6291 * CutAndPaste.C (pasteSelection): adjust
6293 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6295 * text2.C (getFont): adjust
6296 (getLayoutFont): adjust
6297 (getLabelFont): adjust
6299 * paragraph_funcs.C (TeXOnePar): adjust
6301 * buffer.C (simpleLinuxDocOnePar): adjust
6302 (simpleDocBookOnePar): adjust
6304 * CutAndPaste.C (pasteSelection): adjust
6306 * BufferView.C (getEncoding): adjust
6308 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6310 2003-04-16 John Levon <levon@movementarian.org>
6312 * lyxfind.C: use parlist stuff for search/changes
6314 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6316 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6318 * text2.C (deleteEmptyParagraphMechanism): adjust
6320 * text2.[Ch] (ownerParagraph): delete func (both of them
6322 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6324 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6326 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6328 * ParagraphList.C: prepare for NO_NEXT
6330 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6332 * text2.C (getFont): adjust
6333 (getLayoutFont): adjust
6334 (getLabelFont): adjust
6336 * paragraph.C (getFont): adjust
6337 (getLabelFont): adjust
6338 (getLayoutFont): adjust
6340 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6342 2003-04-15 John Levon <levon@movementarian.org>
6346 * lyx_main.C: handle Include in .ui files
6348 2003-04-15 John Levon <levon@movementarian.org>
6350 * MenuBackend.C: make the doc files length shorter
6353 * ToolbarBackend.C: handle toolbar placement flags,
6356 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6358 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6361 * paragraph_funcs.C (TeXOnePar): adjust
6363 * paragraph.C (getLabelFont): add outerfont arg, adjust
6364 (getLayoutFont): ditto
6365 (simpleTeXOnePar): adjust
6367 * paragraph_pimpl.C (realizeFont): delete func
6369 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6371 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6372 row argument, constify cur argument.
6374 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6376 * text2.C (getFont): adjust
6377 (getLayoutFont): adjust
6378 (getLabelFont): adjust
6380 * paragraph_funcs.C (TeXOnePar): adjust
6381 (outerFont): new func...
6382 (realizeFont): ...moved out from here, changed this to facilitate
6385 * paragraph.C (getFont): take outerfont as arg, adjust
6386 (simpleTeXOnePar): add outerfont arg, adjust
6388 * buffer.C (simpleLinuxDocOnePar): adjust
6389 (simpleDocBookOnePar): adjust
6391 * CutAndPaste.C (pasteSelection): adjust
6393 * BufferView.C (getEncoding): adjust
6395 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6397 * text2.C (setCharFont): adjust
6398 (setCounter): adjust
6400 * text.C (leftMargin): adjust
6401 (setHeightOfRow): adjust
6403 * rowpainter.C (paintFirst): adjust
6406 * paragraph_pimpl.C (realizeFont): adjust
6408 * paragraph.C (isFirstInSequence): move from here...
6409 * paragraph_funcs.C (isFirstInSequence): ...to here
6411 * paragraph.C (outerHook): move from here...
6412 * paragraph_funcs.C (outerHook): ...to here
6414 * paragraph.C (depthHook): move from here...
6415 * paragraph_funcs.C (depthHook): ...to here
6417 * paragraph.C (getEndLabel): move from here...
6418 * paragraph_funcs.C (getEndLabel): ...to here
6420 * text2.C (realizeFont): move from here...
6421 * paragraph_funcs.C (realizeFont): ...to here
6423 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6425 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6427 2003-04-14 Angus Leeming <leeming@lyx.org>
6429 * LColor.[Ch]: scrap LColor mathcursor.
6431 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6433 * lyxlex.[Ch] (text): delete function
6434 * trans.C (Load): adjust
6435 * paragraph_funcs.C (readParToken): adjust
6437 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6439 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6440 vector<char> instead of a char[].
6442 * lyxlex_pimpl.C (getString): adjust
6444 (lex): use getString
6448 * lyxlex.C (text): use pimpl_->getString()
6452 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6454 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6455 (makeFontEntriesLayoutSpecific): temp var for par.size()
6456 (setLayout): temp var for ownerParagraphs().end()
6457 (fullRebreak): temp var for rows().end()
6458 (selectionAsString): temp var for boost::next(startpit), realize
6459 that the while really is a regular for loop.
6460 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6461 setCursor in one place.
6462 (setParagraph): temp vr for ownerParagraphs().end()
6463 (updateCounters): make the while loop a for loop
6464 (cutSelection): temp var for ownerParagraphs().end()
6465 (updateInset): make the do {} while() a regular for loop
6466 (getCursorX): use temp vars
6467 (setCurrentFont): use temp vars
6468 (getColumnNearX): use temp vars
6470 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6472 * text.C (transformChar): use temp var for getChar
6473 (computeBidiTables): use temp var for row->par()
6474 (fill): move temp vars for row->par() and pit->layout() earlier in
6476 (labelFill): use temp var for row->par()
6477 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6478 asc and desc, realize that pit never changes and that firstpit is
6479 just a duplicate and not needed. Exchange rit->par() with pit in a
6481 (breakAgain): use a temp var for boost::next(rit)
6482 (breakAgainOneRow): ditto
6483 (breakParagraph): use a temp var for rows().begin()
6484 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6485 (cursorRightOneWord): use temp var for cursor.par() and
6486 cursor.pos(), remove usage of tmpcursor.
6487 (cursorLeftOneWord): use temp var for cursor.par() and
6488 cursor.pos() only set cur at end of function.
6490 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6492 * text.C, text2.C: exchange all usage of Paragraph::next with
6493 boost::next(ParagraphList::iterator)
6495 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6497 * text2.C (cursorTop): simplify implementation
6498 (cursorBottom): ditto
6499 (setParagraph): use ParagraphList::iterator
6500 (setCurrentFont): adjust
6501 (getColumnNearX): adjust
6502 (cursorRight): adjust
6503 (cursorLeft): remove usage of Paragraph::previous
6504 (cursorUpParagraph): ditto
6505 (deleteEmptyParagraphMechanism): slight cleanup
6507 * text.C (isBoundary): take a Paragraph const & instead of a
6509 (addressBreakPoint): ditto
6510 (leftMargin): remove usage of Paragraph::previous.
6511 (setHeightOfRow): ditto
6512 (cursorLeftOneWord): ditto
6513 (selectNextWordToSpellcheck): ditto
6516 (breakParagraph): remove one usage of Paragraph::next
6517 (redoParagraph): ditto
6518 (acceptChange): ditto
6519 (insertChar): adjust
6520 (rowBreakPoint): adjust
6522 * bufferview_funcs.C (toggleAndShow): adjust
6524 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6526 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6527 methods to access it.
6529 * text.C: Added updateRowPositions to compute all row positions.
6530 Make top_y and getRowNearY() to use the cached y position
6532 2003-04-11 John Levon <levon@movementarian.org>
6534 * text.C (rowBreakPoint): reintroduce the labelEnd
6535 checks, code copied from the row fill stuff. Deep voodoo.
6537 * text.C (fill): add a comment and debugging for the
6540 2003-04-11 John Levon <levon@movementarian.org>
6542 * text.C: make sure fullrow insets get wrapped to the next line,
6543 even when they're in a manual label
6545 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6547 * text2.C (insertParagraph): make it take ParagraphList::iterator
6549 (setLayout): make it return ParagraphList::iterator
6550 (redoParagraphs): ditto
6552 (checkParagraph): ditto
6554 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6556 * text2.C: adjust several funcs.
6557 (realizeFont): take a ParagraphList::iterator as arg.
6558 (getLayoutFont): ditto
6559 (getLabelFont): ditto
6560 (setCharFont): ditto
6562 * text.C: adjust several funcs.
6564 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6566 * text.C (selectNextWordToSpellcheck): don't accidentally
6569 2003-04-10 John Levon <levon@movementarian.org>
6571 * ToolbarBackend.C (getIcon): special handling for
6574 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6576 * text2.C (cursorRight): a getChar assert fixed
6578 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6580 * text2.C (getFont): change to take a ParagraphList::iterator
6581 instead of Paragraph*
6582 Adjust several functions.
6584 * text.C (transformChar): change to take a ParagraphList::iterator
6585 instead of Paragraph*
6586 (singleWidth): ditto
6587 Adjust several functions.
6589 * rowpainter.C: adjust several functions
6590 * rowpainter.h:store a ParagraphList::iterator and not a
6594 2003-04-09 John Levon <levon@movementarian.org>
6599 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6600 and the "help" bits as well
6602 2003-04-09 John Levon <levon@movementarian.org>
6605 * ToolbarBackend.C: allow multiple toolbars
6607 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6609 * undo_funcs.C (setCursorParUndo): adjust
6611 * text_funcs.C (transposeChars): adjust
6613 * text3.C (gotoNextInset): adjust
6616 * text2.C (setLayout): adjust
6617 (changeDepth): adjust
6619 (redoParagraphs): adjust
6620 (selectionAsString): adjust
6621 (setParagraph): adjust
6622 (insertInset): adjust
6623 (cutSelection): adjust
6624 (copySelection): adjust
6625 (pasteSelection): adjust
6626 (insertStringAsLines): adjust
6627 (updateInset): adjust
6628 (setCursor): change to take a ParagraphList::iterator parameter
6629 (setCursorIntern): change to take a ParagraphList::iterator parameter
6630 (setCurrentFont): adjust
6631 (cursorLeft): adjust
6632 (cursorRight): adjust
6633 (deleteEmptyParagraphMechanism): adjust
6635 * text.C (breakParagraph): adjust
6636 (insertChar): adjust
6637 (acceptChange): adjust
6638 (rejectChange): adjust
6639 (selectNextWordToSpellcheck): adjust
6640 (changeCase): adjust
6644 * lyxfind.C (SearchForward): adjust
6645 (SearchBackward): adjust
6646 (nextChange): adjust
6648 * lyxcursor.C (par): adjust
6650 * lyxcursor.h: store a ParagraphList::iterator instead of a
6653 * lyx_cb.C (getPossibleLabel): adjust
6655 * bufferview_funcs.C (toggleAndShow): adjust
6657 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6660 * BufferView.C (removeAutoInsets): adjust
6661 (lockedInsetStoreUndo): adjust
6663 2003-04-09 John Levon <levon@movementarian.org>
6665 * ToolbarBackend.C: try icon without argument
6666 if with argument fails
6668 2003-04-08 John Levon <levon@movementarian.org>
6671 * ToolbarBackend.C: add getIcon(), handle tooltip,
6672 and change from "Icon" to "Item".
6674 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6676 * BufferView.C (lockInset): another bad getchar crunched
6678 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6680 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6683 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6685 * lyxfind.C (searchForward, searchBackwards): bug 782
6687 2003-04-07 John Levon <levon@movementarian.org>
6689 * paragraph.C: remove dead comment
6691 * text.C: remove troublesome depth-fiddling code
6692 in leftMargin() and rightMargin() (bug 1017)
6694 * text.C: fix breaking of rows in nested lists
6697 * text2.C (updateCounters): fix up depth values
6700 2003-04-07 John Levon <levon@movementarian.org>
6702 * BufferView_pimpl.C: clear message when doc finishes resizing,
6703 and after a mouse event
6705 * lyxfunc.C: clear message after exiting inset
6707 2003-04-07 John Levon <levon@movementarian.org>
6709 * bufferview_funcs.C: show math status not outside
6710 status in the statusbar
6712 2003-04-07 John Levon <levon@movementarian.org>
6714 * lyxfunc.C: note status changed after a depth change
6716 2003-04-04 Angus Leeming <leeming@lyx.org>
6718 * LaTeX.h: move AuxInfo operator==, != out of line.
6719 Remove LaTeX virtual destructor; nothing derives from it.
6720 Move operator()() out of public area and rename it startscript().
6721 Change protected for private.
6723 2003-04-04 Angus Leeming <leeming@lyx.org>
6726 * text2.C: remove unneeded #includes.
6728 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6730 * text2.C (dEPM): fix the heigth of the next row
6732 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6734 * text.C: squashed an invalid getChar requester + some ws changes
6736 2003-04-03 John Levon <levon@movementarian.org>
6738 * bufferview_funcs.h:
6739 * bufferview_funcs.C:
6742 * text2.C: make getStatus work for the env depth lfuns
6744 2003-04-03 John Levon <levon@movementarian.org>
6746 * bufferview_funcs.h:
6747 * bufferview_funcs.C:
6750 * text2.C: parlistize decDepth(), by merging it with incDepth()
6752 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6754 * lyxrow.h: store a ParagraphList::iterator instead of a
6755 Paragraph* and adjust other class functions to suit.
6757 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6760 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6762 * text2.C (setCursor): do not anchor to cursor row for the time being
6764 2003-04-02 John Levon <levon@movementarian.org>
6771 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6773 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6775 * paragraph.h: make ParagraphList and ParagraphList::iterator
6776 friends of Paragraph.
6778 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6780 * ParagraphList.C: Use the private next_ and previous_ from
6783 2003-04-01 John Levon <levon@movementarian.org>
6787 * Makefile.am: rename, remove defaults gunk
6790 * MenuBackend.C: remove defaults gunk
6793 * Languages.C: remove defaults gunk
6796 * lyx_main.C: error out if files couldn't be found.
6798 2003-04-02 John Levon <levon@movementarian.org>
6800 * text2.C: make incDepth() use parlist
6802 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6804 * undo_funcs.C (firstUndoParagraph): adjust
6806 * text3.C (gotoInset): adjust
6807 (dispatch): adjust, and rewrite loop.
6809 * text2.C (init): adjust, and rewrite loop.
6810 (redoParagraphs): adjust
6811 (updateInset): adjust, and rewrite loop.
6812 (deleteEmptyParagraphMechanism): adjust
6814 * tabular.C (LyXTabular): adjust
6815 (SetMultiColumn): adjust
6818 * lyxtext.[Ch] (ownerParagraph): delete function
6819 (ownerParagraphs): new function returns a ParagraphList.
6821 * BufferView.C (removeAutoInsets): adjust
6822 (insertErrors): adjust
6823 (setCursorFromRow): adjust
6825 2003-04-01 Angus Leeming <leeming@lyx.org>
6827 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6830 2003-04-02 John Levon <levon@movementarian.org>
6836 * text_funcs.C: make transposeChars a free function
6838 * lyxrow_funcs.C: remove wrong comment
6840 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6843 * rowpainter.C: adjust
6848 * lyxrow_funcs. [Ch]: new files
6850 * lyxrow.[Ch]: remove next and previous pointers
6851 (next,previous): remove accessor functions
6852 (isParEnd): move to lyxrow_funcs
6853 (lastPos): move to lyxrow_funcs
6854 (nextRowIsAllInset): move to lyxrow_funcs
6855 (lastPrintablePos): move to lyxrow_funcs
6856 (numberOfSeparators): move to lyxrow_funcs
6857 (numberOfHfills): move to lyxrow_funcs
6858 (numberOfLabelHfills): move to lyxrow_funcs
6859 (hfillExpansion): move to lyxrow_funcs
6863 * bufferview_funcs.C (toggleAndShow): adjust
6865 * RowList.h: Remove class RowList from file leave just a
6868 * RowList.C: delete file
6870 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6873 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6875 * text3.C (cursorPrevious): adjust
6876 (cursorNext): adjust
6879 * text2.C (redoHeightOfParagraph): adjust
6880 (redoDrawingOfParagraph): adjust
6883 * text.C (breakParagraph): adjust
6884 (insertChar): adjust
6887 * rowpainter.C (RowPainter): adjust
6888 (leftMargin): simplify and adjust
6889 (most rowpainter functions): adjust.
6891 * rowpainter.h: store the row as RowList::iterator not as Row*
6893 * lyxcursor.C (row): taka RowList::iterator as arg
6896 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6899 2003-04-01 Angus Leeming <leeming@lyx.org>
6901 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6902 stuff like bool Bool.
6904 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6906 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6909 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6911 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6914 * lyxtext.h (rows): drop one version and leve a const variant that
6915 returns a RowList::iterator.
6917 2003-03-31 Angus Leeming <leeming@lyx.org>
6919 * text.C (fill): ensure that the signature is the same as that in the
6922 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6924 * text2.C (redoParagraphs): adjust
6925 (updateCounters): adjust
6926 (checkParagraph): adjust
6927 (getColumnNearX): adjust and reformat a bit.
6929 * text.C (top_y): adjust
6931 (leftMargin): adjust
6932 (prepareToPrint): adjust
6934 (getRowNearY): adjust
6936 * lyxtext.h: make rowlist_ mutable.
6938 * RowList.h: add const_iterator
6939 * RowList.C: adjust for RowList::const_iterator.
6941 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6944 2003-03-31 John Levon <levon@movementarian.org>
6947 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6949 * lyx_main.C: set default fonts from using lyx_gui funcs
6951 * exporter.C: pdf_mode moved from lyxrc
6954 * lyxfunc.C: changes from above
6956 2003-03-31 John Levon <levon@movementarian.org>
6958 * lyx_main.C: fix to the last fix
6960 2003-03-31 John Levon <levon@movementarian.org>
6962 * bufferlist.C: "Load original" -> "Load Original"
6968 * format.C: more Alert cleanups
6970 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6972 * text2.C (removeParagraph): make it take a RowList::iterator as
6974 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6975 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6977 * text.C (anchor_row): make it take a RowList::iterator as arg,
6979 (computeBidiTables): make it take a const reference to Row instead
6980 of Row pointer, adjust.
6981 (leftMargin): make it take a RowList::iterator as arg, adjust.
6982 (rowBreakPoint): adjust
6983 (breakAgainOneRow): make it take a RowList::iterator as arg,
6985 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6987 * bufferview_funcs.C (toggleAndShow): adjust
6989 2003-03-30 John Levon <levon@movementarian.org>
6993 * boost-inst.C: moved to support
6995 * several files: changes as a result
6997 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6999 * text2.C (LyXText): adjust.
7001 (removeRow): make it take a RowList::iterator as arg, adjust.
7002 (fullRebreak): adjust
7003 (deleteEmptyParagraphMechanism): adjust
7004 (clearPaint): adjust
7007 * text.C (top_y): adjust
7008 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7009 (breakAgain): make it take a RowList::iterator as arg, adjust.
7010 (breakParagraph): adjust
7011 (insertChar): adjust
7014 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7015 need_break_row, and refresh_row.
7017 * text3.C (dispatch): adjust
7019 * text2.C (checkParagraph): adjust
7021 (setCursorFromCoordinates): adjust
7023 * text.C (top_y): adjust
7025 (getRow): make it return a RowList::iterator, adjust
7026 (getRowNearY): make it return a RowList::iterator, adjust
7028 * text2.C (init): adjust
7029 (insertRow): remove function
7030 (insertParagraph): adjust
7031 (redoParagraphs): adjust
7032 (fullRebreak): adjust
7033 (updateCounters): adjust
7035 * text.C (top_y): rewrite to use RowList iterators.
7037 (setHeightOfRow): rewrite to sue RowList iterators.
7038 (appendParagraph): adjust
7039 (breakAgain): adjust
7040 (breakAgainOneRow): adjust
7041 (breakParagraph): adjust
7043 (getRowNearY): adjust, and remove commented code.
7045 * lyxtext.h (firstRow): delete function
7046 (lastRow): delete function
7047 (rows): new function (const and non-const versions.)
7048 (insertRow): delete function
7050 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7052 2003-03-29 John Levon <levon@movementarian.org>
7054 * BufferView_pimpl.C: always update scrollbar top
7055 because pasting text when we're anchored could mean we
7056 miss an update altogether
7058 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7060 * text2.C (init): use rowlist_.end() and not 0.
7061 (insertRow): change to take a RowList::iterator as arg, adjust
7063 (insertParagraph): change to take a RowList::iterator as arg,
7065 (redoParagraphs): remove some debug msgs.
7067 * text.C (appendParagraph): change to take a RowList::iterator
7068 arg, adjust for this.
7069 (breakAgain): add an assert
7070 (breakAgainOneRow): ditto
7072 2003-03-29 John Levon <levon@movementarian.org>
7074 * text2.C: do not clear selection after inc/decDepth
7077 2003-03-29 John Levon <levon@movementarian.org>
7080 * buffer.C: fix broken strerrors according to Lars
7082 2003-03-29 John Levon <levon@movementarian.org>
7084 * converters.C: more Alert cleanups
7086 2003-03-29 John Levon <levon@movementarian.org>
7088 * bufferview_funcs.C: remove pointless Alert
7090 * buffer.C: fix confusing error message when
7091 a template is chmoded 000
7093 2003-03-29 John Levon <levon@movementarian.org>
7097 * BufferView_pimpl.C: Alert fixes
7101 * tabular-old.C: remove unused table compat reading
7103 2003-03-29 John Levon <levon@movementarian.org>
7108 * lyx_cb.C: more Alert cleanups
7110 * lyxfunc.C: don't allow chktex if not latex document
7112 2003-03-29 John Levon <levon@movementarian.org>
7116 * buffer.C: warnings pushed down from support/,
7119 2003-03-29 John Levon <levon@movementarian.org>
7121 * lyxfunc.C: safety check for C-r (revert)
7123 2003-03-29 John Levon <levon@movementarian.org>
7126 * bufferlist.C: several UI fixes using Alert::prompt.
7127 Fix the pointless looping quit code. Fix stupid revert
7132 * lyx_cb.C: use Alert::prompt
7134 * lyx_main.C: remove a silly question
7136 * lyxfunc.C: remove a couple of silly questions,
7139 2003-03-28 John Levon <levon@movementarian.org>
7141 * text2.C: fix bug 974 (End on empty par)
7143 2003-03-28 John Levon <levon@movementarian.org>
7145 * BufferView_pimpl.C:
7147 * lfuns.h: remove do-nothing math greek lfuns
7149 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7151 * lyxgluelength.h (isValidGlueLength): add default arg on
7152 parameter 2. Remove default arg from friend in class.
7154 * lyxlength.h (isValidLength): add default arg on parameter 2.
7155 Remove default arg from friend in class.
7157 * text2.C (LyXText): adjust, initialize refresh_row.
7161 (insertParagraph): adjst
7162 (redoParagraphs): adjust
7163 (fullRebreak): adjust
7164 (updateCounters): adjust
7165 (deleteEmptyParagraphMechanism): first attempt at fixing a
7168 * text.C (top_y): adjust
7169 (setHeightOfRow): adjust
7171 (getRowNearY): adjust
7173 * lyxtext.h: include RowList.h
7174 (~LyXText): not needed anymore, deleted.
7175 (firstRow): modify for RowList
7176 (lastRow): new function
7177 Delete firstrow and lastrow class variables, add a Rowlist
7178 rowlist_ class variable.
7180 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7183 * RowList.C (insert): fix case where it == begin().
7185 2003-03-26 Angus Leeming <leeming@lyx.org>
7187 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7188 the thesaurus dialog.
7190 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7194 * RowList.[Ch]: new files
7196 * ParagraphList.C (erase): handle the case where it == begin
7199 2003-03-25 John Levon <levon@movementarian.org>
7203 * aspell.C: add new aspell support
7206 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7209 2003-03-25 Angus Leeming <leeming@lyx.org>
7212 * LyXAction.C (init): new LFUN_INSET_INSERT.
7214 * BufferView_pimpl.C (dispatch): split out part of the
7215 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7217 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7220 2003-03-25 Angus Leeming <leeming@lyx.org>
7222 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7224 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7227 * text3.C: remove useless row->height(0)
7229 2003-03-25 John Levon <levon@movementarian.org>
7233 * text3.C: rename the refreshing stuff to better names
7235 2003-03-24 John Levon <levon@movementarian.org>
7237 * BufferView_pimpl.h:
7238 * BufferView_pimpl.C: update layout choice on a mouse
7241 2003-03-23 John Levon <levon@movementarian.org>
7243 * Makefile.am: fix commandtags.h reference
7245 2003-03-22 John Levon <levon@movementarian.org>
7247 * BufferView_pimpl.C:
7252 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7254 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7257 * text.C: take the rtl methods out of line
7259 2003-03-21 André Pönitz <poenitz@gmx.net>
7261 * metricsinfo.[Ch]: new files containing structures to be passed around
7262 during the two-phase-drawing...
7264 2003-03-21 André Pönitz <poenitz@gmx.net>
7266 * lyxtextclass.C: read 'environment' tag.
7268 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7270 * text2.C (removeRow): fix bug 964
7272 2003-03-20 John Levon <levon@movementarian.org>
7276 * text2.C: paint cleanups. Inset::update() dropped font
7279 2003-03-19 John Levon <levon@movementarian.org>
7281 * lyxfunc.C: only fitcursor/markDirty if available()
7283 2003-03-19 John Levon <levon@movementarian.org>
7285 * commandtags.h: rename to ...
7287 * lfuns.h: ... this, and renumber / cleanup
7289 2003-03-19 John Levon <levon@movementarian.org>
7291 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7292 fit the cursor after an lfun
7296 * BufferView_pimpl.h:
7297 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7299 * LyXAction.C: layout-character should have ReadOnly
7301 * ParagraphParameters.C:
7303 * bufferview_funcs.C:
7310 * undo_funcs.C: changes from above
7312 2003-03-18 John Levon <levon@movementarian.org>
7314 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7315 remove it from update()
7317 * lyxfunc.C: update layout choice after an lfun
7319 * text3.C: remove extra updateLayoutChoice()s
7321 2003-03-18 John Levon <levon@movementarian.org>
7323 * text.C: top_y change means full repaint, fix
7324 a drawing bug with cursor movement
7326 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7330 * text2.C: anchor row on setCursor
7332 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7334 * lyxtext.h: remove almost all mutable keywords
7337 * text3.C: remove const keywords accordingly
7339 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7341 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7343 (TeXEnvironment): ditto
7346 2003-03-17 John Levon <levon@movementarian.org>
7348 * text.C (rowBreakPoint): remove attempt to fix displayed
7349 math insets inside a manual label
7351 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7353 * lyxtext.h: remove BufferView* as first arg from almost all class
7355 * other files: adjust.
7357 2003-03-17 John Levon <levon@movementarian.org>
7361 * text2.C: more paint cleanups
7363 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7366 * rowpainter.C: remove "smart" background painting code
7368 2003-03-16 John Levon <levon@movementarian.org>
7373 * text3.C: add helper functions for setting refresh_row/y
7375 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7377 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7378 newline inset which *can* get inserted in the pass_thru layouts.
7379 This is primarily for literate documents.
7381 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7383 * buffer.C: increment LYX_FORMAT to 223
7385 2003-03-14 André Pönitz <poenitz@gmx.net>
7387 * textclass.h: prepare for environment handling, ws changes
7388 * lyxlayout.C: read latexheader and latexfooter tags
7390 2003-03-14 John Levon <levon@movementarian.org>
7392 * text2.C: rewrite ::status() a bit
7394 2003-03-13 John Levon <levon@movementarian.org>
7396 * lyxtext.h: add some docs
7398 2003-03-13 John Levon <levon@movementarian.org>
7403 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7405 2003-03-13 John Levon <levon@movementarian.org>
7407 * text3.C: fix appendix redrawing
7409 2003-03-13 John Levon <levon@movementarian.org>
7411 * text.C (setHeightOfRow):
7413 * rowpainter.C: make appendix mark have the text
7414 "Appendix" so the user knows what it is
7417 * LColor.C: s/appendixline/appendix/ from above
7419 2003-03-13 John Levon <levon@movementarian.org>
7421 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7423 * text.C: fix a getChar(pos) bug properly
7425 2003-03-13 Angus Leeming <leeming@lyx.org>
7428 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7429 Probably only temporary. Let's see how things pan out.
7431 * BufferView.C (unlockInset):
7432 * BufferView_pimpl.C (fitCursor):
7433 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7435 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7436 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7438 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7439 new functions that convert ParagraphParameters to and from a string.
7441 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7442 BufferView::Pimpl's dispatch.
7443 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7445 2003-03-13 André Pönitz <poenitz@gmx.net>
7449 * factory.C: make it aware of InsetEnv
7451 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7453 * text2.C (setCursor): never ask for one past last
7454 (setCursor): add some debugging messages.
7456 * text.C (singleWidth): never ask for one past last
7457 (singleWidth): ditto
7459 (rightMargin): ditto
7460 (rowBreakPoint): ditto
7461 (setHeightOfRow): ditto
7462 (prepareToPrint): ditto
7464 * rowpainter.C (paintBackground): never ask for one past last
7465 (paintText): never ask for one past last
7467 * paragraph_pimpl.C (getChar): make the assert stricter, never
7468 allow the one past last pos to be taken
7470 * paragraph.C (getChar): ws changes only
7472 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7473 (numberOfSeparators): ditto
7474 (numberOfHfills): ditto
7476 2003-03-12 John Levon <levon@movementarian.org>
7482 * paragraph_funcs.C: fix per-buffer authorlists
7484 2003-03-12 John Levon <levon@movementarian.org>
7486 * text.C: fix newline in right address
7488 2003-03-12 Angus Leeming <leeming@lyx.org>
7490 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7491 duplicate those in LyXFunc::dispatch.
7495 * ToolbarDefaults.C:
7496 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7497 Add LFUN_FONTFREE_UPDATE.
7499 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7500 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7502 * bufferview_func.[Ch]: several new functions to facilliate
7503 transfer of data to and from the character dialog.
7505 2003-03-12 John Levon <levon@movementarian.org>
7510 * paragraph_funcs.C:
7511 * paragraph_pimpl.C:
7515 * text3.C: remove META_NEWLINE in favour of an inset
7518 * rowpainter.C: remove paintNewline (done by inset)
7520 2003-03-12 John Levon <levon@movementarian.org>
7522 * paragraph_pimpl.C: complain about bad getChar()s
7523 for a while at least
7525 2003-03-12 John Levon <levon@movementarian.org>
7528 * buffer.C: move paragraph read into a separate function,
7529 a little renaming to reflect that.
7532 * bufferparams.C: remove the author_ids map, not necessary now
7535 * factory.C: moved Buffer::readInset to here
7537 * paragraph_funcs.h:
7538 * paragraph_funcs.C: readParagraph free function moved from
7541 * tabular.C: name change
7543 2003-03-12 John Levon <levon@movementarian.org>
7546 * ParagraphParameters.C: move par params input to
7549 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7550 behave like a normal read from the stream wrt reading
7551 a line vs. a \\token
7553 2003-03-12 John Levon <levon@movementarian.org>
7556 * ParagraphParameters.h:
7557 * ParagraphParameters.C: move output code to a
7560 2003-03-12 John Levon <levon@movementarian.org>
7562 * BufferView.C (insertLyXFile):
7565 * tabular.C: use a parlist iterator for creating the
7568 2003-03-12 John Levon <levon@movementarian.org>
7570 * buffer.C: make current_change static local not
7573 2003-03-12 John Levon <levon@movementarian.org>
7575 * buffer.C: fix insertStringAsLines for change tracking
7577 2003-03-12 John Levon <levon@movementarian.org>
7584 * bufferparams.C: move author list into params. Rename some
7585 functions. Move the header reading into a separate token
7586 loop. Move the header token reading into BufferParams.
7588 2003-03-12 John Levon <levon@movementarian.org>
7590 * changes.C: put debug inside lyxerr.debugging() checks
7592 2003-03-11 André Pönitz <poenitz@gmx.net>
7594 * factory.C: make it aware of InsetHFill
7596 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7598 * buffer.C (latexParagraphs): move function from here...
7599 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7602 2003-03-10 Angus Leeming <leeming@lyx.org>
7604 * LyXAction.C (init): fix bug in poplating array with multiple entries
7605 with the same LFUN (spotted by JMarc).
7607 2003-03-10 John Levon <levon@movementarian.org>
7610 * text2.C: move getColumnNearX() near its
7613 2003-03-10 John Levon <levon@movementarian.org>
7615 * text.C: fix break before a minipage
7617 2003-03-10 John Levon <levon@movementarian.org>
7619 * text.C: fix the last commit
7621 2003-03-09 John Levon <levon@movementarian.org>
7625 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7626 bug 365 (don't break before insets unless needed). Don't
7627 return a value > last under any circumstances.
7629 2003-03-09 Angus Leeming <leeming@lyx.org>
7631 * BufferView_pimpl.C (trackChanges, dispatch): call
7632 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7634 2003-03-09 Angus Leeming <leeming@lyx.org>
7636 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7637 than Dialogs::showAboutlyx().
7639 2003-03-09 Angus Leeming <leeming@lyx.org>
7641 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7642 than Dialogs::showTabularCreate().
7644 2003-03-09 John Levon <levon@movementarian.org>
7648 * text2.C: 3rd arg to nextBreakPoint was always the same.
7651 2003-03-08 John Levon <levon@movementarian.org>
7658 * text2.C: Remove the "main" bit from the "main body"
7661 2003-03-08 John Levon <levon@movementarian.org>
7663 * text.C (leftMargin): The left margin of an empty
7664 manual label paragraph should not include the label width
7667 * text.C (prepareToPrint): don't attempt to measure hfills
7668 for empty manual label paragraphs - the answer should be 0
7670 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7672 * CutAndPaste.C: remove commented code and reindent.
7674 2003-03-08 John Levon <levon@movementarian.org>
7677 * lyxfunc.C: move reloadBuffer()
7680 * BufferView.C: to here
7682 * lyxvc.C: add comment
7685 * vc-backend.C: call bv->reload() to avoid
7686 getStatus() check on MENURELOAD
7688 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7690 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7691 to an old format .dep file.
7693 2003-03-07 Angus Leeming <leeming@lyx.org>
7695 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7696 when the LFUN_MOUSE_RELEASE should have been handled by
7697 inset->localDispatch.
7699 2003-03-07 Angus Leeming <leeming@lyx.org>
7701 * BufferView_pimpl.C (dispatch):
7702 * LyXAction.C (init):
7703 * ToolbarDefaults.C (init):
7705 * lyxfunc.C (getStatus):
7706 remove LFUN_INSET_GRAPHICS.
7708 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7710 2003-03-07 Angus Leeming <leeming@lyx.org>
7713 * LyXAction.C (init):
7714 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7716 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7719 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7721 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7722 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7724 2003-03-07 Angus Leeming <leeming@lyx.org>
7726 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7729 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * ParagraphList.C (front): new function
7734 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7736 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7737 and top_row_offset_. removed var first_y.
7739 * text2.C (LyXText, removeRow):
7741 * BufferView_pimpl.C:
7742 use these methods instead of using first_y
7744 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7746 * text2.C (pasteSelection): adjust for checkPastePossible
7748 * CutAndPaste.C: remove Paragraph * buf and replace with
7749 ParagraphList paragraphs.
7750 (DeleteBuffer): delete
7751 (cutSelection): change the tc type to textclass_type
7752 (copySelection): change the tc type to textclass_type
7753 (copySelection): adjust for ParagraphList
7754 (pasteSelection): change the tc type to textclass_type
7755 (pasteSelection): adjust for Paragraphlist
7756 (nrOfParagraphs): simplify for ParagraphList
7757 (checkPastePossible): simplify for ParagraphList
7758 (checkPastePossible): remove unused arg
7760 * ParagraphList.C (insert): handle the case where there are no
7763 * CutAndPaste.h: make CutAndPaste a namespace.
7765 * text3.C (dispatch): adjust
7767 * text.C (breakParagraph): add a ParagraphList as arg
7769 * paragraph_funcs.C (breakParagraph): change to take a
7770 BufferParams and a ParagraphList as args.
7771 (breakParagraphConservative): ditto
7772 (mergeParagraph): ditto
7773 (TeXDeeper): add a ParagraphList arg
7774 (TeXEnvironment): ditto
7777 * buffer.C (readLyXformat2): adjust
7778 (insertStringAsLines): adjust
7779 (latexParagraphs): adjust
7781 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7782 (cutSelection): adjust
7783 (pasteSelection): adjust
7785 * BufferView_pimpl.C (insertInset): adjust
7787 2003-03-05 Angus Leeming <leeming@lyx.org>
7790 * LyXAction.C (init):
7791 * BufferView_pimpl.C (dispatch):
7792 * lyxfunc.C (getStatus):
7793 remove LFUN_CHILD_INSERT.
7795 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7797 2003-03-05 Angus Leeming <leeming@lyx.org>
7800 * LyXAction.C (init):
7801 * src/factory.C (createInset):
7802 * lyxfunc.C (getStatus):
7803 * text3.C (dispatch):
7804 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7806 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7808 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7810 * ParagraphList.C (insert): handle insert right before end()
7811 (erase): fix cases where it can be first or last paragraph.
7813 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7815 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7816 Paragraph::next and Paragraph::previous
7819 * text.C (breakParagraph): adjust
7821 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7822 BufferParams& as arg.
7823 (breakParagraph): use ParagraphList::insert
7824 (breakParagraphConservative): take a Buffer* instead of a
7825 BufferParams& as arg.
7826 (breakParagraphConservative): use ParagraphList::insert.
7828 * buffer.C (insertStringAsLines): un-const it
7829 (insertStringAsLines): adjust
7831 * ParagraphList.C (insert): new function
7833 * CutAndPaste.C (pasteSelection): adjust
7835 * text.C (backspace): adjust
7837 * tabular.C (SetMultiColumn): adjust
7839 * CutAndPaste.C (cutSelection): adjust
7840 (pasteSelection): adjust
7842 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7843 Buffer const * as arg
7845 * ParagraphList.C (erase): new function
7846 * paragraph_funcs.C (mergeParagraph): use it
7847 (mergeParagraph): make it take a Buffer* instead of a
7848 BufferParams* as arg
7850 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7852 (breakParagraphConservative): ditto
7854 * paragraph.h: remove the breakParagraph friend
7856 * paragraph.C (eraseIntern): new function
7857 (setChange): new function
7859 * paragraph_funcs.C (mergeParagraph): make it take a
7860 ParagraphList::iterator instead of a Paragraph *, adjust
7863 * paragraph.h: move an #endif so that the change tracking stuff
7864 also works in the NO_NEXT case.
7866 2003-03-04 Angus Leeming <leeming@lyx.org>
7869 * LyXAction.C: new LFUN_INSET_MODIFY.
7871 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7872 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7874 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7876 * several files: ws changes only
7878 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7879 (TeXEnvironment): ditto
7882 * buffer.C (makeLaTeXFile): adjust
7883 (latexParagraphs): make it take ParagraphList::iterator as args
7885 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7887 * buffer.C (latexParagraphs): adjust
7889 * paragraph.C (TeXOnePar): move function...
7890 (optArgInset): move function...
7891 (TeXEnvironment): move function...
7892 * paragraph_pimpl.C (TeXDeeper): move function...
7893 * paragraph_funcs.C: ...here
7895 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7897 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7899 * buffer.C (readInset): remove compability code for old Figure and
7902 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7904 * buffer.C: ws changes
7907 * BufferView_pimpl.C: ditto
7910 * bufferlist.h: ditto
7914 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7916 * converter.[Ch]: split into itself +
7919 * Makefile.am: += graph.[Ch] + format.[Ch]
7926 * lyxrc.C: added #include "format.h"
7928 2003-02-27 Angus Leeming <leeming@lyx.org>
7930 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7933 * factory.C (createInset): add "label" to the factory.
7935 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7936 string and do no more.
7938 2003-02-27 Angus Leeming <leeming@lyx.org>
7941 * LyXAction.C (init):
7942 * factory.C (createInset):
7943 * BufferView_pimpl.C (dispatch):
7944 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7946 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7948 * lyxfunc.C (dispatch):
7949 * text3.C (dispatch): pass name to params2string.
7951 2003-02-26 Angus Leeming <leeming@lyx.org>
7953 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7955 Rearrange the ~includes. Strip out the unnecessary ones.
7957 * factory.C (createInset): reformat.
7958 create new insets for the various LFUN_XYZ_APPLY lfuns.
7960 2003-02-26 John Levon <levon@movementarian.org>
7963 * lyxrow.C: add isParStart,isParEnd helpers
7965 * paragraph.h: make isInserted/DeletedText take refs
7967 * paragraph_funcs.h:
7968 * paragraph_funcs.C: remove #if 0'd code
7973 * text.C: use lyxrow helpers above.
7974 Move draw and paint routines to RowPainter.
7975 Make several methods use refs not pointers.
7976 Make backgroundColor() const.
7977 Add markChangeInDraw(), isInInset().
7978 Merge changeRegionCase into changeCase.
7979 Make workWidth() shouldn't-happen code into an Assert.
7982 * rowpainter.C: new class for painting a row.
7985 * vspace.C: make inPixels take a ref
7987 2003-02-26 Angus Leeming <leeming@lyx.org>
7989 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7992 2003-02-25 John Levon <levon@movementarian.org>
7994 * ispell.C: give the forked command a more accurate name
7996 2003-02-22 John Levon <levon@movementarian.org>
7999 * toc.C: make TocItem store an id not a Paragraph *
8002 2003-02-21 Angus Leeming <leeming@lyx.org>
8004 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8005 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8006 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8007 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8008 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8009 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8011 * BufferView_pimpl.C (dispatch):
8012 * LyXAction.C (init):
8013 * factory.C (createInset):
8014 * lyxfunc.C (getStatus, dispatch):
8015 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8017 2003-02-21 Angus Leeming <leeming@lyx.org>
8019 * BufferView_pimpl.C (MenuInsertLyXFile):
8020 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8021 * lyxfunc.C (menuNew, open, doImport):
8022 no longer pass a LyXView & to fileDlg.
8024 2003-02-21 Angus Leeming <leeming@lyx.org>
8026 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8027 * LyXAction.C: change, BIBKEY to BIBITEM.
8028 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8029 Change InsetBibKey to InsetBibitem.
8030 Change BIBKEY_CODE to BIBITEM_CODE.
8031 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8032 * factory.C: replace insetbib.h with insetbibitem.h.
8033 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8034 * paragraph.C: replace insetbib.h with insetbibitem.h.
8035 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8036 Change bibkey() to bibitem().
8037 * text.C: remove insetbib.h.
8038 * text2.C: replace insetbib.h with insetbibitem.h.
8039 change bibkey() to bibitem().
8040 * text3.C: remove insetbib.h.
8041 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8043 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8045 * lyxrc.C (output): enclose user email in quotes (in case there are
8048 2003-02-18 John Levon <levon@movementarian.org>
8050 * buffer.h: add std::
8052 2003-02-17 John Levon <levon@movementarian.org>
8058 * pspell.C: reworking. Especially in ispell, a large
8059 number of clean ups and bug fixes.
8061 * lyxfunc.C: fix revert to behave sensibly
8063 2003-02-17 André Pönitz <poenitz@gmx.net>
8066 * commandtags.h: new LFUN_INSERT_BIBKEY
8076 * paragraph_func.C: remove special bibkey handling
8078 2003-02-17 John Levon <levon@movementarian.org>
8080 * text.C (Delete): fix case where delete at the end of
8081 the very first paragraph would not merge the pars
8083 2003-02-17 John Levon <levon@movementarian.org>
8085 * lyxrow.C: fix lastPrintablePos()
8087 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8089 * bufferparams.C (writeLaTeX): add a std:here
8091 * buffer.C: and remove a using directive there
8093 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8095 * buffer.C (makeLaTeXFile): move the code that generates the
8098 * bufferparams.C (writeLaTeX): ... in this new method
8100 * LaTeXFeatures.C (getEncodingSet): make const
8101 (getLanguages): make const
8103 * MenuBackend.C (binding): returns the binding associated to this
8105 (add): sets the status of each item by calling getStatus. Adds
8107 (read): add support for OptSubMenu
8108 (expand): remove extra separator at the end of expanded menu
8110 2003-02-15 John Levon <levon@movementarian.org>
8113 * BufferView_pimpl.C:
8115 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8116 inset code that had no actual effect. Remove unneeded status
8119 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8121 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8124 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8126 * text.C (drawLengthMarker): also draw an arrow marker for
8127 symbolic lengths (medskip...)
8129 2003-02-14 John Levon <levon@movementarian.org>
8132 * tabular.C: better method names
8134 2003-02-14 John Levon <levon@movementarian.org>
8136 * BufferView_pimpl.C:
8141 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8142 it's a more accurate name. Remove some pointless uses.
8144 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8146 * text2.C (LyXText): change order of initilizers to shut off
8149 2003-02-14 John Levon <levon@movementarian.org>
8151 * buffer.C: use ParIterator for getParFromID()
8155 * paragraph_pimpl.h:
8156 * paragraph_pimpl.C: remove unused getParFromID()
8158 2003-02-14 John Levon <levon@movementarian.org>
8160 * buffer.C: remove some very old #if 0'd parse code
8162 2003-02-13 John Levon <levon@movementarian.org>
8166 * text2.C: move hfillExpansion(), numberOfSeparators(),
8167 rowLast(), rowLastPrintable(), numberofHfills(),
8168 numberOfLabelHfills() ...
8171 * lyxrow.C: ... to member functions here.
8176 * text.C: remove LyXText::beginningOfMainBody(), and call
8177 p->beginningOfMainBody() directly. Move the check for
8178 LABEL_MANUAL into the latter.
8185 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8191 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8192 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8194 2003-02-13 John Levon <levon@movementarian.org>
8196 * CutAndPaste.C: remove debug
8198 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8200 * paragraph.C (asString): remove two unused variables
8202 * lyxtextclass.C (readTitleType):
8204 (LyXTextClass): handle new members titletype_ and titlename_
8206 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8208 2003-02-09 John Levon <levon@movementarian.org>
8211 * buffer.C: replace hand-coded list with a map for the dep clean
8213 2003-02-08 John Levon <levon@movementarian.org>
8215 * LaTeX.C: consolidate code into showRunMessage() helper
8217 2003-02-08 John Levon <levon@movementarian.org>
8222 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8223 and pass the size in explicitly
8225 * BufferView_pimpl.h:
8226 * BufferView_pimpl.C:
8228 * BufferView.C: add getCurrentChange()
8230 * BufferView_pimpl.h:
8231 * BufferView_pimpl.C: handle change lfuns
8233 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8234 for changes. Mark pasted paragraphs as new.
8236 * support/lyxtime.h:
8237 * support/lyxtime.C:
8238 * DepTable.C: abstract time_t as lyx::time_type
8241 * LColor.C: add colours for new text, deleted text, changebars
8243 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8244 package use "usenames" option.
8248 * LyXAction.C: add change lfuns
8252 * author.C: author handling
8255 * buffer.C: add a per-buffer author list, with first entry as
8256 current author. Handle new .lyx tokens for change tracking. Output
8257 author list to .lyx file. Output dvipost stuff to .tex preamble.
8258 Bump lyx format to 222.
8261 * bufferlist.C: add setCurrentAuthor() to reset current author details
8265 * bufferparams.C: add param for tracking
8267 * bufferview_funcs.C: output change info in minibuffer
8271 * changes.C: add change-tracking structure
8274 * debug.C: add CHANGES debug flag
8277 * lyxfind.C: add code for finding the next change piece
8280 * lyxrc.C: add user_name and user_email
8283 * lyxrow.C: add a metric for the top of the text line
8286 * text.C: implement accept/rejectChange()
8289 * text.C: paint changebars. Paint new/deleted text in the chosen
8290 colours. Strike through deleted text.
8294 * paragraph_pimpl.h:
8295 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8296 in the current change to the insert functions. Rework erase to
8297 mark text as deleted, adding an eraseIntern() and a range-based
8298 erase(). Implement per-paragraph change lookup and
8301 * paragraph_funcs.C: Fixup paste for change tracking.
8303 * tabular.C: mark added row/columns as new.
8305 * text.C: fix rowLast() to never return -1. Don't allow
8306 spellchecking of deleted text. Track transpose changes. Don't
8307 allow paragraph break or merge where appropriate.
8309 * text2.C: leave cursor at end of selection after a cut.
8311 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8313 * text.C (getLengthMarkerHeight):
8314 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8315 visible on screen too.
8317 2003-02-07 John Levon <levon@movementarian.org>
8319 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8321 2003-02-05 Angus Leeming <leeming@lyx.org>
8323 * lyxserver.C (read_ready): revert my patch of 11 September last year
8324 as it sends PC cpu through the roof. Presumably this means that
8325 the lyxserver will no longer run on an Alpha...
8327 2003-01-30 Angus Leeming <leeming@lyx.org>
8329 * factory.C (createInset): create an InsetCommandParam of type "index"
8330 and use it to 'do the right thing'.
8332 * text2.C (getStringToIndex): ensure that cursor position is always
8333 reset to the reset_cursor position.
8335 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8337 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8340 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8344 * lyxfunc.C: Output messages with identical spelling, punctuation,
8347 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8349 * MenuBackend.C (expandFormats): List only viewable export formats
8352 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8355 * lyxfunc.C (getStatus): Make sure that formats other than
8356 "fax" can also be disabled
8358 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8360 * text3.C (dispatch): put the lfuns that insert insets in 3
8361 groups, and call doInsertInset with appropriate arguments.
8362 (doInsertInset): new function, that creates an inset and inserts
8363 it according to some boolean parameters.
8365 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8367 * buffer.C (readFile): remember to pass on 'par' when calling
8368 readFile recursively.
8370 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8372 * MenuBackend.C (expandFormats): add "..." to import formats.
8374 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8376 * paragraph.C (asString): Remove XForms RTL hacks.
8378 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8379 * buffer.C: fix typo
8381 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8383 * Makefile.am (LIBS): delete var
8384 (lyx_LDADD): add @LIBS@ here instead.
8386 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8388 * Clarify the meaning of "wheel mouse jump"
8390 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8392 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8395 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8397 * importer.C (Loaders): do not preallocate 3 elements in the
8398 vector, since one ends up with 6 elements otherwise
8400 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8402 * DepTable.C (write): write the file name as last element of the
8403 .dep file (because it may contain spaces)
8404 (read): read info in the right order
8406 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8408 * paragraph_pimpl.C (simpleTeXBlanks):
8409 (simpleTeXSpecialChars):
8410 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8412 * tabular.C (latex): add some missing case statements. Reindent.
8414 * MenuBackend.C (expandToc): remove unused variable.
8416 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8425 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8428 2003-01-05 John Levon <levon@movementarian.org>
8431 * BufferView.C: add getEncoding()
8434 * kbsequence.C: do not store last keypress
8437 * lyxfunc.C: store last keypress here instead. Pass encoding
8440 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8442 * lyx_main.C (init): remove annoying error message when following
8443 symbolic links (bug #780)
8445 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8447 * text.C (insertChar):
8448 * lyxrc.C (getDescription): remove extra spaces
8450 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8452 * lyxrc.C (getDescription): remove extra spaces
8454 2002-12-20 John Levon <levon@movementarian.org>
8456 * text3.C: hack fix for page up/down across tall rows
8458 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8460 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8463 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8465 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8466 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8467 thesaurus is not compiled in
8469 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8471 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8473 2002-12-16 Angus Leeming <leeming@lyx.org>
8476 * lyx_main.C (init): remove override_x_deadkeys stuff.
8478 2002-12-12 John Levon <levon@movementarian.org>
8480 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8481 insert. Only remove shift modifier under strict
8484 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8486 * MenuBackend.C (expandToc): fix crash.
8488 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8490 * MenuBackend.C (expandToc): gettext on float names.
8492 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8494 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8495 implement bool empty() [bug 490]
8497 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8499 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8501 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8503 * several files: ws changes
8505 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8507 * text2.C (setCounter): clean up a bit, use boost.format.
8508 (updateCounters): initialize par upon declaration.
8510 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8511 if the layout exists. We do not just store the layout any more.
8512 (SwitchLayoutsBetweenClasses): use boost.format
8514 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8516 * converter.C (convert): if from and to files are the same, use a
8517 temporary files as intermediary
8519 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8522 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8524 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8526 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8528 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8530 * tabular.C (asciiPrintCell): use string(size, char) instead of
8533 * sgml.C (openTag): fix order of arguments to string constructor
8536 * lyxfunc.C (dispatch): use boost.format
8538 * lots of files: change "c" -> 'c'
8540 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8542 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8544 2002-11-25 Angus Leeming <leeming@lyx.org>
8546 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8548 * lyx_main.C (init): compile fix.
8550 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8552 * lyx_cb.C (start): boost.formatify
8553 do not include <iostream>
8555 * lengthcommon.C: ws only
8557 * boost-inst.C,BoostFormat.h: add more explict instantations
8559 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8561 * lots of files: handle USE_BOOST_FORMAT
8563 2002-11-21 John Levon <levon@movementarian.org>
8565 * pspell.C: fix compile
8567 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8569 * lyxfunc.C (dispatch): use boost::format
8573 * lyxfont.C (stateText): use boost::format
8575 * lyx_main.C (LyX): use boost::format
8577 (queryUserLyXDir): ditto
8580 (typedef boost::function): use the recommened syntax.
8582 * importer.C (Import): use boost::format
8584 * debug.C (showLevel): use boost::format
8586 * converter.C (view): use boost::format
8591 * bufferview_funcs.C (currentState): use boost::format
8593 * bufferlist.C (emergencyWrite): use boost::format
8595 * buffer.C (readLyXformat2): use boost::format
8596 (parseSingleLyXformat2Token): ditto
8598 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8600 * LaTeX.C (run): use boost::format
8602 * Chktex.C (scanLogFile): use boost::format
8604 * BufferView_pimpl.C (savePosition): use boost::format
8605 (restorePosition): ditto
8606 (MenuInsertLyXFile): ditto
8608 * BoostFormat.h: help file for explicit instation.
8610 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8612 * tabular.C (latex): Support for block alignment in fixed width
8615 2002-11-17 John Levon <levon@movementarian.org>
8617 * BufferView_pimpl.C:
8619 * lyxfunc.C: split filedialog into open/save
8621 2002-11-08 Juergen Vigna <jug@sad.it>
8623 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8624 by my last patch (hopefully).
8626 2002-11-08 John Levon <levon@movementarian.org>
8635 * toc.C: ParConstIterator, and use it (from Lars)
8637 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8639 * lyxtextclass.[Ch]: revise and add doxygen comments
8641 2002-11-07 John Levon <levon@movementarian.org>
8643 * text.C: fix progress value for spellchecker
8645 * toc.C: fix navigate menu for insetwrap inside minipage
8647 * paragraph_funcs.C: added FIXME for suspect code
8649 2002-11-07 John Levon <levon@movementarian.org>
8651 * BufferView_pimpl.C: fix redrawing of insets
8654 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8656 * text2.C (updateCounters): fix bug 668
8658 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8660 * text3.C (dispatch): Do not make the buffer dirty when moving the
8663 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8665 * vc-backend.C: STRCONV
8668 * text2.C (setCounter): STRCONV
8670 * paragraph.C (asString): STRCONV
8672 * lyxlength.C (asString): STRCONV
8673 (asLatexString): ditto
8675 * lyxgluelength.C (asString): STRCONV
8676 (asLatexString): ditto
8678 * lyxfunc.C (dispatch): STRCONV
8681 * lyxfont.C (stateText): STRCONV
8683 * importer.C (Import): STRCONV
8685 * counters.C (labelItem): STRCONV
8686 (numberLabel): ditto
8687 (numberLabel): remove unused ostringstream o
8692 * bufferview_funcs.C (currentState): STRCONV
8694 * buffer.C (readFile): STRCONV
8695 (asciiParagraph): ditto
8696 (makeLaTeXFile): ditto
8698 * Spacing.C (writeEnvirBegin): STRCONV
8700 * LaTeXFeatures.C (getLanguages): STRCONV
8701 (getPackages): ditto
8703 (getBabelOptions): ditto
8704 (getTClassPreamble): ditto
8705 (getLyXSGMLEntities): ditto
8706 (getIncludedFiles): ditto
8710 (scanAuxFile): ditto
8713 * LString.h: add the STRCONV macros
8715 * BufferView_pimpl.C (savePosition): STRCONV
8716 (restorePosition): ditto
8717 (MenuInsertLyXFile): ditto
8719 * vc-backend.C (scanMaster): change from submatch[...] to
8722 * funcrequest.C: include config.h
8724 * factory.C: include config.h
8726 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8728 * box.C: include config.h
8730 * LaTeX.C (scanAuxFile): change from submatch[...] to
8734 2002-10-25 Angus Leeming <leeming@lyx.org>
8736 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8738 * ispell.[Ch] (setError): new method.
8739 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8740 Use setError() insetead of goto END.
8742 * lyx_cb.C (AutoSave): move out child process into new class
8745 2002-10-30 John Levon <levon@movementarian.org>
8747 * text3.C: make start appendix undoable
8749 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8751 * lyxlength.C (inPixels): Fix returned value.
8753 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8756 2002-10-24 Angus Leeming <leeming@lyx.org>
8758 * lyxgluelength.h: no need to forward declare BufferParams
8759 or BufferView, so don't.
8761 2002-10-21 John Levon <levon@movementarian.org>
8763 * BufferView.C: menuUndo ->undo, redo
8765 * BufferView.h: document, remove dead, make some methods private
8767 * paragraph_funcs.h:
8768 * paragraph_funcs.C:
8769 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8774 * sgml.C: move sgml open/close tag into sgml.C
8776 * bufferview_funcs.h: unused prototype
8779 * lyxfunc.C: remove unused
8782 * text.C: remove unused
8784 2002-10-21 John Levon <levon@movementarian.org>
8788 * BufferView_pimpl.h:
8789 * BufferView_pimpl.C: fix mouse wheel handling based on
8790 patch from Darren Freeman
8792 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8794 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8796 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8798 * lyxlength.C (inPixels): Fix hanfling of negative length.
8799 Fix LyXLength::MU case.
8801 2002-10-16 John Levon <levon@movementarian.org>
8803 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8805 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8807 * converter.C (view): add support for $$i (file name) and $$p
8808 (file path) for the viewer command. If $$i is not specified, then
8809 it is appended to the command (for compatibility with old syntax)
8811 2002-10-14 Juergen Vigna <jug@sad.it>
8813 * undo_funcs.C (textHandleUndo): alter the order in which the
8814 new undopar is added to the LyXText, as we have to set first
8815 the right prev/next and then add it as otherwise the rebuild of
8816 LyXText is not correct. Also reset the cursor to the right paragraph,
8817 with this IMO we could remove the hack in "redoParagraphs()".
8819 2002-10-09 Angus Leeming <leeming@lyx.org>
8821 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8822 to turn off an optimisation if a new inset is to be inserted.
8824 2002-10-11 André Pönitz <poenitz@gmx.net>
8826 * lyxtext.h: make some functions public to allow access
8827 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8829 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8831 * text3.C (dispatch): when changing layout, avoid an infinite loop
8834 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8836 * lyxrc.C (read): treat a viewer or converter command of "none" as
8839 * MenuBackend.C (expandFormats): for an update, also allow the
8840 formats that are not viewable
8842 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8843 script if it is newer than the lyxrc.defaults in user directory
8845 2002-10-07 André Pönitz <poenitz@gmx.net>
8847 * text.C: Vitaly Lipatov's small i18n fix
8849 2002-09-25 Angus Leeming <leeming@lyx.org>
8851 * ispell.h: doxygen fix.
8853 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8855 * buffer.h (readFile): Add a new argument to the method, to allow
8856 reading of old-format templates.
8858 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8860 * toc.C (getTocList): Get TOC from InsetWrap.
8862 2002-09-16 John Levon <levon@movementarian.org>
8864 * lyxfunc.C: check tabular for cut/copy too
8866 2002-09-12 John Levon <levon@movementarian.org>
8871 * factory.C: add header
8873 * paragraph_funcs.h:
8874 * paragraph_funcs.C: cleanup
8876 2002-09-11 John Levon <levon@movementarian.org>
8878 * PrinterParams.h: odd/even default to true
8880 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8882 * PrinterParams.h: update printer parameters for new xforms dialog
8884 2002-09-11 Angus Leeming <leeming@lyx.org>
8886 * lyxserver.C (read_ready): re-write to make it more transparent
8887 and to make it work in coherent fashion under Tru64 Unix.
8889 2002-09-11 André Pönitz <poenitz@gmx.net>
8893 * text3.C: implement LFUN_WORDSEL
8895 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8897 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8898 make floatlist_ a boost::shared_ptr<FloatList>
8900 * lyxtextclass.C: include FloatList.h
8901 (LyXTextClass): initialize floatlist_
8902 (TextClassTags): add TC_NOFLOAT
8903 (Read): match "nofloat" to TC_NOFLOAT and use it.
8904 (readFloat): modify call to floatlist_
8908 * FloatList.[Ch] (FloatList): remove commented out float
8910 (erase): new function
8912 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8914 * MenuBackend.C (expandToc): fix crash when there is no document
8917 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8919 * many files: Add insetwrap.
8921 2002-09-09 John Levon <levon@movementarian.org>
8923 * text2.C: remove confusing and awkward depth wraparound
8925 2002-09-09 John Levon <levon@movementarian.org>
8927 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8930 * buffer.C: remove getIncludeonlyList()
8933 * lyxfunc.C: remove headers
8935 2002-09-09 Juergen Vigna <jug@sad.it>
8937 * text.C (getColumnNearX): fix form Michael this is most
8938 probably a cut&paste bug.
8940 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8942 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8944 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8945 references, ws changes.
8947 * text2.C (init): update counters after init
8948 (insertParagraph): no need to set counter on idividual paragraphs.
8949 (setCounter): access the counters object in the textclass object
8950 on in the buffer object.
8951 (updateCounters): ditto
8953 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8954 shared_ptr<Counters> to avoid loading counters.h in all
8956 (LyXTextClass): initialize ctrs_
8957 (TextClassTags): add TC_COUNTER, and ...
8958 (Read): use it here.
8959 (CounterTags): new tags
8960 (readCounter): new function
8961 (counters): new funtion
8962 (defaultLayoutName): return a const reference
8964 * counters.C (Counters): remove contructor
8965 (newCounter): remove a couple of unneeded statements.
8966 (newCounter): simplify a bit.
8967 (numberLabel): some small formatting changes.
8969 * buffer.[Ch]: remove all traces of counters, move the Counters
8970 object to the LyXTextClass.
8972 2002-09-06 Alain Castera <castera@in2p3.fr>
8974 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8975 package to set the horizontal alignment on fixed width columns.
8978 * lyx_sty.h: added tabularnewline macro def.
8980 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8982 2002-09-06 John Levon <levon@movementarian.org>
8984 * LyXAction.C: tooltips for sub/superscript
8986 * MenuBackend.C: a bit more verbose
8988 * lyxfunc.C: tiny clean
8990 * undo_funcs.C: document undo_frozen
8992 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8994 * counters.C (Counters): add missing algorithm counter.
8996 * text2.C (setCounter): lookup the counter with layouts latexname
8997 instead of by section number.
8998 (setCounter): use a hackish way to lookup the correct enum
9000 a float name->type change
9001 reset enum couners with counter name directly instead of depth value.
9003 * counters.C (Counters): remove the push_backs, change to use the
9004 float type not the float name.
9005 (labelItem): remove unused string, float name->type change
9007 * counters.h: don't include vector, loose the enums and sects vectors
9009 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9011 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9012 (Read): add float->TC_FLOAT to textclassTags
9013 (Read): and handle it in the switch
9014 (readFloat): new function
9016 * FloatList.C (FloatList): comment out the hardcoded float
9019 * lyxlayout.h: ws change.
9021 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9023 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9025 2002-09-03 Angus Leeming <leeming@lyx.org>
9027 * BufferView_pimpl.h: qualified name is not allowed in member
9028 declaration: WorkArea & Pimpl::workarea() const;
9030 * factory.C: added using std::endl directive.
9032 * text3.C: added using std::find and std::vector directives.
9034 2002-08-29 André Pönitz <poenitz@gmx.net>
9037 * text2.C: remove unused member number_of_rows
9040 * BufferView2.C: remove file, move contents to...
9041 * BufferView.C: ... here
9043 * BufferView_pimpl.C:
9044 * factory.C: move more inset creation to factory
9046 * vspace.C: avoid direct usage of LyXText, ws changes
9049 don't provide direct access to WorkArea, use two simple
9050 acessors haveSelction() and workHeight() instead
9053 2002-08-29 John Levon <levon@movementarian.org>
9055 * BufferView_pimpl.C (dispatch): do not continue when
9058 2002-08-28 André Pönitz <poenitz@gmx.net>
9060 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9063 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9065 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9067 * buffer.C: increment LYX_FORMAT to 221
9069 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9070 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9072 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9074 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9076 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9078 * factory.C (createInset): use LyXTextClass::floats
9080 * MenuBackend.C (expandFloatListInsert):
9081 (expandFloatInsert):
9084 * text2.C (setCounter):
9086 * LaTeXFeatures.C (useFloat):
9087 (getFloatDefinitions):
9089 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9091 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9092 floatlist_, with accessor floats().
9094 * FloatList.h: remove global FloatList
9096 2002-08-26 André Pönitz <poenitz@gmx.net>
9098 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9102 * BufferView_pimpl.C:
9103 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9105 2002-08-25 John Levon <levon@movementarian.org>
9107 * LyXAction.C: fix margin note description
9109 2002-08-24 John Levon <levon@movementarian.org>
9113 * bufferview_funcs.C:
9115 * undo_funcs.C: cleanups
9117 * lyxfunc.C: disable CUT/COPY when no selection
9119 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9121 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9122 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9124 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9125 Add backward compatibility to "mono", "gray" and "no".
9127 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9129 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9130 (and file_format >= 200).
9132 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9134 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9136 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9138 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9140 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9142 * BufferView_pimpl.C:
9149 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9150 inset and code to make it work with the paragraph code. The inset
9151 can be anywhere in the paragraph, but will only do the expected
9152 thing in LaTeX if the layout file contains the parameter line
9154 (or more generally, a nonzero value) for that layout.
9156 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9158 * paragraph.h: remove the declaration of undefined counters class
9161 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9163 * text2.C (setCounter): fixed enumeration mis-count as reported by
9164 Dr. Richard Hawkins.
9166 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9168 * paragraph_funcs.h: remove some unneeded includes
9170 * text.C (backspace): pasteParagraph now in global scipe
9172 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9173 (pasteSelection): ditto
9175 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9176 * paragraph_funcs.C (pasteParagraph): ... here
9178 2002-08-20 André Pönitz <poenitz@gmx.net>
9180 * commandtags.h: new LFUNs for swapping/copying table row/colums
9183 * lyxfunc.C: support for new lfuns
9185 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9188 * buffer.[Ch]: remove NO_COMPABILITY stuff
9190 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9192 * boost.C (throw_exception): new file, with helper function for
9193 boost compiled without exceptions.
9198 * ParameterStruct.h:
9199 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9201 * bufferlist.C (emergencyWriteAll): use boost bind
9203 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9205 * text.C: include paragraph_funcs.h
9206 (breakParagraph): breakParagraph is now in global scope
9208 * paragraph_funcs.[Ch]: new files
9210 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9213 * buffer.C: include paragraph_funcs.h
9214 (insertStringAsLines): breakParagraph is now in global scope
9216 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9219 * CutAndPaste.C: include paragraph_funcs.h
9220 (cutSelection): breakParagraphConservative is now in global scope
9221 (pasteSelection): ditto
9223 * buffer.h: declare oprator== and operator!= for
9224 Buffer::inset_iterator
9226 * bufferlist.C (emergencyWrite): don't use fmt(...)
9228 * text3.C: add using std::endl
9230 * BufferView.C (moveCursorUpdate): remove default arg
9232 2002-08-20 André Pönitz <poenitz@gmx.net>
9234 * buffer.[Ch]: move inline functions to .C
9237 * BufferView_pimpl.C:
9239 * buffer.[Ch]: use improved inset_iterator
9242 * paragraph.[Ch]: write one paragraph at a time
9244 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9246 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9247 style if style is not specified.
9249 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9251 * text2.C (setCounter): when searching for right label for a
9252 caption, make sure to recurse to parent insets (so that a caption
9253 in a minipage in a figure float works) (bug #568)
9255 2002-08-20 André Pönitz <poenitz@gmx.net>
9257 * text3.C: new file for LyXText::dispatch() and helpers
9259 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9261 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9263 2002-08-19 André Pönitz <poenitz@gmx.net>
9266 * text.C: new LyXText::dispatch()
9268 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9270 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9272 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9274 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9277 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9279 * Makefile.am: use $(variables) instead of @substitutions@
9281 2002-08-15 André Pönitz <poenitz@gmx.net>
9284 * BufferView_pimpl.C: streamlining mathed <-> outer world
9288 * LyXAction.C: remove unused LFUN_MATH
9290 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9292 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9294 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9296 * paragraph.C (Paragraph): reformat a bit
9297 (cutIntoMinibuffer): use builtin InsetList function instad of
9301 * buffer.C: include boost/bind.hpp, add using std::for_each
9302 (writeFileAscii): use ParagraphList iterators
9303 (validate): use for_each for validate traversal of paragraphs
9304 (getBibkeyList): use ParagraphList iterators
9305 (resizeInsets): use for_each to resizeInsetsLyXText for all
9307 (getParFromID): use ParagraphList iterators
9309 * BufferView2.C (lockInset): use paragraph list and iterators
9311 2002-08-14 John Levon <levon@movementarian.org>
9313 * lyxserver.C: remove spurious xforms include
9315 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9317 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9319 2002-08-13 André Pönitz <poenitz@gmx.net>
9322 * lyxfunc.C: further cleaning
9324 2002-08-13 André Pönitz <poenitz@gmx.net>
9326 * funcrequest.h: new constructor
9328 * funcrequest.C: move stuff here from .h
9331 * BufferView_pimpl.C:
9334 * lyxfunc.C: subsequent changes
9336 * lyxfunc.h: new view() member function
9338 * lyxfunc.C: subsequent changes
9340 2002-08-13 Angus Leeming <leeming@lyx.org>
9343 * BufferView_pimpl.C:
9351 changes due to the changed LyXView interface that now returns references
9352 to member variables not pointers.
9354 2002-08-13 Angus Leeming <leeming@lyx.org>
9356 * WordLangTuple (word, lang_code): return references to strings,
9361 * lyxtext.h: forward-declare WordLangTuple.
9366 * text.C: #include "WordLangTuple.h".
9369 * text.C: (selectNextWordToSpellcheck): constify return type.
9371 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9377 * paragraph_pimpl.h:
9380 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9382 Made updateCounter always count from start of buffer, and removed
9383 second argument (par).
9384 Reverted floats number display to '#'. Perhaps I'll try again when the
9385 code base is sanitized a bit.
9387 2002-08-12 Angus Leeming <leeming@lyx.org>
9389 * buffer.[Ch] (getLabelList): constify.
9391 2002-08-07 André Pönitz <poenitz@gmx.net>
9393 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9395 * funcrequest.h: extension to keep mouse (x,y) position
9397 2002-08-12 Juergen Vigna <jug@sad.it>
9399 * BufferView2.C (insertErrors): forbid undo when inserting error
9402 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9404 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9406 * ParagraphList.[Ch]: new files
9408 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9410 * BufferView2.C (lockInset): ParagraphList changes
9413 * bufferlist.C: ditto
9417 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9419 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9420 unused class variable counter_,
9422 * paragraph.[Ch] (getFirstCounter): delete unused function
9424 * counters.C: include LAssert.h
9425 (reset): add a new function with no arg, change other version to
9426 not have def. arg and to not allow empty arg.
9428 * text2.C (setCounter): remove empty arg from call to Counters::reset
9430 2002-08-11 John Levon <levon@movementarian.org>
9432 * Makefile.am: add WordLangTuple.h
9434 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9436 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9437 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9439 * insets/insettext.C: InsetList changes
9441 * graphics/GraphicsSupport.C (operator()): InsetList changes
9443 * toc.C (getTocList): InsetList changes
9445 * paragraph_pimpl.[Ch]: InsetList changes
9447 * paragraph.[Ch]: InsetList changes
9449 * buffer.C (inset_iterator): InsetList changes
9450 (setParagraph): ditto
9451 * buffer.h (inset_iterator): ditto
9452 * iterators.C (operator++): ditto
9453 * iterators.h: ditto
9455 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9457 * InsetList.[Ch]: new files, most InsetList handling moved out of
9460 * BufferView2.C (removeAutoInsets): InsetList changes
9462 (ChangeInsets): ditto
9464 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9466 * paragraph_pimpl.h (empty): new function
9468 * paragraph.[Ch] (empty): new function
9470 * other files: use the new Paragraph::empty function
9472 2002-08-09 John Levon <levon@movementarian.org>
9474 * lyxtext.h: remove unused refresh_height
9476 2002-08-09 John Levon <levon@movementarian.org>
9483 * paragraph.C: move sgml char escaping out of paragraph
9486 * paragraph.C: remove id setter
9490 * paragraph_pimpl.C: remove dead tex_code_break_column
9492 * bufferview_funcs.C: small cleanup
9494 * lyxfunc.C: remove dead proto
9496 * lyxtext.h: make some stuff private. Remove some dead stuff.
9498 * lyxgluelength.C: make as[LyX]String() readable
9500 2002-08-08 John Levon <levon@movementarian.org>
9505 * ToolbarDefaults.C:
9508 * toc.C: lyxaction cleanup
9510 2002-08-08 John Levon <levon@movementarian.org>
9512 * BufferView2.C: small cleanup
9515 * lyxfind.C: move unnecessary header into the .C
9517 2002-08-08 John Levon <levon@movementarian.org>
9519 * funcrequest.h: just tedious nonsense
9522 * lyx_main.C: cleanups
9525 * vspace.C: remove dead header lyx_main.h
9527 2002-08-07 Angus Leeming <leeming@lyx.org>
9530 * paragraph_pimpl.h:
9531 Forward declare class Counters in paragraph.h by moving the ctrs member
9532 variable into Paragraph::Pimpl.
9533 (counters): new method, returning a reference to pimpl_->ctrs.
9535 * text2.C: ensuing changes.
9537 2002-08-07 John Levon <levon@movementarian.org>
9539 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9541 * BufferView_pimpl.C: announce X selection on double/triple
9544 * lyx_main.C: use correct bool in batch dispatch
9546 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9548 2002-08-07 André Pönitz <poenitz@gmx.net>
9550 * funcrequest.h: new class to wrap a kb_action and its argument
9553 * BufferView_pimpl[Ch]:
9557 * lyxrc.C: subsequent changes
9560 2002-08-07 John Levon <levon@movementarian.org>
9562 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9563 document options change.
9565 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9570 * makefile.am: move counters functionality over from
9571 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9573 2002-08-06 John Levon <levon@movementarian.org>
9575 * WordLangTuple.h: new file for word + language code tuple
9586 * BufferView2.C: use WordLangTuple
9589 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9591 2002-08-06 John Levon <levon@movementarian.org>
9593 * lyx_main.C: fix cmdline batch handling
9595 2002-08-06 André Pönitz <poenitz@gmx.net>
9597 * lyxrc.C: set default for show_banner to true
9599 2002-08-06 John Levon <levon@movementarian.org>
9601 * pspell.C: fix a crash, and allow new aspell to work
9603 2002-08-06 John Levon <levon@movementarian.org>
9606 * kbmap.C: small cleanup
9609 * vspace.C: add const
9611 2002-08-05 John Levon <levon@movementarian.org>
9613 * LyXAction.C: back to tabular-insert
9615 2002-08-04 John Levon <levon@movementarian.org>
9618 * BufferView.C: cosmetic change
9620 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9630 * BufferView2.C: purge all "Lyx" not "LyX" strings
9633 * lyxcursor.C: attempt to add some documentation
9638 * ToolbarDefaults.C:
9639 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9640 merge with LFUN_TABULAR_INSERT
9647 * pspell.C: split up i/pspell implementations into separate
9648 files, many cleanups
9650 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9652 * text2.C: some cleanup
9654 * lyxfunc.C: don't check for isp_command == "none" any more, it
9655 didn't make any sense
9657 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9662 * makefile.am: move counters functionality over
9663 from text2.C/paragraph.[Ch] to counters.[Ch], and
9665 2002-08-02 John Levon <levon@movementarian.org>
9667 * buffer.C: s/lyxconvert/lyx2lyx/
9669 2002-08-02 Angus Leeming <leeming@lyx.org>
9671 * lyxlex.C: revert John's change as it breaks reading of the user
9674 2002-08-02 Angus Leeming <leeming@lyx.org>
9676 * importer.C (Import):
9677 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9678 changes due to LyXView::view() now returning a boost::shared_ptr.
9680 2002-08-02 John Levon <levon@movementarian.org>
9682 * lyxlex.C: small cleanup
9684 2002-08-02 John Levon <levon@movementarian.org>
9686 * text2.C (status): small cleanup, no logic change
9688 2002-08-01 John Levon <levon@movementarian.org>
9691 * buffer.C (writeFile): don't output alerts, caller
9695 * lyx_cb.C: from above
9697 * lyxfunc.C: allow to open non-existent files
9699 2002-07-31 John Levon <levon@movementarian.org>
9701 * lyxserver.C: don't let incidental errors get
9704 2002-07-30 John Levon <levon@movementarian.org>
9706 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9708 2002-07-30 John Levon <levon@movementarian.org>
9711 * lyxserver.C: remove I/O callback too
9713 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9715 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9718 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9720 * many files: strip,frontStrip -> trim,ltrim,rtrim
9722 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9724 * PrinterParams.h: remove extern containsOnly, and include
9725 support/lstrings.h instead.
9727 * LaTeX.C (scanAuxFile): modify because of strip changes
9729 * buffer.C (makeLaTeXFile): ditto
9730 * bufferparams.C (writeFile): ditt
9731 * lyxfont.C (stateText): ditto
9732 * lyxserver.C (read_ready): ditto
9733 * vc-backend.C (scanMaster): ditto
9735 * BufferView_pimpl.h: ws changes
9737 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9739 2002-07-26 André Pönitz <poenitz@gmx.net>
9741 * kb_sequence.C: remove unnedred usings
9743 2002-07-26 Juergen Vigna <jug@sad.it>
9745 * lyxfind.C (LyXReplace): we have to check better if the returned
9746 text is not of theLockingInset()->getLockingInset().
9748 2002-07-25 Juergen Vigna <jug@sad.it>
9750 * lyxfind.C (LyXReplace): don't replace if we don't get the
9753 * undo_funcs.C (createUndo): remove debugging code.
9755 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9757 * buffer.C (parseSingleLyXformat2Token): Use default placement
9758 when reading old floats.
9760 * FloatList.C (FloatList): Change the default placement of figure
9761 and tables to "tbp".
9763 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9765 * MenuBackend.C: using std::max
9767 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9769 * MenuBackend.C (expandToc):
9770 (expandToc2): code moved from xforms menu frontend. It is now
9771 generic and TOCs are transparent to menu frontends.
9773 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9775 * toc.C (getTocList): protect against buf=0
9777 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9778 Menu as first parameter. Now, this calls itself recursively to
9779 expand a whole tree (this will be useful for TOC handling)
9780 (expandFloatInsert): remove 'wide' version of floats
9782 * MenuBackend.h (submenuname): returns the name of the submenu.
9783 (submenu): returns the submenu itself, provided it has been
9784 created by MenuBackend::expand
9786 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9788 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9789 insets which have noFontChange == true. (bug #172)
9791 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9793 * BufferView_pimpl.C: add connection objects and use them...
9796 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9798 * MenuBackend.C (expandLastfiles):
9801 (expandFloatListInsert):
9802 (expandFloatInsert):
9803 (expand): split expand in parts
9805 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9807 * lyx_gui.C: use lyx_gui::exit()
9809 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9811 * LyXAction.C: show the failing pseudo action
9813 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9815 * buffer.C (readFile): Run the lyxconvert script in order to read
9818 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9822 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9824 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9828 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9830 2002-07-22 Herbert Voss <voss@lyx.org>
9833 * lyxlength.[Ch]: add support for the vertical lengths
9835 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9837 * toc.[Ch]: std:: fixes
9839 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9841 * lyxrc.C: do not include lyx_main.h
9843 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9849 * BufferView2.C: include "lyxlex.h"
9852 * bufferparams.h: do not #include "lyxlex.h"
9854 * lyxtextclasslist.C (Add): remove method
9855 (classlist): renamed to classlist_
9857 * paragraph_pimpl.C:
9861 * bufferview_funcs.C:
9866 * toc.C (getTocList): use BufferParams::getLyXTextClass
9868 * toc.C (getTocList): use InsetFloat::addToToc
9870 * toc.[Ch]: new files, containing helper functions to handle table
9873 * lyxfunc.C (dispatch): no need to remove spaces around command
9875 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9876 first command of the sequence; it is not very clever, but I do not
9877 have a better idea, actually
9879 * LyXAction.C (LookupFunc): make sure to remove space at the
9880 beginning and end of the command
9882 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9884 * MenuBackend.C (getMenubar): new method: return the menubar of
9886 (read): treat differently reading of menu and menubar (in
9887 particular, the menubar has no name now)
9888 (Menu::menubar): remove
9890 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9893 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9895 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9896 a bibitem inset in a RTL paragraph.
9898 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9900 * paragraph_pimpl.C: constify
9902 * BufferView_pimpl.C:
9904 * lyxfunc.C: fix dispatch in a nicer way
9906 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9908 * lyxfunc.C (dispatch):
9909 * BufferView_pimpl.C:
9910 * BufferView_pimpl.h:
9912 * BufferView.h: rename Dispatch() to dispatch()
9914 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9916 * lyxlayout.C (Read): honor DependsOn tag
9918 * lyxlayout.[Ch] (depends_on): new method
9920 * version.C.in: update lyx_docversion
9922 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9924 * paragraph.C (validate): remove from here...
9925 * paragraph_pimpl.C (validate): ... and move here
9926 (isTextAt): make it const
9928 * buffer.C (getLists): ws cleanup
9930 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9932 * language.C (read): Use iso8859-1 encoding in latex_lang
9933 (this prevents LyX from crashing when using iso10646-1 encoding).
9935 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9937 * text2.C (toggleInset): if cursor is inside an inset, close the
9938 inset and leave cursor _after_ it
9940 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9942 * lyxfunc.C: move minibuffer completion handling out of here
9944 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9946 * BufferView_pimpl.C:
9947 * LaTeX.C: fix dispatch calls
9949 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9951 * text.C (drawChars): Fix Arabic text rendering.
9953 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9957 * lyxfunc.C: remove message-push/pop
9961 * lyxfunc.C: rationalise some code by removing verboseDispatch
9962 in favour of a bool argument to dispatch()
9964 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9966 * lyx_main.C (init): make sure to read symlinks as absolute paths
9968 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9971 * lyxfunc.C: no need for commandshortcut to be a member
9973 2002-07-15 André Pönitz <poenitz@gmx.net>
9975 * converter.C: add support for $$s (scripts from lib/scripts dir)
9976 * lyx_main.C: white space
9978 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9982 * lyxrc.C: remove second exit confirmation
9984 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9989 * BufferView_pimpl.h:
9990 * BufferView_pimpl.C:
9991 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9993 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9995 * MenuBackend.C (expand): add numeric shortcuts to document menu
9997 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9999 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10001 * lyxfont.C (setLyXFamily):
10008 * buffer.C (asciiParagraph): use ascii_lowercase
10010 2002-07-15 Mike Fabian <mfabian@suse.de>
10012 * lyxlex_pimpl.C (search_kw):
10013 * lyxlex.C (getLongString):
10014 * converter.h (operator<):
10015 * converter.C (operator<):
10016 * buffer.C (parseSingleLyXformat2Token):
10018 * ToolbarDefaults.C (read):
10019 * MenuBackend.C (checkShortcuts):
10021 * LColor.C (getFromGUIName):
10022 (getFromLyXName): use the compare_ascii_no_case instead of
10023 compare_no_case, because in turkish, 'i' is not the lowercase
10024 version of 'I', and thus turkish locale breaks parsing of tags.
10026 2002-07-16 Angus Leeming <leeming@lyx.org>
10028 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10029 now takes a Buffer const & argument.
10031 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10033 * BufferView.C (resize): check there's a buffer to resize
10035 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10037 * lyxfunc.C: remove dead code
10040 * lyxserver.C: use lyx_guii::set_read_callback
10042 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10044 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10045 an inset in a RTL paragraph.
10047 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10049 * lyxfunc.C: repaint after a font size update
10051 2002-07-15 André Pönitz <poenitz@gmx.net>
10053 * lyxlength.C: inBP should be able to return negative values
10055 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10057 * lyxfunc.C: use lyx_gui::update_fonts()
10059 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10061 * lyxfunc.C: use lyx_gui::update_color()
10063 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10069 * lyxrc.C: remove file->new asks for name option, and let
10070 buffer-new take an argument
10072 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10074 * BufferView_pimpl.C: remove unneeded extra repaint()
10076 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10078 * LyXAction.C: allow command-sequence with NoBuffer
10080 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10082 2002-07-10 Angus Leeming <leeming@lyx.org>
10084 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10086 2002-07-09 Angus Leeming <leeming@lyx.org>
10088 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10090 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10092 * lengthcommon.h: whitespace
10094 * lyxfunc.C: update scrollbar after goto paragraph
10096 * lyxtext.h: factor out page break drawing, and fix it so
10097 page break/added space paints as selected nicely
10099 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10101 * BufferView_pimpl.C: add FIXMEs, clean up a little
10103 2002-07-09 André Pönitz <poenitz@gmx.net>
10105 * lyxfont.[Ch]: support for wasy symbols
10107 2002-07-08 André Pönitz <poenitz@gmx.net>
10109 * BufferView_pimpl.C: apply John's patch for #93.
10111 2002-07-05 Angus Leeming <leeming@lyx.org>
10113 * BufferView_pimpl.C (buffer): generate previews if desired.
10115 * LColor.h: add "preview" to the color enum.
10117 * LColor.C (LColor): add a corresponding entry to the items array.
10119 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10122 2002-07-05 Angus Leeming <leeming@lyx.org>
10124 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10125 The body of the code is now in the method that is passed an ostream &
10126 rather than a file name.
10127 Pass an additional only_preamble parameter, useful for the forthcoming
10130 2002-07-03 André Pönitz <poenitz@gmx.net>
10132 * lyxfunc.C: simplify getStatus() a bit for math stuff
10134 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10136 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10138 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10140 * text.C (changeRegionCase): do not change case of all the
10141 document when region ends at paragraph end (bug #461)
10143 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10145 * paragraph.C (startTeXParParams):
10146 (endTeXParParams): add \protect when necessary
10148 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10150 * BufferView_pimpl.C (workAreaExpose): remove warning
10152 2002-06-27 Angus Leeming <leeming@lyx.org>
10154 * Makefile.am: add lyxlayout_ptr_fwd.h.
10156 2002-06-26 André Pönitz <poenitz@gmx.net>
10158 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10160 2002-06-25 Angus Leeming <leeming@lyx.org>
10162 * lyxfunc.C (dispatch): Comment out the call to
10163 grfx::GCache::changeDisplay. The method no longer exists now that the
10164 pixmap generation part of the graphics loader has been moved into
10167 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10169 * text2.C: layout as layout
10171 * text.C: layout as layout
10173 * tabular.C (OldFormatRead): layout as layout
10175 * paragraph_pimpl.C (TeXDeeper): layout as layout
10176 (realizeFont): layout as layout
10178 * paragraph.C (writeFile): layout as layout
10179 (validate): layout as layout
10180 (getFont): layout as layout
10181 (getLabelFont): layout as layout
10182 (getLayoutFont): layout as layout
10183 (breakParagraph): layout as layout
10184 (stripLeadingSpaces): layout as layout
10185 (getEndLabel): layout as layout
10186 (getMaxDepthAfter): layout as layout
10187 (applyLayout): layout as layout
10188 (TeXOnePar): layout as layout
10189 (simpleTeXOnePar): layout as layout
10190 (TeXEnvironment): layout as layout
10191 (layout): layout as layout
10192 (layout): layout as layout
10194 * lyxtextclass.C (compare_name): new functor to work with
10195 shared_ptr, layout as layout
10196 (Read): layout as layout
10197 (hasLayout): layout as layout
10198 (operator): layout as layout
10199 (delete_layout): layout as layout
10200 (defaultLayout): layout as layout
10202 * lyxlayout_ptr_fwd.h: new file
10204 * lyxlayout.C (Read): layout as layout
10206 * lyx_cb.C (MenuInsertLabel): layout as layout
10208 * bufferlist.C (newFile): layout as layout
10210 * buffer.C (readLyXformat2): layout as layout
10211 (parseSingleLyXformat2Token): layout as layout
10212 (insertStringAsLines): layout as layout
10213 (asciiParagraph): layout as layout
10214 (latexParagraphs): layout as layout
10215 (makeLinuxDocFile): layout as layout
10216 (simpleLinuxDocOnePar): layout as layout
10217 (makeDocBookFile): layout as layout
10218 (simpleDocBookOnePar): layout as layout
10219 (getLists): layout as layout
10221 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10223 * CutAndPaste.C (cutSelection): layout as layout
10224 (pasteSelection): layout as layout
10225 (SwitchLayoutsBetweenClasses): layout as layout
10227 * BufferView_pimpl.C (Dispatch): layout as layout
10228 (smartQuote): layout as layout
10230 * BufferView2.C (unlockInset): layout as layout
10232 2002-06-24 André Pönitz <poenitz@gmx.net>
10234 * lyxfunc.C: fix #487
10236 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10240 * lyxfunc.C: remove display_shortcuts, show_banner
10242 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10244 * Buffer_pimpl.C: oops, update on resize
10246 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10253 * BufferView.C: use repaint()
10255 * BufferView_pimpl.h:
10256 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10257 as it's a clearer description. Remove superfluous
10260 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10262 * text.C: fix bug 488. Not ideal, but getting
10263 getWord() to work properly for the insets that
10264 matter is more difficult ...
10266 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10268 * BufferView_pimpl.C:
10271 * lyxfunc.C: remove the six million index lyxfuncs to just
10272 one, and DTRT (bug 458)
10274 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10278 * BufferView_pimpl.h:
10279 * BufferView_pimpl.C: clean up resize() stuff,
10280 and unnecessary updateScreen()s
10282 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10286 * BufferView_pimpl.h:
10287 * BufferView_pimpl.C:
10290 * minibuffer.C: remove focus management of workarea,
10291 not needed. Use screen's greyOut()
10293 2002-06-17 Herbert Voss <voss@lyx.org>
10295 * converter.C: (convert) do not post a message, when converting
10296 fails, let the calling function decide what to do in this case
10298 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10300 * lyxfunc.C: tidy up a little
10302 2002-06-16 <alstrup@diku.dk>
10304 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10305 Got rid of FORMS_H_LOCATION include. Now we are
10308 2002-06-15 LyX Development team <lyx@rilke>
10310 * buffer.[Ch] (sgmlOpenTag):
10311 (sgmlCloseTag): Added support for avoiding pernicious mixed
10312 content. Return number of lines written.
10314 (makeLinuxDocFile):
10315 (makeDocBookFile): Fixed calls to sgml*Tag.
10316 Simple white space clean.
10318 (simpleDocBookOnePar): Simple white space clean.
10320 * tabular.[Ch] (docBook): Renamed to docbook and got another
10321 argument to related with the pernicious mixed content.
10323 (docbookRow): Fixed calls for docbook inset method.
10325 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10327 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10328 so it's X11 independent.
10332 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10334 2002-06-15 Lyx Development team <lyx@electronia>
10336 * intl.h: Renamed getTrans to getTransManager.
10338 2002-06-14 Angus Leeming <leeming@lyx.org>
10340 * Makefile.am: nuke forgotten stl_string_fwd.h.
10342 2002-06-12 Angus Leeming <leeming@lyx.org>
10344 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10346 2002-06-13 Angus Leeming <leeming@lyx.org>
10349 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10351 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10353 * kbmap.C (getiso): add support for cyrillic and greek
10355 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10359 * BufferView_pimpl.h:
10360 * BufferView_pimpl.C: move bogus scrolling logic
10363 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10366 * BufferView_pimpl.C: view->resize() change
10368 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10370 * BufferView_pimpl.C: topCursorVisible
10373 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10377 * lyx_gui.C: move to frontends/
10381 * lyx_main.C: changes from above
10383 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10390 * lyx_main.C: minor tidy
10392 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10394 * BufferView_pimpl.h:
10395 * BufferView_pimpl.C:
10397 * BufferView.C: make painter() const,
10400 * BufferView2.C: use screen() accessor
10403 * lyx_main.C: some minor cleanup
10405 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10407 * BufferView_pimpl.h:
10408 * BufferView_pimpl.C: remove enter/leaveView,
10411 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10416 * BufferView_pimpl.h:
10417 * BufferView_pimpl.C: only construct screen once,
10420 * lyxrc.C: remove pointless comment
10422 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10425 * BufferView.C: remove active() and belowMouse()
10427 * BufferView_pimpl.h:
10428 * BufferView_pimpl.C: use workarea() not workarea_,
10429 and make it use a scoped_ptr instead
10431 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10433 * lyx_gui.C: add debug message on BadWindow
10435 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10437 * sp_spell.C: fdopen is not part of the C++ standard.
10439 * paragraph.C (InsetIterator): use >= instead of ==
10441 2002-06-07 Angus Leeming <leeming@lyx.org>
10443 Fixes needed to compile with Compaq cxx 6.5.
10444 * BufferView_pimpl.C:
10451 * lyxtextclasslist.C:
10456 all c-library variables have been moved into namespace std. Wrap
10457 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10462 Add a using std::abs declaration.
10464 * kbmap.h (modifier_pair):
10465 * paragraph.h (InsetTable, InsetList):
10466 * lyxfont.h (FontBits):
10467 type definition made public.
10469 * bufferlist.C (emergencyWriteAll): the compiler complains that
10470 there is more than one possible lyx::class_fun template to choose from.
10471 I re-named the void specialisation as lyx::void_class_fun.
10473 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10475 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10476 the compiler is is unable to find tostr in write_attribute.
10478 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10480 * buffer.C (sgmlError): hide #warning
10482 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10484 * xtl/*: get rid of xtl, which is not in use anyway
10486 * LyXAction.C (init):
10487 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10488 were unimplemented xtl experimentation
10490 2002-06-04 André Pönitz <poenitz@gmx.net>
10492 * lyxfunc.C: disable array operation on simple formulae
10494 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10496 * converter.C: constify a bit
10498 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10500 * lyx_gui.C: check xforms version correctly
10502 2002-04-30 Herbert Voss <voss@lyx.org>
10504 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10507 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10509 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10510 attempt to register it with a VCS)
10512 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10514 * lyx_main.C (init): honor variables LYX_DIR_13x and
10517 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10521 * lyx_main.C: fix a crash on bad command line,
10522 and give a useful exit status on error
10524 * lyxfunc.C (doImport): allow -i lyx to work
10526 2002-03-30 André Pönitz <poenitz@gmx.net>
10528 * lyxfunc.C: mathed font changes
10530 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10545 * trans_mgr.h: srcdocs, and some minor cleanups
10547 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10549 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10550 call getFont all the time)
10552 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10554 * switch from SigC signals to boost::signals
10556 2002-05-29 André Pönitz <poenitz@gmx.net>
10558 * paragraph_pimpl.C (getChar): don't call size() too often...
10560 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10562 * paragraph_pimpl.C (insertChar): do not try to update tables when
10563 appending (pos == size())
10565 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10566 in order to reduce drastically the number of comparisons needed to
10567 parse a large document
10569 2002-05-29 André Pönitz <poenitz@gmx.net>
10575 * textclasslist.[Ch]:
10576 * sp_ispell.h: whitespace change
10578 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10580 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10581 lyxaction directly now.
10583 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10587 * lyxvc.C: remove unused headers
10589 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10596 * undo_funcs.C: some cleanups. Use shared_ptr
10597 and a template for the undo stacks.
10599 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10601 * BufferView_pimpl.h:
10602 * BufferView_pimpl.C:
10609 * text2.C: use key_state/mouse_state
10611 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10613 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10616 * chset.C: change include order
10617 (loadFile): use boost regex and get rid of LRegex and LSubstring
10619 * Makefile.am (BOOST_LIBS): new variable
10620 (lyx_LDADD): use it
10622 * LaTeX.C: change include order.
10623 (scanAuxFile): use boost regex and get rid of LRegex and
10627 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10632 * FontInfo.C: moved to frontends/xforms/
10635 * FontLoader.C: moved into frontends for GUIIzation
10640 * lyxfunc.C: changes from above
10642 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10644 * LColor.C: remove spurious X include
10646 * BufferView_pimpl.C:
10651 * text2.C: move font metrics to frontends/
10653 2002-05-24 Juergen Vigna <jug@sad.it>
10655 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10656 setting the undo_cursor.
10658 * ParagraphParameters.h: include local includes first.
10660 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10662 * BufferView_pimpl.C:
10663 * BufferView_pimpl.h:
10667 * screen.C: move WorkArea into frontends/
10673 * BufferView2.C: move LyXScreen into frontends/
10677 * lyx_gui.C: move lyxlookup into frontends/xforms/
10679 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10682 * BufferView_pimpl.C:
10692 * bufferview_funcs.C:
10705 * vc-backend.C: move LyX/XFormsView into frontends/
10707 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10719 * text2.C: move Painter to frontends/
10721 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10723 * buffer.C: comment out some some code that depend upon lyx_format
10726 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10727 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10729 * buffer.h (NO_COMPABILITY): turn off compability
10731 * ColorHandler.C: include scoped_array.hpp
10733 * font.C: Use more specific smart_ptr header.
10736 * ShareContainer.h: ditto
10737 * lyx_main.h: ditto
10739 * FontInfo.h: ditto
10740 * BufferView_pimpl.h: ditto
10741 * ColorHandler.h: ditto
10743 * kbmap.C (defkey): change call to shared_ptr::reset
10745 2002-05-21 Juergen Vigna <jug@sad.it>
10747 * buffer.C (insertErtContents): fix to insert ert asis if it is
10748 non empty. Skip it completely if it contains only whitespaces.
10750 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10752 * BufferView_pimpl.C:
10753 * BufferView2.C: clear selection on paste (bug 393)
10755 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10757 * DepTable.C: include ctime
10759 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10761 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10763 2002-05-14 Juergen Vigna <jug@sad.it>
10765 * text.C (breakParagraph): fixed function to honor the keepempty
10766 layout in the right maner and also to permit the right breaking
10767 algorithm on empty or non empyt keepempty paragraphs.
10769 * paragraph.C (breakParagraph): we have to check also if the par
10770 is really empty (!size()) for isempty otherwise we do the wrong
10773 2002-05-10 Juergen Vigna <jug@sad.it>
10775 * buffer.[Ch] : The following are only changes to the ert
10776 compatibility read reading old LaTeX layout and font stuff and
10777 convert it to ERTInsets.
10779 * buffer.h: added isErtInset().
10781 * buffer.C (struct ErtComp): add a fromlayout bool to check
10782 if we're inside a LaTeX layout.
10783 (isErtInset): new helper function.
10784 (insertErtContents): look for other ert insets before this one
10785 and insert the contents there, so that we don't have subsequent
10786 ERT insets with nothing between them. This way we create only one
10787 inset with multiple paragraphs. Also check if we don't insert only
10788 spaces ' ' as they are ignored anyway afterwards in the .tex file
10789 so if we have only spaces we will ignore this latex part in the
10791 (parseSingleLyXformat2Token \\layout): better compatibility when
10792 reading layout-latex stuff.
10793 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10795 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10796 stuff after reading the inset only get the information back from
10799 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10801 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10803 * LaTeXFeatures.C (getBabelOptions): New method.
10805 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10807 * BufferView_pimpl.C (Dispatch): work around missing argument for
10810 2002-05-08 Juergen Vigna <jug@sad.it>
10812 * text.C (leftMargin): handle paragraph leftindent.
10814 * paragraph.C (writeFile): write the new \\leftindent tag.
10815 (validate): handle leftindent code.
10816 (TeXEnvironment): handle paragraphleftindent code again.
10818 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10820 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10821 for paragrap_extra indent code and new token \\leftindent.
10822 (latexParagraphs): handle the leftindent as environment.
10824 * ParameterStruct.h: added leftindent support.
10826 * ParagraphParameters.C (leftIndent): added support functions for
10827 the paragraph left indent.
10829 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10832 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10834 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10837 * text.C (computeBidiTables): No bidi in insetERT.
10839 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10842 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10844 * version.C.in: pre 5
10846 2002-05-02 José Matos <jamatos@fep.up.pt>
10847 * buffer.C (makeDocBookFile): white space changes, add newline to
10849 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10851 * tabular.C (docBook): fix typo.
10853 2002-05-03 Juergen Vigna <jug@sad.it>
10855 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10856 change in LyXText as we can not be sure it was not freed.
10857 (drawOneRow): remove unused code.
10859 * text.C (drawInset): redo the calculation of the need_break_row as
10860 it could have a row which was already freed.
10861 (draw): look at the return value of drawInset and return false if
10862 it also returned false.
10863 (paintRowText): look at the return value of draw and return false if
10864 it also returned false.
10866 * lyxtext.h: added bool return type to drawInset() and draw() so that
10867 if we have a change in the row so that the rowbreak has to be redone
10868 we abort drawing as it will be called again.
10870 2002-05-02 Juergen Vigna <jug@sad.it>
10872 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10873 a change in the maintext also if we're inside an inset.
10874 (Dispatch): set the cursor again after a break line and after the
10875 screen has been updated as it could be we're in a different row.
10877 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10878 to set the cursor behind the pargraph with > size().
10879 (setCursor): check also for the same paragraph when checking where
10880 to put the cursor if we have a NFR inset.
10882 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10883 parts of layout read further up as it still was in the wrong
10886 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10888 * screen.C (drawFromTo): change sine fullRebreak always return
10891 * buffer.C (parseSingleLyXformat2Token): reindent some
10893 * BufferView_pimpl.C (update): change since fullRebreak always
10895 (Dispatch): git rid of the last hardcoded "Standard"s.
10897 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10899 * text2.[Ch] (fullRebreak): make it return void now that we always
10902 2002-04-30 Juergen Vigna <jug@sad.it>
10904 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10905 ert compatibility check for "latex" layout.
10907 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10909 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10910 minipages: use col% instead of p%, and also use the current font.
10911 (makeLaTeXFile): Fix use babel condition.
10912 (parseSingleLyXformat2Token): Correct font when reading old floats.
10914 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10916 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10917 inserting list of floats.
10919 2002-04-25 Herbert Voss <voss@lyx.org>
10921 * MenuBackend.C (expand): don't add the graphics extensions to the
10924 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10926 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10927 non-existing layout, do not complain if it was the default layout
10928 of the original class (bug #342)
10930 2002-04-24 Juergen Vigna <jug@sad.it>
10932 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10933 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10935 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10937 * buffer.C (getBibkeyList): If using \bibliography, return the
10938 option field with the reference itself. Enables us to provide natbib
10939 support when using \bibliography.
10941 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10943 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10945 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10946 natbib is provided by the LaTeX class.
10948 2002-04-23 Juergen Vigna <jug@sad.it>
10950 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10953 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10955 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10957 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10959 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10960 ensuremath around textordmasculine, textordfeminine and
10963 2002-04-19 Juergen Vigna <jug@sad.it>
10965 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10966 reinitializing the buffer otherwise row-dimensions may be wrong.
10967 (update): reset also the selection cursors if they do exits otherwise
10968 their x/y positions may be wrong.
10970 * text2.C (cursorDown): don't enter the inset if we came from a row
10971 above and are one row over the inset.
10973 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10974 really leaving an inset.
10976 2002-04-18 Juergen Vigna <jug@sad.it>
10978 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10979 of the selected paragraph does not have the selected layout also if
10982 * text2.C (setLayout): fixed bug which did not change last selected
10985 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10986 changed the read and substituted \\end_float with \\end_inset!
10988 * BufferView_pimpl.C (cursorPrevious):
10989 (cursorNext): fixed to make it work with rows heigher than the work
10990 area without moving the cursor only the draw of the row.
10991 (workAreaMotionNotify): fix jumping over high rows.
10993 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10995 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10998 2002-04-16 Juergen Vigna <jug@sad.it>
11000 * text2.C (setCursor): set also the irow().
11001 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11003 (cursorDown): support for locking an inset if the x_fix value goes
11004 inside it. That way I can transverse insets too with cursor up/down.
11006 * lyxrow.h: added irow helper function same as other (i) functions.
11008 * BufferView_pimpl.C (cursorPrevious):
11009 (cursorNext): fixed for insets!
11011 2002-04-15 Juergen Vigna <jug@sad.it>
11013 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11014 position otherwise it is wrong in some cases.
11016 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11017 inside the inset before the call.
11019 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11021 * buffer.[Ch] (getBibkeyList): make it const.
11023 2002-04-12 Juergen Vigna <jug@sad.it>
11025 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11027 * text2.C (getCursorX): new helper function
11028 (setCursor): compute also ix_
11029 (setCursorFromCoordinates): set also ix.
11031 * lyxcursor.h: added ix_ and helper functions.
11033 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11035 * buffer.C (insertStringAsLines): dont break paragraph if the this
11036 paragraph is inside an inset which does not permit it!
11038 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11039 also with no chars on this paragraph.
11040 (paintRowText): only paint stuff if it's inside the workarea!
11042 * paragraph.C (breakParagraph): honor keepempty flag and break the
11043 paragraph always below not above.
11045 * BufferView2.C (unlockInset): update the paragraph layout on inset
11046 unlock as we changed paragraph in such a case.
11048 * lyxfind.C (LyXFind): clear the former selection if not found!
11050 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11051 again called in insertChar().
11053 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11054 an inset which uses the whole row!
11055 (rightMargin): ditto.
11056 (insertChar): force a rebreak if we inserted an inset!
11058 2002-03-28 Herbert Voss <voss@lyx.org>
11060 * lyxlength.[Ch]: add inBP() to get the right PS-point
11061 units (BigPoint). With inPixels we have rounding errors
11063 2002-04-11 Juergen Vigna <jug@sad.it>
11065 * text2.C (setCursorFromCoordinates): set iy to the right value.
11066 (setCursor): add check if row->previous exists!
11068 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11069 an old float_type as this was the case in the old code!
11071 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11073 * BufferView2.C (showLockedInsetCursor): use iy
11074 (fitLockedInsetCursor): ditto
11076 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11077 locked insets as there we have the right value now.
11079 * lyxcursor.C: added iy_ variable and iy functions to set to the
11080 baseline of cursor-y of the locked inset.
11082 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11083 (setCursor): fixed for insets which need a full row.
11085 * text.C (rowLastPrintable): don't ignore the last space when before
11086 an inset which needs a full row.
11087 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11088 as last character of a row when before a inset which needs a full row.
11090 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11092 * version.C.in: update date
11094 * text2.C (fullRebreak): try to always return true and see what
11097 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11099 * MenuBackend.C (expand): use Floating::listName
11101 * FloatList.C (FloatList): add listName argument to the built-in
11104 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11105 text associated with the float.
11107 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11109 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11111 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11113 * ShareContainer.h: add a couple of missing typenames.
11115 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11117 * lyxrc.C (getDescription): use _() correctly rather than N_().
11119 2002-03-28 Herbert Voss <voss@lyx.org>
11121 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11122 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11124 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11126 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11127 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11129 2002-03-29 Juergen Vigna <jug@sad.it>
11131 * lyxfunc.C (dispatch): add a missing fitCursor call.
11133 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11134 it was scrolled by a cursor move, so return the bool status.
11136 * BufferView.C (fitCursor): return the bool flag also to the outside
11137 world as this is needed.
11139 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11141 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11142 call the edit() as it is not needed (and wrong) IMO.
11143 (workAreaButtonPress): set the screen_first variable before evt.
11144 unlock the inset as this may change screen_first and then we have
11145 a wrong y position for the click!
11147 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11149 * MenuBackend.C (expand): another translation that I missed
11151 2002-03-28 Juergen Vigna <jug@sad.it>
11153 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11155 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11157 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11159 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11161 * MenuBackend.C (expand): fix export/view/update when there is no
11164 2002-03-27 Herbert Voss <voss@lyx.org>
11166 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11169 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11171 * bufferview_funcs.C (currentState): only show paragraph number
11172 for is DEVEL_VERSION is set.
11174 * lyxfunc.C (dispatch): put warning in INFO channel
11176 * MenuBackend.C (expand): translate the name of floats
11178 * FloatList.C (FloatList): mark the float names for translation
11180 * converter.C (convert): use LibScriptSearch
11182 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11184 * MenuBackend.C (defaults): fix default menu (we might as well get
11187 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11189 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11192 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11194 * lyxvc.C: reorder includes.
11196 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11198 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11201 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11203 * CutAndPaste.C: change layouts earlier on paste
11204 to avoid crashing when calling getFont()
11206 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11208 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11211 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11213 * WorkArea.C: remove 'Pending' debug message.
11215 * most files: ws cleanup
11217 * buffer.[Ch]: ws changes
11219 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11221 2002-03-21 Juergen Vigna <jug@sad.it>
11223 * tabular.C (SetMultiColumn): collapse also the contents of the
11224 cells and set the last border right. Added a Buffer const * param.
11226 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11228 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11231 2002-03-19 Juergen Vigna <jug@sad.it>
11233 * text2.C (clearSelection): reset also xsel_cache.
11235 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11236 where it needs to be called (John tells us to do so too :)
11237 (selectionLost): reset sel_cache.
11239 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11241 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11243 * text2.C (setCursorIntern): put debuging code in INSETS channel
11245 2002-03-19 André Pönitz <poenitz@gmx.net>
11247 * lyxfunc.C: tiny whitespace change
11249 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11251 * ToolbarDefaults.C (init):
11252 * LyXAction.C (init):
11254 * BufferView_pimpl.C (Dispatch):
11255 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11257 2002-03-19 Allan Rae <rae@lyx.org>
11259 * exporter.C (Export): removeAutoInsets before doing anything else.
11260 While I've just introduced a dependency on BufferView this really is
11261 the best place to clean the buffer otherwise you need to cleanup in
11262 a dozen places before calling export or cleanup in a dozen functions
11265 * converter.C (runLaTeX):
11266 (scanLog): Better handling of removeAutoInsets and screen updates.
11268 * lyxfunc.C (dispatch): small whitespace changes
11270 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11272 * WorkArea.C (C_WorkAreaEvent): return a value.
11273 (event_cb): return 1 if we handled the event, 0 otherwise.
11275 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11277 2002-03-18 Juergen Vigna <jug@sad.it>
11279 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11280 (GetAdditionalWidth): ditto.
11281 (RightLine): ditto.
11284 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11285 inset if we're there actually (probably not used right now but this
11286 is the direction to go for unifying code).
11287 (paste): disable code to clear the selection.
11289 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11290 inside an InsetText and move the check further up as it is in the
11293 * text2.C (pasteSelection): set a selection over the pasted text.
11295 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11297 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11298 and libgraphics to build on Cygwin.
11300 2002-03-15 Juergen Vigna <jug@sad.it>
11302 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11303 inserting an Inset into the paragraph. I know this is not the best
11304 fix but we already use current_view in CutAndPaste so we will remove
11305 all of it's using at the same time.
11307 * buffer.C (sgmlError): deactivated function till it is rewritten in
11308 the right mode, now it can create problems.
11310 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11311 before accessing it.
11313 2002-03-14 Juergen Vigna <jug@sad.it>
11315 * undo_funcs.C (textHandleUndo): do the right thing when updating
11316 the inset after the undo/redo.
11318 * text2.C (setCursor): just some testcode for #44 not ready yet.
11320 * undo_funcs.C (textHandleUndo): set the next() and previous()
11321 pointers of the paragraph to 0 before deleting otherwise we have
11322 problems with the Paragraph::[destructor].
11324 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11325 on a paragraph insertion.
11327 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11329 * buffer.C (asciiParagraph): use += operator for char append to
11332 * paragraph.C (getFontSettings): compare >= not just >
11333 (highestFontInRange): ditto
11336 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11338 * paragraph.C: change several algorithm to be more appripriate for
11339 the problem domain. This is lookip in FontList and in the InsetList.
11341 2002-03-13 André Pönitz <poenitz@gmx.net>
11344 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11346 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11351 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11353 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11355 * Painter.C (display): anon helper function, adjust code for this
11357 (pixmap): remove function.
11359 * Painter.h: remove private display variable.
11361 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11363 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11365 * WorkArea.[Ch]: remove figinset_canvas cruft.
11367 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11369 * lyxtextclass.C (operator): add one item cache optimization.
11371 * bufferlist.h: doxy changes
11373 * bufferlist.C: ws changes
11375 * DepTable.[Ch] (ext_exist): place const in the right spot.
11377 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11379 (workAreaExpose): call resizeInsets when the with BufferView changes.
11380 (Dispatch): adjust for protectedBlank removal
11381 (specialChar): call updateInset if the insert went ok.
11383 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11384 specialChar instead.
11386 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11388 * BufferView.h: doxy change
11390 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11392 * lyxtextclass.C (operator[]): remove non-const version
11393 (defaultLayout): remove non-const version
11395 2002-03-12 Juergen Vigna <jug@sad.it>
11397 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11398 did resize the LyXText too.
11400 * buffer.C (readLyXformat2): set layout information on newly allocated
11403 * tabular.C (OldFormatRead): set layout information on the paragraph.
11405 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11407 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11409 2002-03-11 Juergen Vigna <jug@sad.it>
11411 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11413 (resizeCurrentBuffer): force also the insets to resize themselfes.
11414 (moveCursorUpdate): fixed up for InsetText.
11416 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11419 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11420 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11421 value of Dialogs::tooltipsEnabled().
11422 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11424 2002-03-08 Juergen Vigna <jug@sad.it>
11426 * BufferView_pimpl.C (updateInset): update inset inside inset also
11427 if it isn't inside theLockingInset().
11429 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11431 * buffer.C (asciiParagraph): redo some of the word and line length
11433 (getLists): look for Caption instead of caption.
11435 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11437 * buffer.C (Buffer): initialize niceFile to true
11439 (makeLinuxDocFile):
11440 (makeDocBookFile): make sure niceFile is true on exit
11442 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11444 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11446 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11448 * LyXSendto.C: remove.
11449 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11450 * lyx_gui.C: remove now-redundant comment.
11451 * ColorHandler.h: remove forward declaration of class WorkArea.
11452 * lyxfunc.C: remove #include "WorkArea.h".
11454 2002-03-07 Juergen Vigna <jug@sad.it>
11456 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11457 got moved away with the DEPM and also set the inset_owner always
11458 right which before could have been omitted.
11460 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11462 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11463 wanted layout is not found.
11465 2002-03-07 Juergen Vigna <jug@sad.it>
11467 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11469 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11471 * paragraph.C (breakParagraph): use default layout not layout of
11473 (Paragraph): clear ParagraphParameters.
11475 2002-03-06 Juergen Vigna <jug@sad.it>
11477 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11478 otherwise it would not be a valid lenght. Fixed a special case in
11479 the minipage compatibility read where we end the document with a
11482 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11483 was set as it could be 0 for InsetTexts first entry.
11485 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11487 * paragraph.C (writeFile): if layout is empty write out
11488 defaultLayoutName().
11490 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11491 file without named layout we set layout to defaultLayoutName().
11493 2002-03-06 Juergen Vigna <jug@sad.it>
11495 * CutAndPaste.C (copySelection): set layout for new paragraph.
11497 * text.C (prepareToPrint): leave ERT inset left aligned
11498 (leftMargin): don't indent paragraphs inside ERT insets
11500 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11502 * paragraph.C (breakParagraph): dont call clear do the work manually
11504 * paragraph.[Ch] (clear): remove function
11506 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11508 * paragraph.C (Paragraph): dont call clear, the work has already
11511 * lyxtextclass.C (operator): assert if n is empty
11513 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11514 work manually instead.
11516 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11518 * BufferView_pimpl.C: protect selectionLost against text == 0
11520 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11522 * text.C (breakParagraph): fix a setting layout to '0' problem.
11524 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11526 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11527 final location of file, for the included files, and graphics.
11529 2002-03-05 Juergen Vigna <jug@sad.it>
11531 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11533 2002-03-04 Juergen Vigna <jug@sad.it>
11535 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11537 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11538 last column of multicolumn cells.
11539 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11541 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11543 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11544 file if it doesn't go to a temporary file.
11546 * buffer.C (sgmlOpenTag):
11547 (sgmlCloseTag): remove extra newline insertion.
11549 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11551 * text.C (getRowNearY): comment out debug msg
11553 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11555 * text2.C: first -> first_y
11557 * text.C (getRowNearY): add some attemts at a possible
11558 optimization, not working.
11560 * tabular.[Ch]: add BufferParams to several function so that newly
11561 created paragraph can be initialized to he default layotu for the
11564 * tabular-old.C (ReadOld): add buf->params to call of Init
11566 * screen.C: rename text->first to text->first_y
11568 * paragraph.C (breakParagraph): always set layout in the broken
11571 * lyxtextclass.C (Read): remove lowercase
11574 (delete_layout): ditto
11576 * lyxtext.h: rename first -> first_y
11578 * lyxlayout.C (Read): remove lowercase
11581 (obsoleted_by): ditto
11583 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11585 * buffer.C (insertErtContents): add params are to InsetERT
11586 (parseSingleLyXformat2Token): add code to check if a paragraphs
11587 layout really exist.
11588 (parseSingleLyXformat2Token): add params to several inset
11590 (asciiParagraph): remove lowercase, do the layout comparisons with
11593 * BufferView_pimpl.C (cursorNext): first -> first_y
11594 (resizeCurrentBuffer): first -> first_y
11595 (updateScrollbar): first -> first_y
11596 (scrollCB): first -> first_y
11597 (workAreaMotionNotify): first -> first_y
11598 (workAreaButtonPress): first -> first_y
11599 (checkInsetHit): first -> first_y
11600 (cursorPrevious): first -> first_y
11601 (cursorNext): first -> first_y
11602 (Dispatch): add buffer_->params to severl inset contructors
11604 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11606 * lyxlayout.C (Read): remove some debug info that I forgot.
11608 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11609 clean up the code slightly.
11610 (makeLinuxDocFile): ditto
11611 (makeDocBookFile): ditto
11613 * text2.C: layout as string
11615 * text.C: layout as string
11617 * paragraph_pimpl.C: layout as string
11619 * paragraph.[Ch]: layout as string
11621 * lyxtextclasslist.[Ch]: layout as string
11623 * lyxtextclass.[Ch]: layout as string
11625 * lyxtext.h: layout as string
11627 * lyxlayout.[Ch]: layout as string
11629 * lyx_cb.C: layout as string
11631 * bufferview_funcs.C: layout as string
11633 * bufferparams.C: layout as string
11635 * buffer.C: layout as string
11637 * LyXView.[Ch]: layout as string
11639 * LaTeXFeatures.[Ch]: layout as string
11641 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11643 * BufferView_pimpl.C: change current_layout to string, remove
11648 (workAreaButtonRelease): layout as string
11650 * BufferView2.C (unlockInset): adjust
11652 * vspace.C (asLatexCommand): use an explict temp variable.
11654 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11656 * Makefile.am: use FRONTEND_*
11658 2002-03-01 Juergen Vigna <jug@sad.it>
11660 * tabular.C (SetWidthOfMulticolCell): changed to something better
11661 I hope but still work in progress.
11662 (recalculateMulticolumnsOfColumn): renamed function from
11663 recalculateMulticolCells as it is more appropriate now.
11664 (SetWidthOfCell): calculate multicols better.
11666 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11668 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11670 * lyxfunc.C (processKeySym): print sequence also if it is
11671 `deleted' (complete)
11673 * kbsequence.C (print): print sequence even if it is deleted
11674 (complete would be a better word, actually).
11676 * lyxfunc.C (dispatch): print complete options after a prefix key
11678 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11680 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11682 * text2.C (setCharFont): eliminate setCharFont code duplication.
11684 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11686 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11687 LFUN_TABULAR_FEATURE (bug #177)
11689 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11691 * Makefile.am: remove figure.h
11693 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11695 * Bufferview_pimpl.C:
11707 * text2.C: remove #include "lyx_gui_misc.h".
11709 * LaTeX.C: added #include <cstdio>
11711 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11713 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11714 that the paragraph following this one can have.
11716 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11718 * vspace.C (asLatexCommand): fix bogus gcc warning
11720 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11722 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11724 * text2.C (setLayout): get rid of redundant code
11726 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11728 * text2.C (incDepth): make sure depth cannot be increased beyond
11731 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11733 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11734 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11736 * PainterBase.h (image):
11737 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11738 a LyXImage const *.
11740 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11744 * BufferView_pimpl.C:
11745 * BufferView_pimpl.h:
11765 * sp_spell.C: remove fig inset, and the crap house of
11766 cards that follows it
11768 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11773 * os2_errortable.h:
11774 * nt_defines.h: move .h into support/
11776 * vms_defines.h: remove
11778 * WorkArea.C: add space in debug output
11782 * buffer.C: add WITH_WARNINGS
11786 * bufferlist.C: s/retrive/retrieve/, add docs
11795 * chset.C: add docs
11797 * lyxgui.C: add ID to X error handler
11799 * lyxtestclass.c: fix typo
11801 2002-02-26 Juergen Vigna <jug@sad.it>
11803 * tabular_funcs.C (write_attribute): changed so that some default
11804 attributes are not written at all.
11805 (getTokenValue): set default values before trying to read the
11806 value so we have the return value always set as default if we don't
11807 find the token we search for.
11809 * tabular.C (Write): write bools as bools not as strings!
11811 2002-02-22 Juergen Vigna <jug@sad.it>
11813 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11814 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11816 * text.C (leftMargin): don't add an indent for paragraphs inside
11817 tabular cells (fix #208).
11819 2002-02-21 José Matos <jamatos@fep.up.pt>
11821 * tabular.C (docBook): fixed support for long tables.
11823 2002-02-20 Juergen Vigna <jug@sad.it>
11825 * text2.C (getFont): get the drawing font of the Inset if this
11826 paragraph is inside an inset (only important for InsetERT for now).
11828 * buffer.C (insertErtContents): use new lanugage params in ERT
11831 * CutAndPaste.C: commenting out seemingly uneeded code.
11833 2002-02-19 Allan Rae <rae@lyx.org>
11835 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11836 Iterators might be simple to use but they also get invalidated.
11837 (removeAutoInsets): renamed saved cursor tracking variables and added
11838 some comments to clarify what everything does.
11840 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11847 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11848 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11851 * vc-backend.h: remove #include "support/syscall.h"
11855 * converter.C: rearrange #includes in Lars' approved fashion.
11857 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11858 forward declare class Timeout in the header file.
11860 * XFormsView.C: changes due to the above.
11862 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11863 similar to LyXView.
11865 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11866 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11868 2002-02-18 José Matos <jamatos@fep.up.pt>
11870 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11873 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11875 * a lot of small ws changes
11876 * add a lot of using std::XXX
11877 * use std construcs some places where approp.
11878 * use some exisint stuff from lyxfunctional where approp.
11879 * Make file changes to use partial linking (lets test this now...)
11881 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11885 remove #include "support/syscontr.h" as it's redundant. Always has been.
11893 change Systemcalls::System to Systemcalls::Wait and
11894 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11895 No change of functionality, just reflects the stripped down Systemcalls
11898 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11900 * debug.[Ch]: add a GRAPHICS type to the enum.
11902 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11904 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11906 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11909 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11911 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11912 match the changes below.
11914 * text2.C (toggleInset): if there is not editable inset at cursor
11915 position, try to see if cursor is _inside_ a collapsable inset
11918 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11920 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11921 document menu has a nice checkbox
11923 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11925 * lyxlength.C (asLatexString): change PW to output as percent of
11928 * lengthcommon.C: change '%' to 't%'
11930 * lyxfunc.C (dispatch): a few comments from Martin
11932 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11936 * BufferView_pimpl.h:
11937 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11940 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11942 * vspace.C (inPixels): fix compiler warning
11944 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11946 * lyxfunc.C (getStatus): fix status message for disabled commands.
11948 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11950 * BufferView_pimpl.C: fix crash on close buffer
11951 during selection (#227)
11953 2002-01-27 Herbert Voss <voss@lyx.org>
11955 * buffer.C: link old Figure to new graphic inset
11957 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11959 * FontLoader.C (getFontinfo): Change the latex font names in order
11960 to match the names of type1inst.
11962 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11964 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11966 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11967 (extchanged): ditto
11969 (remove_files_with_extension): ditto
11970 (remove_file): ditto
11973 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11974 document is smaller than the work area height. Do not initialize
11975 static variables to 0.
11977 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11979 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11981 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11982 LFUN_LAYOUT_PARAGRAPHS.
11984 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11985 tabular. It is possible to provide a possible cell, which will
11986 typically be the actcell from the corresponding insettabular
11988 * lyxfunc.C (getStatus): small cleanup; disable
11989 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11992 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11994 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11996 * paragraph.C (startTeXParParams):
11997 (endTeXParParams): new methods. The LaTeX code to
11998 start/end paragraph formatting
11999 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12000 empty (fixes bug #200)
12002 * vspace.C (inPixels): adapt to the change below
12003 (inPixels): [later] more cleanups (remove unused variables)
12005 * lyxlength.C (inPixels): change to use a width and a height as
12008 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12010 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12011 Replaced with \paperwidth
12013 * DepTable.C (insert): add std:: qualifier
12015 2002-01-18 Allan Rae <rae@lyx.org>
12017 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12020 * text.C (drawInset): Turned out I didn't know enough about how
12021 rebreaking worked. This fixes most of the redraw problems. I see
12022 an occasional cursor trail when a line is broken now and the cursor
12023 placement can seem out by a few pixels also after a rebreak.
12025 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12027 * buffer.C (parseSingleLyXformat2Token): update because minipage
12028 width is now a LyXLength
12030 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12032 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12035 2002-01-17 Juergen Vigna <jug@sad.it>
12037 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12039 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12040 is set correctly and the inset is updated correctly.
12042 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12044 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12045 the beginning of the loop.
12047 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12049 * lyxrc.C: improve help for use_scalable_fonts
12051 2002-01-17 Allan Rae <rae@lyx.org>
12053 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12055 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12057 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12058 make sure to set their inset_owner to the right value (bug #171)
12060 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12063 * DepTable.C: Implement mtime checking to reduce time spent doing
12066 2002-01-16 Juergen Vigna <jug@sad.it>
12068 * tabular.C (GetAdditionalHeight): one of error fixed.
12070 * lyxrc.C (output): small fix in writing use_pspell.
12072 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12074 * sp_base.h: #include LString.h
12076 2002-01-16 Allan Rae <rae@lyx.org>
12078 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12079 Can someone check this please?
12081 * text.C (drawInset): It was possible that p.row would be removed by
12082 breakAgainOneRow upsetting a few other settings. There may be another
12083 small tweak possible by setting need_break_row = 0 when p.row has been
12084 removed but I don't know enough about the logic here.
12086 2002-01-15 Allan Rae <rae@lyx.org>
12088 * text.C (insertChar): removed conditional truism.
12090 * BufferView2.C (removeAutoInsets): More tweaks.
12091 cur_par_prev could be a stray pointer. Check for trailing empty line
12092 in case last line was cur_par and only had an error inset on it.
12094 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12096 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12099 * vc-backend.C (most methods):
12100 * exporter.C (Export):
12101 * converter.C (convert):
12103 * LyXSendto.C (SendtoApplyCB):
12104 * lyxfunc.C (dispatch):
12108 * lyx_cb.C (AutoSave):
12110 * BufferView_pimpl.C (MenuInsertLyXFile):
12111 * buffer.C (runChktex): use Buffer::filePath().
12113 * buffer.h: rename filename to filename_; rename filepath to
12114 filepath_ and make it private
12115 (filePath): new method
12117 * buffer.C (writeFile): use fileName()
12120 * lyx_main.C (init): fix starting of LyX when the binary is a
12121 link from so,ewhere else.
12123 * minibuffer.C: include <cctype> for isprint
12125 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12127 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12128 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12129 name clash with InsetCollapsable's width function.
12131 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12133 * lastfiles.C: include <iterator>
12135 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12137 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12140 * buffer.C (makeLaTeXFile): ditto.
12141 Also make loop operation more transparent.
12143 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12145 * ToolbarDefaults.C: remove trailing comma closing namespace.
12147 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12149 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12152 * trans.C (Load): comment out unused variable, allowed.
12154 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12156 * minibuffer.[Ch] (append_char): new method to recieve input from the
12157 drop-down completion browser. If a key was pressed, then recieve this
12158 char and append it to the existing string.
12159 (peek_event): modify the positioning data passed to the completion
12160 browser so that it can be placed above the minibuffer rather than below.
12161 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12163 * LyXAction.C (init): alloe error-next for readonly documents.
12165 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12168 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12170 * bufferlist.C (readFile): create the buffer _after_ checking that
12173 * lyxfunc.C (verboseDispatch): fix handling of arguments
12175 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12177 * lyxrc.C: use string::erase() instead of initializing to "".
12180 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12182 * BufferView_pimpl.h:
12183 * BufferView_pimpl.C:
12186 * text2.C: tell X when we have made a selection for copying
12188 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12190 * BufferView_pimpl.C (MenuInsertLyXFile):
12191 * lyxfunc.C (menuNew):
12193 (doImport): add shortcuts to directory buttons
12195 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12198 * lyxfunc.C (setStatusMessage):
12199 (getStatusMessage): new methods
12200 (getStatus):use setStatusMessage instead of setErrorMessage
12201 (dispatch): when function is disabled, set error message here
12202 [instead of in getStatus previously]
12204 * BufferView_pimpl.C (workAreaButtonRelease): update
12205 toolbar/menubar here too.
12207 2002-01-13 Allan Rae <rae@lyx.org>
12209 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12210 Now seems indestructible. Remaining task is to audit all other
12211 code affected by deleteEmptyParagraphMechanism. One small quirk
12212 left is that an empty document with an error in the preamble can
12213 be made to report an error but no error box appears. I don't know
12215 (removeAutoInsets): Improved comments.
12217 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12220 * Thesaurus.C: update for Aiksaurus 0.14
12222 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12224 * text2.C (firstParagraph): removed member function, all uses
12225 replaces with ownerParagraph
12226 (redoParagraphs): here
12227 (updateInset): here
12228 (toggleAppendix): here
12229 * BufferView2.C (insertErrors): here
12230 (setCursorFromRow): here
12232 2002-01-13 Allan Rae <rae@lyx.org>
12234 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12235 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12236 There is still a way to segfault this although you may have to do this
12237 multiple times: Have an InsetERT with an unknown command in it.
12238 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12239 <down-arrow>, <Enter> again, View->DVI, BANG!
12241 * text2.C (setCursor):
12242 (deleteEmptyParagraphMechanism):
12243 * lyxtext.h (setCursor):
12244 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12245 Making use of the return value may help fix other bugs.
12247 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12249 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12251 * LyXView.C (updateMenubar): call MenuBar::update here
12252 (updateToolbar): but not here
12253 (showState): do not update toolbar/menubar
12255 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12256 should need to care about that.
12258 * lyxfunc.C (verboseDispatch): simplify a bit
12259 (getStatus): have a version which takes a pseudoaction, and
12260 another which requires a (kb_action,string).
12262 * LyXAction.C (retrieveActionArg): make it work also when action
12263 is not a pseudo-action.
12264 (getActionName): simplify a bit
12267 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12269 * lyxfunc.C (verboseDispatch): new families of methods with
12270 several ways to specify a command and a bool to indicate whether
12271 the command name and shortcut should be displayed in minibuffer
12272 (eventually, we could extend that to a finer bitmask like
12273 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12274 (dispatch): the pristine dispatch command which just, well,
12275 dispatchs! Note it still sets its result to minibuffer; I'm not
12278 * lyxfunc.h: remove setHintMessage
12280 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12282 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12284 * BufferView_pimpl.C (specialChar): delete new inset if we have
12285 not been able to insert it.
12287 * kbmap.C: revert to using int instead of kb_action, since all we
12288 are dealing with is pseudo-actions.
12290 * LyXAction.C (searchActionArg): change to return int instead of
12291 kb_action, since the result is a pseudoaction.
12293 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12295 * buffer.C (insertErtContents): Fix (partially) the font bug.
12297 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12299 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12300 as the other one is broken on my machine!
12302 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12305 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12307 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12309 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12310 reflect their actual use. Provide compatibility code for older lyxrc
12313 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12315 change names of popup font variables in line with the changes to lyxrc.C
12317 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12319 * buffer.C (asciiParagraph): avoid outputing a word twice after
12322 * lyxrc.C (getDescription): document that document_path and
12323 template_path can be empty.
12325 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12327 * LaTeXFeatures.C (getMacros):
12328 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12330 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12332 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12334 (getPackages): rename feature "floats" to "float". Use an array to
12335 iterate over 'simple' features (i.e. just a \usepackage). Add
12336 handling of "amsmath" (renamed from "amsstyle").
12338 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12340 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12343 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12345 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12346 FuncStaus::FuncStatus & FuncStaus::some_method().
12348 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12350 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12351 of the func_satus stuff. Edited and massaged in various ways by
12354 * lyxfunc.C (getStatus): use FuncStatus
12356 2002-01-08 Juergen Vigna <jug@sad.it>
12358 * text.C (nextBreakPoint): use function Inset::isChar().
12360 * paragraph.C (TeXOnePar): use function
12361 Inset::forceDefaultParagraphs.
12363 * buffer.C (latexParagraphs): use function
12364 Inset::forceDefaultParagraphs.
12366 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12368 * lyx_gui.C (init): set the style of the menu popups to
12369 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12371 2002-01-07 Juergen Vigna <jug@sad.it>
12373 * text.C (setHeightOfRow): small fix
12374 (prepareToPrint): don't look at alignment if we don't have the place
12377 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12379 * box.C: New file. Move the Box methods and functions out of box.h,
12380 following Lars' suggestion.
12382 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12384 * box.h: #include "support/LOstream.h", needed for inlined function.
12387 * lyxtextclasslist.C: added some using std declarations.
12389 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12391 * box.h: make signed dimensions to allow insets wider than
12392 the screen (bug #162)
12394 * BufferView_pimpl.C: add some insetHit debug
12396 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12398 * vc-backend.C: add FIXME
12400 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12402 * lyxfunc.C (getStatus): enable code for showing math font status
12405 2002-01-07 Juergen Vigna <jug@sad.it>
12407 * text.C (nextBreakPoint): removed debug output not needed anymore.
12409 2002-01-06 Juergen Vigna <jug@sad.it>
12411 * text.C (nextBreakPoint): fixed up this function we had this bug
12412 since ever but now hopefully we break row better.
12413 (insertChar): we have to check if an inset is the next char as it
12414 could now happen that a large inset is causing a break.
12416 2002-01-05 Juergen Vigna <jug@sad.it>
12418 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12419 if it doesn't like to be drawed.
12421 2002-01-04 Juergen Vigna <jug@sad.it>
12423 * BufferView2.C (lockInset): forgot to set a cursor.
12425 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12427 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12429 * FormMathsPanel.C:
12432 * form_maths_panel.C:
12433 * form_maths_panel.h:
12434 * form_maths_panel.fd: implemented sub- and super- buttons in math
12437 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12438 (or ^ space) to be used as in TeX (req'd by André).
12440 * lyxfunc.C: Allow ^ and _ again to be used both as
12441 super/subscript (mathed) and as themselves (in text).
12443 2002-01-03 Allan Rae <rae@lyx.org>
12445 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12446 "LyX" or the filename of the current buffer if it has one. This is a
12447 modified form of John Levon's patch.
12449 * XFormsView.C (setWindowTitle): also set icon title.
12451 * LyXView.h (setWindowTitle): signature changed.
12452 * XFormsView.h (setWindowTitle): ditto.
12454 2002-01-02 Juergen Vigna <jug@sad.it>
12456 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12458 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12460 * screen.C (topCursorVisible): introduce a temp var for
12461 text->cursor.row(), handle the case where this row is null. (kindo
12464 * text2.C (setCursor): add a couple of asserts.
12466 * paragraph.h (inset_iterator): add -> operator
12468 * paragraph.[Ch] (autoDeleteInsets): remove member function
12470 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12471 cursor pos correctly and handle inset deletion by itself.
12472 (insertErrors): move iterator declaration out of for expression
12474 * lyxtextclass.C: add <algorithm>
12476 * Makefile.am: added the new files to sources, removed layout.C
12478 * layout.C: removed file
12480 * layout.h: remove LYX_DUMMY_LAYOUT
12482 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12486 * lyxtextclass.[Ch]:
12487 * lyxtextclasslist.[Ch]: new files
12489 * include order changes to a lot of files, also changes because of
12492 2001-12-27 Juergen Vigna <jug@sad.it>
12494 * buffer.C (asciiParagraph): more fixes.
12496 * tabular.C (ascii): make ascii export support export of only the
12497 data separated by a column-delimiter.
12498 (ascii): better support for ascii export.
12500 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12502 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12504 * tabular_funcs.C: use a "using std::getline" instead of the
12505 previous fix from Angus (necessary for cxx + lyxstring)
12507 2001-12-24 Juergen Vigna <jug@sad.it>
12509 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12511 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12512 problems. First check a minipage also if we have some ert-contents
12513 (not only on par->size(), second set the right depth of the paragraph
12514 on the relink to the root-paragraph-list!
12516 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12517 which then did not anymore update the main paragraphs on undo/redo!
12519 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12521 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12522 code. Support all font-changing funcs (even those which are not in
12523 menu currently). Support for reporting font settings in
12524 mathed (disabled until Andre provides a function on mathed's side).
12526 * func_status.h (toggle): small helper function to set toggle
12529 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12531 * tabular_funcs.C: getline -> std::getline
12533 2001-12-21 Juergen Vigna <jug@sad.it>
12535 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12536 accessed and could be 0 (I couldn't generate this but it seems
12539 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12541 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12542 * tabular_funcs.h: here and include iosfwd
12544 2001-12-20 Juergen Vigna <jug@sad.it>
12546 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12547 inside inset but undo_par was.
12549 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12551 * Thesaurus.C: always include <config.h> in sources.
12555 * box.h: do not include <config.h> in header files
12557 * text.C (paintLastRow): remove unused variable
12559 * text.C (transformChar):
12561 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12563 * Painter.C (text):
12564 * font.C (width): rewrite to use uppercase() instead of
12567 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12569 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12571 * lyxfind.C: clean up of find failure position change
12573 2001-12-20 Juergen Vigna <jug@sad.it>
12575 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12577 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12578 (TeXRow): added to LaTeX a single tabular row.
12579 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12580 (Latex): simplified and finally good LT-h/f support.
12581 (various_functions): just small adaptions for LT-h/f support.
12583 * tabular_funcs.[hC]: added and moved here all not classfunctions
12586 2001-12-19 Juergen Vigna <jug@sad.it>
12588 * tabular.[Ch]: better support for longtabular options (not finished
12591 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12593 * text.C (paintLastRow): use the label font instead of the font of
12594 the last character to compute the size of *_BOX. This makes more
12595 sense and avoids a crash with empty paragraphs.
12596 Use Painter::rectangle to draw EMPTY_BOX.
12598 2001-12-19 Juergen Vigna <jug@sad.it>
12600 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12601 the paragraphs if the replaced paragraph is not the first one!
12602 Tried to delete not used paragraphs but does not work yet so for
12603 now it's inside #ifdef's and by default off!
12605 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12607 * MenuBackend.C: include "lyx_main.h" instead of declaring
12608 lastfiles (actually was declared as LastFiles* instead of a
12611 2001-12-17 Juergen Vigna <jug@sad.it>
12613 * tabular.C (AppendColumn): applied John's fix
12615 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12619 * BufferView_pimpl.h:
12620 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12623 * box.h: new start of class for above
12625 * lyxfunc.C: ignore space-only minibuffer dispatches.
12626 Show the command name when it doesn't exist
12628 * minibuffer.C: don't add empty lines to the history
12630 * minibuffer.C: add a space on dropdown completion
12632 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12634 * text.C: fix line above/below drawing in insets
12636 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12638 * lyxlength.C (LyXLength): Initialize private variables.
12640 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12642 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12643 when inserting error insets.
12645 2001-12-13 Juergen Vigna <jug@sad.it>
12647 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12648 actually sometimes the before-paragraph.
12649 (setUndo): don't clear the redostack if we're not actually undoing!
12651 2001-12-06 Juergen Vigna <jug@sad.it>
12653 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12654 and fixed redoing of main paragraph, so we can use it now ;)
12656 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12658 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12660 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12663 2001-12-13 André Pönitz <poenitz@gmx.net>
12666 * undo_func.C: minor cleanup
12668 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12670 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12671 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12672 font in urw-fonts package which is marked as -urw-fontspecific and
12673 does not work (incidentally, changing the encoding in the
12674 fonts.dir of this package to -adobe-fontspecific fixes the
12677 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12678 is a crash when undoing first paragraph (Juergen, please take a
12679 look). THis does not mean the undo fix is wrong, just that it
12682 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12683 the (Paragraph*) version when needed instead of duplicating the
12686 * text.C (workWidth): use Inset::parOwner to find out where the
12687 inset has been inserted. This is a huge performance gain for large
12688 documents with lots of insets. If Inset::parOwner is not set, fall
12689 back on the brute force method
12691 * paragraph_pimpl.C (insertInset):
12692 * paragraph.C (Paragraph):
12693 (cutIntoMinibuffer): set parOwner of insets when
12694 inserting/removing them
12696 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12698 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12704 * mathed/formulabase.C:
12705 * mathed/math_cursor.[Ch]:
12706 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12709 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12711 * lyxlength.[Ch] (operator!=): new function
12713 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12715 * text.C (workWidth): use Inset::parOwner to find out where the
12716 inset has been inserted. This is a huge performance gain for large
12717 documents with lots of insets. If Inset::parOwner is not set, fall
12718 back on the brute force method
12720 * paragraph_pimpl.C (insertInset):
12721 * paragraph.C (Paragraph):
12722 (cutIntoMinibuffer): set parOwner of insets when
12723 inserting/removing them
12725 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12727 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12729 * tabular-old.C (getTokenValue):
12730 * tabular.C (getTokenValue):
12731 (write_attribute): new versions for LyXLength
12732 (everywhere): adjust the use of widths
12734 * tabular.h: change the type of widths from string to LyXLength
12736 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12738 * paragraph.C: fixed missing line number count when exporting
12739 Environments to LaTeX file
12741 * buffer.C: added informational message for checking line numbers.
12743 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12745 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12746 paragraph, do the 'double space' part, but not the 'empty
12749 * text.C (workWidth): small optimization
12750 (getLengthMarkerHeight): use minimal size for negative lengths.
12752 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12754 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12756 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12758 2001-12-11 André Pönitz <poenitz@gmx.net>
12761 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12763 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12765 * text2.C: keep selection on a setFont()
12767 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12769 * lyx_cb.C: another bv->text misuse, from insert label
12771 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12774 * kbsequence.C: re-instate nmodifier mask
12776 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12778 * lyx_main.h: make lyxGUI private.
12780 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12782 * lyxfind.C: place the cursor correctly on failed search
12784 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12786 * text.C (getLengthMarkerHeight): for small heights, the arrows
12787 are not always on top/bottom of the text
12788 (drawLengthMarker): smaller arrows; take the left margin in
12789 account; draw also vfills.
12791 (paintLastRow): remove special code for vfill and standard spaces,
12792 since everything is handled in drawLengthMarker now.
12794 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * buffer.C (insertErtContents): try to handle font and language
12797 interaction a bit better.g
12799 * ColorHandler.C (updateColor): change the hash to cover the whole
12800 LColor enum, ws cleanup
12801 (getGCLinepars): ditto
12802 (getGCLinepars): only lookup in the linecache once.
12804 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12806 * iterators.C (operator++): Make the iterator more robust
12808 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12810 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12812 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12815 * text.C: better added space drawing
12817 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12820 * BufferView2.C: fix layout combo update on inset unlock
12822 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12824 * Makefile.am: don't compile unused files
12826 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12830 * LyXAction.C: remove old LFUN_LAYOUTNO
12832 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12834 * paragraph_pimpl.h:
12835 * paragraph_pimpl.C: isTextAt() doesn't need font param
12837 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12840 * lyxlex.C: little cleanup
12842 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12844 * BufferView_pimpl.C: fix insertAscii for insets
12846 2001-12-05 Juergen Vigna <jug@sad.it>
12848 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12849 set the right font on the "multi" paragraph paste!
12851 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12857 * lyxlength.C: remove out-commented code.
12859 * BufferView_pimpl:
12873 * vc-backend.C: change "while(" to "while ("
12875 * lyxlength.[Ch]: add zero function to check if length is zero or
12877 * lyxgluelength.C: use it
12879 2001-12-05 Allan Rae <rae@lyx.org>
12881 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12882 Works for 2.95.3, from what I understand of Garst's reports this should
12883 work for other g++ versions. We're screwed if the abs(int) definition
12884 changed between bugfix releases of gcc.
12886 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12888 * text.C: fix chapter label offset !
12890 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12893 * text.C: fix hfill at end of line, clean up
12895 2001-12-04 Juergen Vigna <jug@sad.it>
12897 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12898 that we force an update of the inset and it's owners if neccessary.
12900 2001-12-03 Juergen Vigna <jug@sad.it>
12902 * text.C (rowLast): simplified code
12904 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12906 * lyxfunc.C: fix show options on timeout
12908 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12910 * screen.C (topCursorVisible): scroll half a page when the cursor
12911 reached top of bottom of screen
12913 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12915 * minibuffer.C: deactivate on loss of focus
12917 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12919 * vspace.[Ch] (operator!=): add operator.
12921 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12923 * BufferView_pimpl.C: refuse to open an inset when
12924 there's a selection.
12926 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12928 * BufferView_pimpl.C: allow to click on RHS of full row insets
12930 2001-11-30 Juergen Vigna <jug@sad.it>
12932 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12933 insets for undo reasons.
12935 2001-11-28 André Pönitz <poenitz@gmx.net>
12937 * vspace.[Ch]: cosmetical changes
12939 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12949 * kbsequence.C: part re-write of old kb code
12952 * WorkArea.C: remove Lgb_bug_find_hack
12954 2001-11-30 José Matos <jamatos@fep.up.pt>
12956 * buffer.C (makeDocBookFile): add a comment to point a hack.
12957 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12958 Fixed a double write of labels.
12960 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12963 * LaTeX.h Fixed bug in LaTeX class where it would not
12964 re-run latex if no depfiles were changed, but the .dvi was removed.
12966 2001-11-28 André Pönitz <poenitz@gmx.net>
12968 * all the files from the change on 2001/11/26:
12969 use lyx::layout_type instead of LyXTextClass::size_type
12970 use lyx::textclass_type instead of LyXTextClassList::size_type
12972 2001-11-29 Juergen Vigna <jug@sad.it>
12974 * text.C: added support for paragraph::isFreeSpacing()
12976 * buffer.C: same as above
12978 * paragraph.h: inserted isFreeSpacing() function to enable
12979 FreeSpacing inside InsetERT.
12981 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12982 of the paragraph's in the cut/copy buffer to 0!
12984 * text2.C (removeRow): remove the assert as it can!
12986 * lyxtext.h: added helper function firstRow returning firstrow and
12987 made firstrow private again.
12989 * BufferView2.C (lockInset): don't relock if we're already locked!
12991 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12992 the only paragraph.
12993 (removeRow): added Assert::(firstrow)
12995 * debug.C: forgot to add INSETTEXT here.
12997 2001-11-28 Juergen Vigna <jug@sad.it>
12999 * sp_spell.C (initialize): changed error text to more general
13000 spellchecker command use (not only ispell!)
13002 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13004 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13006 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13008 * vspace.C: initialise lyxgluelength on failure
13010 2001-11-28 Allan Rae <rae@lyx.org>
13012 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13013 declaration & definition that looks like a function declaration.
13015 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13017 * BufferView2.C (copy):
13018 (copyEnvironment): do not clear the selection when doing a copy.
13020 * text.C (paintFirstRow): compilation fix
13022 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13024 * tabular.C (Latex): correct line count when writing latex.
13026 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13028 * paragraph_pimpl.h:
13029 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13032 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13036 * LColor.C: change vfillline->added_space
13038 * text.C: add markers and text for added space
13040 * vspace.C: fix comment
13042 2001-11-28 André Pönitz <poenitz@gmx.net>
13044 * paragraph.C: whitespace changes
13045 * all the other files from the change on 2001/11/26:
13046 change *::pos_type into lyx::pos_type
13048 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13050 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13051 language of the document when inserting error insets.
13053 2001-11-26 André Pönitz <poenitz@gmx.net>
13055 * BufferView_pimpl.[Ch]:
13063 * paragraph_pimpl.[Ch]:
13066 * text2.C: reduce header dependencies, introduce type for positions
13068 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13070 * <various>: change to use Alert.h
13072 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13074 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13075 when encountering an unknown token.
13076 (readLyXformat2): Show an error message if there were unknown tokens.
13078 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13081 * BufferView_pimpl.C:
13085 * text2.C: use par->isInset()
13087 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13089 * paragraph_pimpl.h:
13090 * paragraph_pimpl.C: cleanup
13092 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13094 * text2.C (removeRow):
13095 * text.C (setHeightOfRow): remove useless (and costly) call to
13098 2001-11-20 Allan Rae <rae@lyx.org>
13100 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13101 Now need Inset*::checkInsertChar() to return true for appropriate
13102 cases so that the characters in the minibuffer will actually be
13105 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13107 * text.C: change the order of the includes.
13108 (workWidth): initialize it at once.
13109 (workWidth): make maxw unsigned
13110 (setHeightOfRow): remove unused variable (inset)
13111 (selectSelectedWord): remove unused variable (inset)
13112 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13114 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13116 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13117 server is not running.
13119 (closeConnection): add debug info when server is disabled.
13121 * ColorHandler.C (getGCForeground): send debug message to GUI
13124 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13126 * kbmap.C (bind): modify because return conventions of
13127 kb_sequence::parse have changed.
13129 * kbsequence.C (parse): only ignore spaces and not any stupid
13130 control character. This avoids tests like s[i] <= ' ', which are
13131 guaranteed to fail with 8bit characters and signed chars.
13132 Change return code to string::npos when there have been no error
13133 (0 was a bad idea when error is at first character)
13135 2001-11-14 José Matos <jamatos@fep.up.pt>
13138 * buffer.C (simpleDocBookOnePar): removed unused argument.
13140 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13142 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13143 insets which are part of a word. Paragraph::isLetter takes care of
13144 that now. Use Paragraph::isInset to identify insets.
13145 (selectSelectedWord): do not test for hyphenation break.
13147 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13148 that protected spaces are considered as spaces.
13150 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13153 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13156 * lyxserver.C: fix it. and small cleanup.
13158 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13160 * BufferView_pimpl.C: use inline helpers
13163 * LaTeXFeatures.C: fix typos
13166 * Spacing.C: move spacing_string into class
13168 * ToolbarDefaults.C: move stuff into namespace anon
13170 * layout.h: update enum
13172 * lyxfunc.C: use better debug
13174 * minibuffer.h: fix typo
13178 * WorkArea.C: add and use Debug::WORKAREA
13182 * text2.C: code re-organisation, inline helpers
13184 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13186 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13187 std::vector.empty().
13189 2001-11-09 Allan Rae <rae@lyx.org>
13191 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13192 '\n's after tables. Tabular and ERT inset work now makes this no
13195 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13198 * minibuffer.C: fix crash, improve drop-down completion
13200 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13203 * lyxserver.C: invalidate fd's when doing endPipe()
13205 2001-11-08 José Matos <jamatos@fep.up.pt>
13207 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13208 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13211 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13213 2001-11-07 José Matos <jamatos@fep.up.pt>
13216 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13219 * buffer.C (sgmlOpenTag):
13220 * buffer.C (sgmlCloseTag): removed debug info.
13222 * buffer.h (sgmlOpenTag):
13223 * buffer.h (sgmlCloseTag): made public.
13225 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13227 * buffer.C (saveParamsAsDefaults):
13228 * lyx_cb.C (MenuLayoutSave): remove
13230 * LyXAction.C (init):
13232 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13234 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13236 * buffer.C (setPaperStuff): removed from here...
13238 * bufferparams.C (setPaperStuff): ... and moved there.
13240 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13244 * XFormsView.C: add support for drop-down completion
13246 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13248 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13251 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13253 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13256 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13258 * lyx_main.C: change ref to known bugs
13260 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13262 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13263 to work around older babel problems.
13265 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13267 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13269 2001-10-24 Juergen Vigna <jug@sad.it>
13271 * tabular-old.C (ReadOld): below variable changes reflected.
13273 * tabular.[Ch]: added ltType struct for longtable header/footer
13274 defines and changed all instances where they are used. Added
13275 future support for double top/bottom rows.
13277 2001-10-24 José Matos <jamatos@fep.up.pt>
13279 * buffer.h (docbookHandleCaption):
13280 * buffer.C (docbookHandleCaption): removed unused function.
13281 (makeDocBookFile): moved docbook supported version to v4.1.
13283 2001-10-24 José Matos <jamatos@fep.up.pt>
13286 * tabular.C (docbookRow): new function to export docbook code of a row.
13287 (DocBook): now honors the longtable flags.
13289 2001-10-23 José Matos <jamatos@fep.up.pt>
13292 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13293 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13295 * buffer.C (makeLinuxDocFile):
13296 (makeDocBookFile): reworked the preamble, more clean, and with
13297 support for lyx defined entities. Changed the document declaration
13298 to be more XML friendly.
13300 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13301 if we need to output XML that should be done with a filter.
13303 2001-10-22 Juergen Vigna <jug@sad.it>
13305 * sp_pspell.h (class PSpell): add alive function needed in the
13306 controller to see if the spellchecker could be started.
13308 2001-10-22 Juergen Vigna <jug@sad.it>
13310 * buffer.C (insertStringAsLines): modify the font for inserting
13311 chars in certain conditions by calling checkInsertChar(font).
13313 2001-10-19 Juergen Vigna <jug@sad.it>
13315 * text.C (workWidth): use getRow instead of wrong algorithm.
13316 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13318 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13323 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13325 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13327 * text.C (workWidth): do not search for the exact row when
13328 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13329 optimization for big documents.
13331 2001-10-18 Juergen Vigna <jug@sad.it>
13333 * text.C (workWidth): new function with added Inset * parameter.
13335 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13337 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13339 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13340 change return type of getColumnNearX.
13343 * text.C (changeRegionCase): use uppercase/lowercase instead of
13346 (rightMargin): simplify code by factoring out the uses of
13351 (appendParagraph): use Paragraph::size_type
13353 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13355 * vspace.C (asLatexString): add a missing break
13357 2001-10-15 Herbert Voss <voss@perce.de>
13359 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13361 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13363 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13366 2001-10-10 André Pönitz <poenitz@gmx.net>
13368 * lyxfunc.C: removed greek_kb_flag.
13370 2001-10-10 Herbert Voss <voss@perce.de>
13372 * lyx_main.C: delete global string help_lyxdir.
13374 2001-10-09 Herbert Voss <voss@perce.de>
13376 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13378 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13380 * lyx_main.C: added global string help_lyxdir.
13382 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13384 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13386 * lyxrc.C (set_font_norm_type): support iso8859-4
13388 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13390 * LaTeX.C (deplog): add another regex for MikTeX
13392 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13394 * lyxrc.C (set_font_norm_type): support iso8859-3
13396 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13398 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13400 * LaTeXFeatures.C: remove special case of french and index
13402 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13403 before \begin{document}). This solves several incompatibilities.
13405 2001-10-03 Garst Reese <reese@isn.net>
13407 * lyx_cb.C: change CheckTex error msg.
13409 2001-10-03 José Matos <jamatos@fep.up.pt>
13411 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13413 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13415 * .cvsignore: update
13417 * lyx_main.C (commandLineVersionInfo): use new style version info.
13419 * buffer.C (writeFile):
13421 (makeLinuxDocFile):
13422 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13424 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13426 * version.h: update to use stuff in version.C
13428 * version.C.in: new file. Contains version information determined
13429 at compile time. This is a merging of version.h and
13432 2001-10-03 Juergen Vigna <jug@sad.it>
13434 * BufferView_pimpl.C (update): don't change "dirty" status in
13437 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13439 * WorkArea.C (c-tor): re-position version string slightly.
13441 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13443 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13444 revert to previous code.
13446 WorkArea.[Ch]: (show, destroySplash): methods removed.
13448 WorkArea.C: rework code so that it's an amalgam of the codes before and
13449 after the splash screen was moved to WorkArea.
13451 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13454 * vspace.C (inPixels):
13457 * buffer.C (insertStringAsLines):
13458 (asciiParagraph): fix types to be large enough
13460 * lyxlex_pimpl.h: change member status from short to int
13462 * layout.h: fix type of endlabeltype
13465 * kbsequence.C (parse): change return type to string::size_type
13467 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13470 * Bullet.C (bulletSize):
13471 (bulletEntry): do not use short ints as parameters
13473 * BufferView2.C (insertLyXFile): change a char to an int.
13475 * WorkArea.C (WorkArea): remove unneeded floats in computation
13477 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13479 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13481 * paragraph.C (asString): Do not ignore newline/hfill chars when
13482 copying to the clipboard.
13484 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13486 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13487 after a multi-line inset.
13489 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13491 * paragraph.C (validate): Set NeedLyXFootnoteCode
13493 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13495 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13496 and decrease-error to decrease.
13498 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13500 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13501 it more readable (should be equivalent)
13503 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13505 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13507 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13509 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13510 of a cursor (row, etc.) after a character has been deleted
13511 (deleteEmptyParagraphMechanism): call the method above on _all_
13512 cursors held by the LyXText when a double space has been
13515 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13517 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13519 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13521 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13522 background. Use greyOut() and the new show() methods to toggle between
13523 the foreground and background. Add code to remove the splash after
13524 its initial showing.
13526 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13527 (create_forms): no longer call Dialogs::showSplash.
13529 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13531 * .cvsignore: add version_info.h
13533 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13535 * version_info.h.in: new file
13537 * Makefile.am: add version_info.h.in
13539 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13540 version_info.h instead of VERSION_INFO
13542 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13544 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13545 The ERT inset now returns string().
13547 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13549 * lyxtext.h, text.C (selectNextWord): renamed as
13550 selectNextWordToSpellcheck.
13552 * text.C (selectNextWordToSpellcheck): Modified to not select
13553 words inside an ERT inset.
13555 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13557 * lyx_cb.C (MenuLayoutSave): change a bit the question
13559 * sp_base.h: include <sys/types.h>
13561 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13563 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13565 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13567 * several files: fix typos in user-visible strings
13569 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13571 * text2.C (pasteSelection): do not set the selection, since it
13572 will be cleared later. Actually, the intent was to fix the way the
13573 selection was set, but I figured rmoving the code was just as good.
13575 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13577 * FontLoader.C (available): Check if font is available without
13580 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13582 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13584 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13586 * lyxrc.[Ch]: added display_graphics variable and associated code.
13588 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13590 * bufferparams.C (hasClassDefaults): new method. Returns true if
13591 the buffer parameters correspond to known class defaults
13593 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13595 * XFormsView.C (show): set minimum size to the main window.
13597 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13599 * text2.C (copySelection):
13601 * lyxfind.C (LyXReplace):
13602 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13603 LyXText::selectionAsString.
13605 * paragraph.C (asString): add "label" argument to the second form
13607 * text2.C (selectionAsString): add "label" argument and pass it to
13608 Paragraph::asString.
13610 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13612 * lyx_main.C (commandLineHelp): remove version information
13614 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13616 * lyx_main.C: add -version commandline option
13618 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13620 * paragraph.h: make the optional constructor arg required instead.
13621 some modifications to other files because of this.
13623 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13625 * lyxserver.C (C_LyXComm_callback): make it static
13627 * lyx_main.C (error_handler): make it static
13629 * lyx_gui.C (LyX_XErrHandler): make it static
13631 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13633 * WorkArea.C: make the extern "C" methods static.
13635 * Makefile.am (lyx_LDADD): simplify
13637 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13639 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13640 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13642 * LyXAction.C (init):
13643 * lyxfunc.C (dispatch): associated code removal.
13645 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13647 * lyxfont.h (isSymbolFont): shut off warning
13649 * text.C (setHeightOfRow):
13650 (getVisibleRow): fix crash with empty paragraphs which have a
13653 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13655 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13658 2001-09-04 José Matos <jamatos@fep.up.pt>
13661 * tabular.C (docbook): rename docBook method to docbook.
13663 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13665 * Makefile.am: add dependencies to main.o.
13667 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13669 * FontLoader.C (available): Return false if !lyxrc.use_gui
13671 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13673 * FontInfo.C (query):
13674 * converter.C (view):
13675 * importer.C (Import):
13676 * exporter.C (Export): Can not -> cannot.
13678 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13680 * BufferView_pimpl.C: allow to create index inset even if
13683 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13685 * buffer.C (getLists): replace boost::tie code with an explicit pair
13686 as boost::tie can break some compilers.
13688 * iterators.h: Added a std:: declaration to the return type of
13691 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13693 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13696 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13698 * iterators.[Ch]: New files. Provide paragraph iterators.
13700 * buffer.C (changeLanguage): Use paragraph iterators.
13701 (isMultiLingual): ditto
13703 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13705 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13707 * FontLoader.C: Support for cmr font.
13709 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13711 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13712 (available): New method.
13714 * FontInfo.C (getFontname): Use scalable fonts even when
13715 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13718 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13720 * converter.C (Formats::view): reverted! Incorrect fix.
13722 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13724 * converter.C (Formats::view): only output the -paper option
13725 if the dvi viewer is xdvi, thereby fixing bug #233429.
13727 2001-08-23 Herbert Voss <voss@perce>
13729 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13731 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13733 * Spacing.h (Spacing): Set space to Default on in the default
13736 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13738 * vc-backend.h (RCS::versionString): add RCS to version
13739 (CVS::versionString): add CVS to version
13741 * vc-backend.C (scanMaster): do not add CVS to version.
13742 (scanMaster): do not add RCS to version
13744 * lyxvc.C (versionString): new method
13746 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13748 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13750 * Spacing.C (set): initialize fval
13752 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13754 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13757 2001-08-16 Juergen Vigna <jug@sad.it>
13759 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13761 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13763 * BufferView_pimpl.C:
13766 * text2.C: setParagraph takes linespacing now
13768 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13770 * LyxAction.C: add internal LFUN_CITATION_INSERT
13772 * LyXView.C: actually apply fix
13774 * bufferlist.C: fix open non-existent file
13776 * lyxfind.C: fix indentation
13778 * lyxfunc.C: remove unneeded assert, fix typo
13780 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13782 * MenuBackend.C: use "Floatname List"
13784 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13786 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13787 when converting LaTeX layout to insetERT.
13788 Generate a non-collapsed float when reading old float
13790 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13792 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13795 2001-08-13 Juergen Vigna <jug@sad.it>
13797 * text.C (fill): return 0 instead of 20 as this seems to be the more
13800 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13802 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13805 2001-08-13 Juergen Vigna <jug@sad.it>
13807 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13809 (SearchBackward): comment out the unlocking of the inset_owner this
13810 should not be needed!
13812 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13814 * Many files: Remove inherit_language, and add latex_language
13816 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13817 collapsible insets.
13819 2001-08-10 Juergen Vigna <jug@sad.it>
13821 * text.C (prepareToPrint): fixed hfill-width in draw!
13823 * BufferView2.C (selectLastWord): save the selection cursor as this
13824 now is cleared in the function LyXText::clearSelection!
13826 2001-08-08 Juergen Vigna <jug@sad.it>
13828 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13829 BACKSPACE type functions.
13831 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13832 is only cutted from the document but not put in the cut-buffer, where
13833 still the old stuff should be.
13835 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13837 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13839 * tabular.C (SetWidthOfCell): fixed special case where the width
13841 (LeftLine): handle '|' in align_special.
13843 (LeftAlreadyDrawed): ditto
13844 (SetWidthOfCell): ditto
13846 2001-08-07 Juergen Vigna <jug@sad.it>
13848 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13850 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13852 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13853 * lyxlex.[hC]: ditto
13855 2001-08-06 Juergen Vigna <jug@sad.it>
13857 * text.C (getVisibleRow): fix up row clearing a bit.
13859 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13861 * minibuffer.C: make sure the X server sees the changes in the input.
13863 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13865 * paragraph.C (getFont): split into...
13866 (getLabelFont): this
13867 (getLayoutFont): and this
13868 * paragraph_pimpl.C (realizeFont): calling this
13870 * text2.C (getFont): split into...
13871 (getLayoutFont): this
13872 (getLabelFont): and this
13873 (realizeFont): all three calling this
13875 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13878 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13880 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13882 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13884 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13885 layouts from the Quote inset insertion.
13887 2001-08-03 Juergen Vigna <jug@sad.it>
13889 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13891 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13892 only if status not is already CHANGED_IN_DRAW (second level).
13894 * text.C (draw): don't set the need_break_row when inside an
13897 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13899 * buffer.C (parseSingleLyXformat2Token): handle more latex
13902 * bufferview_funcs.[hC]: change function names to
13903 begin with small char, adjust other files.
13905 2001-08-02 André Pönitz <poenitz@gmx.net>
13908 BufferView_pimpl.C: remove broken special code for math-greek
13910 2001-08-02 Juergen Vigna <jug@sad.it>
13912 * BufferView_pimpl.C (update): redone this function so that we
13913 update the text again if there was a CHANGE_IN_DRAW.
13915 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13916 (drawFromTo): added a new internal bool which is used by draw() and
13918 (general): some cursor drawing problems fixed.
13920 2001-08-01 Juergen Vigna <jug@sad.it>
13922 * lyxfind.C (LyXFind): fixed
13923 (SearchForward): ditto
13924 (SearchBackward): ditto
13926 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13927 spurius drawing of the cursor in the main area.
13929 * text2.C (status): small fix which could lead to a segfault!
13930 (clearSelection): remove unneeded BufferView param.
13932 2001-08-01 André Pönitz <poenitz@gmx.net>
13934 * lyxfunc.C: small change due to changed mathed interface
13936 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13938 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13940 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13942 * lyxfunc.c: fail gracefully if file doesn't exist
13947 * BufferView_pimpl.C: IsDirWriteable() proto changed
13949 * LyXView.C: fix updateWindowTitle() to store the last title
13951 2001-07-31 Juergen Vigna <jug@sad.it>
13953 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13954 the font (wrong since using of Paragraph::highestFontInRange).
13956 * paragraph.C (highestFontInRange): added a default_size parameter.
13958 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13959 (setHeightOfRow): reformat
13961 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13963 * converter.[hC] + affected files: move to (inital-char)lowercase
13966 * ParagraphParameters.C (ParagraphParameters): remove commented code
13968 * PainterBase.[Ch]: remove commented code
13970 * LaTeXFeatures.h: add "bool floats" for float.sty
13972 * LaTeXFeatures.C (LaTeXFeatures): init floats
13973 (require): handle float
13974 (getPackages): do it with floats
13976 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13978 * BufferView_pimpl.C (Dispatch): improve handling of
13979 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13981 * commandtags.h: #include lyxfont.h here temporarily to avoid
13984 * bufferlist.h: include LString.h here.
13986 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13988 * text2.C (getStringToIndex): new method.
13990 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13992 * *: Reduced header file dependencies all over.
13994 2001-07-30 Baruch Even <baruch@lyx.org>
13996 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13998 2001-07-29 Baruch Even <baruch@lyx.org>
14000 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14002 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14004 * ParameterStruct.h (endif): add a default constructor to make
14005 sure that all variables is initialized.
14007 * ParagraphParameters.C (ParagraphParameters): adjust
14009 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14011 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14012 index; also, check that there is something to index, and that it
14013 does not span over several paragraphs.
14014 (doubleClick): use WHOLE_WORD_STRICT for double click.
14016 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14018 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14021 2001-07-26 Baruch Even <baruch@lyx.org>
14023 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14024 an InsetFig figure, backwards compatible reading of old figure code.
14026 2001-07-27 Juergen Vigna <jug@sad.it>
14028 * text2.C: font.realize function adaption.
14030 * text.C (draw): add a warnings lyxerr text if needed.
14032 * layout.C: font.realize function adaption.
14034 * language.C: add inherit_language and implement it's handlings
14036 * bufferview_funcs.C (StyleReset): remove language parameter from
14037 font creation (should be language_inherit now).
14039 * bufferparams.C (writeFile): handle ignore_language.
14041 * paragraph.C (getFontSettings): the language has to be resolved
14042 otherwise we have problems in LyXFont!
14044 * lyxfont.C (lyxWriteChanges): added document_language parameter
14045 (update): removed unneeded language parameter
14047 * paragraph.C (validate): fixed wrong output of color-package when
14048 using interface colors for certain fonts in certain environments,
14049 which should not seen as that on the final output.
14051 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14053 * BufferView_pimpl.C:
14058 * LyXAction.C: add thesaurus support
14061 * lyxfind.C: add "once" parameter, for thesaurus, to not
14062 move to the next match
14064 2001-07-26 Juergen Vigna <jug@sad.it>
14066 * lyxfont.C (realize): honor ignore_language too!
14069 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14071 * text.C (draw): one place more for ignore_language to not draw
14074 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14076 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14078 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14080 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14081 the minipage conversion problem.
14083 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14085 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14088 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14090 * BufferView.h: don't forward declare WorkArea
14092 * BufferView.C: don't include WorkArea.h
14094 2001-07-25 André Pönitz <poenitz@gmx.net>
14098 * lyxfunc.C: new LFUN 'math-space'
14100 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14102 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14104 * text2.C (toggleInset): call open/close
14106 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14108 * lyxfunc.C (dispatch): add debug for the disabled case
14110 * font.C (buttonText): make similar to rectText
14112 * buffer.C (readInset): comment out parsing of insetlist and
14115 * PainterBase.C (rectText): small correction
14117 * BufferView_pimpl.C: comment out insettheorem and insetlist
14118 * LyXAction.C: ditto
14119 * commandtags.h: ditto
14121 2001-07-24 Juergen Vigna <jug@sad.it>
14123 * text.C (draw): honor the ignore_language.
14125 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14127 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14129 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14132 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14134 * lyxtext.h: remove unused (and unimplemented) methods
14136 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14138 * text.C (getVisibleRow): honor background color
14141 * Painter.h: remove default color argument for fillRectangle
14143 * text.C (backgroundColor): new method
14145 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14147 * text.C (getVisibleRow): adjust
14149 * font.[Ch] (rectText): new method, metrics
14150 (buttonText): new method, metrics
14152 * PainterBase.[hC]: make rectText and buttonText always draw and take
14155 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14157 * ToolbarDefaults.C (read):
14158 * MenuBackend.C (read): allow escaping in all strings
14160 * BufferView_pimpl.C (insertAndEditInset): new method.
14161 (Dispatch): use insertAndEditInset whenever appropriate.
14163 * BufferView_pimpl.C (insertNote): removed
14165 * BufferView_pimpl.C (smartQuote): new method, moved from
14166 BufferView; if an insetquote cannot be inserted, insert a '"'
14169 * BufferView2.C: remove insertCorrectQuote();
14171 * lyxfunc.C (getStatus): Add support for all remaingin
14172 inset-insert lfuns.
14174 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14176 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14177 command (necessary to pass " as parameter of self-insert.
14179 * text.C (selectWordWhenUnderCursor):
14180 (selectWord): add word_location parameter
14181 (selectWordWhenUnderCursor): same + remove special code for word
14183 (selectNextWord): use kind() to guess type of insetspecialchar,
14186 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14187 (insertErtContents): create ert insets as collapsed.
14188 (readInset): better compatibility code for Info inset.
14190 2001-07-20 Juergen Vigna <jug@sad.it>
14192 * lyxfunc.C (dispatch): use always LyXFind now!
14194 * text2.C (init): add a reinit flag so that the LyXText can be
14195 reinited instead of deleted and reallocated (used in InsetText).
14197 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14203 2001-07-18 Juergen Vigna <jug@sad.it>
14205 * text.C (selectNextWord): handle insets inside inset by calling
14206 always the bv->text functions so that we can go up the_locking_inset!
14208 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14209 in strange locations when inside an inset!
14211 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14212 handling to include insets.
14214 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14216 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14218 * LyXAction.C (init):
14220 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14221 LIGATURE_BREAK, since the name is so stupid.
14223 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14225 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14228 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14230 * sp_form.[Ch]: remove.
14232 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14234 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14237 * src/buffer.C (readInset): ditto.
14239 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14241 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14242 menuSeparator(), endOfSentenceDot(), ldots() and
14243 hyphenationPoint(), which are therefore removed.
14244 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14246 * LyXAction.C (init):
14247 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14249 * paragraph.C (getWord): removed.
14251 * BufferView_pimpl.C (Dispatch): use last word or selection for
14252 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14254 * lyx_main.C (queryUserLyXDir): do not ask before creating
14255 user_dir, except if it has been named explicitely.
14257 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14259 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14260 a document of zero size.
14262 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14264 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14265 approriately in the c-tor and in require().
14266 (getPackages): output the appropriate LaTeX for natbib support.
14268 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14269 variables "use_natbib" and "use_numerical_citations" when reading the
14271 (readInset): read the various natbib cite commands.
14272 (validate): white-space change.
14274 * bufferparams.[Ch]: new variables "bool use_natbib" and
14275 "bool use_numerical_citations".
14276 (writeFile): output them in the LyX file.
14278 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14280 * lyxfunc.C (getStatus): add support for all the inset insertion
14283 * text2.C (insertInset):
14284 * paragraph.C (insetAllowed):
14285 * BufferView_pimpl.C (insertInset): update to take in account the
14286 renaming of insertInsetAllowed
14288 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14290 * text2.C (getInset): new method. returns inset at cursor position.
14292 * BufferView_pimpl.C (Dispatch): changes because of this.
14294 * LyXAction.C (init): rename open-stuff to inset-toggle.
14296 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14298 * text2.C (toggleInset): renamed from openStuff; use
14301 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14303 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14305 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14307 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14309 * buffer.C (readLyXformat2): Add filename to the error dialog
14311 2001-07-18 Juergen Vigna <jug@sad.it>
14313 * tabular.C (GetCellNumber): put an assert here instead of the check!
14315 2001-07-17 Juergen Vigna <jug@sad.it>
14317 * BufferView_pimpl.C (toggleSelection): adapted too.
14319 * text.C (selectNextWord): adapted for use with insets.
14320 (selectSelectedWord): ditto
14322 2001-07-17 Juergen Vigna <jug@sad.it>
14324 * sp_spell.C (PSpell): fix initialitation order.
14326 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14328 * paragraph.C: spacing
14330 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14332 * sp_spell.C: repair language selection for pspell
14334 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14336 * lyxfunc.h: change more methods to begin with lower char.
14338 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14340 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14341 for unknown layouts.
14343 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14345 * buffer.C (readLyXformat2): Generate an error dialog if there are
14348 2001-07-16 Juergen Vigna <jug@sad.it>
14350 * sp_spell.C: always compile ISpell part.
14352 * lyxrc.C: added use_pspell entry and it's handling.
14354 2001-07-13 Juergen Vigna <jug@sad.it>
14356 * sp_spell.C: removed double includes.
14358 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14360 Consistent use of Lsstream.h:
14361 * Lsstream.h: added using std::stringstream for consistencies sake.
14363 * buffer.C: removed using std::stringstream
14365 * lyxfont.C (stateText):
14366 * paragraph.C (asString):
14367 * text.C (selectNextWord, selectSelectedWord):
14368 * text2.C (setCounter):
14369 * vspace.C (asString, asLatexString):
14370 std::ostringstream -> ostringstream.
14372 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14374 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14375 * commandtags.h: add LFUN_HELP_ABOUTLYX
14376 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14378 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14380 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14382 * lyx_gui_misc.C: remove spellchecker
14383 * lyxfunc.C: showSpellchecker
14385 * sp_ispell.h: added
14386 * sp_pspell.h: added
14387 * sp_spell.C: added
14388 * sp_form.[Ch]: removed
14389 * spellchecker.[Ch]: removed
14391 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14393 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14395 (simpleTeXSpecialChars): Simply print the input character without
14396 any special translation if pass_thru is set.
14398 * layout.h: Added bool pass_thru to layout class for being able to
14399 implement pass through of a paragraph for Literate Programming.
14401 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14402 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14403 * layout.C (Read): add "passthru" to list of layout tags and add
14404 code to set the pass_thru boolean when it is read.
14406 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14408 * trans_decl.h: remove allowed from KmodInfo
14410 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14411 remove allowed code
14414 * paragraph_pimpl.C (erase): use boost::prior
14416 * Painter.C (text): use data() instead of c_str() when length is
14418 * WorkArea.C (putClipboard): ditto
14419 * font.h (width): ditto
14421 * BufferView2.C: use it-> instead of (*it). for iterators
14423 * paragraph_pimpl.C: ditto
14424 * paragraph.C: ditto
14425 * minibuffer.C: ditto
14426 * language.C: ditto
14428 * encoding.C: ditto
14429 * counters.C: ditto
14430 * converter.C: ditto
14432 * Variables.C: ditto
14433 * TextCache.C: ditto
14434 * MenuBackend.C: ditto
14435 * LyXAction.C: ditto
14437 * FloatList.C: ditto
14438 * DepTable.C: ditto
14439 * ColorHandler.C (LyXColorHandler): ditto
14441 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14443 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14445 * text2.C (openStuff): reintroduce this method (which had been
14446 nuked in NEW_INSETS frenzy).
14448 * lyxfunc.C (Dispatch): when an action has not been handled, use
14449 its name in the error message, not its number.
14451 * paragraph.C (inInset): change method name to begin with lowercase.
14454 * text2.C: updates because of this.
14456 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14458 * ToolbarDefaults.C (add): add spaces in error message
14460 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14462 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14463 (readLyXformat2): rename return_par to first_par, use lyxlex's
14464 pushToken and remove the manual push handling.
14465 (parseSingleLyXformat2Token): add another ert comp. variable:
14466 in_tabular, rename return_par to first_par. handle newlines better
14468 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14470 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14472 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14474 * text2.C (getParFromID): removed
14476 * buffer.C (getParFromID): new method moved form lyxtext.
14477 * BufferView2.C (insertErrors): adjust
14478 (setCursorFromRow): adjust
14479 * BufferView_pimpl.C (restorePosition): adjust
14480 * lyxfunc.C (Dispatch): adjust
14481 * undo_funcs.C (textUndo): adjust
14483 (textHandleUndo): adjust
14484 (textHandleUndo): adjust
14486 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14488 * buffer.C: up' the LYX_FORMAT
14490 * lyxfont.h: turn NO_LATEX on as default
14492 * buffer.C (insertErtContents): new methods of tex style compability.
14493 (parseSingleLyXformat2Token): use it several places.
14494 * tabular.C (OldFormatRead): and here
14496 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14498 * text2.C: remove some commented code.
14501 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14502 * trans.C: changes because of the above.
14504 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14506 * text2.C (setCounter): Fix counters bug with bibliography layout.
14508 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14510 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14511 own member functions
14512 (simpleTeXSpecialChars): ditto
14514 2001-07-06 Juergen Vigna <jug@sad.it>
14516 * a lot of files: changed the access to LyXText::status and the
14517 call of undo-functions.
14519 * undo.[Ch]: added a inset_id to the undo informations.
14521 * undo_funcs.[Ch]: added and moved here all undo functions.
14523 * lyxtext.h: give the status enum a weight, made status_ a private
14524 variable and made accessor functions for it, removed the whole bunch
14525 of undo-functions as they are now in their own file, make some
14526 functions publically available. Added function ownerParagraph with
14529 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14530 made InInset() a const function, added getParFromID() function.
14532 * buffer.[Ch]: added const version for inset_iterator functions,
14533 added getInsetFromID() function.
14535 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14536 changed undo functions for new version.
14538 2001-07-05 Juergen Vigna <jug@sad.it>
14540 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14541 unknow mechanism does not call the proper constructor but only this
14542 one also if I request the other!?
14544 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14546 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14548 * text2.C (LyXText): use initialization lists.
14550 * lyxtext.h (Selection): initialize set_ and mark_
14551 (init): remove method
14553 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14555 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14557 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14559 * screen.[Ch]: change method names to begin with lowercase
14561 * BufferView_pimpl.C (updateScrollbar): simplify further and
14562 hopefully make it a bit faster.
14564 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14566 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14567 calling directly xforms functions.
14569 * Painter.C (Painter):
14570 * lyx_cb.C (MenuWrite):
14571 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14574 * lyx_gui.C: remove bogus guiruntime extern declaration.
14576 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14578 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14580 (redoDrawingOfParagraph): ditto
14581 (redoParagraphs): ditto
14582 (cutSelection): don't create a object for CutAndPaste use the
14583 static method directly
14584 (pasteSelection): ditto
14586 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14589 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14591 * modifications to some other files because of this.
14593 * Makefile.am (lyx_SOURCES): add XFormsView
14595 * XFormsView.[Ch]: new files
14597 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14598 the main window. Move the gui dependent stuff to XFormsView
14600 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14602 * tabular.C (GetCellInset): update cur_cell also in the row/col
14603 version of this function.
14605 * lyxfunc.C: no need to include figure_form.h here.
14611 * lyxvc.C: no need to include forms.h here.
14613 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14615 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14617 * lyxfunc.C (Dispatch):
14619 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14620 constructor argument.
14622 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14624 * paragraph.C (Paragraph): dont't clear, and just set layout.
14625 (makeSameLayout): use params's copy contructor.
14627 * ParagraphParameters.[Ch] (makeSame): delete method
14629 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14631 * Variables.[Ch]: fix indentation, rename set to isSet
14633 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14635 * lyxfunc.C (Dispatch): fix typo
14637 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14639 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14642 * bufferlist.C: include assert.h for emergencyWrite().
14644 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14646 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14647 give up at last (bug #425202) !
14649 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14655 * spellchecker.C: strip spellchecker options and bring up
14656 preferences tab instead
14658 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14660 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14661 the istringstream constructor
14663 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14665 * paragraph.C (getLayout): fix return value
14667 * paragraph.h: do not declare getLayout as inline.
14669 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14671 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14673 * lyxcursor.h (operator<): new func
14674 (operator>): new func
14675 (operator>=): new func
14676 (operator<=): new func
14678 * text.C (changeCase): use selection.start and selection.end
14679 (changeRegionCase): require from to be <= to. Require par to be a
14682 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14684 2001-06-27 Juergen Vigna <jug@sad.it>
14686 * text.C (cursorLeftOneWord): changed to return the cursor and added
14687 overlay with BufferView * parameter which calls this one.
14689 (selectWord): use new getWord function.
14690 (changeCase): renamed from changeWordCase as and extended to work
14691 also on selections.
14693 * lyxtext.h: added enum word_location
14695 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14696 changeCase as this operates now also on selections.
14698 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14700 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14702 * many files: send debug output to Debug::INFO instead of
14705 * converter.C (View):
14707 (Move): send debug output to Debug::FILES instead of console.
14709 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14711 * lyxfunc.C (getStatus): use func_status
14713 * func_status.h: new header, describing the results of
14714 LyXFunc::getStatus;
14716 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14719 2001-06-25 The LyX Project <jug@sad.it>
14721 * buffer.C (sgmlOpenTag):
14723 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14725 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14727 * text2.C: remove some dead code
14729 * tabular.C (GetCellInset): store the last cell checked (gotten)
14731 * tabular.h: add the helper for the speedup
14733 * lyxtext.h: remove some dead code
14735 2001-06-26 The LyX Project <Asger>
14737 * paragraph.C: Change export to LaTeX of alignment to
14738 \begin{center} and family for better roundtrip work with reLyX.
14740 * Tune the math drawing a bit.
14742 2001-06-25 The LyX Project <Asger>
14744 * LColor.C (LColor): New color for math background. New color
14747 2001-06-25 The LyX Project <jug@sad.it>
14749 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14751 * lyxfunc.C (Open):
14752 * bufferlist.C (newFile): do not restrict to files ending with
14755 * BufferView_pimpl.C (MenuInsertLyXFile):
14757 2001-06-24 The LyX Project <jug@sad.it>
14759 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14762 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14764 * lyxtext.h: rename most methods to begin with a small char.
14765 Lots of changes because of this.
14767 * paragraph.C (Paragraph): do not call fitToSize
14768 (erase): call Pimpl::erase
14769 (insertChar): call Pimpl::insertChar
14770 (insertInset): call Pipl::insertInset
14771 (breakParagraph): do not call fitToSize
14772 (breakParagraphConservative): do not call fitToSize
14773 (fitToSize): remove method
14775 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14777 2001-06-24 The LyX Project <Asger>
14779 * Fix Qt compilation^2
14781 2001-06-24 The LyX Project <jug@sad.it>
14783 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14784 depthHook(getDepth()-1).
14787 * ParagraphParameters.h:
14788 * ParameterStruct.h: change type of depth to unsigned int ==
14789 depth_type. Many adaptations to other files before of that.
14791 2001-06-24 The LyX Project <Asger>
14793 * Fix Qt compilation.
14795 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14797 * paragraph.h: renamed several methods to begin with small letter.
14798 several changes to many parts of the code because of this.
14800 2001-06-23 The LyX Project <jug@sad.it>
14802 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14803 rewritten to discard all double spaces when KeepEmpty is off
14804 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14805 to only handle newlines but not fiddle with spaces and friends.
14807 * lyxfunc.C (MenuNew): when doing 'new from template', use
14808 template_path as default directory
14810 2001-06-23 The LyX Project <Asger>
14812 * Clean-up of header file includes all over
14813 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14815 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14817 * paragraph.h: renamed from lyxparagraph.h
14819 2001-06-23 Asger <lyx@violet.home.sad.it>
14821 * Buffer.h: Removed Buffer::resize
14822 * BufferList.h: Removed BufferList::resize
14823 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14824 the document lazily when we change the width, or the font settings.
14826 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14828 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14830 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14832 * buffer.h: remove out of date comment
14834 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14837 * screen.C: fix "theoretical" GC leak
14839 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14841 * LaTeX.C (scanAuxFile):
14842 (deplog): remove trailing \r when reading stream (useful under
14845 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14847 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14848 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14849 and BufferView::theLockingInset(Inset*), so should use them and not
14850 access bv_->text->the_locking_inset directly.
14852 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14854 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14857 * tex-defs.h: remove old unused file
14859 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14861 * BufferView_pimpl.C: fix typo, remove minibuffer message
14862 when buffer has loaded
14864 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14866 * lyxfunc.C (Dispatch): use stringstream
14867 (MenuNew): use stringstream
14868 (Open): use stringstream
14870 * importer.C (Import): use stringstream
14872 * bufferview_funcs.C (CurrentState): use stringstream
14874 * LaTeX.C (run): use stringstream
14876 * BufferView_pimpl.C (savePosition): use stringstream
14877 (restorePosition): use stringstream
14878 (MenuInsertLyXFile): use stringstream
14880 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14893 * vspace.C: removed // -*- C++ -*- as first line.
14896 * version.h: added // -*- C++ -*- as first line.
14898 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14900 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14902 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14905 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14907 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14910 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14912 * gettext.C: include LString.h even when --disable-nls is on.
14914 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14916 * converter.h (Get): changed argument type from int to
14917 FormatList::size_type to avoid unnecessary conversion.
14919 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14922 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14924 * gettext.h: include LString.h even when --disable-nls is on.
14926 2001-06-07 Juergen Vigna <jug@sad.it>
14928 * text.C (BreakAgain): subst spaces with tabs.
14930 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14931 (resizeInsetsLyXText): set force on resizeLyXText.
14933 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14935 * gettext.h (gettext_init):
14936 (locale_init): use a real definition instead of a macro
14938 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14940 * Bufferview_pimpl.C:
14942 * LColor.C: further lcolor tidies
14944 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14946 * BufferView_pimpl.C (updateScrollbar): simplify.
14948 * BufferView2.C: don't include insets/insetinfo.h, change
14949 prototype for insertInset and call the Pimpl version. let
14950 updateInset call Pimpl version.
14952 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14953 gotoInset to BufferView::Pimpl
14955 2001-06-01 Juergen Vigna <jug@sad.it>
14957 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14958 inside a LockingInset (is the update needed at all?).
14960 2001-05-31 Juergen Vigna <jug@sad.it>
14962 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14963 here not the old one otherwise how should we compare it afterwards
14966 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14971 * FontInfo.C: bring C functions into global namespace when
14974 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14976 * LString.h: make sure config.h has been loaded before LString.h.
14978 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14979 (one for each char read by EatLine!).
14981 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14984 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14986 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14987 to the same as the par we break from
14989 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14991 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14993 * MenuBackend.C (expand): also create menu entries for wide
14994 versions of the floats.
14996 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14998 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15000 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15001 frontends/Makefile.am
15007 * tabular.C (getTokenValue): add std::
15009 * tabular-old.C (getTokenValue): add std::
15010 (getTokenValue): ditto
15011 (getTokenValue): ditto
15013 * screen.C (ToggleSelection): adjust
15015 * lyxtext.h: put selection cursors inside a Selection struct.
15017 * lyxfunc.C (moveCursorUpdate): adjust
15019 * lyxfont.C (latexWriteStartChanges): add std::
15021 * lyxfind.C: adjust
15023 * font.h: delete with(char const *, LyXFont const &)
15025 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15027 * FontInfo.C (getFontname): add std::
15029 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15030 (workAreaButtonPress): adjust
15031 (tripleClick): adjust
15033 (moveCursorUpdate): adjust
15036 * BufferView2.C (gotoInset): adjust
15038 2001-05-30 Juergen Vigna <jug@sad.it>
15040 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15041 to check pspell I add this as default as I now have new pspell
15042 libraries and they seem to use this.
15044 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15046 * text2.C (CutSelection): make the cursor valid before the call to
15049 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15051 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15052 relied on 0 terminated strings and other horrors. Bug found due to
15053 the new assert in lyxstring!
15055 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15058 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15060 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15063 * lyxfunc.C (processKeySym): change method of getting to the
15066 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15067 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15068 * BufferView_pimpl.[Ch]: here as private methods.
15070 2001-05-28 Juergen Vigna <jug@sad.it>
15072 * text.C (SetHeightOfRow): added the update() call again as it is
15073 needed to initialize inset dimensions!
15075 2001-05-16 Juergen Vigna <jug@sad.it>
15077 * text2.C (SetCharFont): Add new function with BufferView * and
15078 bool toggleall parameters for setting insets internal fonts.
15079 (SetFont): Freeze the undo as we may change fonts in Insets and
15080 all this change should be inside only one Undo!
15082 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15083 setting font's in insets as for them we have the SetFont function!
15085 2001-05-15 Juergen Vigna <jug@sad.it>
15087 * text2.C (ClearSelection): to be sure we REALLY don't have any
15090 * tabular.C (TeXCellPreamble): fixed the left border problem for
15093 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15095 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15098 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15100 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15101 LFUN_BREAKPARAGRAPH.
15103 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15104 help test to "internal only", similar for LFUN_INSERT_URL
15106 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15107 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15108 auto_region_delete and deadkeys.
15110 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15113 * LColor.C: remove some dead entries, tidy a little
15115 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15117 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15119 (Dispatch): implement LFUN_ESCAPE
15121 * commandtags.h: add LFUN_ESCAPE
15123 * LyXAction.C (init): add entry for LFUN_ESCAPE
15125 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15126 Remove commented code.
15127 (insertNote): moved here
15128 (open_new_inset): moved here
15130 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15133 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15135 * kbmap.C (findbinding): clean it up and make it work correctly.
15137 * lyx_main.C (init): do not pass argc and argv as parameters
15139 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15141 * buffer.C: fix path for OS/2 & Win32
15145 * lyx_main.C: Added os:: class.
15147 * os2_defines.h: update
15149 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15151 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15152 better by trying again with reduced state.
15154 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15156 * lyxrc.C (read): print error about invalid key sequence only when
15157 debugging (because not all latinX keysyms are known to some X
15160 * kbsequence.C (getiso): add a few std:: qualifiers
15161 (getiso): comment out extra return statement.
15163 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15165 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15167 (Dispatch): enhance the accent inset a bit. (not perfect)
15169 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15171 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15173 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15175 * bufferlist.C (emergencyWrite): fix assert() call
15177 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15179 * text.C (InsertChar): Added trivial patch to only send the "you
15180 can not do multiple spaces this way" message once during a
15183 2001-05-08 Baruch Even <baruch@lyx.org>
15185 * Makefile.am: Changed order of libraries to get LyX to link properly
15186 with the gnome frontend.
15188 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15190 * LaTeXFeatures.h: add a std:: qualifier
15192 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15194 * paragraph.C (String): use stringstream
15196 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15198 * paragraph.C (writeFile): remove footflag arg
15200 * buffer.C (makeLaTeXFile): use stringstream
15201 (latexParagraphs): remove footnot gurba
15203 * LaTeXFeatures.C (getPackages): use stringstream
15204 (getMacros): likewise
15205 (getTClassPreamble): likewise
15206 (getFloatDefinitions): new method
15208 * paragraph.C (writeFile): reindent
15211 * WorkArea.h: revert the xpos + etc changes.
15213 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15215 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15217 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15218 (pasteSelection): likewise
15219 * text2.C (CreateUndo): likewise
15221 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15223 * minibuffer.C (peek_event): temporarily reduce the functionality
15224 of the minibuffer (to allow args on lfuns)
15226 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15227 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15229 * buffer.C (readInset): add compability reading of old float
15230 lists, add reading of new style float list.
15231 (readInset): avoid reevaluation of inscmd.getCmdName()
15232 (getLists): reindent
15234 * MenuBackend.C (MenuItem): implement parsing of
15235 md_floatlistinsert and md_floatinsert.
15236 (expand::LastFiles): move initalizaton of iterators out of loop,
15237 avoid reevaluation.
15238 (expand::Documents): introduce typdedef vector<string> Strings,
15240 (expand::ExportFormats): introduce typedef vector<Format const *>
15241 Formats, and use it.
15242 (expand): implement FloatListInsert and FloatInsert.
15244 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15245 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15246 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15248 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15250 (Dispatch::LFUN_FLOAT_LIST): implement
15252 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15254 * LaTeX.C (run): Fix problem with --export code.
15256 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15258 * BufferView.[Ch] (workarea): removed.
15259 (getClipboard) new method; wrapper for workarea()->getClipboard()
15261 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15264 * WorkArea.h (width, height, xpos, ypos): These methods all
15265 returned the dimensions of the work_area sub-area of WorkArea,
15266 resulting in a position error if the WorkArea were resized. Now
15267 return the dimensions of the entire WorkArea.
15269 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15271 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15273 * LaTeX.C (deplog): correct the syntax of regex reg1
15275 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15277 * undo.C: remove !NEW_INSETS cruft
15279 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15281 * text2.C: remove !NEW_INSETS cruft
15283 * text.C: remove !NEW_INSETS cruft
15285 * tabular.C: remove !NEW_INSETS cruft
15287 * spellchecker.C: remove !NEW_INSETS cruft
15289 * lyxtext.h: remove !NEW_INSETS cruft
15291 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15293 * lyxfunc.C: remove !NEW_INSETS cruft
15295 * lyxfind.C: remove !NEW_INSETS cruft
15297 * lyx_cb.C: remove !NEW_INSETS cruft
15299 * figureForm.C: remove !NEW_INSETS cruft
15301 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15303 * buffer.[Ch]: remove !NEW_INSETS cruft
15305 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15307 * CutAndPaste.C: remove !NEW_INSETS cruft
15309 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15311 * BufferView2.C: remove !NEW_INSETS cruft
15313 * BufferView.h: remove !NEW_INSETS cruft
15315 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15317 * Lsstream.h: include LString.h before the sstream headers to
15318 fix problem with gcc 2.95.3 and lyxstring
15320 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15322 * lyx_main.C: add using directives when needed for C functions
15323 declared in std:: namespace.
15325 2001-04-27 Juergen Vigna <jug@sad.it>
15327 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15328 (SetHeightOfRow): comment out the update call should not be needed!
15330 2001-04-13 Juergen Vigna <jug@sad.it>
15332 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15333 (LyXTabular): tried to minimize operator= operations (and realized
15334 hopfully Lars wish).
15336 2001-04-27 Juergen Vigna <jug@sad.it>
15338 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15340 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15342 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15344 * buffer.C (readInset): hack to make listof algorithm work
15346 * BufferView_pimpl.C: hack to make listof algorithm work
15348 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15350 * LyXAction.C: removed all !NEW_INSETS cruft
15351 (init): moved lfun_item in method
15353 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15355 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15357 * BufferView2.C (theLockingInset): white space.
15359 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15361 * minibuffer.C: include <iostream>
15363 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15365 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15367 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15369 * text.[Ch] (TransposeChars): new method
15371 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15373 * call message directly through LyXView instead of through LyXFunc
15374 * BufferView2.C: adjust
15375 * BufferView_pimpl.C: adjust
15376 * FontLoader.C: adjust
15378 * bufferview_funcs.C: adjust
15379 * converter.C: adjust
15380 * figureForm.C: adjust
15381 * importer.C: adjust
15383 * lyx_gui_misc.C: adjust
15384 * lyxfunc.C: adjust
15387 + more files in subdirs
15389 * lyxparagraph.h (size): move up int file
15392 * adjust all uses of Assert to lyx::Assert.
15394 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15395 lyxfunctional in namespace lyx
15396 * layout.C (hasLayout): ditto
15399 (delete_layout): ditto
15400 (NumberOfClass): ditto
15401 * converter.C (GetFormat): ditto
15406 * bufferlist.C (getFileNames): ditto
15407 (emergencyWriteAll): ditto
15410 * MenuBackend.C (hasSubmenu): ditto
15413 * BufferView_pimpl.C (getInsetByCode): ditto
15415 2001-04-18 Juergen Vigna <jug@sad.it>
15417 * vspace.C (asLatexString): fixed the 100% problem.
15419 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15421 * lyxfunc.C (Dispatch):
15423 * minibuffer.h: add a few std:: qualifiers
15425 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15427 * minibuffer.[Ch]: reimplement so that commands is initiated and
15428 run from lyxfunc, simplified som handling, and made the completion
15429 and history code for complete. wip.
15431 * lyxfunc.C (processKeySym): call message
15432 (miniDispatch): new temporary method
15433 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15434 (LFUN_MESSAGE): implement
15435 (LFUN_MESSAGE_PUSH): implement
15436 (LFUN_MESSAGE_POP): implement
15437 (initMiniBuffer): the initial/defualt minibuffer message.
15439 * lyxfont.[Ch]: inline some more getters
15441 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15443 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15445 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15446 (AutoSave): use LFUN_MESSAGE
15447 (Reconfigure): ditto
15449 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15451 * figureForm.C: use LFUN_MESSAGE
15453 * converter.C (runLaTeX): use LFUN_MESSAGE
15455 * bufferview_funcs.C: use LFUN_MESSAGE
15457 (changeDepth): ditto
15459 * bufferparams.h: use boost::
15461 * bufferlist.h: inherit privately from noncopyable
15463 * bufferlist.C (loadLyXFile): remove some commented code.
15465 * buffer.C (runChktex): use LFUN_MESSAGE
15467 * ShareContainer.h: inherit privately from noncopyable
15469 * ParagraphParameters.[hC] (depth): inline it.
15471 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15473 (message): new method
15474 (messagePush): ditto
15475 (messagePop): ditto
15476 (show): init minibuffer
15477 (showState): direct call
15479 * LaTeX.[Ch]: inherit privately from noncopyable
15480 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15481 instead of WriteStatus.
15483 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15485 * BufferView_pimpl.C (buffer): don't init minibuffer
15486 (workAreaButtonPress): use LFUN_MESSAGE
15487 (workAreaButtonRelease): ditto
15488 (savePosition): ditto
15489 (restorePosition): ditto
15490 (MenuInsertLyXFile): ditto
15491 (workAreaExpose): don't init minibuffer
15492 (update): remove commented code, simplify
15494 * BufferView2.C (openStuff): use LFUN_MESSAGE
15495 (toggleFloat): ditto
15498 (copyEnvironment): ditto
15499 (pasteEnvironment): ditto
15504 (updateInset): remove some commented code
15506 * lastfiles.h: inherit privately from noncopyable
15509 * lyx_main.h: ditto
15511 * lyxlex_pimpl.h: ditto
15513 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15514 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15515 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15517 * LyXAction.h: inherit privately from noncopyable, add methods
15518 func_begin, func_end, returning iterators to the func map.
15520 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15521 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15522 (func_begin): new method
15523 (func_end): new method
15525 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15527 (copySelection): ditto
15528 (pasteSelection): ditto
15530 * BufferView.C: whitespace change
15531 * BufferView.h: inherit privately from noncopyable
15533 2001-04-16 Allan Rae <rae@lyx.org>
15535 * tabular-old.C (l_getline):
15536 * spellchecker.C (sc_check_word):
15537 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15538 an unrecognised preprocessor directive. So ensure they're wrapped.
15540 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15542 * src/exporter.C (Export): Give an error message when path to file
15545 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15547 * LaTeX.C (deplog): Always check that foundfile exists.
15549 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15552 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15554 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15556 * tabular.[Ch] (getLabelList): implement new method
15558 * minibuffer.h: comment ouf setTiimer
15560 * minibuffer.C (ExecutingCB): constify res
15561 (peek_event): constify s
15562 (Set): constify ntext
15563 (Init): constify nicename
15565 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15567 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15568 (savePosition): use two params to Minibuffer::Set
15569 (restorePosition): ditto
15571 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15573 * lyx_main.C: include language.h
15575 * Makefile.am (lyx_main.o): add language.h
15577 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15583 * CutAndPaste.C: include gettext.h
15585 * lyxfont.h: remove old hack with ON and OFF.
15588 * lyxfont.h: do not include language.h...
15593 * bufferview_funcs.C:
15599 * paragraph.C: ... but do it here instead
15601 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15603 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15605 * tabular.C: small reformat
15607 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15610 (BreakParagraph): ditto
15611 (SetOnlyLayout): ditto
15614 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15617 * lastfiles.C: removed most using decl, add std:: where needed
15619 * buffer.C: ws changes
15621 * MenuBackend.C (class compare_format): put into anon namespace
15622 (expand): constify label, names, action, action2
15625 * text.C (SingleWidth): constify font
15626 (IsBoundary): constify rtl2
15627 (GetVisibleRow): constify ww
15629 * LaTeX.C (deplog): constify logfile
15631 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15633 (workAreaExpose): constify widthChange, heightChange
15635 * lyxrow.C (par): moved
15638 * lyxrow.h: as inlines here
15640 * lyxfont.h (shape): moved from lyxfont.C
15641 (emph): moved from lyxfont.C
15643 * lyxfont.C (LyXFont): use initialization list for all
15645 (shape): move to lyxfont.h as inline
15646 (emph): move to lyxfont.h as inline
15649 2001-04-04 Juergen Vigna <jug@sad.it>
15651 * vspace.C: had to include stdio.h for use of sscanf
15653 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15656 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15657 independent of xforms.
15659 2001-04-02 Juergen Vigna <jug@sad.it>
15661 * spellchecker.C: fixed namespace placing!
15663 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15665 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15666 the LyXParagraph * is 0.
15668 2001-03-29 Juergen Vigna <jug@sad.it>
15670 * vspace.C: added support for %, c%, p%, l%.
15671 (stringFromUnit): added helper function.
15672 (asLatexString): changed to give right results for the %-values.
15674 * buffer.C: convert the widthp in a width%.
15676 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15678 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15681 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15682 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15684 * lyx_cb.[Ch]: see above.
15686 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15690 * lyx.[Ch]: replaced by figure_form.[Ch].
15694 * lyxfunc.C: changed headers associated with above changes.
15696 2001-03-27 Juergen Vigna <jug@sad.it>
15698 * BufferView_pimpl.C: set the temporary cursor right!
15700 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15702 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15704 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15706 * LString.h: removed "using std::getline"!
15708 * BufferView_pimpl.C (Dispatch): changes due to changes in
15709 InsetInclude::Params.
15711 * buffer.C (tag_name): removed redundant break statements as they were
15712 producing lots of warnings with my compiler.
15714 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15716 * LString.h: add "using std::getline" when using the real <string>.
15718 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15720 * buffer.C: removed bitset usage.
15721 PAR_TAG moved to an anonymous name space.
15722 (tag_name): new funtion, also in the anonymous namespace.
15723 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15724 (makeDocBookFile): clean code. Completed transition from string arrays
15726 (SimpleDocBookOnePar): code clean.
15728 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15730 * tabular.C: add some comments.
15732 2001-03-22 Juergen Vigna <jug@sad.it>
15734 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15735 compatibility read a bit and fixed bug with minipage in different
15738 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15740 * buffer.C (pop_tag): removed.
15741 (push_tag): removed.
15742 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15743 array replaced with vector. Added support for CDATA sections.
15744 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15746 (makeDocBookFile): XML conformant declaration of CDATA section,
15747 fixed bug related to <emphasis> in the first paragraph char.
15748 (sgmlOpenTag): exclude empty tags.
15749 (sgmlCloseTag): ditto.
15751 * buffer.h (pop_tag): removed.
15752 (push_tag): removed.
15754 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15756 * language.h (Languages): added size_type and size().
15758 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15760 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15761 response on compability reading of minipages. One probliem is that
15762 the old usage of minipages was «flertydig»
15764 * several files here and in subdirs: don't use static at file
15765 scope use anon namespaces instead.
15767 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15769 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15770 LaTeX output. This is necessary for Literate document
15773 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15775 * buffer.C: insert hfill when needed.
15777 * tabular.C (l_getline): use string::erase, small whitespace change.
15779 * BufferView_pimpl.C: try the anon namespace.
15780 * WorkArea.C: ditto
15782 2001-03-16 Juergen Vigna <jug@sad.it>
15784 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15785 otherwise it won't open options-dialogs.
15787 * buffer.C: honor pextraWidth(p) on converting minipages.
15789 * tabular.C (l_getline): changed the functions to strip trailing \r.
15791 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15793 * BufferView_pimpl.C:
15794 * minibuffer..C: added "using SigC::slot" declaration.
15796 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15798 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15804 * paragraph.C: ditto
15806 * lyxtext.h: NO_PEXTRA
15808 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15810 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15811 * ParameterStruct.h: ditto
15812 * ParagraphParameters.h: ditto
15813 * lyxparagraph.h: ditto
15815 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15817 * buffer.C: add compability for minipage alignment.
15818 (latexParagraphs): remove unwanted pextra check.
15820 * several files: remove CXX_WORKING_NAMESPACES
15822 * buffer.C (pop_tag): tie is in namespace boost
15824 * BufferView.h: noncopyable is in namespace boost
15826 * lyx_main.h: ditto
15829 * lastfiles.h: ditto
15830 * bufferlist.h: ditto
15831 * ShareContainer.h: ditto
15833 * LyXAction.h: ditto
15836 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15838 * Merging changes from BRANCH_MVC back into HEAD.
15840 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15842 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15844 * BufferView_pimpl.C: change from intl.C
15848 * Makefile.am: move combox.*
15854 * intl.C: remove dialog (covered by prefs)
15856 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15858 * lyxfunc.C (Dispatch): removed redundant break statement.
15860 2001-03-14 Juergen Vigna <jug@sad.it>
15862 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15864 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15866 * buffer.C: add hack to fix compability reading of minipages.
15868 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15870 * buffer.C (getLists): Cleanup.
15872 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15874 * lyxfont.C (update): don't honor toggleall on font size.
15876 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15880 * Makefile.am: moved to frontends/xforms/
15884 * BufferView_pimpl.C: changes for moved mathpanel
15886 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15888 * gettext.h: fix gettext_init() in --disable-nls
15890 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15892 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15894 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15897 * lyx.h: strip external form
15899 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15901 * BufferView_pimpl.C: add comment, destroySplash()
15903 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15905 * BufferView_pimpl.C:
15909 * lyxfunc.C: use re-worked insetinclude
15911 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15913 * buffer.C: add using std::stringstream.
15915 * lyx_cb.C: readd using std::ios.
15917 * buffer.C: add using std::map.
15919 * BufferView_pimpl.C: add using std::vector.
15921 * ShareContainer.h: add std:: to swap.
15923 * buffer.h: add some typedefs
15924 * buffer.C (getLists): use them
15925 (getLists): renamed from getTocList.
15926 add a counter for the different float types and use it in the
15928 (getLists): use the same counter for the NEW_INSETS and the "non"
15931 * lyx_cb.h: remove unused items, includes, using etc.
15933 * ShareContainer.h: remove some commented code, add more comments
15934 and "documentation".
15936 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15938 * buffer.C (getTocList): make the list also when NEW_INSETS is
15941 * buffer.h: remove TocType
15943 * buffer.C (getTocList): change to return a map<string,
15944 vector<TocItem> >, implement for dynamic number of list.
15946 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15947 * text2.C (PasteSelection): adjust
15948 * CutAndPaste.C (pasteSelection): adjust
15950 * FloatList.C (FloatList): update from the new_insets branch.
15951 * Floating.[Ch]: ditto
15952 * LaTeXFeatures.C: ditto
15954 * lyxlex_pimpl.C: ditto
15956 * paragraph.C (Last): remove when NEW_INSETS is defined.
15958 * other file: changes because of the above.
15960 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15962 * lyxparagraph.h: rename next to next_, previous to previous_,
15963 make them private for NEW_INSETS. Rename Next() to next(),
15964 Previous() to previous().
15966 * other files: changes because of the above.
15968 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15971 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15974 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15976 * main.C (main): pass lyx_localedir to gettext_init().
15978 * gettext.h: remove locale_init and gettext_init macros
15980 * gettext.C (locale_init): new function
15981 (gettext_init): new function
15983 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15986 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15988 * Moved credits to frontends:
15989 * credits.[Ch]: removed
15990 * credits_form.[Ch]: removed
15991 * lyx_gui_misc.C: remove credits stuff
15994 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15996 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15998 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15999 unneeded destructor.
16001 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16002 a standalone pointer again.
16004 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16006 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16012 * ToolbarDefaults.C:
16021 * BufferView_pimpl.C: use new file dialog in GUII
16024 * lyx_cb.C: remove LayoutsCB to Toolbar
16026 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16028 * ShareContainer.h (get): add std:: qualifier
16030 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16032 * ShareContainer.h: define a proper ShareContainer::value_type
16033 type (and use typename to please compaq cxx)
16035 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16037 * lyxparagraph.h: move serveral local vars to
16038 ParameterStruct/ParagraphParameters., use ShareContainer in
16039 FontTable., make vars in FontTable private and add getter and
16042 * paragraph.C: changes because of the above.
16044 * lyxfont.h: remove copy constructor and copy assignment. (the
16045 default ones is ok), move number inside FontBits. move inlines to
16048 * lyxfont.C: add number to initializaton of statics, move several
16049 inlines here. constify several local vars. some whitespace
16050 cleanup. Dont hide outerscope variables.
16052 * Spacing.h: add two new constructors to match the set methods.
16054 * ShareContainer.h: new file, will perhaps be moved to support
16056 * ParameterStruct.h: new file
16058 * ParagraphParameters.h: new file
16060 * ParagraphParameters.C: new file
16062 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16063 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16065 * BufferView_pimpl.C: ParagraphParameter changes.
16066 * buffer.C: Likewise.
16067 * bufferview_funcs.C: Likewise.
16068 * text.C: Likewise.
16069 * text2.C: Likewise.
16071 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16073 * lyxfind.C (LyXReplace): do not redefine default argument in
16075 (IsStringInText): ditto
16076 (SearchForward): ditto
16077 (SearchBackward): ditto
16079 2001-03-06 Juergen Vigna <jug@sad.it>
16081 * lyxfind.C (IsStringInText): put parentes around expressions.
16083 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16085 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16087 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16089 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16091 * stl_string_fwd.h: add comment
16093 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16096 * tabular.C: remove unused DocBook methods
16102 killed DO_USE_DEFAULT_LANGUAGE
16104 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16106 * lyx_gui.C: do not include language.h.
16108 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16109 arguments in function implementation.
16111 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16113 * BufferView_pimpl.C: add <ctime>
16115 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16117 * BufferView_pimpl.C: add using std::find_if
16119 2001-02-27 José Matos <jamatos@fep.up.pt>
16121 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16124 2001-02-11 José Matos <jamatos@fep.up.pt>
16126 * buffer.C (makeDocBookFile): command styles now have a parameter as
16127 "title" by default.
16129 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16131 * layout_forms.[Ch]: removed
16132 * lyx_cb.[Ch]: out character
16133 * lyx_gui.C: out character
16134 * lyx_gui_misc.C: out character
16135 * bufferview_funcs.C: : out character,
16136 added toggleall as parameter in ToggleAndShow
16138 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16140 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16142 * text2.C (SetCurrentFont): Disable number property at boundary.
16144 2001-02-26 Juergen Vigna <jug@sad.it>
16146 * lyxfunc.C (getStatus): added a string argument override function so
16147 that this is correctly called from LyXFunc::Dispatch if it contains a
16148 do_not_use_argument which is used!
16149 (Dispatch): added check for "custom" export and call appropriate func.
16151 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16153 * lyxrc.C: Add language_command_local, language_use_babel and
16154 language_global_options.
16156 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16158 * buffer.C (makeLaTeXFile): Use language_use_babel and
16159 language_global_options.
16161 2001-02-23 Juergen Vigna <jug@sad.it>
16163 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16164 which works with LyXText and putted it inside BufferView. Here now we
16165 only call for that part the BufferView::Dispatch() function.
16167 * BufferView.C (Dispatch): added.
16169 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16170 functions which needs to use a LyXText over from LyXFunc.
16171 (MenuInsertLyXFile): added
16172 (getInsetByCode): added
16173 (moveCursorUpdate): added
16174 (static TEXT): added
16176 2001-02-22 Juergen Vigna <jug@sad.it>
16178 * BufferView_pimpl.C (update): call a status update to see if LyXText
16181 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16183 * vc-backend.C (revert): implement for CVS
16184 (getLog): implement for CVS
16186 2001-02-20 Juergen Vigna <jug@sad.it>
16188 * text2.C (ClearSelection): added BufferView param for inset_owner call
16190 * lyxfunc.C (TEXT): added this function and use it instead of
16191 directly owner->view()-text of getLyXText().
16193 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16195 * src/layout_forms.C: out preamble
16196 * src/layout_forms.h: out preamble
16197 * src/lyx_cb.C: out preamble
16198 * src/lyx_cb.h: out preamble
16199 * src/lyx_gui.C: out preamble
16200 * src/lyx_gui_misc.C: out preamble
16201 * src/lyxfunc.C: connect with guii preamble
16203 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16205 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16207 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16209 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16210 whether to run bibtex.
16212 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16214 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16216 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16218 * Makefile.am (lyx_SOURCES): removed bibforms.h
16220 * vspace.h: doxygen
16222 * text.C (GetVisibleRow): make several local vars const
16224 * tabular.C: small cleanup.
16226 * lyxserver.C (callback): use compare instead of strncmp
16228 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16229 inlines to after class or to paragraph.C
16231 * lyxfont.h: remove friend operator!=
16233 * converter.h: move friend bool operator< to non friend and after
16236 * combox.h: small cleanup
16238 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16239 to inlines after class def.
16241 * buffer.C (pop_tag): use string operations instead of strcmp
16243 * bmtable.c: doxygen, small cleanup
16245 * LaTeX.h: remove friend operator==
16247 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16259 * BufferView_pimpl.C:
16260 * BufferView.[Ch]: remove cruft
16262 2001-02-14 Juergen Vigna <jug@sad.it>
16264 * lyxfunc.C: removed #if 0 unused code
16266 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16268 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16270 * text2.C (SetSelection): added a BufferView * parameter
16272 2001-02-13 Juergen Vigna <jug@sad.it>
16274 * lyxfunc.C (Dispatch): fixed protected blank problem.
16275 * BufferView2.C (protectedBlank): added LyxText * parameter.
16277 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16278 (AppendColumn): same as above for column_info.
16280 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16281 (moveCursorUpdate): use a LyXText param for support of InsetText.
16283 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16284 (tripleClick): ditto
16286 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16288 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16290 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16292 * text2.C (SetSelection): set correct update status if inset_owner
16293 (ToggleFree): ditto
16295 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16297 * tabular.C: remove some commented code.
16299 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16301 * BufferView_pimpl.C: call hideSplash()
16303 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16306 * bibforms.h: remove
16309 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16310 add LFUN_CHILD_CREATE
16312 * counters.h: fix tiny typo
16317 * lyx.C: move splash to frontends/xforms/
16319 * lyx_gui_misc.C: move Include and Bibform to frontends
16321 * lyxvc.h: clarify comment
16323 * vspace.C: tiny housekeeping
16325 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16327 * text.C (PrepareToPrint): RTL Fix.
16329 * paragraph.C (GetUChar): New method.
16330 (String): Use GetUChar.
16332 * buffer.C (asciiParagraph): Use GetUChar.
16334 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16336 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16338 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16341 * buffer.C: rename to getLogName(), handle
16342 build log / latex log nicely
16344 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16347 * MenuBackend.h: remove support for reference menuitem type.
16349 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16351 * BufferView_pimpl.C: housekeeping
16352 * BufferView_pimpl.h:
16357 * minibuffer.h: move Timeout GUI-I
16359 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16361 * lyxrc.C (read): Update converters data-structures.
16363 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16365 * LaTeX.h (operator!=): add operator != for Aux_Info
16367 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16369 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16371 * LaTeXLog.C: deleted, useful code moved to Buffer
16374 * buffer.C: new function getLatexLogName()
16380 * lyxfunc.C: use frontends for LaTeX and VC logs
16382 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16384 * LaTeX.h: yet another std:: that Allan forgot.
16386 * Variables.C (set): renamed from isset(), because this clashes
16387 with some HP-UX macros (grr).
16389 2001-02-06 Allan Rae <rae@lyx.org>
16391 * LaTeX.h: Another bug fix. Missing std:: this time.
16393 2001-02-04 Allan Rae <rae@lyx.org>
16395 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16396 floats problem. I've left it commented out because it's not quite
16397 correct. It should also test that the current object is a table or
16398 figure inset. But I haven't gotten around to figuring out how to do
16399 that. I *think* it'll be something like: "table" == inset.type()
16401 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16404 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16406 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16407 all the citation/databases/styles in the auxilary file.
16408 (run): Rerun latex if there was a babel language error.
16410 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16412 * text.C (Backspace): Preserve the font when changing newline char
16414 (BreakParagraph): If the cursor is before a space, delete the space.
16416 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16418 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16420 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16421 new argument (code).
16422 (ChangeCitationsIfUnique): New method.
16424 * paragraph.C (GetPositionOfInset): Handle bibkey.
16426 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16428 * BufferView_pimpl.h: change type of Position::par_pos to
16429 LyXParagraph::size_type.
16431 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16433 * BufferView_pimpl.C (savePosition, restorePosition): Write
16434 messages to minibuffer.
16436 2001-01-28 José Matos <jamatos@fep.up.pt>
16438 * buffer.C (makeDocBookFile): adds support for document language.
16439 A silly restriction on the name of LatexCommand types where removed.
16440 Added support for CDATA sections, allows to chars unescaped, used
16441 among others in code, to avoid escape < and >.
16443 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16445 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16446 saved positions instrad of a stack. Furthermore, a position is
16447 stored using paragraph id/paragraph position.
16449 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16450 Remove LFUN_REF_BACK.
16452 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16454 * converter.C (dvipdfm_options): New method.
16456 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16458 * vspace.C (isValidLength): Fix for empty input string.
16460 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16462 * LyXAction.C (init): change description of LFUN_FIGURE to
16465 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16467 * LaTeX.C: add using directive
16469 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16471 * MenuBackend.C (expand): Fix the sorting of the formats.
16473 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16475 * lyx_main.C: tiny error message fix
16477 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16479 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16480 calling fl_initialize(). This fixes the problem with ',' as
16481 decimal separator in text files.
16483 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16485 * trans.C (process): Fix the keymap bug.
16487 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16489 * LaTeX.C (scanAuxFiles): New method. Provides support for
16490 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16491 (scanLogFile) Scan for "run BibTeX" messages.
16493 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16494 OT1 font encoding. Also, load the aecompl package if the ae
16497 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16499 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16501 * texrow.C (increasePos): turn two error messages into debug
16504 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16506 * LaTeX.C (scanAux): Handle the \@input macro.
16507 (runBibTeX): Use scanAux().
16509 * language.C (latex_options_): New field.
16511 * LaTeXFeatures.C (getMacros): Add language macros.
16513 * buffer.C (makeLaTeXFile): Small fix.
16515 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16517 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16519 * text2.C: add a using directive.
16521 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16526 * lyxfunc.C: kill LyXBell.
16528 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16530 * text.C (IsBoundary): Remove the error message
16532 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16534 * lyxrc.C (setDefaults): Correct initialization value for
16537 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16539 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16542 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16543 and GotoNextNote().
16545 * src/LyXAction.C: Added reference-next.
16547 * text.C (InsertChar): Use contains instead of strchr.
16549 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16551 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16553 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16554 alignment commands (when needed).
16556 * text.C (InsertChar): Add ':' to number separator chars.