2 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
4 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
7 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
8 top_y_, merge fitcursor with update
9 (updateScrollbar, scrollDocView, fitCursor, center, update): new
12 (workAreaDispatch): adapt to new coord scheme
13 (redoCurrentBuffer): remove
15 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
17 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
20 * coordcache.[Ch]: add paragraph cache and helpers
22 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
25 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
26 (targetX, setTargetX): introduce
28 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
29 baseline -> ascent, as the rest of lyx
31 * lyxtext.h: remove redoParagraphs, updateParPositions,
32 fullRebreak, redoParagraphInternal. move dist to anon namespace in
33 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
34 have ascent/descent (ascent is ascent of first par)
36 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
39 * paragraph.[Ch]: unify dimension handling with the rest of lyx
41 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
43 * pariterator.C: fix infinite loop introduced in par->pit renaming
45 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
46 in insets and LyXText, draw two off-screen paragraphs using
47 NullPainter, and adapt to new coord scheme
51 * text3.C: adapt lfun handlers to the new coord scheme, which
52 means: there's only guaranteed coord information for onscreen pars
53 plus one above and one below. This implies that one can do search
54 from y coordinates in the range [-1,workHeight]
56 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
58 * rename a lot of InsetOld to InsetBase
60 2004-11-25 Angus Leeming <leeming@lyx.org>
64 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
66 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
68 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
69 call BufferView::getStatus if LCursor::getStatus did nothing
70 (setStatusMessage, getStatusMessage): removed.
72 * FuncStatus.C (message): new methods. Used to provide an error
73 message indicating why a command is disabled.
74 (clear, |=, FuncStatus): update for message.
76 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
78 * lyxfunc.C (dispatch): always call sendDispatchMessage
80 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
97 * undo.C: par->pit renaming
99 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
101 * tabular.C (cellstruct): use initialization, store a shared_ptr
102 to insettext instead of the insettext directly, adjust to fit.
103 (operator=): new function
105 (rowstruct): use initialization
106 (columnstruct): use initialization
107 (ltType): use initialization
110 * lyxlength.h (swap): new function
112 * LColor.[Ch] (operator=): use the common semantics
114 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
116 * lyxfind.C (findNextChange): update the bufferview after setting
119 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
121 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
122 number of InsetOptArgs has already been inserted.
124 * output_latex.C (latexOptArgInsets): new method. This outputs all
125 the optarg insets, up to the limit defined in the layout file.
126 (optArgInset): removed
127 (TeXOnePar): call latexOptArgInsets; correctly update texrow
129 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
131 * paragraph.C (isLetter): remove special spellchecker-related
132 code; return true also for digits
133 (isWord, isKomma): remove
135 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
136 * lyxfind.C (MatchString()): use isLetter instead of isWord
138 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
140 * pariterator.h (operatir=): comment out un-implemented member
143 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
146 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
148 * lyxfont.h: include LColor.h to satisfy concept checks.
150 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
152 * pariterator.h: add typdefs for value_type, difference_type,
153 pointer and reference to satisfy concept checks. Also add default
154 constructor for same reason.
156 * pariterator.C (operator++): add post-increment operator to
157 satisfy concept checks.
159 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
162 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
164 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
165 checks. Also rename base_type to BaseType to follow naming
168 * FloatList.h: include Floating.h to satisfy concept checks.
170 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
172 * lyxfunc.C (getStatus): when the origin of the request is menu or
173 toolbar, and the LyXView does not have focus, do as if there was
176 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
177 FuncRequest to individual entries of LFUN_SEQUENCE
179 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
181 * output_latex.C (TeXOnePar): override runparams.moving_arg
182 according to the needprotect value of the current paragraph (bug
185 * paragraph.C (simpleTeXOnePar): no need to override
186 runparams.moving_args here
188 2004-11-14 John Spray <spray_john@users.sourceforge.net>
190 * vspace.C: fix off-by-one-error, related to fix #1682
192 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
194 * lengthcommon.C: a more general fix for bug 1682
196 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
198 * text.C (backspace): fix crash
200 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
202 * format.[Ch] (getFormatFromFile): new method
203 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
205 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
209 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * lyxfunc.C (dispatch): remove the verbose argument
212 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
215 * kbmap.C (defkey): set the origin of func to KEYBOARD
217 * MenuBackend.C (MenuItem):
218 * ToolbarBackend.C (add): set the origin of func to UI
220 * funcrequest.[Ch]: add origin member, which indicates which part
221 of LyX requests an action
223 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
225 * converter.C (move): don't lie in the error message
226 * converter.h (isReachable, move): document
228 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
230 * buffer.C: remove unused using lyx::support::atoi
231 * paragraph_funcs.C: ditto
233 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
235 * bufferlist.C (exists): use bind and equal_to instead of
238 * lyxtextclasslist.C (NumberOfClass): ditto
240 * cursor.C (insert): use for_each instead of explicit for loop
242 * bufferlist.C (getFileNames): use std::transform and
243 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
245 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
248 * buffer.C (changeLanguage): use for_each instead of explicit for
250 (hasParWithID): implement using getParFromID
252 * LaTeXFeatures.C: ws change only
254 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
257 * BufferView_pimpl.C (trackChanges): use for_each instead of
260 2004-11-04 André Pönitz <poenitz@gmx.net>
263 * undo.C (textUndoOrRedo): fix crash when creating undo information.
265 * dociterator.C (asDocIterator): use hard assert again.
267 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
269 * lyxlength.C (asLatexString): rewrite so that it does not use
272 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
274 * text3.C (specialChar, dispatch): make sure cursor moves to the
275 right after inserting an inset
277 2004-11-02 José Matos <jamatos@lyx.org>
279 * output_docbook.C (docbook):
280 * paragraph.C (getID):
281 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
282 garantee that the output is always legal.
284 * tabular.C (docbook):
285 * outputprams.[Ch]: remove mixed contents.
287 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
289 * text2.C (setCounter): prevent endless loop
291 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
293 * exporter.C (copyFile): use the mover instead of support::copy()
294 * exporter.C (Export): pass format and latex name to copyFile()
295 * exporter.h (addExternalFile): document
296 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
298 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
300 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
302 2004-10-30 José Matos <jamatos@lyx.org>
304 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
305 text and no inset or font change. This allows to use CDATA
306 sections just for the whole paragraph.
308 2004-10-30 José Matos <jamatos@lyx.org>
310 * paragraph.C (getFirstWord): remove unused variable.
312 2004-10-30 José Matos <jamatos@lyx.org>
314 * paragraph.C (getFirstWord): the content should always be escaped
316 (simpleDocBookOnePar):
317 * output_docbook.C (makeEnvironment): replace reference to CDATA
320 2004-10-30 José Matos <jamatos@lyx.org>
322 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
324 2004-10-30 José Matos <jamatos@lyx.org>
326 * output_docbook.C (makeParagraphs):
327 * paragraph.[Ch] (emptyTag): for docbook and company, if the
328 standard paragraph has only a given type of content drop the wrapper.
330 2004-10-29 José Matos <jamatos@lyx.org>
332 * output_docbook.C (makeEnvironment):
334 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
336 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
338 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
339 (cleanID): sanitize any id.
341 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
343 * buffer.C, lyxlex_pimpl.C:
344 * lyxlex_pimpl.C (setFile):
345 s/getExtFromContents/getFormatFromContents/
347 2004-10-28 José Matos <jamatos@lyx.org>
349 * output_docbook.C (makeEnvironment): move id to broadest possible
352 * sgml.C (openTag): apply substitution of <> for all attributes.
354 2004-10-28 José Matos <jamatos@lyx.org>
356 * buffer.C (makeLinuxDocFile, makeDocBookFile):
357 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
358 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
360 * sgml.[Ch]: new version for open and closeTag for paragraph and
361 for strings. Now they handle the ids of paragraphs.
363 2004-10-26 Angus Leeming <leeming@lyx.org>
365 * Makefile.am: add mover.[Ch].
367 * converter.C (convert, move): use the new Movers to move external
368 files to the temp directory.
370 * lyx_main.C (init): ensure that the global system_movers data
373 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
376 * mover.[Ch]: new files, defining a Mover as a utility to move an
377 external file between directories and, if necessary, manipulate this
378 file using a helper script.
380 2004-10-25 José Matos <jamatos@lyx.org>
382 * output_docbook.C (makeCommand): merge two if's that tested the
385 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
387 * sgml.C (escapeString): fix warning in a better way
389 2004-10-25 José Matos <jamatos@lyx.org>
391 * sgml.C (escapeString): import the require boosts header file for
392 tie, and avoid a signed unsigned comparison.
394 2004-10-25 José Matos <jamatos@lyx.org>
396 * sgml.h: add #include <string>
398 2004-10-25 José Matos <jamatos@lyx.org>
400 * sgml.[Ch] (escapeString): new function to escape all the string.
402 2004-10-24 José Matos <jamatos@lyx.org>
404 * paragraph.[Ch] (getFirstWord): new function to get the first
405 word. Useful for description.
406 (simpleDocBookOnePar): remove depth argument, add another that
407 says where to start the paragraph.
409 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
410 use the new functions to fix cleanly the support for descriptions.
412 2004-10-24 José Matos <jamatos@lyx.org>
414 * buffer.C (makeLinuxDocFile, makeDocBookFile):
415 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
416 * output_linuxdoc.C (linuxdocParagraphs):
417 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
418 add buffer as argument.
420 2004-10-24 José Matos <jamatos@lyx.org>
422 * output_docbook.C (makeEnvironment, searchEnvironment): place
423 CDATA inside paragraphs and fix scope for listitems.
425 2004-10-24 José Matos <jamatos@lyx.org>
427 * output_docbook.C: remove using statement for stack.
429 2004-10-23 José Matos <jamatos@lyx.org>
431 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
432 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
433 docbook. The new scheme is recursive and makes use of iterators, the
434 same as latex export works.
435 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
436 directly with the paragraph contents. This code was moved up to
437 output_docbook.C (docbookParagraphs).
438 * sgml.C (openTag, closeTag): removed unneeded newlines.
439 (closeEnvTags) removed.
441 2004-10-23 André Pönitz <poenitz@gmx.net>
443 * undo.C (textUndoOrRedo):
444 * dociterator.C (asDocIterator): work around crash
446 * cursor.C (getStatus): replace ASSERT by more verbose error message
447 and manual correction of the problem. Should increase stability
448 while providing more sensible information.
450 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
452 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
454 * bufferlist.C (previous, next): new methods
457 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
459 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
461 * buffer.C (makeDocBookFile): add dsssl stylesheet control
462 entities to preamble.
464 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
466 * messages.C (Pimpl): strip off translation context information
468 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
470 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
471 the cursor is correct (bug 1694)
473 2004-10-13 José Matos <jamatos@lyx.org>
475 * output_docbook.C (docbookParagraphs): fix closing tags in the
478 2004-10-09 José Matos <jamatos@lyx.org>
480 * buffer.C: format up to 237.
481 * bufferparams.C (write): use tostr to convert booleans to strings.
483 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
485 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
487 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
489 * LaTeX.C: implement use of babel language in xindy.
491 2004-10-05 José Matos <jamatos@lyx.org>
493 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
494 Add new translators to help reading and writing the lyx file.
496 2004-10-05 José Matos <jamatos@lyx.org>
498 * ParagraphParameters.C (read):
499 * text.C (readParToken): replace nexToken by more appropriate lex
502 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
504 * LaTeX.C (runMakeIndex):
505 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
506 (usually 'makeindex') configurable.
508 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
509 with a variable rather than with a number.
511 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
513 * output_latex.C (TeXOnePar): make sure font setting is the first
514 thing that gets output (and the last at the end). Should fix bug
517 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
519 * pch.h: use proper signal include
521 * LaTeX.h: Use preferred calling of Boost.Signal
524 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
526 * pch.h: dont include <boost/function/function0.hpp>
528 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
530 * paragraph_pimpl.h: remove usage of ShareContainer
532 * paragraph_pimpl.C: remove initialization of ShareContainer.
534 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
538 * BufferView.C (putSelectionAt): change the semantics when
539 backwards == true: now, this just swaps cursor and anchor wrt the
542 * BufferView.h (putSelectionAt): add some documentation
544 * lyxfind.C (findBackwards): rewrite using while(). In particular,
545 make sure backwardChar is done at least once (to avoid getting
547 (findNextChange): use putSelectionAt in the forward direction
548 (operator()): use Paragraph::isWord
550 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
552 * Spacing.C (set): c_str fix
554 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
556 * lyx_cb.C (Reconfigure): quote the name of configure script in
557 case it contains spaces
559 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
563 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
564 (BOOST_LIBS): use top_buildir when looking for the file
566 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
568 * pch.h: do not use include boost/format.hpp, multiple symbols
569 will result (gcc bug)
572 2004-08-23 José Matos <jamatos@lyx.org>
574 * bufferparams.C (readToken): fix reading of the author field.
576 2004-08-20 José Matos <jamatos@lyx.org>
578 * lyxrc.C: remove support/translator.h inclusion since it is not used.
580 2004-08-20 José Matos <jamatos@lyx.org>
582 * lyxlex.[Ch] (findToken): remove function.
584 * ParagraphParameters.C (findToken):
585 * bufferparams.C (findToken): replace call for previous function
586 with local copy. This local function has one more argument, the
587 read string argument.
589 2004-08-16 José Matos <jamatos@lyx.org>
591 * ParagraphParameters.C (write):
592 * Spacing.C (writeFile):
593 * bufferparams.C (writeLaTeX):
594 * lyx_cb.C (Reconfigure):
595 * paragraph.C (write):
596 * tabular.C (write): remove unnecessary space at end of line.
599 2004-08-16 José Matos <jamatos@lyx.org>
601 * text.C (readParagraph): remove debug message.
603 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
605 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
608 * output_plaintext.C (asciiParagraph): set depth correctly
610 * outputparams.h: add member depth
612 * paragraph_funcs.C (ownerPar): remove.
614 * text2.C (setCounter): remove first_pit; comment out some
615 non-working code that uses ownerPar
617 * BufferView.C (getParentLanguage): remove. Not used anymore, and
620 2004-08-16 José Matos <jamatos@lyx.org>
622 * text.C (readParToken, readParagraph, read): report all unknown tokens.
623 For the same level of importance use the same chanel to report problems.
624 (read): add code to deal with \begin_body and \end_body.
627 2004-08-15 José Matos <jamatos@lyx.org>
629 * lyxlex.C (getString): fix comment, buffer::readBody is now
632 * tex-strings.C (string_papersize): Default -> default,
633 Custom -> custom, for consistency with other options.
635 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
639 * Makefile.am: support pch
641 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
643 * text.C (readParToken): remove the static LyXFont variable and
644 pass it as a parameter instead. This fixes a nasty bug where an
645 inset will be inserted with a bad font in some situations
646 (readParagraph): adapt
648 * text2.C (setCounter): reduce number of calls to pars_[pit]
650 * text.C (singleWidth): add an assert, fix a test
652 * rowpainter.C (paintText): reduce number of calls to singleWidth
654 * paragraph.C (isHfill):
657 2004-08-14 André Pönitz <poenitz@gmx.net>
662 * lyxtext.h (several functions): use a Paragraph & argument
665 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * metricsinfo.h: add a new field ltr_pos to PainterInfo
669 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
671 * text.C (singleWidth): remove useless test
673 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
675 * tabular.h: remove bogus comments
677 * tabular.C (getDescentOfRow):
678 (isPartOfMultiColumn): add assertions
680 * lyxlength.C (inPixels): remove #warning
682 2004-08-14 André Pönitz <poenitz@gmx.net>
684 * paragraph.h: inline getChar()
686 * BufferView.h: remove unused declarations
688 2004-08-14 José Matos <jamatos@lyx.org>
690 * Buffer.[Ch] (readDocument): new name for old readBody.
691 * Buffer.C: new file format, new keywords: \begin_document,
692 \begin_header, \begin_body, \end_body.
694 * bufferparams.C (readToken): replace all calls to lex.nextToken
695 by lex.next(). Do the same to eatLine except where really needed.
697 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
698 line when writing to the lyx file.
700 * output_plaintext.C (asciiParagraph): fix Bibliography style
703 * text.C (read): fix end of file handling.
705 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
707 * MenuBackend.C (Menu::operator[]): new method to access
708 individual menu items
709 (Menu::hasFunc): new method. search for an item that corresponds
711 (MenuBackend::specialMenu): new method
712 (MenuBackend::expand): if a special menu has been set, skip
713 entries whose func() appears in this menu
715 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
717 * text3.C: use Debug::DEBUG a bit more
719 * text.C (leftMargin): try to simplify a tiny bit change var x to
720 l_margin. Dont output the wide margins always.
721 (rightMargin): no margin in inner texts
723 * rowpainter.h (nestMargin): new func
724 (changebarMargin): new func
725 (rightMargin): new func
727 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
731 * factory.C (createInset): modify setDrawFrame
733 * cursor.C: use Debug::DEBUG a bit more
735 2004-08-14 André Pönitz <poenitz@gmx.net>
738 * Makefile.am: new files to accomodate an 'external' (x,y)-position
739 cache for all insets in (at least partially) visible (top-level)
742 * BufferView_pimpl.C: reset external coord cache before every update.
743 This means the coord cache only contains valid entries.
745 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
748 * BufferView_pimpl.C (getInsetByCode): move function out of class
749 and change in to a template in anon namespace. Also fix to do what
752 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
755 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
757 (breakParagraph): rename par to par_offset and use a local
758 reference. Add code to keep the language over a rebreak.
759 (breakParagraphConservative): rename par to par_offset, use a
761 (mergeParagraph): ditto
763 (isFirstInSequence): ditto
764 (outerFont): rename pit to par_offset
766 * paragraph.C: ws change
771 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
773 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
776 * paragraph.C (simpleTeXOnePar): when we have a \item with
777 optional argument, enclose the argument with curly brackets (in
778 case it contains a closing square bracket)
782 * text3.C (checkInsetHit): constify
784 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
786 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
789 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
791 Fix toggling of collapsable insets with the mouse (bug 1558)
793 * lyxfunc.C (dispatch): adapt to LCursor changes
795 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
796 make sure that dispatch is not invoked twice
798 * cursor.C (needsUpdate): new method
799 (dispatch): return void
800 (result): new method, to access the DispatchResult of the cursor.
802 2004-08-13 José Matos <jamatos@lyx.org>
804 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
806 2004-08-13 André Pönitz <poenitz@gmx.net>
808 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
810 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
813 2004-08-12 André Pönitz <poenitz@gmx.net>
815 * text3.C: take out the 'cursor right' form insertInset and only
816 do it in those places when it is really needed. Fixes crash on
819 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
821 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
823 * BufferView_pimpl.C (setBuffer): initialize the current font of
824 the underlying LyXText
826 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
828 * kbsequence.C (print): use UI native formatting for menu
831 * text.C (insertChar): call Paragraph::insertChar with a font
834 * paragraph.C (insertInset, insertChar): the version that takes a
835 LyXFont argument is now a wrapper around the other one (the
836 opposite used to be true).
838 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
839 argument. Font setting is done in Paragraph now.
841 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
843 * outputparams.h: add new members intitle and lang.
845 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
846 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
848 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
850 * text3.C (dispatch): remove special handling of button 4 and 5,
851 it is now taken care of in the frontend code.
853 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
855 * Spacing.h: add <string> (STLPort compile fix)
857 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
859 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
861 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
863 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
866 * converter.C (showMessage): inherit from unary_function, make
869 * buffer.C (writeFile): initialize retval
871 * InsetList.h: rename private variable list to list_
872 * InsetList.[Ch]: adjust accordingly.
874 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
876 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
877 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
878 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
879 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
880 * ParagraphParameters.C, LaTeXFeatures.C: replace
881 "support/std_sstream.h" with <sstream>
883 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
885 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
886 * lyxsocket.C (LyXServerSocket): ditto
887 (serverCallback): ditto
889 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
891 * LaTeXFeatures.C: check release date when loading jurabib.
893 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
895 * lyxserver.C (startPipe): call register_socket_callback
896 (endPipe): call unregister_socket_callback
898 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
900 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
901 (LyXServerSocket): register the callback
902 (LyXServerSocket): unregister the callback
903 (fd): delete function
904 (serverCallback): improve error checking and setup the callbacks.
905 (dataCallback): change arg to fd.
906 (writeln): new func (copied fro the client socket) used for server
908 (LyXDataSocket): simplify
909 (~LyXDataSocket): close ann unregiser callback
910 (server): delete function
911 (fd): delete function
912 (readln): small changes, improve some std::string usage
913 (writeln): constify a bit
915 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
917 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
920 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
922 * BufferView_pimpl.C (setBuffer): set the layout combox value only
923 after it has been populated
925 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
927 * text2.C (insertInset): move cursor when inserting inset.
929 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
931 * kbmap.C (findbindings): a couple of new methods. returns a
932 container of kb_sequence objects. The real work is done by the
933 private recursive version
934 (printbindings): uses findbindings to print out a bracketed list
935 of bindings (renamed from findbinding).
937 * MenuBackend.C (binding): use kb_keymap::findbindings
939 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
941 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
943 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
945 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
947 * paragraph.C (isWord): return true on insets that report
950 * text.C (getWord): use Paragraph::isWord to decide what is in a
951 word and what is not; fix bug 1609.
953 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
955 * tex-strings.C: add "none" to string_paperpackages[], fixes
956 off-by-one-error in the paperpackage selection.
959 * tex-strings.[Ch]: char const * string[n]
960 -> char const * const string[]
962 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
964 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
965 command, return early.
967 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
969 * debug.h: add DEBUG to enum and fix size of ANY.
971 * debug.C: add support for Debug::DEBUG
972 (showTags): cast errorTags.level to unsigned int
974 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
975 (redoCurrentBuffer): ditto
976 (updateScrollbar): ditto
977 * cursor.C (dispatch): ditto
978 * text2.C (setLayout): ditto
980 (updateCounters): ditto
982 (deleteEmptyParagraphMechanism): ditto
984 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
986 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
987 annotations to cleanup the Makefile slightly.
989 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
991 * lyxrc.C: do not set user_email to a default value but use empty
992 instead. The entry used to be translated, which does not work
993 since at the point where lyxrc is constructed there is no
994 translation service available
996 * messages.C (getLocaleDir): remove and use directly
997 lyx_localedir() instead
999 2004-06-02 Angus Leeming <leeming@lyx.org>
1001 Fix crash caused by dereferencing null pointer 'exportdata' in
1002 OutputParams by creating a new ExportData variable on the heap,
1003 storing it in a boost::shared_ptr.
1004 The crash was triggered when generating an Instant Preview
1005 of an external inset.
1007 * Makefile.am: add outputparams.C
1009 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1010 (c-tor): allocate memory to it.
1012 * exporter.C (c-tor): associated changes.
1014 2004-06-01 Angus Leeming <leeming@lyx.org>
1016 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1017 contains data before calling isInset(0). (Bug 1513.)
1019 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1021 * exporter.C (checkOverwrite): new method
1022 * exporter.C (copyFile): new method
1023 * exporter.C (Export): copy referenced files to the document dir
1024 * exporter.[Ch]: new class ExportedFile
1025 * exporter.[Ch]: new class ExportData. Contains currently the
1026 names of referenced external files
1027 * outputparams.h: add exportdata member.
1029 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1031 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1034 2004-05-19 Angus Leeming <leeming@lyx.org>
1039 * lyxfunc.C: small changes due to the introduction of namespace
1040 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1042 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1044 * text3.C (dispatch): supress update when only moving the cursor
1045 * cursor.C (selHandle): remove commented code
1047 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1049 * paragraph.C (startTeXParParams): correct column count
1050 * CutAndPaste.C (pasteSelection): remove const_cast
1051 * output_docbook.C (docbookParagraphs): remove const_cast
1052 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1053 const_cast and return ParagraphList::const_iterator
1054 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1055 * output_plaintext.C (writeFileAscii): remove const_cast
1056 * paragraph.[Ch] (simpleTeXOnePar): make const
1057 * paragraph_funcs.C (outerPar): use const iterators
1058 * paragraph_pimpl.C (validate): use const iterators
1059 * text.C (setHeightOfRow): use const iterators
1061 2004-05-17 Angus Leeming <leeming@lyx.org>
1064 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1066 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1067 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1068 if the citation engine has changed.
1070 2004-05-14 José Matos <jamatos@lyx.org>
1072 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1073 if the textclass does not provide it. Have it different for sgml and
1075 support the language of document.
1076 * output_docbook.C (docbookParagraphs):
1077 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1078 first anchor as the id of the paragraph, remove special case code.
1079 * sgml.C (escapeChar): escape only < & >.
1081 2004-05-14 Angus Leeming <leeming@lyx.org>
1083 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1084 dependencies on src/frontends/controllers/biblio.h. Define a
1085 CiteEngine_enum wrapper class to enable the enum to be forward
1088 2004-05-12 Angus Leeming <leeming@lyx.org>
1090 * buffer.C: up LYX_FORMAT to 234.
1091 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1092 use_numerical_citations with a single biblio::CiteEngine cite_engine
1094 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1096 2004-05-13 José Matos <jamatos@lyx.org>
1099 * converter.C (Converter, readFlags): add xml member.
1100 * outputparams.h: add XML flavor.
1101 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1103 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1105 * lyxfunc.C (dispatch):
1106 (getStatus): fix handling of LFUN_SEQUENCE
1108 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1110 * debug.C (showLevel): do not forget the end-of-line marker
1112 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1114 * kbmap.C (read): do not stop parsing a bind file when an error
1117 2004-04-29 Angus Leeming <leeming@lyx.org>
1122 * text2.C: wrap a bunch of #warning statements
1123 inside #ifdef WITH_WARNINGS blocks.
1125 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1127 * buffer.C: increment format to 233.
1129 2004-04-28 Angus Leeming <leeming@lyx.org>
1131 * BufferView_pimpl.C:
1134 s/updateToolbar()/updateToolbars()/
1135 s/Toolbar.h/Toolbars.h/
1137 2004-04-28 Angus Leeming <leeming@lyx.org>
1139 * BufferView.[Ch] (c-tor):
1140 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1141 No longer passes these data to the WorkArea generator.
1143 2004-04-28 Angus Leeming <leeming@lyx.org>
1145 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1147 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1149 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1151 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1153 * output_latex.C (TeXEnvironment): make sure that there is a line
1154 break before \end{foo} for the last paragraph of a document
1155 (TeXOnePar): if the paragraph is at the end of the document (or
1156 inset) and the language has to be reset, then make sure that the
1157 line break is _before_ the language command, not after (fixes bug
1158 1225); also make sure that the language reset command is the first
1159 thing after the paragraph (to ensure proper nesting of
1160 environments and thus fix bug 1404)
1162 2004-04-21 John Levon <levon@movementarian.org>
1165 * ToolbarBackend.C: make "name" be a programmatic name
1166 and a gui_name field.
1168 * lyxfunc.C: display the minibuffer on M-x
1170 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1172 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1175 2004-04-19 Angus Leeming <leeming@lyx.org>
1177 * BufferView_pimpl.C (setBuffer): changed preview interface.
1179 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1182 2004-04-19 John Levon <levon@movementarian.org>
1184 * BufferView_pimpl.C:
1185 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1187 2004-04-05 Angus Leeming <leeming@lyx.org>
1189 * text.C (redoParagraphs): add call to updateCounters(), thereby
1190 fixing the missing "Figure #:" label from the caption of a
1193 2004-04-13 Angus Leeming <leeming@lyx.org>
1195 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1196 cursor is clicked out of an inset.
1198 2004-04-13 Angus Leeming <leeming@lyx.org>
1200 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1201 than an InsetOld one.
1203 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1205 * format.[Ch]: add editor to Format
1206 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1207 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1209 2004-04-08 André Pönitz <poenitz@gmx.net>
1211 * metricsinfo.h: remove PainterInfo::width member
1213 2004-04-08 Angus Leeming <leeming@lyx.org>
1215 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1216 "\providecommand" rather than "\newcommand", thereby preventing
1217 clashes with packages that define "\boldsymbol" themselves.
1220 2004-04-08 Angus Leeming <leeming@lyx.org>
1222 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1223 thereby squashing an unnecessary warning.
1225 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1227 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1230 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1232 * BufferView.C (setCursor): call redoParagraph (some insets could
1234 (putSelectionAt): remove the 'double update' trick
1236 * BufferView_pimpl.C (fitCursor): call refreshPar
1237 (workAreaDispatch): remove an uneeded update call
1238 (dispatch): remove some manual update calls
1240 * cursor.[Ch]: remove cached_y_, updatePos
1241 (selHandle): set noUpdate when appropriate
1243 * lyxfunc.C (dispatch): track if we need an update
1245 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1247 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1248 (paintSelection): cheap optimization, do not call cursorX when not
1250 (paintPars): change signature
1253 (paintTextInset): adjust
1257 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1259 * lengthcommon.C: compilation fix: remove explicit array size from
1260 unit_name[] and friends
1262 2004-04-05 Angus Leeming <leeming@lyx.org>
1264 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1266 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1267 present only for the preferences dialog.
1268 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1270 2004-04-05 Angus Leeming <leeming@lyx.org>
1272 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1273 to enable the frontends to export changes to lyxrc correctly.
1275 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1277 2004-04-07 André Pönitz <poenitz@gmx.net>
1279 * cursor.[Ch] (selClear, adjust): remove math
1281 * cursor_slice.C: more agressive assert
1284 * BufferView_pimpl.C: rework mouse event dispatch
1291 2004-04-05 André Pönitz <poenitz@gmx.net>
1293 * cursor.[Ch] (valign, halign...): remove unneeded functions
1295 2004-04-05 Angus Leeming <leeming@lyx.org>
1297 * lyxlength.[Ch] (unit_name et al.): const-correct.
1299 2004-04-05 Angus Leeming <leeming@lyx.org>
1301 * BufferView_pimpl.C:
1310 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1312 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1314 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1316 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1318 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1319 * BufferView_pimpl.[Ch] (getStatus)
1320 * BufferView.[Ch] (getStatus): add
1321 * lyxfunc.C (getStatus): move lfuns handled in
1322 BufferView::dispatch to te function above
1323 * Cursor.C (setSelection): set selection() = true
1325 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1327 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1329 2004-03-31 Angus Leeming <leeming@lyx.org>
1331 * lyxfunc.C (dispatch): Fall through to the generic
1332 Dialogs::show("preamble").
1334 2004-03-31 Angus Leeming <leeming@lyx.org>
1336 * lyxfunc.C (dispatch): Fall through to the generic
1337 Dialogs::show("spellchecker").
1339 2004-03-31 Angus Leeming <leeming@lyx.org>
1341 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1344 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1349 * insetiterator.[Ch]:
1354 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1356 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1358 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1359 insets where we are putting the cursor.
1361 2004-03-31 Angus Leeming <leeming@lyx.org>
1364 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1366 * lyxrc.[Ch] (read, write): overloaded member functions taking
1367 a std::[io]stream arguments.
1369 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1371 2004-03-31 Angus Leeming <leeming@lyx.org>
1373 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1374 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1376 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1377 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1379 2004-03-31 Angus Leeming <leeming@lyx.org>
1381 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1382 the LFUN_ALL_INSETS_TOGGLE code.
1384 2004-03-30 Angus Leeming <leeming@lyx.org>
1386 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1387 has died. Fall through to the generic Dialogs::show("document").
1389 2004-03-30 Angus Leeming <leeming@lyx.org>
1392 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1393 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1395 * lyxfunc.C (getStatus, dispatch): define the actions for these
1396 lfuns. Little more than a cut and pste job from ControlDocument.C
1398 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1400 2004-03-30 Angus Leeming <leeming@lyx.org>
1403 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1404 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1406 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1407 open/closed state of ollapsable insets. Usage:
1409 all-inset-toggle <state> <name>, where
1410 <state> == "open" || "closed" || "toggle" and
1411 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1413 * lyxtext.h, text2.C (toggleInset): removed.
1415 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1416 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1417 now passes LFUN_INSET_TOGGLE to the found inset.
1419 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1420 is now invoked as "all-insets-toggle toggle branch".
1422 2004-03-30 Angus Leeming <leeming@lyx.org>
1426 * pariterator.[Ch]: added/corrected header blurb.
1428 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1430 * dociterator.[Ch]: add an inset_ member
1431 (backwardPos): implemented
1432 (backwardPos, forwardPos): use inset_ when the stack is empty.
1433 (doc_iterator_begin, doc_iterator_end): implemented
1434 * pariterator.[Ch]: adjust, add begin, end
1435 * insetiterator.[Ch]: adjust, add begin, end
1439 * BufferView_pimpl.C:
1440 * CutAndPaste.C: adjust
1442 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1444 * buffer.C: increment file format to 232.
1445 * LaTeXFeatures.C: add bibtopic package.
1446 * bufferparams.[Ch]: param \use_bibtopic.
1448 * lyxrc.[Ch]: add lyxrc bibtex_command
1449 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1451 * buffer.C: increment file format to 231.
1453 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1455 * dociterator.C: implement forwardPar
1456 * iterators.[Ch]: remove, replaced by
1457 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1459 * BufferView_pimpl.C:
1462 * bufferview_funcs.C:
1468 * Makefile.am: adjust
1470 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1472 * CutAndPaste.C (pasteSelection): fix 2 crashes
1473 (eraseSelection): fix a crash
1474 * paragraph_funcs.C: remove a warning
1476 2004-03-28 Angus Leeming <leeming@lyx.org>
1479 * LyXAction.C (init): new LFUN_PRINT.
1481 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1483 2004-03-27 Angus Leeming <leeming@lyx.org>
1486 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1488 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1490 2004-03-27 Angus Leeming <leeming@lyx.org>
1492 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1493 insetlist always contains non-null pointers to insets.
1495 2004-03-26 Angus Leeming <leeming@lyx.org>
1497 * src/BufferView_pimpl.C:
1498 * src/CutAndPaste.C:
1501 * src/output_plaintext.C:
1502 * src/outputparams.h:
1503 * src/paragraph_funcs.C:
1507 * src/frontends/controllers/ControlErrorList.C:
1508 * src/frontends/gtk/FileDialogPrivate.C:
1509 * src/frontends/gtk/GPainter.C:
1510 * src/frontends/gtk/GToolbar.C:
1511 * src/frontends/qt2/QRef.C:
1512 * src/mathed/math_scriptinset.C: squash compiler warnings.
1514 2004-03-26 Angus Leeming <leeming@lyx.org>
1516 * ispell.C (LaunchIspell::start):
1517 * lyx_cb.C (AutoSaveBuffer::start):
1518 invoke run(DontWait) rather than runNonBlocking().
1520 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1522 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1524 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1526 * kbsequence.C (print): adjust
1528 * kbmap.C (printKeySym): rename and change signature
1529 (printKey): use LyXKeySym::print()
1531 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1533 * undo.C: add using std::advance to compile for stlport
1535 2004-03-24 Angus Leeming <leeming@lyx.org>
1537 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1538 it leads to a crash when no buffer is present.
1540 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1541 Martin Vermeer <martin.vermeer@hut.fi>
1543 * lyxfunc.C (dispatch):
1544 * bufferparams.C (readToken): use the new LColor::setColor
1546 * LColor.[Ch] (setColor): new version that takes two strings as
1547 argument and creates a new color entry if necessary
1549 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1551 * buffer.C (makeLaTeXFile): if the main latex file that is
1552 processed is usually a subdocument of some master, then pretend
1553 for a while that it is actually the master
1555 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1557 * buffer.C (getLabelList):
1558 (getBibkeyList): use getMasterBuffer()
1559 (getMasterBuffer): new method. Returns the main document in the
1560 case where one is using included documents.
1562 2004-03-25 André Pönitz <poenitz@gmx.net>
1566 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1568 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1570 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1571 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1573 * ParameterStruct.h: merge with ParagraphParameters
1575 * lyxtext.h: remove LyXText::parOffset() and getPar()
1577 * text3.C: Remove all 'manual' update calls. We do now one per user
1578 interaction which is completely sufficient.
1582 * BufferView_pimpl.C:
1583 * FontIterator.[Ch]:
1585 * ParagraphParameters.[Ch]:
1590 * cursor_slice.[Ch]:
1597 * output_docbook.[Ch]:
1598 * output_latex.[Ch]:
1599 * output_linuxdoc.[Ch]:
1600 * output_plaintext.[Ch]:
1602 * paragraph_funcs.[Ch]:
1603 * paragraph_pimpl.[Ch]:
1611 * frontends/controllers/ControlDocument.C:
1612 * frontends/controllers/ControlErrorList.C:
1613 * frontends/controllers/ControlSpellchecker.C:
1616 * insets/insetbase.h:
1617 * insets/insetbibitem.C:
1618 * insets/insetbox.C:
1619 * insets/insetbranch.C:
1620 * insets/insetcaption.C:
1621 * insets/insetcharstyle.C:
1622 * insets/insetcharstyle.h:
1623 * insets/insetcollapsable.C:
1624 * insets/insetcollapsable.h:
1625 * insets/insetert.C:
1626 * insets/insetfloat.C:
1627 * insets/insetfoot.C:
1628 * insets/insetmarginal.C:
1629 * insets/insetnote.C:
1630 * insets/insetoptarg.C:
1631 * insets/insettabular.C:
1632 * insets/insettext.C:
1633 * insets/insettext.h:
1634 * insets/insetwrap.C:
1635 * mathed/math_mboxinset.C:
1636 * mathed/math_nestinset.C:
1637 * mathed/math_scriptinset.C:
1638 * mathed/math_scriptinset.h:
1641 2004-03-24 Angus Leeming <leeming@lyx.org>
1643 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1644 deal with any child processes that have finished but are waiting to
1645 communicate this fact to the rest of LyX.
1647 2004-03-24 Angus Leeming <leeming@lyx.org>
1649 64-bit compile fixes.
1651 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1652 (c-tor): pass lyx::pos_types rather than ints.
1654 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1657 * text.C (Delete): compile fix.
1658 (getPar): ensure that function declaration is the same as that in
1661 2004-03-23 Angus Leeming <leeming@lyx.org>
1663 * ispell.C (LaunchIspell):
1664 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1665 a boost::shred_ptr rather than a std::auto_ptr.
1667 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1669 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1670 handle LFUN_FILE_INSERT_*
1672 * lyxrc.C (setDefaults, getDescription, output, read):
1673 * lyxrc.h: remove ps_command
1675 2004-03-22 Angus Leeming <leeming@lyx.org>
1677 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1678 Ensure that error_handler is processed once only and that all data
1679 is saved before attempting to output any warning messages.
1681 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1683 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1685 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1687 2004-03-19 André Pönitz <poenitz@gmx.net>
1689 * cursor.[Ch] (reset): take main text inset as argument
1691 * BufferView: adjust
1692 * BufferView_pimpl.C: adjust
1694 * paragraph.[Ch]: fix completely broken operator=()
1696 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1698 * LColor.C (getFromLyXName): make sure that the color name is used
1701 2004-03-17 Angus Leeming <leeming@lyx.org>
1704 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1706 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1707 dialog and to kill a forked process.
1709 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1711 * text2.C (setCursorFromCoordinates): fix font problem
1713 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1715 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1716 bogus "rebuild cursor" code
1718 2004-03-11 André Pönitz <poenitz@gmx.net>
1720 * buffer.[Ch]: use InsetText instead of LyXText as container for
1723 * dociterator.[Ch]: drop the BufferView * member which is not needed
1724 anymore after the change to buffer.C
1726 * paragraph_funcs.C:
1730 * BufferView_pimpl.[Ch]:
1732 * cursor_slice.[Ch]: adjust
1734 * text3.C: fix bug in mathDispatch
1736 2004-03-08 André Pönitz <poenitz@gmx.net>
1738 * undo.[Ch]: use 'StableDocumentIterator' as base for
1741 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1744 * bufferparams.[Ch]: add jurabib support and param.
1746 * LaTeX.C: add FIXME/comment.
1748 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1750 * buffer.C: increment file format to 230.
1752 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1754 * cursor.C (dispatch): avoid infinite loops
1756 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1758 * rowpainter.C (paintSelection): fix x coordinates
1760 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1762 * text.C (rowBreakPoint): fix breaking before displayed insets
1764 2004-03-01 André Pönitz <poenitz@gmx.net>
1766 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1768 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1772 * BufferView_pimpl.C:
1780 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1786 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1787 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1789 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1791 * Bidi.[Ch] (computeTables): const correctness
1792 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1793 fill_hfill, fill_label_hfill and x from Row
1794 * lyxtext.h: prepareToPrint returns a RowMetrics
1795 * rowPainter.C: adjust
1796 * text.C (prepareToPrint): use width, not textWidth. adjust
1797 (redoParagraphInternal, cursorX): adjust
1798 * text2.C (getColumnNearX): adjust
1799 (init): put a default value to the top LyXText::width
1801 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1803 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1805 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1807 * lyxtext.h: add FontIterator class
1809 * text.C (FontIterator, operator*, operator->, operator++): add
1810 (rowBreakPoint, setRowWidth): adjust (fixing a
1813 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1815 * BufferView_pimpl.C (workAreaDispatch): allow also
1816 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1818 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1820 * text.C (rowBreakPoint): fix a bug showing with very large insets
1822 2004-02-25 André Pönitz <poenitz@gmx.net>
1825 * cursor.[Ch]: move some mathed specific code to mathed
1827 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1829 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1830 use_tempdir in preferences
1831 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1833 * lyx_main.C: ensure that tempdir is valid
1834 * lyxlex.h: correct typo
1835 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1836 * paragraph.[Ch] (isMultiLingual): make const
1837 * cursor.[Ch] (openable): make const
1839 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1841 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1843 2004-02-20 André Pönitz <poenitz@gmx.net>
1845 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1847 * cursor.[Ch]: prepare for localized getStatus()
1853 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1855 2004-02-20 André Pönitz <poenitz@gmx.net>
1857 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1859 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1861 * text2.C (setCursorFromCoordinates): switch to absolute coords
1863 (cursorDown): adjust
1864 * text3.C (dispatch): adjust
1866 2004-02-16 André Pönitz <poenitz@gmx.net>
1868 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1871 * cursor_slice.[Ch]: remove unneeded acessor function
1873 * lyxtext.h: rename rtl() to isRTL()
1881 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1883 * rowpainter.C (paintSelection): coord fix
1885 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1887 * Spacing.C: compile fix
1889 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1891 * cursor.C (dispatch): restore current_ before returning
1893 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1895 * text2.C (cursorUp, cursorDown): fix coords
1898 2004-02-12 André Pönitz <poenitz@gmx.net>
1903 * text3.C: add LCursor & parameter to most cursor movement functions
1904 remove usage of LyXText::cursorRow() and cursorPar()
1906 * cursor.[Ch]: add textRow() needed members
1909 * BufferView_pimpl.C:
1912 * BufferView_pimpl.C: adjust
1914 2004-02-11 André Pönitz <poenitz@gmx.net>
1918 * BufferView_pimpl.C: shift undo/redo handling
1920 * cursor.[Ch]: fix mathed crash
1923 * lyxtext.h: move selectionAsText to LCursor
1931 * rowpainter.C: fix excessive drawing
1933 2004-02-06 André Pönitz <poenitz@gmx.net>
1936 * BufferView_pimpl.[Ch]:
1937 * text3.C: move some text specific LFUN handling
1939 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1941 * text3.C (checkInsetHit): adjust coords
1942 * text2.C (getColumnNearX): adjust coords
1943 (edit): adjust coords
1944 * text.C (getRowNearY): add two asserts
1946 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1949 * format.C: add using std::distance to compile on gcc 2.95/stlport
1951 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1953 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1955 2004-02-04 André Pönitz <poenitz@gmx.net>
1957 * BufferView.[Ch] (insertInset):
1958 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1963 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1965 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1966 on the default clause of the switch
1967 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1968 wasn't catched by LCursor::dispatch
1970 2004-02-03 André Pönitz <poenitz@gmx.net>
1973 * cursor.[Ch]: some additional asserts
1975 * undo.[Ch]: remove LyXText dependency in interface
1979 * lyxtext.h (firstPar, lastPar): remove dead functions
1984 * paragraph.[Ch]: adjust
1986 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1988 * lyxfind.C (find): fix argument order in call to ::find
1990 2004-02-02 André Pönitz <poenitz@gmx.net>
1992 * cursor.[Ch]: remove direct access to anchor
1994 * text.C: remove findText() hack
1996 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1998 * iterators.[Ch] (lockPath): remove in favour of...
1999 * BufferView.[Ch] (setCursor): this addition
2000 * BufferView.C (putSelectionAt): adjust
2001 * undo.C (performUndoOrRedo): adjust
2002 * lyxfunc.C (dispatch): adjust
2004 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2006 * iterators.C (lockPath): add a missing slice
2007 * undo.C (performUndoOrRedo): remove redundant positioning code
2009 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2011 * vc-backend.C (scanMaster): ";" -> ';'
2013 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2015 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2016 std::binary_function
2018 * lyxtextclass.C (compare_name): rename to...
2019 (LayoutNamesEqual): ...this
2021 * lyxlex_pimpl.C (compare_tags): inherit from
2022 std::binary_function, put back into anon namespace
2024 * lyxfind.C (MatchString): inherig from std::binary_function
2025 (findChange): use empty() istead of !size()
2027 * format.C (FormatNamesEqual): new functor
2034 * converter.C (compare_Converter): rename to...
2035 (ConverterEqual): ...this, and fixup a bit.
2036 (getConverter): use it, and make function const
2037 (getNumber): use it, and make function const
2041 * bufferlist.C: add using boost::bind
2043 * MenuBackend.C (MenuNamesEqual): new functor
2044 (hasMenu): use it, and make function const
2045 (hasSubmenu): use nested bind to get rid of compare_memfun.
2047 2004-01-30 André Pönitz <poenitz@gmx.net>
2049 * BufferView_pimpl.C:
2052 * cursor_slice.[Ch]:
2055 * paragraph_funcs.C:
2056 * paragraph_funcs.h:
2060 * text3.C: move some of the edit(x,y) handling to the insets
2061 some coordinate changes.
2063 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2065 * text.C: add using statements for std::advance and std::distance
2067 * paragraph.C: add using statement for std::distance
2069 * lyxfind.C: add using statement for std::advance
2071 * cursor.C (region): remove std:: from swap
2072 (openable): use nucleus in stead of operator->
2074 * BufferView.C: add using statements for std::distance and std::swap
2076 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2078 * iterators.C: Remove the pimple, move the needed structures to
2079 the header file. Create accessor for the positions stack.
2080 (asPosIterator): remove function
2082 * PosIterator.C (PosIterator): move constructors to top of file
2083 (PosIterator): reimplement the constructor taking a ParIterator in
2085 (setFrom): new function
2086 (operator!=): inline it
2088 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2090 * lyxfind.C (replaceAll): use std::advance
2092 * iterators.h: inherit from std::iterator.
2094 * PosIterator.C (advance, distance): remove
2095 * PosIterator.h: interit from std::iterator.
2097 2004-01-26 André Pönitz <poenitz@gmx.net>
2100 * BufferView_pimpl.[Ch]:
2104 * bufferview_funcs.C:
2114 * output_linuxdoc.C:
2115 * output_plaintext.C:
2117 * paragraph_funcs.[Ch]:
2118 * paragraph_pimpl.[Ch]:
2124 * text3.C: more IU: dumps most of the rest of the mathcursor
2125 implementation into cursor.[Ch]; "globalize" a bit of it.
2127 2004-01-25 Angus Leeming <leeming@lyx.org>
2129 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2131 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2133 * LaTeXFeatures.h: add nice_ and nice() const
2134 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2136 2004-01-20 André Pönitz <poenitz@gmx.net>
2139 * BufferView_pimpl.C:
2141 * bufferview_funcs.C:
2143 * cursor_slice.[Ch]:
2154 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2155 LCursor and mathcursor parts to LCursor and InsetBase.
2157 2004-01-15 André Pönitz <poenitz@gmx.net>
2159 * cursor_slice.[Ch]: add a few covienience functions
2161 * funcrequest.[Ch]: remove BufferView * member
2163 * BufferView_pimpl.C:
2170 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2172 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2174 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2175 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2177 2004-01-13 André Pönitz <poenitz@gmx.net>
2180 * lyxtext.h: hide cursor and selection anchor behind accessor function
2183 * BufferView_pimpl.[Ch]:
2185 * bufferview_funcs.C:
2195 * cursor_slice.[Ch]: some integer type changes for inset unification
2197 * lyxcursor.[hC]: remove, it's CursorSlice now.
2200 * BufferView_pimpl.[Ch]:
2201 * bufferview_funcs.C:
2207 * textcursor.[Ch]: adjust
2209 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2211 * text2.C (undoSpan): add and use
2212 * text.C (breakParagraph): use undoSpan (fix bug 578)
2215 2004-01-08 Angus Leeming <leeming@lyx.org>
2217 * BufferView_pimpl.C (MenuInsertLyXFile):
2218 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2219 * lyxfunc.C (menuNew, open, doImport):
2220 FileFilterList change to the FileDialog open and save functions.
2222 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2224 * ShareContainer.h: make isEqual and isUnique adaptable
2226 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2228 2004-01-07 Angus Leeming <leeming@lyx.org>
2231 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2233 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2235 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2236 functions replacing find, replace and replaceAll.
2238 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2239 LFUN_WORDFIND(FORWARD|BACKWARD).
2241 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2243 * text.C (breakParagraph): remove an outdated #warning
2245 2004-01-07 André Pönitz <poenitz@gmx.net>
2247 * lyxfind.C: somewhat clearer logic
2249 * text.C: prevent crash in cursorX on unitialized row cache
2251 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2253 * lyxcursor.[Ch] (operator>): add
2254 * textcursor.C (selStart, selEnd): use std::min and std::max
2256 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2258 * Chktex.C: include boost/format.hpp
2260 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2262 * InsetList.C: replace functor MathcIt with adaptable functor
2264 (insetIterator): modify accordingly
2266 * BranchList.h: move the BranchNamesEqual functor here from...
2267 * BranchList.C: ... to here
2269 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2271 (add): replace a finding loop with std::find_if.
2273 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2275 * output_docbook.C: moving LatexParam functionality into
2278 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2280 * buffer.C: increment format to 229.
2282 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2285 * lyx_sty.[Ch]: remove minipageindent_def
2291 * text3.C: remove LFUN_INSET_MINIPAGE
2293 2003-12-28 Angus Leeming <leeming@lyx.org>
2295 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2297 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2299 * text2.C (setParagraph): fix off-by-one crash
2301 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2303 * output_docbook.C: header stuff for AGU
2305 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2307 * text2.C (redoCursor): remove
2310 * BufferView_pimpl.C: remove calls to redoCursor and
2311 setCursor(cursor.par(), cursor.pos()) all around
2313 2003-12-15 Angus Leeming <leeming@lyx.org>
2315 * buffer.C: up the format to 228.
2317 2003-12-15 André Pönitz <poenitz@gmx.net>
2319 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2324 * BufferView_pimpl.C:
2333 2003-12-15 Angus Leeming <leeming@lyx.org>
2335 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2336 than getFromGUIName to manipulate the color.
2338 2003-12-14 Angus Leeming <leeming@lyx.org>
2340 * BranchList.[Ch]: minimize the API.
2341 (Branch::getBranch, getColor): now return a 'const &'.
2342 (Branch::setSelected) now returns a bool set to true if the
2343 selection status changes.
2344 (BranchList::clear, size, getColor, setColor, setSelected,
2345 allBranches, allSelected, separator): removed.
2346 (BranchList::find): new functions, returning the Branch with
2348 (BranchList::add, remove): return a bool indicating that
2349 the operation was successful.
2351 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2352 new InsetBranch::isBranchSlected member function.
2354 * LColor.[Ch]: mimimize the API.
2355 (fill): renamed as addColor and made private.
2356 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2357 versions of these functions taking a string arg have been removed.
2359 * bufferparams.C (readToken):
2360 * lyxfunc.C (dispatch):
2361 * lyxrc.C (read): changes due to the altered BranchList and
2364 * factory.C (createInset, readInset): changes due to altered
2367 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2370 * lyxfunc.C: remove insetminipage. "minipage-insert"
2371 now produces a frameless minipage box inset.
2373 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2375 * textcursor.[Ch] (selStart,selEnd): add new methods
2376 remove selection::start, end, use LyXCursor::operator<
2377 * lyxcursor.[Ch] (operator<): add
2378 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2379 * BufferView.[Ch] (unsetXSel): add
2380 * text2.C (clearSelection): use unsetXSel,adjust
2383 * rowpainter.C: adjust
2384 * bufferview_funcs.C (put_selection_at): adjust
2386 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2388 * BufferView_pimpl.C: small coord. correction
2390 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2392 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2393 dragging over the splash screen.
2395 2003-12-11 Angus Leeming <leeming@lyx.org>
2397 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2398 as it is now handled in LyXText::dispatch.
2400 * text3.C (doInsertInset): remove a level of nesting.
2402 2003-12-11 Angus Leeming <leeming@lyx.org>
2404 * factory.C (createInset): changes due to the changed interface to
2405 InsetCommandMailer::string2params.
2407 2003-12-10 Angus Leeming <leeming@lyx.org>
2409 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2410 'dialog-show-new-inset <inset name>'
2412 2003-12-10 Angus Leeming <leeming@lyx.org>
2414 * buffer.C: up the format to 227.
2416 * factory.C: the box inset is now identified simply by 'Box'.
2418 2003-12-10 Angus Leeming <leeming@lyx.org>
2420 * buffer.C: up the format to 226.
2422 * factory.C: the note inset is now identified simply by 'Note'.
2424 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2426 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2427 when a pit is enough. Standarize a couple of loops.
2429 2003-12-05 Angus Leeming <leeming@lyx.org>
2431 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2432 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2433 data to the re-worked "log" dialog.
2435 2003-12-03 André Pönitz <poenitz@gmx.net>
2441 * paragraph_funcs.C:
2443 * text2.C: use Inset::getText instead of Inset::getParagraph
2445 2003-12-03 André Pönitz <poenitz@gmx.net>
2449 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2450 InsetText::read() as LyXText::read()
2452 2003-12-02 Angus Leeming <leeming@lyx.org>
2454 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2455 type. Add a comment in the implementation that the function uses
2456 the stream's bad() function rather than fail() as the std::streams
2459 2003-12-02 André Pönitz <poenitz@gmx.net>
2461 * lyxlex.[Ch]: make interface more similar to std::stream
2463 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2465 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2467 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2469 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2471 * vspace.[Ch]: remove VSpace::NONE
2473 2003-12-01 André Pönitz <poenitz@gmx.net>
2476 * lyxtext.h: move ParagraphList member to LyXText
2477 rename LyXText::ownerParagraphs to LyXText::paragraph
2480 * bufferview_funcs.C:
2490 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2492 * undo.C: fix cursor positioning
2494 2003-12-01 John Levon <levon@movementarian.org>
2496 * BufferView_pimpl.C: fix a crash on exit with
2499 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2501 * BranchList.C: fix setSelected() method.
2503 2003-11-28 André Pönitz <poenitz@gmx.net>
2505 * ParagraphParameters.[Ch]:
2506 * ParameterStruct.h: remove space above/below from Paragraph to
2509 * BufferView_pimpl.C:
2515 * paragraph_funcs.C:
2521 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2523 * factory.C: Syntax change for CharStyles
2525 2003-11-28 André Pönitz <poenitz@gmx.net>
2530 * buffer.[Ch]: move LyXText member
2532 2003-11-28 André Pönitz <poenitz@gmx.net>
2534 * BufferView.[Ch]: make LyXText * text a private member
2536 * BufferView_pimpl.C:
2547 * output_plaintext.C: cleanup
2549 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2552 * lyxtextclass.[Ch]: parametrize SGML document header
2554 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2557 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2560 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2562 * text2.C (setFont): rework using PosIterator (no more recursive)
2563 (setCharFont): no more needed
2564 (setLayout): no more selection cursors fiddling (done by redoCursor)
2565 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2566 destroy remaining ones)
2568 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2570 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2572 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2575 * text3.C: adjust + re-allow multi par depth changes
2576 * textcursor.C: simplify a bit
2578 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2584 * src/output_docbook.C:
2585 * src/output_latex.C:
2590 * src/text2.C: Introducing a number of tags parametrizing various
2591 XML formats that we may want to support
2593 2003-11-25 André Pönitz <poenitz@gmx.net>
2595 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2597 * lyxtext.h (leftMargin/rightMargin): simplify interface
2604 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2606 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2607 master file to any child files. Fixes bug 546.
2609 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2611 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2613 2003-11-24 André Pönitz <poenitz@gmx.net>
2615 * rowpainter.C: simplification
2617 * text2.C (updateCounters): remove call to redoParagraph on
2618 changed labels as this is far too expensive.
2620 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2622 * converter.C (convert): fix a crash: this function gets
2623 called with buffer == 0 from importer code.
2625 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2627 * text3.C (cursorPrevious): make sure that we do not compare
2628 iterators form different containers.
2631 * rowpainter.C (paintSelection): make sure that we do not compare
2632 iterators from different containers.
2634 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2635 iterators from different ParagraphList containers.
2638 * text2.C (LyXText): change order of initialization slightly
2639 (operator=): new function. copy all variables except cache_par_
2640 (moveUp): make sure that we do not compare iterators from
2641 different ParagraphList constainers.
2644 * text.C (firstPar): new function
2645 (lastPar): new function
2646 (endPar): new function
2648 * lyxtext.h: move things around and group public functions, public
2649 variables, private functions, private variables
2651 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2653 * factory.C: change call to InsetERT constructor to avoid
2654 additional invocation of method status
2655 * text2.C (toggleInset): remove redundant update() call
2656 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2657 instead of a Bufferview pointer
2659 2003-11-21 André Pönitz <poenitz@gmx.net>
2661 * rowpainter.C: simplification
2663 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2665 * text3.C (dispatch): make possible to extend a word/row selection
2668 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2670 * lyxtext.h: x0_,y0_ -> xo_,yo_
2671 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2672 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2673 * rowpainter.C (paintRows): paint full paragraphs
2675 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2677 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2680 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2682 * lyxtext.h: add x0_, y0_
2683 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2684 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2686 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2688 * text2.C (setCursorIntern): move the x_target update here *
2689 * text3.C: change some bv() to true/false in calls to
2690 cursorUp/Down/Right/Left
2691 * cursor.C: use helper function.
2693 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2695 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2696 * paragraph_funcs.[Ch]: correct comment
2697 * rowpainter.C: do not paint selections away from bv->cursor()
2698 Fix a long standing selection painting bug.
2699 * text3.C: generalize mouse-selection code to LyXTexts other that
2701 * textcursor.C: do not use y coords if we can use par offsets
2703 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2705 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2706 cursor position after e.g. inset insert)
2708 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2710 * lyxfind.C (replace): adjust to locking removal + some
2713 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2715 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2718 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2721 * output_docbook.C: XML sanitation: new layout
2722 parameters InnerTag and CommandDepth
2724 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2726 * BufferView_pimpl.C:
2728 * text3.C: Fix the insertion and modification of button-style
2731 2003-11-13 André Pönitz <poenitz@gmx.net>
2733 * InsetList.[Ch]: remove deleteLyXText
2735 * paragraph.[Ch]: cache beginOfBody position
2740 * text3.C: remove superfluous update() calls
2744 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2746 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2747 * BufferView.C (fitLockedInsetCursor): remove
2748 * cursor.[Ch] (getDim): add
2749 * text.C (getRowNearY): add faster version
2750 * text3.C: remove some update calls
2752 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2764 * text3.C: The Character Style /XML short element patch.
2766 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2769 * factory.C: Small step to solving 'unable to insert some insets'
2772 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2774 * cursor.[Ch] (updatePos): new function for updating the y
2775 position of the tip inset
2776 * bufferview_funcs.C (put_selection_at):
2777 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2779 2003-11-11 André Pönitz <poenitz@gmx.net>
2781 * text.C: remove big comment on invalid Paragraph pointers as it is
2784 2003-11-11 André Pönitz <poenitz@gmx.net>
2786 * text_funcs.[Ch]: merge with ...
2794 * Makefile.am: remove text_funcs.[Ch]
2796 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2798 * cursor.C (getPos): return absolute cached y coord
2800 * BufferView_pimpl.C (fitCursor): new simplistic code
2801 (workAreaDispatch): add a fitCursor call
2803 2003-11-10 André Pönitz <poenitz@gmx.net>
2806 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2808 2003-11-10 André Pönitz <poenitz@gmx.net>
2810 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2811 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2812 indicate that the cursor needs to leave an inset
2814 * lyxtext.h: remove inset locking
2816 * cursor.[Ch]: re-implement functionality provided by inset locking
2819 * BufferView_pimpl.[Ch]:
2821 * bufferview_funcs.[Ch]:
2833 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2835 * PosIterator.[Ch]: replace the stack with a vector, add inset
2837 * iterators.[C]: adjust
2839 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2841 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2843 * paragraph_funcs.C (readParToken): put the correct id in the
2844 error item, not the id of the top paragraph
2846 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2848 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2849 * bufferview_funcs.C (put_selection_at): use the above
2851 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2853 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2855 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2857 * output_linuxdoc.h:
2858 * output_plaintext.h:
2860 * output_docbook.h: add #include statements
2862 2003-11-05 José Matos <jamatos@lyx.org>
2864 * output_docbook.[Ch]:
2865 * output_latex.[Ch]:
2866 * output_linuxdoc.[Ch]:
2867 * output_plaintext.[Ch]: New files for output formats.
2868 * output.[Ch]: New file for helper functions.
2871 * paragraph_funcs.[Ch]: output functions moved to new files.
2873 * outputparams.h: rename of latexrunparams.h
2881 * paragraph_funcs.[Ch]:
2882 * paragraph_pimpl.[Ch]:
2883 * tabular.[Ch]: rename ascii to plaintext
2884 and LatexRunParams to OutputParams.
2886 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2888 * iterators.[Ch] (text): require bv argument
2889 * undo.C (recordUndo):
2890 * lyxfunc.C (dispatch):
2891 * bufferview_funcs.C (put_selection_at): adjust
2893 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2895 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2897 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2899 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2902 2003-11-04 André Pönitz <poenitz@gmx.net>
2904 * cursor.[Ch]: restructure
2907 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2909 * iterators.[Ch] (asCursor): remove
2911 * lfuns.h: remove LFUN_INSET_EDIT
2917 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2919 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2921 * lyxfind.[Ch]: complete overhaul
2922 * BufferView_pimpl.C:
2924 * paragraph.[Ch] (insert): add
2926 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2930 * text.C: remove dead spellcheck code
2932 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2934 * dispatchresult.h: add a val setter
2936 * cursor.C (dispatch): use a tempvar for data_[i]
2938 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2940 * PosIterator.[Ch]: compile fix
2942 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2944 * text.C (cursorPar): deactivate the cursor cache
2946 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2948 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2950 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2952 * text3.C (dispatch): adjust for new DisptchResult semantics.
2954 * lyxfunc.C (dispatch): handle update when return from
2955 Cursor::dispatch, adjust for new DispatchResult semantics.
2957 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2958 DispatchResult(true) mean to not update. Add class functions for
2959 setting dispatched and update, as well as reading.
2961 * cursor.C (dispatch): don't handle update here
2963 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2965 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2966 * trans_mgr.C: adjust
2968 * paragraph_funcs.C (readParToken): exception safety
2970 * lyxvc.h: store the vcs pointer in a scoped_ptr
2973 * lyxsocket.C (serverCallback): exception safety
2975 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2977 * ispell.C (clone): make it return a auto_ptr
2979 * factory.C (createInset): exception safety
2980 (readInset): exception safety
2982 * bufferlist.C (newBuffer): exception safety
2984 * Thesaurus.C (Thesaurus): use initialization for aik_
2986 * MenuBackend.C (expandToc): exception safety.
2988 2003-11-03 André Pönitz <poenitz@gmx.net>
2992 * bufferview_funcs.C: remove getInsetFromId()
2995 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3001 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3003 * PosIterator.C (distance, advance): new
3004 * bufferview_funcs.[Ch] (put_selection_at): new
3005 * iterators.[Ch] (lockPath): new
3007 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3009 * iterators.[Ch] (asPosIterator): added
3010 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3011 * PosIterator.[Ch]: added
3013 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3017 * cursor.C (dispatch):
3018 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3020 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3021 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3022 contructor, add a class function dispatched. Remove operator>=
3024 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3026 * debug.C: only use the default constructor for debugstream
3029 * main.C (main): include debug.h and setup the lyxerr streambuf
3032 2003-10-31 José Matos <jamatos@lyx.org>
3034 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3036 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3037 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3038 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3039 * paragraph_pimpl.C (simpleTeXSpecialC):
3040 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3041 add LatexRunParams argument.
3043 * exporter.C (Export): change call accordingly.
3045 * latexrunparams.h: add new member to take care of the other backends.
3046 2003-10-30 José Matos <jamatos@lyx.org>
3048 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3049 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3050 factorise code for paragraph output.
3052 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3055 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3057 * text3.C (dispatch):
3058 * lyxfunc.C (dispatch):
3059 * cursor.C (dispatch):
3060 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3062 * dispatchresult.h: make the dispatch_result_t ctor explicit
3064 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3067 * buffer.C: small refactoring of docbook stuff
3069 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3071 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3074 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3076 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3077 operator dispatch_result_t, and operators for == != and >=
3079 * cursor.C (dispatch): adjust for operator dispatch_result_t
3080 removal. comment out call to update
3082 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3084 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3092 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3095 * dispatchresult.h: new file, DispatchResult broken out of
3098 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3100 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3102 * text.C (rowBreakPoint): put a hack inside #if 0
3104 2003-10-28 André Pönitz <poenitz@gmx.net>
3108 * paragraph_funcs.C:
3111 * text2.C: general cleanup (lots of small stuff)
3113 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3115 * text2.C (cursorEnd): simple fix to the "end key goes to one
3116 before the end on last row" bug
3118 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3120 * text.C (backspace): fix the "zombie characters"
3122 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3124 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3126 2003-10-27 André Pönitz <poenitz@gmx.net>
3128 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3130 * factory.C: handle new InsetPagebreak, InsetLine
3132 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3133 and move handling into new InsetPagebreak, InsetLine
3135 * BufferView_pimpl.C:
3137 * ParagraphParameters.C:
3138 * ParameterStruct.h:
3143 * paragraph_funcs.C:
3144 * paragraph_pimpl.C:
3150 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3153 * lyxrow_funcs.[Ch]:
3159 * text3.C: remove lastPos uses in favour of Row::endpos
3161 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3163 * undo.C (performUndoOrRedo): fix two crashes by setting a
3164 cursor by hand and reordering some calls. Use bv->lockInset instead
3165 of inset->edit because the latter loses cursor information
3167 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3169 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3171 (rowBreakPoint): fix width. change point to point + 1.
3172 Add a missing check.
3174 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3177 * lyxfunc.C: fix (at least partly) the problems
3178 with the Nav menu and headers inside branch insets
3181 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3183 * paragraph.C (getChar): add strong asserts
3185 * lyxrow_funcs.C (lastPos): remove hideous hack
3187 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3188 (fill): adjust to that (avoid an infinite loop)
3190 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3192 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3194 2003-10-23 André Pönitz <poenitz@gmx.net>
3196 * RowList_fwd.h: change list<> to vector<> to gain speed
3197 after suggestion from Alfredo
3199 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3201 * lyxtext.h: move the bidi stuff from here...
3204 * Bidi.[Ch]: ... to here
3206 2003-10-23 André Pönitz <poenitz@gmx.net>
3209 * text.C (isLastRow, isFirstRow): new functions
3211 * paragraph.h: new width cache member
3213 * rowpainter.C: replace RowList::iterator with Row & where possible
3215 * lyxfunc.C: replace several view()->text with a single call
3217 * toc.C: fix 'unused' warning
3219 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3221 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3222 when woring with stream::pos_type
3223 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3225 2003-10-22 André Pönitz <poenitz@gmx.net>
3228 * text.C: use Row & instead of RowList::iterator
3230 * lyxrow.h: rename end() to endpos()
3236 2003-10-22 Angus Leeming <leeming@lyx.org>
3238 * buffer.[Ch] (fully_loaded): new member function, returning true
3239 only when the file has been loaded fully.
3240 Used to prevent the premature generation of previews and by the
3241 citation inset to prevent computation of the natbib-style label.
3243 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3244 templates are all set up.
3246 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3248 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3250 * text.C: fixed an "oops" in the "is a bit silly"
3253 2003-10-21 André Pönitz <poenitz@gmx.net>
3255 * FuncStatus.[Ch]: small stuff, whitespace
3257 * lyxfont.[Ch]: operator<<() for debug reasons
3261 * lyxtext.h: whitespace, spelling
3263 * paragraph.C: naming of variables
3266 * text2.C: small stuff
3269 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3271 * text.C: (1) finish off the inset display() work;
3272 (2) fix the "is a bit silly" bug (accessing char
3275 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3277 * text.C: re-introduce display() for insets, fixing the
3278 various bugs (stretch of line above, math inset
3281 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3283 * text.C (rightMargin): remove spurious semicolon
3285 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3288 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3290 * text3.C: fix one crash due to wrong cursor def
3292 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3294 * vc-backend.C (scanMaster): make the regex static
3296 * LaTeX.C (scanAuxFile): make the regexs static
3298 * text3.C (doInsertInset, dispatch, dispatch):
3299 * text2.C (cursorUp, cursorDown):
3300 * text.C (selectNextWordToSpellcheck):
3301 * BufferView_pimpl.C (dispatch):
3302 * lyxfunc.C (dispatch): localDispatch -> dispatch
3304 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3306 * lyxsocket.C: include <cerrno>
3308 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * lyxfunc.C (dispatch): remove textcache stuff
3312 * bufferlist.C (release): remove textcache stuff
3315 * TextCache.C: delete file
3316 * TextCache.h: delete file
3318 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3320 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3321 delete of the bv_->text.
3322 (resizeCurrentBuffer): remove texcache stuff
3323 (workAreaResize): ditto
3325 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3327 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3330 2003-10-16 André Pönitz <poenitz@gmx.net>
3337 * text3.C: speed up by storing y positions per paragraph plus per-row
3338 offset instead of having a 'full' y position in the row.
3340 2003-10-15 André Pönitz <poenitz@gmx.net>
3344 * undo.[Ch]: make undo aware of inner insets
3346 2003-10-14 Angus Leeming <leeming@lyx.org>
3348 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3349 static member functions LyX::ref() and LyX::cref.
3350 (lastfiles): new accessor functions for the new lastfiles_ member var.
3351 (addLyXView, views_): add a new LyXView to the list of views_.
3352 (updateInset): loop over all LyXViews to call their own updateInset
3353 member function, returning a pointer to the Buffer owning the inset.
3355 * BufferView_pimpl.C (loadLyXFile):
3356 * MenuBackend.C (expandLastfiles):
3357 * bufferlist.C (MenuWrite, QuitLyX):
3358 lastfiles is no longer a global variable.
3359 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3361 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3362 static function. Access through LyX::cref().emergencyCleanup().
3364 2003-10-14 André Pönitz <poenitz@gmx.net>
3366 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3368 * undo.[Ch]: restoring part of 'undo in insets'
3371 * undo_funcs.[Ch]: merge with undo.[Ch]
3373 * tabular.C: small cleansing stuff
3375 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3377 * paragraph_funcs.C (readParToken): report unknown insets as error
3378 boxes. Use the outer paragraph as location (also for unknown
3381 * factory.C (readInset): do not abort on reading an unknown inset.
3382 Eat it and return 0.
3384 2003-10-13 Angus Leeming <leeming@lyx.org>
3386 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3388 * lyxrc.C: displayTranslator is now a function,
3389 declared in GraphicsTypes.h.
3391 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3393 * format.C: new placeholder $$a to pass the socket address.
3395 * bufferlist.[Ch]: new function getBufferFromTmp.
3397 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3398 files in the temporary dir.
3400 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3402 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3404 * Makefile.am: add lyxsocket.[Ch].
3406 * lyx_main.C (error_handler): handle SIGPIPE.
3408 2003-10-13 André Pönitz <poenitz@gmx.net>
3410 * BufferView_pimpl.C:
3415 * undo_funcs.[Ch]: use paroffset_type instead of
3416 ParagraphList::iterators to prevent multiple conversion
3417 (and get a more robust interface)
3419 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3421 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3423 * text3.C (dispatch): ditto
3425 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3427 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3428 move the onlyfile, use onlyfile instead of foundfile in a couple
3431 * DepTable.C (update): flush the error stream a bit more
3433 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * lyxserver.C (callback): adjust
3437 * lyxfunc.C (getStatus): add a missing brace in commented code
3438 (ensureBufferClean): reindent
3439 (dispatch): delete version taking a string
3441 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3443 * LaTeX.C (deplog): move found file handlig from here...
3444 (handleFoundFile): .. to new function here.
3445 (deplog): make sure to discover several files mentioned on the
3448 2003-10-10 André Pönitz <poenitz@gmx.net>
3455 * text3.C: fix some of the tabular crashes
3457 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3459 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3461 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3463 2003-10-09 André Pönitz <poenitz@gmx.net>
3465 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3468 * BufferView_pimpl.C:
3469 * bufferview_funcs.C:
3480 * undo_funcs.C: adjust
3482 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3484 * text2.C (incrementItemDepth): new function, use a backtracking
3485 algorithm to discover the correct item depth.
3486 (resetEnumCounterIfNeeded): new function, use a backtracking
3487 algorithm to discover if counter reset is needed.
3488 (setCounter): use them. Simplify a bit. Add different labels for
3489 different item depths for itemize.
3491 * paragraph.C (Paragraph): remove initialization of enumdepth
3494 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3495 enumerate and itemize. Change the type of itemdepth to signed char.
3497 2003-10-08 André Pönitz <poenitz@gmx.net>
3499 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3504 * tabular.[Ch]: fix crash after 'row-insert'
3506 2003-10-08 Angus Leeming <leeming@lyx.org>
3508 Fix doxygen warnings.
3510 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3511 Remove CutAndPaste:: prefix from header file declaration.
3513 * LColor.h (fill): remove LColor:: prefix from declaration.
3515 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3516 use lyx::depth_type rather than Paragraph::depth_type so that
3517 header file and .C file match.
3519 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3521 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3522 * aspell.C: \file aspell_local.C -> \file aspell.C
3523 * gettext.C: \file gettext.C -> \file src/gettext.C
3524 * gettext.h: \file gettext.h -> \file src/gettext.h
3525 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3526 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3527 * text.C: \file text.C -> \file src/text.C
3529 * toc.C: move comment so that doxygen is not confused.
3531 2003-10-07 Angus Leeming <leeming@lyx.org>
3533 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3535 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3538 * aspell_local.h: add forgotten std::string's.
3540 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3547 * text3.C: The Box patch. Fancybox support, minipage, parbox
3549 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3555 * ParagraphParameters.h:
3565 * lyxtextclasslist.h:
3568 * paragraph_pimpl.C:
3569 * textcursor.h: add <string> and other small fixes to make Lars'
3570 std::string patch compile with STLport.
3572 2003-10-06 Angus Leeming <leeming@lyx.org>
3574 * LColor.h: Add missing #include <string>.
3576 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3578 * All most all file in all subdirs: Make <string> be the prefered
3579 way of getting to std::string, add using declarations.
3581 2003-10-06 André Pönitz <poenitz@gmx.net>
3583 * metricsinfo.C: initialize LyXFont before changing attribute.
3584 (fixes the 'math in \emph is upright' bug)
3586 2003-10-06 André Pönitz <poenitz@gmx.net>
3588 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3590 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3593 * paragraph_pimpl.C: Small fixes to build using STLport
3595 2003-10-02 André Pönitz <poenitz@gmx.net>
3598 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3600 2003-10-01 André Pönitz <poenitz@gmx.net>
3602 * factory.C: assert early
3604 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3606 * lyx_main.C: remove the global debug object
3608 * debug.h: adjust for new debugstream
3610 * debug.C: adjust for new debugstream and keep the global debug
3613 2003-09-22 Angus Leeming <leeming@lyx.org>
3615 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3616 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3617 an incomplete class LyXFont.
3619 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3621 * factory.C: bug fix in branches
3623 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3625 * lyxfunc.C (processKeySym): adjust
3627 (dispatch): change arg name from ev to func, adjust
3628 (sendDispatchMessage): ditto
3630 * lyx_main.C (defaultKeyBindings): adjust keybindings
3631 (deadKeyBindings): ditto
3633 * kbsequence.C (addkey): return a FuncRequest
3635 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3637 * kbmap.C (bind): take a FuncRequest as arg, adjust
3640 (defkey): change to take a FuncRequest as arg, adjust
3641 (findbinding): take a FuncRequest as arg, adjust.
3643 * funcrequest.h (operator=): added
3645 * funcrequest.C (FuncRequest): default kb_action changed from
3646 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3648 * buffer.C (dispatch): simplify
3649 (dispatch): adjust to take a FuncRequest as arg, adjust
3651 * boost.C (assertion_failed): change assertion message slightly
3653 * ToolbarBackend.C (read): simplify
3655 * MenuBackend.C (binding): adjust call to findbinding, add a
3656 message if no binding is found.
3658 (expandToc): correct by adding a empty FuncRequest
3660 * LyXAction.C: include <boost/assert.hpp>
3661 (isPseudoAction): delete function
3662 (LookupFunc): change name to...
3663 (lookupFunc): this. change return type to FuncRequest.
3664 (getActionName): take kb_action as arg, simplify
3665 (funcHasFlag): add an assert, simplify.
3667 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3669 * toc.C (action): return a FuncRequest, simplify
3671 * lyxfunc.C (processKeySym): adjust
3672 (getStatus): delete version that takes an int.
3674 (dispatch): delete version that takes action as int
3676 (sendDispatchMessage): simplify and adjust
3678 * funcrequest.C (getArg): take unsigned int as arg
3680 * ToolbarBackend.C (read): adjust
3681 (add): delete version that takes func as a string.
3682 (getIton): take a FuncRequest as arg
3684 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3687 * MenuBackend.C (MenuItem): add a new construct that only takes a
3688 Kind, simplify the constructor use for submenus.
3690 (expandLastfiles): adjust
3691 (expandDocuments): adjust
3692 (expandFormats): adjust
3693 (expandFloatListInsert): adjust
3694 (expandFloatInsert): adjust
3695 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3697 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3698 Remove class variables lyx_pseudo_map and lyx_arg_map
3700 * LyXAction.C (searchActionArg): delete function
3701 (getPseudoAction): delete function
3702 (retrieveActionArg): delete function
3703 (LookupFunc): make it return kb_action, simplify.
3704 (getActionName): simplify
3706 * factory.C (createInset): fix new bug
3708 2003-09-19 Angus Leeming <leeming@lyx.org>
3710 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3711 masterFilename_ parameter in the include inset.
3713 * factory.C (createInset): changes due to the changes to InsetInclude.
3715 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3717 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3719 2003-09-18 Angus Leeming <leeming@lyx.org>
3722 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3723 Inset::fillWithBibKeys.
3724 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3726 2003-09-18 Angus Leeming <leeming@lyx.org>
3728 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3730 (ctor): pass and store a 'Buffer const &'
3731 (buffer): new member function.
3733 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3734 '*this' to the LaTeXFeatures ctor.
3736 2003-09-18 Angus Leeming <leeming@lyx.org>
3742 * text.C: rename EnumLColor as LColor_color.
3744 2003-09-18 Angus Leeming <leeming@lyx.org>
3746 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3747 remove #include "insets/insetbase.h" from cursor.h.
3749 2003-09-18 Angus Leeming <leeming@lyx.org>
3751 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3752 InsetOld_code to remove #include "inset.h".
3754 * iterators.C: add #include "insets/inset.h"
3756 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3758 * BufferView.C: remove more locking stuff that apparently doesn't
3759 do anything sensible.
3761 2003-09-16 André Pönitz <poenitz@gmx.net>
3764 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3767 2003-09-16 Angus Leeming <leeming@lyx.org>
3769 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3771 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3774 * paragraph.h: remove #include "lyxfont.h". Forward declare
3777 2003-09-16 Angus Leeming <leeming@lyx.org>
3779 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3780 of support/textutils.h.
3781 (isWord): move the contents of support/textutils.h's IsWordChar here.
3787 * text2.C: add #include "paragraph.h".
3790 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3792 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3798 * LaTeX.C: use namespace alias for lyx::support::os
3800 2003-09-16 Angus Leeming <leeming@lyx.org>
3803 * bufferview_funcs.C:
3806 * paragraph_pimpl.C:
3808 * text.C: add #include "LColor.h".
3810 2003-09-16 Angus Leeming <leeming@lyx.org>
3812 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3813 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3815 Store the FontBits::color variable as an int rather than as an
3816 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3819 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3820 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3821 string calls together.
3823 * lyxrc.C: add #include "LColor.h".
3825 2003-09-15 Angus Leeming <leeming@lyx.org>
3827 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3830 2003-09-15 Angus Leeming <leeming@lyx.org>
3832 * LColor.h: add an EnumLColor wrapper for LColor::color.
3834 * lyxfont.[Ch] (color, setColor, realColor):
3835 * lyxtext.h, text.C (backgroundColor):
3836 pass EnumLColor args to/from the functions, rather than LColor::color
3840 * lyxtext.h: forward declare EnumLColor.
3842 * lyx_main.C: add #include "LColor.h".
3844 2003-09-15 Angus Leeming <leeming@lyx.org>
3846 * .cvsignore: add lyx-gtk.
3848 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3853 * ParagraphParameters.C
3857 * bufferview_funcs.C
3867 * vc-backend.C: remove usage of STRCONV
3869 2003-09-15 Angus Leeming <leeming@lyx.org>
3871 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3872 explicitly define the color passed to the painter.
3874 2003-09-15 Angus Leeming <leeming@lyx.org>
3876 * bufferparams.C (BufferParams): reorder member initializers to avoid
3879 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3881 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3882 * text.C (updateRowPositions): remove an unusual nop
3884 2003-09-12 André Pönitz <poenitz@gmx.net>
3886 * BufferView_pimpl.C:
3895 * Counters.[Ch]: finish the 'automatic counters' job
3897 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3899 * aspell.C: include <boost/assert.cpp> (compile fix)
3901 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3903 * boost.C (assertion_failed): use lyx::support::abort instead of
3906 2003-09-10 Angus Leeming <leeming@lyx.org>
3908 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3909 with their _fwd progeny.
3911 2003-09-09 Angus Leeming <leeming@lyx.org>
3913 134 files throughtout the source tree: replace 'using namespace abc;'
3914 directives with the appropriate 'using abc::xyz;' declarations.
3916 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3918 * boost.C (emergencyCleanup): moved here from LAssert.c
3919 (assertion_failed): new function, called by BOOST_ASSERT
3921 * several files: change Assert to BOOST_ASSERT
3923 2003-09-09 Angus Leeming <leeming@lyx.org>
3925 * buffer.[Ch]: Add an Impl class and move Buffer's member
3926 variables into it. As a result move several header files out of
3929 Add header files to lots of .C files all over the tree as a result.
3931 2003-09-09 Angus Leeming <leeming@lyx.org>
3933 * buffer.[Ch]: make Buffer's member variables private. Add
3936 Lots of changes all over the tree as a result.
3938 2003-09-08 Angus Leeming <leeming@lyx.org>
3940 * graph.C: #include <config.h>.
3942 2003-09-08 Angus Leeming <leeming@lyx.org>
3946 * BufferView_pimpl.C:
3975 * toc.C: remove redundant using directives.
3977 2003-09-07 Angus Leeming <leeming@lyx.org>
3979 * LaTeXFeatures.h: remove #include "support/types.h".
3980 * ToolbarBackend.h: remove #include <algorithm>.
3981 * changes.h: remove #include <ctime>.
3982 * debug.h: remove #include <iosfwd>.
3983 * graph.h: remove #include "support/std_string.h".
3984 * lyx_main.h: remove #include <csignal>.
3985 * lyxlex_pimpl.h: remove #include <fstream>.
3986 * sgml.h: remove #include <algorithm>, <utility>.
3987 * toc.h: remove #include "support/std_ostream.h".
3988 Add #include <iosfwd>.
3990 2003-09-07 Angus Leeming <leeming@lyx.org>
3992 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3994 * converter.h: forward declare LatexRunParams.
3995 * encoding.h: remove #include "lyxrc.h".
3996 * lyxtext.h: remove #include "LColor.h".
3997 * lyxtextclass.h: remove #include "support/types.h".
3998 * trans.h: remove #include "tex-accent.h".
3999 * trans_mgr.h: remove #include "tex-accent.h".
4000 * insets/inset.h: remove #include "support/types.h", <vector>.
4001 * insets/insetcollapsable.h: remove #include "LColor.h".
4002 * insets/insetinclude.h: remove #include "dimension.h".
4003 * insets/insetlatexaccent.h: remove #include "dimension.h".
4004 * insets/insetoptarg.h:: remove #include "insettext.h".
4005 * insets/insettext.h: remove #include "dimension.h",
4006 <boost/shared_ptr.hpp>
4008 * insets/renderers.h: add #include "dimension.h".
4009 * insets/updatableinset.h: add #include "support/types.h".
4011 * many .C files: Associated changes.
4013 2003-09-06 Angus Leeming <leeming@lyx.org>
4015 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4016 one, inside testInvariant.
4018 * PrinterParams.C: new file.
4019 * PrinterParams.[Ch]: move the function bodies out of line.
4021 2003-09-06 Angus Leeming <leeming@lyx.org>
4023 * ParagraphParameters.h: forward declare ParameterStruct rather than
4024 including its header file.
4025 (depth): moved out-of-line.
4027 2003-09-06 Angus Leeming <leeming@lyx.org>
4029 * BufferView_pimpl.h:
4032 * lyxfunc.h: forward declare LyXKeySym rather than
4033 #include "frontends/LyXKeySym.h".
4035 * BufferView_pimpl.C:
4038 * lyxfunc.C: associated changes.
4040 2003-09-06 Angus Leeming <leeming@lyx.org>
4042 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4043 As a result, can remove the #include "insets/inset.h" from BufferView.h
4045 2003-09-06 Angus Leeming <leeming@lyx.org>
4047 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4048 As a result, can remove the #include "insets/inset.h" from BufferView.h
4050 2003-09-06 Angus Leeming <leeming@lyx.org>
4056 * bufferview_funcs.C:
4057 * BufferView_pimpl.C:
4062 * ParagraphParameters.C:
4067 * frontends/controllers/ControlDocument.C:
4068 * insets/insetcaption.C: rearrange the #includes into some sort of
4071 * buffer.h: remove #includes ErrorList.h, undo.h
4073 2003-09-06 Angus Leeming <leeming@lyx.org>
4075 * support/types.h: add a 'depth_type' typedef, used to store the
4076 nesting depth of a paragraph.
4079 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4080 defining explicitly.
4083 * paragraph_funcs.h:
4084 * ParagraphParameters.h:
4085 * sgml.h: use lyx::depth_type rather than Paragraph or
4086 ParameterStruct's depth_type.
4089 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4092 * BufferView_pimpl.C:
4094 * ParagraphParameters.C:
4097 * bufferview_funcs.C:
4104 * frontends/LyXView.C:
4105 * frontends/controllers/ControlDocument.C:
4106 * frontends/controllers/ControlErrorList.C:
4107 * insets/insetbibitem.C:
4108 * insets/insetbranch.C:
4109 * insets/insetcaption.C:
4110 * insets/insetcollapsable.C:
4111 * insets/insetenv.C:
4112 * insets/insetert.C:
4113 * insets/insetfloat.C:
4114 * insets/insetfoot.C:
4115 * insets/insetfootlike.C:
4116 * insets/insetnewline.C:
4117 * insets/insetquotes.C:
4118 * insets/insettabular.C:
4119 * insets/insettext.C:
4120 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4122 * frontends/controllers/ControlChanges.C: #include "changes.h".
4124 2003-09-06 Angus Leeming <leeming@lyx.org>
4126 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4127 than #including paragraph.h.
4130 * RowList.h: deleted. Superfluous.
4140 * insets/insettext.h: use ParagraphList_fwd.h rather than
4143 * paragraph.h: don't forward declare ParagraphList.
4146 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4147 rather than ParagraphList.h. paragraph.h is still needed for the
4148 Paragraph::depth_type parameters.
4150 * textcursor.h: enable it to compile stand-alone in light of the
4153 * bufferview_funcs.C:
4165 * frontends/controllers/ControlParagraph.C:
4166 * frontends/controllers/ControlTabular.C:
4167 * insets/insetmarginal.C:
4168 * insets/insetminipage.C:
4169 * insets/insetnote.C:
4170 * insets/insetoptarg.C: add header files needed to compile again.
4172 2003-09-06 Angus Leeming <leeming@lyx.org>
4174 * RowList_fwd.h: new file, forward-declaring Row rather than
4175 #including lyxrow.h.
4180 * insets/insettext.h: use it instead of RowList.h
4182 * bufferview_funcs.C:
4189 * text3.C: #include "RowList.h".
4191 2003-09-05 Angus Leeming <leeming@lyx.org>
4193 * factory.C (createInset):
4194 * vspace.C (c-tor): replace sscanf call with an istringstream.
4195 * ispell.C: re-add missing HP/UX headers.
4196 * lyxserver.C: re-add missing os2 headers.
4198 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4207 * text3.C: re-add missing system headers, needed for 2.95.2.
4209 2003-09-05 Angus Leeming <leeming@lyx.org>
4211 Changes most place everywhere due to the removal of using directives
4212 from support/std_sstream.h.
4214 2003-09-05 Angus Leeming <leeming@lyx.org>
4216 Replace LString.h with support/std_string.h,
4217 Lsstream.h with support/std_sstream.h,
4218 support/LIstream.h with support/std_istream.h,
4219 support/LOstream.h with support/std_ostream.h.
4221 Changes resulting throughout the tree.
4223 2003-09-05 Angus Leeming <leeming@lyx.org>
4225 * sgml.h: ensure that the header file can be compiled stand-alone.
4226 * *.C: strip out redundant #includes. (320 in total.)
4228 2003-09-04 Angus Leeming <leeming@lyx.org>
4230 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4231 here (from getPackages).
4233 * debug.[Ch]: add a new EXTERNAL tag.
4235 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4237 * text2.C (cursorEnd): simplify
4239 (getColumnNearX): adjust
4241 * text.C (computeBidiTables): adjust
4244 * rowpainter.C (paintChars): adjust
4245 (paintSelection): adjust
4246 (paintChangeBar): adjust
4249 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4251 (numberOfSeparators): adjust
4253 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4259 * text3.C: Restricts the mouse click functionality
4260 of insets like bibtex, include, toc and floatlist to the visible
4261 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4262 up the dialogs. Cursor has to be in front of the inset (i.e.
4263 start of row) for this to function.
4265 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4267 * bufferview_funcs.C (currentState): output row information
4269 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4271 * bufferview_funcs.C (currentState): output paragraph position
4273 2003-09-04 Angus Leeming <leeming@lyx.org>
4275 * FloatList.h: move out #include "Floating.h".
4276 * LaTeX.h: move out #include "DepTable.h".
4277 * LyXAction.h: move out #include "funcrequest.h".
4278 * buffer.h: move out #include "author.h", "iterators.h".
4279 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4280 * lyx_main.h: move out #include "errorlist.h".
4281 * lyxfunc.h: move out #include "FuncStatus.h".
4282 * lyxtext: move out #include "lyxcursor.h".
4283 * paragraph_pimpl.h: move out #include "counters.h".
4285 2003-09-03 Angus Leeming <leeming@lyx.org>
4287 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4288 preamble_snippets list, enabling us to add snippets to the preamble
4289 only if the snippet was not there already.
4291 2003-09-04 Angus Leeming <leeming@lyx.org>
4293 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4295 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4300 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4302 * BranchList.C: point fix, earlier forgotten
4304 2003-09-02 Angus Leeming <leeming@lyx.org>
4306 * box.C (contains): renamed from 'contained' after a fantastic
4309 2003-09-02 John Levon <levon@movementarian.org>
4315 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4317 2003-09-02 John Levon <levon@movementarian.org>
4319 * text2.C: simplification of cursorEnd(), including partial
4322 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * buffer.C (readFile): add a space
4326 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4328 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4330 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4332 * buffer.C (readFile): new function, take a filename and a
4333 ParagraphList::iterator
4335 (readFile): adjust, make it private. don't use setStream, make
4336 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4337 always contain the filename.
4339 * BufferView.C (insertLyXFile): simplify and make it work for
4342 2003-08-30 John Levon <levon@movementarian.org>
4344 * Makefile.am: fix dist (from Kayvan)
4346 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4348 * most files: change to use const Buffer refs
4350 2003-08-27 André Pönitz <poenitz@gmx.net>
4352 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4353 on top of ownerPar().
4355 2003-08-27 John Levon <levon@movementarian.org>
4357 * funcrequest.C: properly initialise POD members
4359 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4361 * lyxtext.h (top_y): move top_y from here
4366 * BufferView_pimpl.[Ch]: to here
4367 * frontends/screen.C:
4368 * insets/insettabular.C:
4369 * insets/insettext.C: adjust
4370 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4372 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4375 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4377 2003-08-26 André Pönitz <poenitz@gmx.net>
4379 * paragraph_func.[Ch] (outerPar): new function
4382 * paragraph_funcs.C:
4383 * paragraph_funcs.h:
4384 * paragraph_pimpl.C:
4385 * text2.C: remove Inset::par_owner
4387 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4392 * text2.C: eliminates the needFullRow/display() stuff
4393 altogether, putting the logic in metrics/draw in the insets.
4395 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4397 * text2.C (redoParagraphInternal, redoParagraphs):
4398 * text.C (redoParagraph): add a call to updateRowPositions at the
4399 end of each 'metrics-like' call. Remove all others.
4400 (getRow): remove the 'y-computing' version.
4401 (getRowNearY): do not compute nor return the real y. Solve the
4402 'y < 0' problem and simplify.
4404 2003-08-22 Angus Leeming <leeming@lyx.org>
4406 * *.[Ch]: clean-up of licence and author blurbs.
4407 Also move config.h out of a few .h files and into a few .C files.
4409 2003-08-22 André Pönitz <poenitz@gmx.net>
4411 * lyxrow.[Ch]: add x_ and *fill_ members
4416 * text2.C: adjust/remove prepareToPrint() calls
4418 2003-08-22 André Pönitz <poenitz@gmx.net>
4420 * lyxrow.[Ch]: add end_ member
4422 * lyxrow_funcs.C: use LyXRow::end_
4424 * lyxtext.h (singleWidth): add LyXFont parameter
4427 * text2.C: adjust LyXText::singleWidth() calls
4429 * text.C (redoParagraph): simplify row breaking logic
4432 2003-08-19 André Pönitz <poenitz@gmx.net>
4434 * funcrequest.C: initialize button_ member
4437 * rowpainter.[Ch]: interface consolidation
4439 2003-08-18 André Pönitz <poenitz@gmx.net>
4442 * BufferView_pimpl.C:
4444 * paragraph_funcs.C:
4446 * text3.C: remove LyXScreen::draw() and fitCursor calls
4448 * BranchList.h: remove spurious semicolons
4450 * MenuBackend.C: fix branchlist related crash
4452 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4460 * bufferparams.[Ch]:
4464 * text3.C: implements the 'branch inset'
4465 idea. This allows the output of various versions of a document
4466 from a single source version, selectively outputing or suppressing
4467 output of parts of the text.
4468 This implementation contains a 'branch list editor' in a separate
4469 tab of the document settings dialog. Branches are user definable
4470 and have a "display colour" to distinguish them on-screen.
4472 ColorHandler was somewhat cleaned up.
4473 (1) make possible a dynamically growing LColor list by allowing
4474 the graphic context cache to grow along (vector);
4475 (2) eliminate an IMHO unnecessary step in colour allocation.
4477 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4479 * BufferView_pimpl.C: compile fix
4481 2003-08-15 André Pönitz <poenitz@gmx.net>
4483 * rowpainter.C: remove extra metrics calls
4485 * lyxtext.h: merge the two constructors into a single one,
4486 pass reference to owner's par list
4488 * BufferView_pimpl.C:
4492 2003-08-15 André Pönitz <poenitz@gmx.net>
4494 * lyxrow_funcs.[Ch]:
4497 * paragraph_funcs.C:
4502 * text_funcs.C: split LyXText::rowlist_ into individual
4503 Paragraph::rows_ chunks
4506 * BufferView_pimpl.[Ch]:
4509 * text3.C: remove toggleSelection()
4511 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4513 * bufferlist.C: beautify two alerts (shorter text of buttons)
4514 * buffer.C: Remove redundant ' ' from message
4516 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4517 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4518 rename VALIGN_CENTER to VALIGN_MIDDLE
4520 2003-08-11 André Pönitz <poenitz@gmx.net>
4522 * lyxtext.h (getPar):
4523 * text.C: new function
4525 2003-08-11 André Pönitz <poenitz@gmx.net>
4528 * tracer.[Ch]: remove unneeded files
4530 * InsetList.[Ch]: remove resizeInsetsLyXText()
4535 * text3.C: merge insertParagraphs() and appendParagraph()
4536 remove breakAgain(), update()
4538 * BufferView_pimpl.[Ch]:
4539 * bufferview_funcs.[Ch]:
4543 * tabular.C: adjust after text & InsetList changes.
4545 2003-08-08 André Pönitz <poenitz@gmx.net>
4547 * text.C (insertChar, backspace): replace rowlist fiddling
4548 with rebreak of full par
4551 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4552 checkParagraph, updateInset): removed
4554 2003-08-07 André Pönitz <poenitz@gmx.net>
4557 * text3.C: merge some LFUN handlers, remove dead code
4559 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4561 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4563 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4565 * text2.C (DEPM): fix part of bug 1255 and 1256
4567 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4569 * BufferView_pimpl.C (workAreaDispatch): change to use
4570 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4571 that are no mouse related.
4573 2003-08-05 André Pönitz <poenitz@gmx.net>
4576 * BufferView_pimpl.[Ch]:
4577 * bufferview_funcs.C:
4579 * text3.C: rip out "deep update"
4581 * textcursor.[Ch] (last_sel_cursor): remove unused member
4583 2003-08-04 André Pönitz <poenitz@gmx.net>
4586 * BufferView_pimpl.[Ch]:
4587 * ParagraphParameters.C:
4588 * bufferview_funcs.C:
4594 * text3.C: replace "complicated" BufferView::update(...) calls with
4597 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4599 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4601 * Makefile.am (lyx_SOURCES): add paper.h
4603 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4605 * Makefile.am: move things around so that both lyx-qt and
4606 lyx-xforms can be built (according to --with-frontend). Then lyx
4607 is a symbolic link to lyx-[firstfrontend]
4609 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4611 * Always use std::endl with lyxerr
4613 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4615 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4617 2003-08-01 André Pönitz <poenitz@gmx.net>
4620 * BufferView_pimpl.[Ch]:
4622 * text3.C: merge BufferView::repaint() and BufferView::update()
4624 2003-08-01 José Matos <jamatos@lyx.org>
4626 * buffer.[Ch]: file_format is no longer a buffer data element.
4628 2003-08-01 André Pönitz <poenitz@gmx.net>
4633 * text2.C: make redoParagraph more independent of current cursor
4635 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4637 * text2.C: remove unneeded members
4639 2003-07-30 André Pönitz <poenitz@gmx.net>
4641 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4643 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4644 create a single function...
4646 * paragraph_funcs.C (moveItem): ... here.
4649 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4651 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4653 * LColor.[Ch]: Add comment and greyedout logical colors.
4655 2003-07-30 André Pönitz <poenitz@gmx.net>
4657 * tabular.C: don't use Assert too heavily. This crashes where it
4660 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4662 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4663 is disabled (bug 1232)
4665 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4667 * factory.C: limited 'arg' scope
4669 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4671 * factory.C: fixed Note submenu issues
4673 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4675 * factory.C: submenu for Note/Comment/Greyedout
4677 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4680 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4682 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4685 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4686 greyedout. Patch provided by Jürgen Spitzmüller.
4688 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4690 * kbmap.C (read): fix error message when reading bind files
4692 2003-07-29 Angus Leeming <leeming@lyx.org>
4694 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4695 certainly does not do what it purports to do. I am doing it, and
4696 us, a favour by killing it.
4698 2003-07-28 José Matos <jamatos@lyx.org>
4700 * buffer.C (readBody, do_writeFile):
4701 * paragraph.C(readParagraph): \end_document replaces \the_end.
4703 2003-07-29 André Pönitz <poenitz@gmx.net>
4706 * BufferView_pimpl.[Ch]:
4710 * textcursor.[Ch]: remove toggleToggle & Co
4712 2003-07-28 José Matos <jamatos@fep.up.pt>
4714 * buffer.C (readParagraph):
4715 * params_func (readParToken, readParagraph):
4716 * paragraph.C (write): \layout -> \begin_layout.
4718 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4720 * lyxlex_pimpl.C (setFile): clean up slightly.
4722 * bufferparams.h: add compressed var
4724 * buffer_funcs.C (readFile): adjust for LyXLex change
4725 (newFile): ditto + simplify
4727 * buffer.C (writeFile): handle writing of compressed files
4729 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4730 Check if the file is compressed and set a bufferparm if so.
4732 * Makefile.am (lyx_LDADD): remove explicit -lz
4734 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4736 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4737 makeDocBookFile): put the real LyX version in the first line of
4741 * version.C.in: remove lyx_docversion
4743 * tabular.C (write_attribute): add a template-based version to
4744 write enums properly
4746 2003-07-28 André Pönitz <poenitz@gmx.net>
4751 * text3.C: use doubles again for x-coordinates. They are needed.
4753 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4755 * messages.C (getLocaleDir): use lyx_localedir()
4757 * lyxlex_pimpl.C (setFile): compress stuff
4759 * buffer.C (writeFile): add some compression stuff
4760 (do_writeFile): new func, dont call expliti close... will this
4763 * Makefile.am (lyx_LDADD): add -lz
4765 2003-07-28 José Matos <jamatos@fep.up.pt>
4767 * buffer.C: increment file format.
4768 * paragraph_funcs (readParagraph, readParToken):
4769 * paragraph.C (readParagraph): add \end_layout.
4771 2003-07-27 Angus Leeming <leeming@lyx.org>
4773 * Makefile.am: remove special casing for configure-time setting of
4774 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4776 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4777 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4779 2003-07-26 André Pönitz <poenitz@gmx.net>
4781 * paragraph_func.[Ch]:
4782 * paragraph.C (realizeFont): inline it whereever it is used
4787 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4790 2003-07-26 André Pönitz <poenitz@gmx.net>
4794 * text2.C: get rid of LyXText::need_break_row
4796 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4798 * toc.[Ch]: put namespace toc inside namespace lyx
4800 * MenuBackend.C (expandToc2): adjust for lyx::toc
4803 * lyxfunc.C (dispatch): adjust for lyx::find
4805 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4806 lyx::find instead. Reorganize a bit.
4807 (LyXReplace): rename to replace
4808 (LyXFind): rename to find
4810 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4813 2003-07-26 André Pönitz <poenitz@gmx.net>
4815 * text.C (setHeightOfRow): restrict scope of temporary variable
4817 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4818 code (never has been used?)
4820 2003-07-27 Asger Alstrup <alstrup@local>
4822 * text.C (fill): Optimise algorithm to exploit that we can reuse
4823 the LyXFont for many characters.
4824 (setHeightOfRow): Same thing.
4825 (rowBreakPoint): Same thing.
4827 2003-07-26 Asger Alstrup <alstrup@local>
4829 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4831 * text.C (singleWidth): Spurious font copying in hot-spot
4832 singleWidth avoided. Reorder tests for arabic for efficiency.
4834 * text.C (fill): handle empty paragraphs better.
4836 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4839 * encoding.h: add includes
4841 * lyxrc.C: remove reading of bind files
4843 * lyx_main.C (init): setup bindings and menus only if we have a
4846 * kbmap.C (read): new method. Do the actual reading of bind
4849 * converter.C (dvipdfm_options):
4852 (output): adapt PAPER_* enums.
4854 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4856 * bufferparams.h: remove paper-related enums from there
4858 * paper.h: New file. A trivial header file to hold paper-related
4859 enums. It should later expand to contain many paper-related
4862 * lyxrc.C: declare extern displayTranslator
4864 2003-07-27 José Matos <jamatos@fep.up.pt>
4866 * tabular.[Ch] (linuxdoc): add support for tables and figures
4869 2003-07-27 José Matos <jamatos@fep.up.pt>
4871 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4872 consistency in both functions.
4873 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4875 2003-07-26 Asger Alstrup <alstrup@local>
4877 * rowpainter.C (paintRows): Change algorithm to work directly on
4878 the insets rather than asking every character in the document
4879 whether its an inset.
4881 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4883 * buffer.C (openFileWrite): factorize some code
4885 2003-07-26 Angus Leeming <leeming@lyx.org>
4888 * lyx_main.[Ch]: replace occurances of system_tempdir with
4891 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4893 * rename Inset to InsetOld
4895 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4897 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4898 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4899 which I think is a bit clearer. EDIT is gone, since it was
4900 premature optimisation, and broken for mathed anyway.
4901 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4902 with cursor positioning in insets as well (math insets still do not
4903 work, but that's a different story anyway.) It mysteriously
4904 crashes sometimes with undo in the first paragraph, but I'm fairly
4905 confident that this is a compiler bug.
4907 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4909 * paragraph.C (Paragraph): adjust for new clone return type
4911 (copyIntoMinibuffer): ditto
4913 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4915 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4916 by not having a special case, and always doing a full rebreak of
4917 the document after undo.
4919 2003-07-23 Angus Leeming <leeming@lyx.org>
4921 * factory.C (createInset): InsetExternal::setParams now takes a
4924 2003-07-23 Angus Leeming <leeming@lyx.org>
4926 * factory.C (createInset): changed interface to the external and
4927 graphics mailers' string2params functions.
4929 2003-07-23 Angus Leeming <leeming@lyx.org>
4931 * factory.C (createInset): pass a
4932 Buffer const * parameter to InsetExternalMailer's string2params.
4934 2003-07-22 John Levon <levon@movementarian.org>
4936 * Thesaurus.h: include the right aiksaurus header
4938 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4940 * MenuBackend.C (expand): check menu shortcuts unconditionally
4942 2003-07-21 Angus Leeming <leeming@lyx.org>
4944 * factory.C (createInset): pass a
4945 buffer_path parameter to InsetGraphicsMailer's string2params.
4947 2003-07-21 Angus Leeming <leeming@lyx.org>
4949 * BufferView_pimpl.C (buffer):
4952 * lyxfunc.C (dispatch):
4953 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4954 rather than the grfx shortcut.
4956 2003-07-21 André Pönitz <poenitz@gmx.net>
4958 * rowpainter.C: remove unused variables
4961 * tabular_funcs.h: move to tabular.C
4962 * Makefile.am: adjust
4964 * tabular.[Ch]: basic optical cleaning
4966 * author.h: pass references, not values
4968 2003-07-18 André Pönitz <poenitz@gmx.net>
4976 * text3.C: two-phase drawing for InsetText and InsetTabular
4977 some float -> int changes.
4979 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4981 * lyx_main.C: fix the fix
4983 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4985 * lyx_main.C: fix a crash in batch mode if no files specified
4988 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4990 * format.[Ch] (papersize): moved to BufferParams
4991 * converter.[Ch] (dvips_options): moved to BufferParams
4992 (dvipdfm_options): moved to anon namespace
4993 * bufferparams.[Ch]: added above functions.
4995 2003-07-17 André Pönitz <poenitz@gmx.net>
4999 * text2.C: don't call inset->update() anymore
5001 * metricsinfo.[Ch]: add convenience constructor
5003 2003-07-16 André Pönitz <poenitz@gmx.net>
5008 * text2.C: replace the LyXCursor::irow_ member with
5009 on-demand computation of the value
5011 2003-07-16 John Levon <levon@movementarian.org>
5013 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5015 2003-07-15 André Pönitz <poenitz@gmx.net>
5018 * text2.C: remove no more needed refresh_row
5020 2003-07-15 André Pönitz <poenitz@gmx.net>
5025 * text3.C: refresh_status tristate -> need_update bool
5027 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5029 * lyxtext.h (init): remove reinit argument (act as if always true)
5030 * text2.C: adjust to that
5032 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5034 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5035 * text3.C: use it to delete selections in some cases
5036 (bugs 441, 673, 702, 954).
5038 2003-07-14 André Pönitz <poenitz@gmx.net>
5040 * rowpainter.[Ch]: reduce interface
5042 2003-07-14 André Pönitz <poenitz@gmx.net>
5044 * BufferView_pimpl.C:
5045 * text2.C: adjust after removing unused BufferView * argument
5047 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5049 * text2.C (init): fix a crash fired on resize
5051 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5053 * buffer.[Ch]: added new closing signal
5054 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5055 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5056 BufferView::Pimpl via the closing the signal
5058 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5060 * buffer.[Ch]: take out all bv-related from buffer
5062 * BufferView_pimpl.[Ch]: connect to new signals
5063 * CutAndPaste.C: removed useless asserts
5064 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5067 * lyxfunc.C: moved view-related funciontality from vc here
5068 * paragraph.C: removed outdated comments
5071 2003-07-10 André Pönitz <poenitz@gmx.net>
5073 * BufferView_pimpl.C:
5077 * text2.C: remove InsetText::InnerCache, clean up consequences
5079 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5081 * ispell.C: fix two typos in error messages
5083 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5085 * Extend Note inset to other forms of annotation like Comment
5086 and Greyedout. Right button click gives dialog.
5088 Files modified or added (+):
5092 * ControlNote.[Ch] +
5094 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5095 frontends/controllers
5099 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5101 * aspell.C: add missing namespace lyx::support
5103 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5105 * BufferView.[Ch] (newFile): Add
5106 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5107 * LaTeX.[Ch] (message): added this signal and use it
5108 * buffer.[Ch] (busy, message): added these signals and use them
5109 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5113 * importer.C: use buffer signals instead of direct bv calling
5114 * lyx_cb.[Ch] (ShowMessage): removed
5117 * paragraph_funcs.C:
5118 * text2.C: use buffer signals
5120 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5122 * introduce namespace lyx::graphics
5124 2003-07-02 André Pönitz <poenitz@gmx.net>
5126 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5128 2003-07-01 André Pönitz <poenitz@gmx.net>
5135 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5136 text*.C to text_func.C
5138 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5140 * introduce namespace lyx::support
5142 2003-06-30 André Pönitz <poenitz@gmx.net>
5147 * text.C: re-enable --with-included-string
5149 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5151 * textcursor.C: add <config.h>
5153 * text.C (getWord): remove const from word_location arg
5155 * lyxvc.C (getLogFile): fix const type order
5157 * lyxtext.h: remove const from word_location arg, add arg name
5159 * lyxlayout.h: currect type on labeltype.
5161 * importer.C: correct \file
5163 * converter.C (intToFormat): use std:: on ret val, ws changes
5165 * bufferlist.h: correct \file
5167 * buffer.C (makeLinuxDocFile): fix const type order
5168 (makeDocBookFile): ditto
5169 (fillWithBibKeys): use std:: on stdlib args.
5171 * CutAndPaste.C: fix authors.
5172 (availableSelections): use std:: on return vector
5174 2003-06-27 André Pönitz <poenitz@gmx.net>
5176 * BufferView_pimpl.C:
5177 * bufferview_funcs.C:
5185 * text3.C: remove LyXCursor::row_ member
5188 * text.C: rename fullRebreak() to partialRebreak() and implement
5189 a fullRebreak() that really bereks fully
5191 * textcursor.h: new struct for cursor-related data
5193 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5195 * lyx_main.C (LyX): get full path of document loaded on the
5198 2003-06-26 André Pönitz <poenitz@gmx.net>
5200 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5201 remove unused/broken operator>,<,>=.
5203 * text.C: remove only use of broken operator<= in an Assert().
5205 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5207 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5208 moved errorlist_.clear to showErrorList
5210 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5212 * converter.C (scanLog, runLaTeX):
5213 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5214 move the bv->showErrorList call to the callers
5215 * lyxfunc.C: i.e. here...
5217 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5218 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5219 namespace, the second to...
5220 * buffer_funcs (BufferFormat, parseErrors): added
5221 * errorlist.C (ErrorList(TeXErrors const &)): removed
5223 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5225 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5227 2003-06-24 "Garst R. Reese" <reese@isn.net>
5231 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5233 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5235 * version.C.in: change docversion to 1.4
5237 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5239 * buffer.C: fix a bug just introduced
5241 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5243 * buffer.[Ch]: added the parseError signal and use it, removed
5245 * BufferView.[Ch] (addError): moved to ...
5246 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5247 to the Buffer::parseError signal to catch (guess what) parse errors
5248 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5250 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5252 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5253 ability to create a buffer and to return an existing one from
5254 the list. Moved these functions to...
5255 * buffer_funcs.[Ch]: added
5256 * BufferView.[Ch] (loadLyXFile): added
5257 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5258 job removed from bufferlist::loadLyXFile.
5259 * buffer.C (setReadOnly): make it work without view
5260 (i.e added an if (users))
5262 2003-06-19 Angus Leeming <leeming@lyx.org>
5265 * LyXAction.C (init):
5266 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5267 with LFUN_DIALOG_SHOW <name> <data>.
5269 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5271 * CutAndPaste.C (availableSelections): small compilation fix for
5272 ancient (gcc 2.9x) compilers
5274 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5276 * text3.C (cursorNext): add tmp var
5278 * text2.C (updateCounters): for function calling out of for clause
5279 (replaceSelectionWithString): ditto
5280 (insertStringAsParagraphs): ditto
5281 (getColumnNearX): add tmp var
5282 (setCursorFromCoordinates): add tmp var
5283 (cursorDownParagraph): add tmp var
5284 (deleteEmptyParagraphMechanism): add tmp var
5286 * text.C (insertChar): add tmp var
5288 * rowpainter.C (paintDepthBar): add tmp var
5290 * CutAndPaste.C (availableSelections): potentially check all
5291 paragraphs in a cut to fill the shown strings.
5293 2003-06-18 André Pönitz <poenitz@gmx.net>
5295 * kbmap.[Ch]: use vector<> instead of list<>
5297 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5299 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5300 pasteSelection with index
5302 * text2.C (pasteSelection): modify, call pasteSelection with index
5304 * paragraph.C (asString): reimplement version with no interval to
5305 call the one with interval.
5307 * lyxtext.h: add index arg to pasteSelection
5309 * MenuBackend.C (MenuItem): handle PasteRecent
5310 (Menu::read::Menutags): add md_pasterecent
5312 (expandPasteRecent): new function
5315 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5317 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5319 (availableSelections): new function
5321 2003-06-17 Angus Leeming <leeming@lyx.org>
5323 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5325 2003-06-17 Angus Leeming <leeming@lyx.org>
5328 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5330 * lyxfunc.C (dispatch): invoke it.
5332 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5334 * iterators.C (operator++, ParPosition): reintroduce some
5335 const_cast for the benefit of older compilers.
5337 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5339 * text3.C (dispatch): do not modify clipboard when doing
5340 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5341 LFUN_DELETE_SKIP on a selection selection
5343 2003-06-16 André Pönitz <poenitz@gmx.net>
5349 * tabular.[Ch]: IU of clone() and getLabelList();
5351 2003-06-13 André Pönitz <poenitz@gmx.net>
5353 * tabular.h: compactification
5355 2003-06-12 André Pönitz <poenitz@gmx.net>
5359 * tabular_funcs.h: some renaming plus whitespace
5361 2003-06-12 André Pönitz <poenitz@gmx.net>
5364 * BufferView_pimpl.C:
5370 * toc.C: Return a Paragraph & for ParIterator::operator*()
5372 2003-06-11 John Levon <levon@movementarian.org>
5376 * ToolbarBackend.C: add "Toolbars" section and
5379 2003-06-10 Angus Leeming <leeming@lyx.org>
5382 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5384 * lyxfunc.C (dispatch): invoke it.
5386 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5388 * main.C: protect <ios> with HAVE_IOS
5389 (main): protect sync_with_stdio with HAVE_IOS
5391 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5393 * text2.C (cutSelection): adjust
5394 (pasteSelection): adjust
5396 * messages.C: handle get of empty string
5398 * main.C (main): use sync_with_stdio(false)
5400 * lyxfunc.C (dispatch): adjust
5402 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5403 (WriteAs): remove unneeded BufferView arg.
5405 * bufferparams.h: use correct types on papersize, papersize2 and
5408 * bufferparams.C (readToken): adjust for type
5409 (writeLaTeX): add missing cases to switch.
5411 * bufferlist.C (quitWriteBuffer): adjust
5414 * buffer.C (asciiParagraph): remove some commented code.
5416 * CutAndPaste.C: remove current_view extern variable.
5417 (cutSelection): add BufferParams arg.
5418 (eraseSelection): add BufferParams arg.
5419 (pasteSelection): add Buffer const & arg
5421 2003-06-07 John Levon <levon@movementarian.org>
5424 * paragraph_funcs.C:
5425 * paragraph_pimpl.C:
5429 * paragraph.C: allow InsetERT to freely space lines,
5430 and some consolidation of code
5432 2003-06-06 José Matos <jamatos@fep.up.pt>
5434 * buffer.C (makeDocBookFile): fix bug #821
5436 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5438 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5440 2003-06-04 Angus Leeming <leeming@lyx.org>
5442 * buffer.C: bump format to 224.
5444 2003-06-05 André Pönitz <poenitz@gmx.net>
5446 * text2.C (redoParagraphs): remove two const_cast<>
5448 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5450 * ParagraphList.h: remove last remnants of NO_STD_LIST
5452 2003-06-03 Angus Leeming <leeming@lyx.org>
5454 * factory.C (createInset): small change to the way InsetExternal's params
5457 2003-06-04 André Pönitz <poenitz@gmx.net>
5459 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5461 * paragraph_pimpl.h:
5462 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5464 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5466 * undo_funcs.C: make some simple cases of undo work again
5468 2003-06-03 John Levon <levon@movementarian.org>
5470 * ispell.C: HPUX doesn't have sys/select.h
5473 2003-06-03 John Levon <levon@movementarian.org>
5475 * CutAndPaste.C: update tabular and include inset
5480 * paragraph.C: remove owningBuffer(), don't pass Buffer
5483 * factory.C: insetGraphicsParams changed
5485 2003-06-02 John Levon <levon@movementarian.org>
5491 * text3.C: remove insetparent
5493 2003-06-02 John Levon <levon@movementarian.org>
5496 * buffer.C: fix inset_iterator.end(), move out of line
5499 2003-06-01 John Levon <levon@movementarian.org>
5501 * text3.C: use a proper cut/paste when doing inset
5502 insert (from Jürgen Spitzmüller)
5504 2003-06-01 John Levon <levon@movementarian.org>
5506 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5508 2003-05-30 André Pönitz <poenitz@gmx.net>
5510 * rowpainter.C: unify second drawing phase
5512 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5514 * trans_mgr.C: remove one case of current_view
5516 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5518 * paragraph_funcs.h: remove paragraph.h include
5520 * paragraph.h: delete NO_STD_LIST stuff
5522 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5524 * buffer.h: remove paragraph.h include
5526 * ParagraphList.C: delete file
5528 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5530 * toc.C (getTocList): adjust
5532 * paragraph_pimpl.C (validate): adjust
5534 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5536 * paragraph.C (Paragraph): adjust
5537 (getPositionOfInset): use const_iterator, adjust
5538 (bibitem): use const_iterator, adjust
5539 (setInsetOwner): adjust
5541 * iterators.C (operator++): adjust
5543 * InsetList.[Ch]: Replace selfmade iterator with standard
5544 vector::iterator also introduce const_iterator. Remove getPos,
5545 getInset and setInset from InsetTable. Adjust accordingly.
5547 * BufferView.C (lockInset): adjust
5548 (ChangeInsets): adjust
5550 * tabular.[Ch]: delete commented same_id functions
5552 2003-05-28 John Levon <levon@movementarian.org>
5554 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5556 2003-05-28 André Pönitz <poenitz@gmx.net>
5558 * metricsinfo.[Ch]: remove 'fullredraw' member
5560 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5562 * lyxtextclass.C (operator): remove caching.
5564 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5568 * text2.C (cursorBottom): adjust
5569 (setCounter): use ParagraphList::find, adjust
5571 * text.C (workWidth): use ParagraphList::find, adjust
5573 * lyxcursor.C (LyXCursor): adjust
5575 * buffer.C (inset_iterator): adjust
5577 * ParagraphList.h: make iterator(value_type) private, make
5578 ParagraphList a friend of iterator.
5580 * ParagraphList.C (find): new function
5582 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5584 2003-05-27 André Pönitz <poenitz@gmx.net>
5586 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5588 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5590 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5592 2003-05-26 John Levon <levon@movementarian.org>
5594 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5596 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5598 * remove same_id from function signatures, adjust.
5600 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5602 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5604 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5606 * paragraph.C (Paragraph): get rid of same_ids parameter
5608 * ParagraphList.C (insert): adjust
5611 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5613 * paragraph_funcs.C (breakParagraph): adjust
5614 (breakParagraphConservative): adjust
5616 * buffer.C (readParagraph): adjust
5618 * ParagraphList.C (insert): take a reference instead of a pointer
5621 * paragraph.[Ch] (id): new function
5623 * bufferlist.C (newFile): adjust
5625 * ParagraphList.C (ParagraphList): adjust
5627 (push_back): take a reference instead of a pointer.
5629 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5631 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5634 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5635 set else use old code.
5637 * ParagraphList.C: remove all NO_NEXT code and only compile this
5638 code of NO_STD_LIST is set.
5640 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5642 * BufferView_pimpl.C:
5652 * graphics/GraphicsConverter.C:
5653 * graphics/PreviewLoader.C: header adjustment
5655 2003-05-23 Angus Leeming <leeming@lyx.org>
5657 * LaTeXFeatures.[Ch] (useBabel): new method.
5658 * bufferparams.C (writeLaTeX): use it.
5660 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5662 * ParagraphList.h (set): remove unused function.
5664 2003-05-23 André Pönitz <poenitz@gmx.net>
5667 * BufferView_pimpl.C:
5671 * undo_funcs.C: setUndo reworked
5673 * iterators.[Ch]: add access to topmost ParagraphList
5675 * lyxtext.[Ch] (workWidth): add a const
5677 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5679 * texrow.[Ch] (increasePos): remove function
5680 * exporter.C (export): removed unused var and outdated comment
5682 2003-05-23 Angus Leeming <leeming@lyx.org>
5684 * latexrunparams.h: rename fragile as moving_arg.
5685 * paragraph.C (simpleTeXOnePar): ditto.
5686 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5688 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5690 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5692 (textUndoOrRedo): comment out a currently unused var.
5694 * paragraph.h (NO_NEXT): enable NO_NEXT
5696 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5698 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5700 * exporter.C (Export): adjust for removeAutoInsets removal.
5702 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5704 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5706 * BufferView.[Ch] (removeAutoInsets): delete function
5708 2003-05-22 Angus Leeming <leeming@lyx.org>
5710 * latexrunparams.h: add a free_spacing variable.
5712 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5713 to pass moving_arg, as the data is stored in runparams.fragile.
5715 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5716 to Inset::latexOptional or to simpleTeXOnePar.
5718 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5719 free_spacing arg to Inset::latexOptional.
5721 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5724 2003-05-22 Angus Leeming <leeming@lyx.org>
5726 * latexrunparams.h: add fragile and use_babel variables.
5728 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5729 * buffer.C (makeLaTeXFile): store this returned value in
5730 runparams.use_babel, thus passing it to the inset::latex methods.
5732 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5733 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5735 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5736 longer has a fragile arg, as it is stored in runparams.fragile.
5738 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5739 moving_arg parameter as the data is stored in runparams.fragile.
5741 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5742 a fragile parameter as the data is stored in runparams.fragile.
5744 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5746 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5748 2003-05-22 Angus Leeming <leeming@lyx.org>
5750 * latexrunparams.h: add a 'bool nice' which defaults to false.
5752 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5753 now encapsulated within runparams.
5755 * bufferlist.C (updateIncludedTeXfiles):
5756 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5758 2003-05-22 Angus Leeming <leeming@lyx.org>
5760 * latexrunparams.h: new file containing struct LatexRunParams.
5761 * Makefile.am: add new file.
5763 * LaTeX.[Ch] (c-tor, run):
5764 * buffer.[Ch] (makeLaTeXFile):
5765 * bufferlist.[Ch] (updateIncludedTeXfiles):
5766 * converter.C (convert, scanLog):
5767 * converter.[Ch] (runLaTeX):
5768 * exporter.C (Export):
5769 * paragraph.[Ch] (simpleTeXOnePar):
5770 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5771 * paragraph_funcs.[Ch] (latexParagraphs):
5772 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5773 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5774 pass around a LatexRunParams parameter.
5776 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5778 * paragraph.[Ch]: remove unused constructor
5780 * ParagraphList.C (erase): new function, taking two iterators
5782 2003-05-22 André Pönitz <poenitz@gmx.net>
5784 * undo_funcs.C: remove duplicated code
5786 * iterator.[Ch]: operator=
5788 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5790 * tabular.C (SetMultiColumn): ws changes
5792 * rowpainter.C (paintFirst): get rid of a ->previous
5794 * lyx_cb.C (getPossibleLabel): parlist simplification
5796 * BufferView.C (ChangeInsets): simplify slightly.
5798 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5800 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5801 * lfuns.h: new LFUN_SPACE
5802 * lyxfunc.C: protected space has a new lfun
5803 * paragraph_funcs.C: read new space insets
5805 * factory.C: handle new space insets
5807 2003-05-22 André Pönitz <poenitz@gmx.net>
5810 * BufferView_pimpl.C:
5813 * undo_funcs.C: return a ParIterator from getParFromID.
5815 * iterators.[Ch]: add two const's
5817 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5819 * toc.C (getTocList): adjust
5821 * iterators.[Ch]: rework for parlist
5823 * buffer.C (par_iterator_begin): adjust
5824 (par_iterator_end): adjust
5826 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5828 * BufferView.C (removeAutoInsets): adjust
5829 (ChangeInsets): adjust
5831 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5833 * text.C (top_y): fix bug 1110
5835 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5837 * errorlist.[Ch]: added
5840 * BufferView_pimpl.C:
5841 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5844 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5846 * Makefile.am: ensure that lyx is relinked upon changes to the
5847 various "convenience" libs.
5849 2003-05-20 Angus Leeming <leeming@lyx.org>
5851 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5852 files are compiled in alphabetical order again.
5854 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5856 2003-05-19 Angus Leeming <leeming@lyx.org>
5858 * gettext.[Ch]: remove "char const * _(char const *)".
5860 2003-05-19 André Pönitz <poenitz@gmx.net>
5862 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5871 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5873 2003-05-19 André Pönitz <poenitz@gmx.net>
5877 * lyxtextclass.[Ch]:
5879 * paragraph_funcs.[Ch]:
5881 * text3.C: more insetenv work
5883 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5885 * ParagraphParameters.C (params2string): small bug fixed
5887 2003-05-16 André Pönitz <poenitz@gmx.net>
5890 * bufferview_funcs.C: patch from Kornel Benko to prevent
5891 crash when _(...) is called twice in a statement
5893 2003-05-16 André Pönitz <poenitz@gmx.net>
5900 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5902 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5904 * lyx_main.C (init): remove spurious static_cast
5906 2003-05-14 André Pönitz <poenitz@gmx.net>
5908 * BufferView.C: fix format string
5910 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5912 * BufferView.[Ch] (insertErrors): removed
5913 * BufferView.[Ch] (showErrorList): added
5914 * buffer.C (runChkTeX):
5915 * converter.C (scanLog): call showErrorList instead of inserterrors
5917 2003-05-13 André Pönitz <poenitz@gmx.net>
5919 * BufferView_pimpl.C:
5921 * bufferview_func.C:
5928 * tabular_funcs.h: tostr() from its own header
5930 * ParagraphParameters.C:
5935 * text3.C: STRCONV()
5937 2003-05-12 André Pönitz <poenitz@gmx.net>
5940 * BufferView_pimpl.C:
5944 * ParagraphParameters.C:
5948 * bufferview_funcs.C:
5961 * paragraph_funcs.C:
5965 * text3.C: boost::format -> bformat all over the place
5968 2003-05-09 André Pönitz <poenitz@gmx.net>
5970 * LColor.[Ch]: Pimpl the #include <map> away
5972 2003-05-09 John Levon <levon@movementarian.org>
5974 * bufferlist.C: never remove emergency saves
5976 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5978 * Makefile.am: better lib building
5980 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5982 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5984 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5985 (simpleTeXSpecialChars): adjust
5986 (simpleTeXSpecialChars): adjust
5987 * paragraph.C (simpleTeXOnePar): adjust
5988 * buffer.C (makeLaTeXFile): adjust
5990 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5992 * text2.C (changeDepth): parlist cleanup
5993 (getColumnNearX): ditto
5995 * rowpainter.C (getLabelFont): parlist cleanup
5997 * bufferlist.C (newFile): parlist cleanup
5999 * CutAndPaste.C (eraseSelection): parlist cleanup
6001 * BufferView_pimpl.C (trackChanges): parlist cleanup
6004 * BufferView.C (lockInset): parlist cleanup.
6005 (ChangeInsets): ditto
6007 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6009 * CutAndPaste.h: Update file header.
6011 * CutAndPaste.C: Update file header.
6012 Store the parts cut out of the Document in a limited_stack.
6013 (copySelection): adjust
6014 (pasteSelection): new function, takes the index in the limited stack.
6015 (nrOfParagraphs): adjust
6016 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6017 simplify error inset insertion.
6018 (checkPastePossible): adjust
6020 2003-05-06 John Levon <levon@movementarian.org>
6022 * text2.C: don't cast wrap inset to float
6024 2003-05-05 André Pönitz <poenitz@gmx.net>
6027 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6029 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6030 few naked Paragraph *.
6032 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6034 * bufferparams.C: Output warning if a document with missing
6035 TeX document class is loaded
6036 * exporter.C: Disable TeX exports if the document class is missing
6039 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6040 isTeXClassAvailable()
6042 2003-05-03 John Levon <levon@movementarian.org>
6045 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6046 explicit cursor show/hide
6048 * BufferView_pimpl.h:
6049 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6050 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6052 * lyxfunc.C: hide cursor before dispatching.
6057 * text3.C: remove explicit cursor hides
6059 2003-05-02 André Pönitz <poenitz@gmx.net>
6061 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6064 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6067 * text2.C: tiny whitespace
6069 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6071 * undo_funcs.C: almost only ws changes.
6073 * ParagraphList.C (splice): just return if pl is empty.
6075 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6077 * ParagraphList.C (splice): new function.
6079 * CutAndPaste.C (pasteSelection): use it
6081 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6083 * CutAndPaste.C (pasteSelection): remove the last next and
6084 previous from this file.
6086 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6088 * CutAndPaste.C (pasteSelection): more clean up, user proper
6089 ParagraphList functions for pasteing.
6091 * ParagraphList.C (insert): new function, three arg insert
6093 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6095 * ParagraphList.C (insert): new function, three arg insert
6097 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6100 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6102 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6104 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6106 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6108 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6110 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6111 (copySelection): clean up a bit.
6112 (pasteSelection): use make_pair
6114 * ParagraphList.C (ParagraphList): implement copy constructor
6115 (operator=): implement, base on copy constructor.
6118 * paragraph.C (erase): return a bool
6120 * paragraph_pimpl.C (erasePos): remove function, move contents...
6121 (erase): ... here. Return a bool.
6122 (erase): call erase instead of erasePos.
6124 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6126 * ParagraphList.h: define PitPosPair
6127 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6128 ParagraphList, fix a bug on pasting multiple pars
6129 * text2.C: change interface to C&P
6131 2003-04-30 André Pönitz <poenitz@gmx.net>
6133 * undo_func.C: revert part of yesterday's patch 2
6135 2003-04-30 John Levon <levon@movementarian.org>
6137 * LColor.C: s/tabular/table/
6139 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6141 * text3.C (dispatch): do not convert iterator -> pointer
6142 * undo_funcs.C (setCursorParUndo): ditto
6143 * text_funcs.C (transposeChars): ditto
6145 * text2.C (setLayout): ws changes only
6147 * text.C (breakParagraph): do not convert iterator -> pointer
6149 (acceptChange): ditto
6150 (rejectChange): ditto
6155 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6158 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6160 * text3.C (gotoInset): YABG (yet another bad getChar)
6162 2003-04-29 André Pönitz <poenitz@gmx.net>
6164 * paragraph.h: make operator= private unimplemented as long as
6167 * ParagraphList.C: whitespace
6170 * paragraph_pimpl.[Ch]:
6171 * paragraph_funcs.C:
6173 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6176 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6178 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6180 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6181 * paragraph.[Ch] (erase):
6182 * paragraph_pimpl.[Ch] (erase): change return type and value
6183 * text2.C (cutSelection): some rework
6185 2003-04-28 John Levon <levon@movementarian.org>
6187 * bufferlist.C: changes for unsaved changes dialog
6189 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6191 * bufferlist.C (newFile): set language (messages_) for new
6194 * buffer.C (readFile): ws changes only.
6196 2003-04-28 André Pönitz <poenitz@gmx.net>
6201 * BufferView_pimpl.C:
6202 * BufferView.C: getParFromID related ParagraphList::iterator changes
6204 2003-04-28 André Pönitz <poenitz@gmx.net>
6206 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6209 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6211 * messages.C: remove one more localedir class variable.
6213 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6215 * messages.C (getLocaleDir): singleton generation function
6217 (Messages): add a default constructor.
6219 * main.C (main): do not setup localedir here, do not call
6222 * gettext.C (_): use it.
6223 (gettext_init): delete funciton
6225 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6227 * gettext.C (getLyXMessages): new singleton generating function.
6229 * buffer.C (updateDocLang): adjust
6231 * Makefile.am (messages.o): add target
6232 (main.o): remove target
6234 2003-04-27 John Levon <levon@movementarian.org>
6239 * lyxvc.C: specify cancel button in Alert::prompt
6241 2003-04-26 John Levon <levon@movementarian.org>
6246 * LyXAction.C: add LFUN_INSET_SETTINGS
6248 * lyxfunc.C: don't enable tabular-feature when there's
6249 just any locking inset
6251 2003-04-26 John Levon <levon@movementarian.org>
6253 * bufferlist.C: re-add Cancel to buffer close question
6255 * lyxfunc.C: fix import UI a bit
6257 2003-04-25 John Levon <levon@movementarian.org>
6259 * gettext.C: remove the broken asserts for now
6261 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6263 * messages.C: make case where setlocale cannot comply work better.
6265 * buffer.C (updateDocLang): new function
6266 (changeLanguage): use it
6269 * text2.C (setCounter): use B_ a bit.
6271 * lyxlayout.C (Read): be sure to trim the label strings.
6273 * messages.C (Messages): fix typo in comment
6275 * buffer.C (readFile): set message_ after file is loaded.
6276 (makeDocBookFile): remove double return
6277 (changeLanguage): reset message_ upon language change.
6278 (B_): new func, use this to get translated buffer strings.
6280 * main.C: add myself and Jean Marc as authors.
6282 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6284 * messages.[hC]: pimplify Messages, and three different pimpls to be
6285 used in different circumstances.
6287 * gettext.[Ch]: change for use with new message code.
6289 2003-04-24 André Pönitz <poenitz@gmx.net>
6291 * factory.C: support for eqref
6293 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6295 * messages.[Ch]: add missing char
6297 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6299 * messages.[Ch]: New files
6301 2003-04-18 John Levon <levon@movementarian.org>
6305 * BufferView_pimpl.C:
6309 * text2.C: remove layout-copy/paste (bug 778)
6311 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6313 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6315 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6317 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6318 if they succeed. Act accordingly.
6320 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6322 * text2.C (setCharFont): adjust
6323 (setCounter): adjust
6324 (insertStringAsLines): adjust
6326 * text.C (leftMargin): adjust
6327 (setHeightOfRow): adjust
6329 * rowpainter.C (paintFirst): adjust
6332 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6334 (isFirstInSequence): ditto
6335 (getEndLabel): ditto
6338 * paragraph.C (getParLanguage): comment out some hard stuff.
6340 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6342 (simpleDocBookOnePar): ditto
6343 (makeDocBookFile): use ParagraphList::iterator
6345 * CutAndPaste.C (pasteSelection): adjust
6347 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6349 * text2.C (getFont): adjust
6350 (getLayoutFont): adjust
6351 (getLabelFont): adjust
6353 * paragraph_funcs.C (TeXOnePar): adjust
6355 * buffer.C (simpleLinuxDocOnePar): adjust
6356 (simpleDocBookOnePar): adjust
6358 * CutAndPaste.C (pasteSelection): adjust
6360 * BufferView.C (getEncoding): adjust
6362 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6364 2003-04-16 John Levon <levon@movementarian.org>
6366 * lyxfind.C: use parlist stuff for search/changes
6368 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6370 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6372 * text2.C (deleteEmptyParagraphMechanism): adjust
6374 * text2.[Ch] (ownerParagraph): delete func (both of them
6376 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6378 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6380 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6382 * ParagraphList.C: prepare for NO_NEXT
6384 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6386 * text2.C (getFont): adjust
6387 (getLayoutFont): adjust
6388 (getLabelFont): adjust
6390 * paragraph.C (getFont): adjust
6391 (getLabelFont): adjust
6392 (getLayoutFont): adjust
6394 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6396 2003-04-15 John Levon <levon@movementarian.org>
6400 * lyx_main.C: handle Include in .ui files
6402 2003-04-15 John Levon <levon@movementarian.org>
6404 * MenuBackend.C: make the doc files length shorter
6407 * ToolbarBackend.C: handle toolbar placement flags,
6410 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6412 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6415 * paragraph_funcs.C (TeXOnePar): adjust
6417 * paragraph.C (getLabelFont): add outerfont arg, adjust
6418 (getLayoutFont): ditto
6419 (simpleTeXOnePar): adjust
6421 * paragraph_pimpl.C (realizeFont): delete func
6423 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6425 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6426 row argument, constify cur argument.
6428 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6430 * text2.C (getFont): adjust
6431 (getLayoutFont): adjust
6432 (getLabelFont): adjust
6434 * paragraph_funcs.C (TeXOnePar): adjust
6435 (outerFont): new func...
6436 (realizeFont): ...moved out from here, changed this to facilitate
6439 * paragraph.C (getFont): take outerfont as arg, adjust
6440 (simpleTeXOnePar): add outerfont arg, adjust
6442 * buffer.C (simpleLinuxDocOnePar): adjust
6443 (simpleDocBookOnePar): adjust
6445 * CutAndPaste.C (pasteSelection): adjust
6447 * BufferView.C (getEncoding): adjust
6449 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6451 * text2.C (setCharFont): adjust
6452 (setCounter): adjust
6454 * text.C (leftMargin): adjust
6455 (setHeightOfRow): adjust
6457 * rowpainter.C (paintFirst): adjust
6460 * paragraph_pimpl.C (realizeFont): adjust
6462 * paragraph.C (isFirstInSequence): move from here...
6463 * paragraph_funcs.C (isFirstInSequence): ...to here
6465 * paragraph.C (outerHook): move from here...
6466 * paragraph_funcs.C (outerHook): ...to here
6468 * paragraph.C (depthHook): move from here...
6469 * paragraph_funcs.C (depthHook): ...to here
6471 * paragraph.C (getEndLabel): move from here...
6472 * paragraph_funcs.C (getEndLabel): ...to here
6474 * text2.C (realizeFont): move from here...
6475 * paragraph_funcs.C (realizeFont): ...to here
6477 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6479 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6481 2003-04-14 Angus Leeming <leeming@lyx.org>
6483 * LColor.[Ch]: scrap LColor mathcursor.
6485 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6487 * lyxlex.[Ch] (text): delete function
6488 * trans.C (Load): adjust
6489 * paragraph_funcs.C (readParToken): adjust
6491 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6493 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6494 vector<char> instead of a char[].
6496 * lyxlex_pimpl.C (getString): adjust
6498 (lex): use getString
6502 * lyxlex.C (text): use pimpl_->getString()
6506 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6508 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6509 (makeFontEntriesLayoutSpecific): temp var for par.size()
6510 (setLayout): temp var for ownerParagraphs().end()
6511 (fullRebreak): temp var for rows().end()
6512 (selectionAsString): temp var for boost::next(startpit), realize
6513 that the while really is a regular for loop.
6514 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6515 setCursor in one place.
6516 (setParagraph): temp vr for ownerParagraphs().end()
6517 (updateCounters): make the while loop a for loop
6518 (cutSelection): temp var for ownerParagraphs().end()
6519 (updateInset): make the do {} while() a regular for loop
6520 (getCursorX): use temp vars
6521 (setCurrentFont): use temp vars
6522 (getColumnNearX): use temp vars
6524 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6526 * text.C (transformChar): use temp var for getChar
6527 (computeBidiTables): use temp var for row->par()
6528 (fill): move temp vars for row->par() and pit->layout() earlier in
6530 (labelFill): use temp var for row->par()
6531 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6532 asc and desc, realize that pit never changes and that firstpit is
6533 just a duplicate and not needed. Exchange rit->par() with pit in a
6535 (breakAgain): use a temp var for boost::next(rit)
6536 (breakAgainOneRow): ditto
6537 (breakParagraph): use a temp var for rows().begin()
6538 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6539 (cursorRightOneWord): use temp var for cursor.par() and
6540 cursor.pos(), remove usage of tmpcursor.
6541 (cursorLeftOneWord): use temp var for cursor.par() and
6542 cursor.pos() only set cur at end of function.
6544 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6546 * text.C, text2.C: exchange all usage of Paragraph::next with
6547 boost::next(ParagraphList::iterator)
6549 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6551 * text2.C (cursorTop): simplify implementation
6552 (cursorBottom): ditto
6553 (setParagraph): use ParagraphList::iterator
6554 (setCurrentFont): adjust
6555 (getColumnNearX): adjust
6556 (cursorRight): adjust
6557 (cursorLeft): remove usage of Paragraph::previous
6558 (cursorUpParagraph): ditto
6559 (deleteEmptyParagraphMechanism): slight cleanup
6561 * text.C (isBoundary): take a Paragraph const & instead of a
6563 (addressBreakPoint): ditto
6564 (leftMargin): remove usage of Paragraph::previous.
6565 (setHeightOfRow): ditto
6566 (cursorLeftOneWord): ditto
6567 (selectNextWordToSpellcheck): ditto
6570 (breakParagraph): remove one usage of Paragraph::next
6571 (redoParagraph): ditto
6572 (acceptChange): ditto
6573 (insertChar): adjust
6574 (rowBreakPoint): adjust
6576 * bufferview_funcs.C (toggleAndShow): adjust
6578 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6580 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6581 methods to access it.
6583 * text.C: Added updateRowPositions to compute all row positions.
6584 Make top_y and getRowNearY() to use the cached y position
6586 2003-04-11 John Levon <levon@movementarian.org>
6588 * text.C (rowBreakPoint): reintroduce the labelEnd
6589 checks, code copied from the row fill stuff. Deep voodoo.
6591 * text.C (fill): add a comment and debugging for the
6594 2003-04-11 John Levon <levon@movementarian.org>
6596 * text.C: make sure fullrow insets get wrapped to the next line,
6597 even when they're in a manual label
6599 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6601 * text2.C (insertParagraph): make it take ParagraphList::iterator
6603 (setLayout): make it return ParagraphList::iterator
6604 (redoParagraphs): ditto
6606 (checkParagraph): ditto
6608 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6610 * text2.C: adjust several funcs.
6611 (realizeFont): take a ParagraphList::iterator as arg.
6612 (getLayoutFont): ditto
6613 (getLabelFont): ditto
6614 (setCharFont): ditto
6616 * text.C: adjust several funcs.
6618 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6620 * text.C (selectNextWordToSpellcheck): don't accidentally
6623 2003-04-10 John Levon <levon@movementarian.org>
6625 * ToolbarBackend.C (getIcon): special handling for
6628 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6630 * text2.C (cursorRight): a getChar assert fixed
6632 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6634 * text2.C (getFont): change to take a ParagraphList::iterator
6635 instead of Paragraph*
6636 Adjust several functions.
6638 * text.C (transformChar): change to take a ParagraphList::iterator
6639 instead of Paragraph*
6640 (singleWidth): ditto
6641 Adjust several functions.
6643 * rowpainter.C: adjust several functions
6644 * rowpainter.h:store a ParagraphList::iterator and not a
6648 2003-04-09 John Levon <levon@movementarian.org>
6653 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6654 and the "help" bits as well
6656 2003-04-09 John Levon <levon@movementarian.org>
6659 * ToolbarBackend.C: allow multiple toolbars
6661 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6663 * undo_funcs.C (setCursorParUndo): adjust
6665 * text_funcs.C (transposeChars): adjust
6667 * text3.C (gotoNextInset): adjust
6670 * text2.C (setLayout): adjust
6671 (changeDepth): adjust
6673 (redoParagraphs): adjust
6674 (selectionAsString): adjust
6675 (setParagraph): adjust
6676 (insertInset): adjust
6677 (cutSelection): adjust
6678 (copySelection): adjust
6679 (pasteSelection): adjust
6680 (insertStringAsLines): adjust
6681 (updateInset): adjust
6682 (setCursor): change to take a ParagraphList::iterator parameter
6683 (setCursorIntern): change to take a ParagraphList::iterator parameter
6684 (setCurrentFont): adjust
6685 (cursorLeft): adjust
6686 (cursorRight): adjust
6687 (deleteEmptyParagraphMechanism): adjust
6689 * text.C (breakParagraph): adjust
6690 (insertChar): adjust
6691 (acceptChange): adjust
6692 (rejectChange): adjust
6693 (selectNextWordToSpellcheck): adjust
6694 (changeCase): adjust
6698 * lyxfind.C (SearchForward): adjust
6699 (SearchBackward): adjust
6700 (nextChange): adjust
6702 * lyxcursor.C (par): adjust
6704 * lyxcursor.h: store a ParagraphList::iterator instead of a
6707 * lyx_cb.C (getPossibleLabel): adjust
6709 * bufferview_funcs.C (toggleAndShow): adjust
6711 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6714 * BufferView.C (removeAutoInsets): adjust
6715 (lockedInsetStoreUndo): adjust
6717 2003-04-09 John Levon <levon@movementarian.org>
6719 * ToolbarBackend.C: try icon without argument
6720 if with argument fails
6722 2003-04-08 John Levon <levon@movementarian.org>
6725 * ToolbarBackend.C: add getIcon(), handle tooltip,
6726 and change from "Icon" to "Item".
6728 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6730 * BufferView.C (lockInset): another bad getchar crunched
6732 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6734 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6737 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6739 * lyxfind.C (searchForward, searchBackwards): bug 782
6741 2003-04-07 John Levon <levon@movementarian.org>
6743 * paragraph.C: remove dead comment
6745 * text.C: remove troublesome depth-fiddling code
6746 in leftMargin() and rightMargin() (bug 1017)
6748 * text.C: fix breaking of rows in nested lists
6751 * text2.C (updateCounters): fix up depth values
6754 2003-04-07 John Levon <levon@movementarian.org>
6756 * BufferView_pimpl.C: clear message when doc finishes resizing,
6757 and after a mouse event
6759 * lyxfunc.C: clear message after exiting inset
6761 2003-04-07 John Levon <levon@movementarian.org>
6763 * bufferview_funcs.C: show math status not outside
6764 status in the statusbar
6766 2003-04-07 John Levon <levon@movementarian.org>
6768 * lyxfunc.C: note status changed after a depth change
6770 2003-04-04 Angus Leeming <leeming@lyx.org>
6772 * LaTeX.h: move AuxInfo operator==, != out of line.
6773 Remove LaTeX virtual destructor; nothing derives from it.
6774 Move operator()() out of public area and rename it startscript().
6775 Change protected for private.
6777 2003-04-04 Angus Leeming <leeming@lyx.org>
6780 * text2.C: remove unneeded #includes.
6782 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6784 * text2.C (dEPM): fix the heigth of the next row
6786 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6788 * text.C: squashed an invalid getChar requester + some ws changes
6790 2003-04-03 John Levon <levon@movementarian.org>
6792 * bufferview_funcs.h:
6793 * bufferview_funcs.C:
6796 * text2.C: make getStatus work for the env depth lfuns
6798 2003-04-03 John Levon <levon@movementarian.org>
6800 * bufferview_funcs.h:
6801 * bufferview_funcs.C:
6804 * text2.C: parlistize decDepth(), by merging it with incDepth()
6806 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6808 * lyxrow.h: store a ParagraphList::iterator instead of a
6809 Paragraph* and adjust other class functions to suit.
6811 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6814 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6816 * text2.C (setCursor): do not anchor to cursor row for the time being
6818 2003-04-02 John Levon <levon@movementarian.org>
6825 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6827 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * paragraph.h: make ParagraphList and ParagraphList::iterator
6830 friends of Paragraph.
6832 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6834 * ParagraphList.C: Use the private next_ and previous_ from
6837 2003-04-01 John Levon <levon@movementarian.org>
6841 * Makefile.am: rename, remove defaults gunk
6844 * MenuBackend.C: remove defaults gunk
6847 * Languages.C: remove defaults gunk
6850 * lyx_main.C: error out if files couldn't be found.
6852 2003-04-02 John Levon <levon@movementarian.org>
6854 * text2.C: make incDepth() use parlist
6856 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6858 * undo_funcs.C (firstUndoParagraph): adjust
6860 * text3.C (gotoInset): adjust
6861 (dispatch): adjust, and rewrite loop.
6863 * text2.C (init): adjust, and rewrite loop.
6864 (redoParagraphs): adjust
6865 (updateInset): adjust, and rewrite loop.
6866 (deleteEmptyParagraphMechanism): adjust
6868 * tabular.C (LyXTabular): adjust
6869 (SetMultiColumn): adjust
6872 * lyxtext.[Ch] (ownerParagraph): delete function
6873 (ownerParagraphs): new function returns a ParagraphList.
6875 * BufferView.C (removeAutoInsets): adjust
6876 (insertErrors): adjust
6877 (setCursorFromRow): adjust
6879 2003-04-01 Angus Leeming <leeming@lyx.org>
6881 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6884 2003-04-02 John Levon <levon@movementarian.org>
6890 * text_funcs.C: make transposeChars a free function
6892 * lyxrow_funcs.C: remove wrong comment
6894 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6897 * rowpainter.C: adjust
6902 * lyxrow_funcs. [Ch]: new files
6904 * lyxrow.[Ch]: remove next and previous pointers
6905 (next,previous): remove accessor functions
6906 (isParEnd): move to lyxrow_funcs
6907 (lastPos): move to lyxrow_funcs
6908 (nextRowIsAllInset): move to lyxrow_funcs
6909 (lastPrintablePos): move to lyxrow_funcs
6910 (numberOfSeparators): move to lyxrow_funcs
6911 (numberOfHfills): move to lyxrow_funcs
6912 (numberOfLabelHfills): move to lyxrow_funcs
6913 (hfillExpansion): move to lyxrow_funcs
6917 * bufferview_funcs.C (toggleAndShow): adjust
6919 * RowList.h: Remove class RowList from file leave just a
6922 * RowList.C: delete file
6924 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6927 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6929 * text3.C (cursorPrevious): adjust
6930 (cursorNext): adjust
6933 * text2.C (redoHeightOfParagraph): adjust
6934 (redoDrawingOfParagraph): adjust
6937 * text.C (breakParagraph): adjust
6938 (insertChar): adjust
6941 * rowpainter.C (RowPainter): adjust
6942 (leftMargin): simplify and adjust
6943 (most rowpainter functions): adjust.
6945 * rowpainter.h: store the row as RowList::iterator not as Row*
6947 * lyxcursor.C (row): taka RowList::iterator as arg
6950 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6953 2003-04-01 Angus Leeming <leeming@lyx.org>
6955 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6956 stuff like bool Bool.
6958 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6960 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6963 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6965 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6968 * lyxtext.h (rows): drop one version and leve a const variant that
6969 returns a RowList::iterator.
6971 2003-03-31 Angus Leeming <leeming@lyx.org>
6973 * text.C (fill): ensure that the signature is the same as that in the
6976 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6978 * text2.C (redoParagraphs): adjust
6979 (updateCounters): adjust
6980 (checkParagraph): adjust
6981 (getColumnNearX): adjust and reformat a bit.
6983 * text.C (top_y): adjust
6985 (leftMargin): adjust
6986 (prepareToPrint): adjust
6988 (getRowNearY): adjust
6990 * lyxtext.h: make rowlist_ mutable.
6992 * RowList.h: add const_iterator
6993 * RowList.C: adjust for RowList::const_iterator.
6995 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6998 2003-03-31 John Levon <levon@movementarian.org>
7001 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7003 * lyx_main.C: set default fonts from using lyx_gui funcs
7005 * exporter.C: pdf_mode moved from lyxrc
7008 * lyxfunc.C: changes from above
7010 2003-03-31 John Levon <levon@movementarian.org>
7012 * lyx_main.C: fix to the last fix
7014 2003-03-31 John Levon <levon@movementarian.org>
7016 * bufferlist.C: "Load original" -> "Load Original"
7022 * format.C: more Alert cleanups
7024 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7026 * text2.C (removeParagraph): make it take a RowList::iterator as
7028 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7029 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7031 * text.C (anchor_row): make it take a RowList::iterator as arg,
7033 (computeBidiTables): make it take a const reference to Row instead
7034 of Row pointer, adjust.
7035 (leftMargin): make it take a RowList::iterator as arg, adjust.
7036 (rowBreakPoint): adjust
7037 (breakAgainOneRow): make it take a RowList::iterator as arg,
7039 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7041 * bufferview_funcs.C (toggleAndShow): adjust
7043 2003-03-30 John Levon <levon@movementarian.org>
7047 * boost-inst.C: moved to support
7049 * several files: changes as a result
7051 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7053 * text2.C (LyXText): adjust.
7055 (removeRow): make it take a RowList::iterator as arg, adjust.
7056 (fullRebreak): adjust
7057 (deleteEmptyParagraphMechanism): adjust
7058 (clearPaint): adjust
7061 * text.C (top_y): adjust
7062 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7063 (breakAgain): make it take a RowList::iterator as arg, adjust.
7064 (breakParagraph): adjust
7065 (insertChar): adjust
7068 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7069 need_break_row, and refresh_row.
7071 * text3.C (dispatch): adjust
7073 * text2.C (checkParagraph): adjust
7075 (setCursorFromCoordinates): adjust
7077 * text.C (top_y): adjust
7079 (getRow): make it return a RowList::iterator, adjust
7080 (getRowNearY): make it return a RowList::iterator, adjust
7082 * text2.C (init): adjust
7083 (insertRow): remove function
7084 (insertParagraph): adjust
7085 (redoParagraphs): adjust
7086 (fullRebreak): adjust
7087 (updateCounters): adjust
7089 * text.C (top_y): rewrite to use RowList iterators.
7091 (setHeightOfRow): rewrite to sue RowList iterators.
7092 (appendParagraph): adjust
7093 (breakAgain): adjust
7094 (breakAgainOneRow): adjust
7095 (breakParagraph): adjust
7097 (getRowNearY): adjust, and remove commented code.
7099 * lyxtext.h (firstRow): delete function
7100 (lastRow): delete function
7101 (rows): new function (const and non-const versions.)
7102 (insertRow): delete function
7104 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7106 2003-03-29 John Levon <levon@movementarian.org>
7108 * BufferView_pimpl.C: always update scrollbar top
7109 because pasting text when we're anchored could mean we
7110 miss an update altogether
7112 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7114 * text2.C (init): use rowlist_.end() and not 0.
7115 (insertRow): change to take a RowList::iterator as arg, adjust
7117 (insertParagraph): change to take a RowList::iterator as arg,
7119 (redoParagraphs): remove some debug msgs.
7121 * text.C (appendParagraph): change to take a RowList::iterator
7122 arg, adjust for this.
7123 (breakAgain): add an assert
7124 (breakAgainOneRow): ditto
7126 2003-03-29 John Levon <levon@movementarian.org>
7128 * text2.C: do not clear selection after inc/decDepth
7131 2003-03-29 John Levon <levon@movementarian.org>
7134 * buffer.C: fix broken strerrors according to Lars
7136 2003-03-29 John Levon <levon@movementarian.org>
7138 * converters.C: more Alert cleanups
7140 2003-03-29 John Levon <levon@movementarian.org>
7142 * bufferview_funcs.C: remove pointless Alert
7144 * buffer.C: fix confusing error message when
7145 a template is chmoded 000
7147 2003-03-29 John Levon <levon@movementarian.org>
7151 * BufferView_pimpl.C: Alert fixes
7155 * tabular-old.C: remove unused table compat reading
7157 2003-03-29 John Levon <levon@movementarian.org>
7162 * lyx_cb.C: more Alert cleanups
7164 * lyxfunc.C: don't allow chktex if not latex document
7166 2003-03-29 John Levon <levon@movementarian.org>
7170 * buffer.C: warnings pushed down from support/,
7173 2003-03-29 John Levon <levon@movementarian.org>
7175 * lyxfunc.C: safety check for C-r (revert)
7177 2003-03-29 John Levon <levon@movementarian.org>
7180 * bufferlist.C: several UI fixes using Alert::prompt.
7181 Fix the pointless looping quit code. Fix stupid revert
7186 * lyx_cb.C: use Alert::prompt
7188 * lyx_main.C: remove a silly question
7190 * lyxfunc.C: remove a couple of silly questions,
7193 2003-03-28 John Levon <levon@movementarian.org>
7195 * text2.C: fix bug 974 (End on empty par)
7197 2003-03-28 John Levon <levon@movementarian.org>
7199 * BufferView_pimpl.C:
7201 * lfuns.h: remove do-nothing math greek lfuns
7203 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7205 * lyxgluelength.h (isValidGlueLength): add default arg on
7206 parameter 2. Remove default arg from friend in class.
7208 * lyxlength.h (isValidLength): add default arg on parameter 2.
7209 Remove default arg from friend in class.
7211 * text2.C (LyXText): adjust, initialize refresh_row.
7215 (insertParagraph): adjst
7216 (redoParagraphs): adjust
7217 (fullRebreak): adjust
7218 (updateCounters): adjust
7219 (deleteEmptyParagraphMechanism): first attempt at fixing a
7222 * text.C (top_y): adjust
7223 (setHeightOfRow): adjust
7225 (getRowNearY): adjust
7227 * lyxtext.h: include RowList.h
7228 (~LyXText): not needed anymore, deleted.
7229 (firstRow): modify for RowList
7230 (lastRow): new function
7231 Delete firstrow and lastrow class variables, add a Rowlist
7232 rowlist_ class variable.
7234 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7237 * RowList.C (insert): fix case where it == begin().
7239 2003-03-26 Angus Leeming <leeming@lyx.org>
7241 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7242 the thesaurus dialog.
7244 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7246 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7248 * RowList.[Ch]: new files
7250 * ParagraphList.C (erase): handle the case where it == begin
7253 2003-03-25 John Levon <levon@movementarian.org>
7257 * aspell.C: add new aspell support
7260 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7263 2003-03-25 Angus Leeming <leeming@lyx.org>
7266 * LyXAction.C (init): new LFUN_INSET_INSERT.
7268 * BufferView_pimpl.C (dispatch): split out part of the
7269 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7271 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7274 2003-03-25 Angus Leeming <leeming@lyx.org>
7276 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7278 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7281 * text3.C: remove useless row->height(0)
7283 2003-03-25 John Levon <levon@movementarian.org>
7287 * text3.C: rename the refreshing stuff to better names
7289 2003-03-24 John Levon <levon@movementarian.org>
7291 * BufferView_pimpl.h:
7292 * BufferView_pimpl.C: update layout choice on a mouse
7295 2003-03-23 John Levon <levon@movementarian.org>
7297 * Makefile.am: fix commandtags.h reference
7299 2003-03-22 John Levon <levon@movementarian.org>
7301 * BufferView_pimpl.C:
7306 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7308 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7311 * text.C: take the rtl methods out of line
7313 2003-03-21 André Pönitz <poenitz@gmx.net>
7315 * metricsinfo.[Ch]: new files containing structures to be passed around
7316 during the two-phase-drawing...
7318 2003-03-21 André Pönitz <poenitz@gmx.net>
7320 * lyxtextclass.C: read 'environment' tag.
7322 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7324 * text2.C (removeRow): fix bug 964
7326 2003-03-20 John Levon <levon@movementarian.org>
7330 * text2.C: paint cleanups. Inset::update() dropped font
7333 2003-03-19 John Levon <levon@movementarian.org>
7335 * lyxfunc.C: only fitcursor/markDirty if available()
7337 2003-03-19 John Levon <levon@movementarian.org>
7339 * commandtags.h: rename to ...
7341 * lfuns.h: ... this, and renumber / cleanup
7343 2003-03-19 John Levon <levon@movementarian.org>
7345 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7346 fit the cursor after an lfun
7350 * BufferView_pimpl.h:
7351 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7353 * LyXAction.C: layout-character should have ReadOnly
7355 * ParagraphParameters.C:
7357 * bufferview_funcs.C:
7364 * undo_funcs.C: changes from above
7366 2003-03-18 John Levon <levon@movementarian.org>
7368 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7369 remove it from update()
7371 * lyxfunc.C: update layout choice after an lfun
7373 * text3.C: remove extra updateLayoutChoice()s
7375 2003-03-18 John Levon <levon@movementarian.org>
7377 * text.C: top_y change means full repaint, fix
7378 a drawing bug with cursor movement
7380 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7384 * text2.C: anchor row on setCursor
7386 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7388 * lyxtext.h: remove almost all mutable keywords
7391 * text3.C: remove const keywords accordingly
7393 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7395 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7397 (TeXEnvironment): ditto
7400 2003-03-17 John Levon <levon@movementarian.org>
7402 * text.C (rowBreakPoint): remove attempt to fix displayed
7403 math insets inside a manual label
7405 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7407 * lyxtext.h: remove BufferView* as first arg from almost all class
7409 * other files: adjust.
7411 2003-03-17 John Levon <levon@movementarian.org>
7415 * text2.C: more paint cleanups
7417 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7420 * rowpainter.C: remove "smart" background painting code
7422 2003-03-16 John Levon <levon@movementarian.org>
7427 * text3.C: add helper functions for setting refresh_row/y
7429 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7431 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7432 newline inset which *can* get inserted in the pass_thru layouts.
7433 This is primarily for literate documents.
7435 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7437 * buffer.C: increment LYX_FORMAT to 223
7439 2003-03-14 André Pönitz <poenitz@gmx.net>
7441 * textclass.h: prepare for environment handling, ws changes
7442 * lyxlayout.C: read latexheader and latexfooter tags
7444 2003-03-14 John Levon <levon@movementarian.org>
7446 * text2.C: rewrite ::status() a bit
7448 2003-03-13 John Levon <levon@movementarian.org>
7450 * lyxtext.h: add some docs
7452 2003-03-13 John Levon <levon@movementarian.org>
7457 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7459 2003-03-13 John Levon <levon@movementarian.org>
7461 * text3.C: fix appendix redrawing
7463 2003-03-13 John Levon <levon@movementarian.org>
7465 * text.C (setHeightOfRow):
7467 * rowpainter.C: make appendix mark have the text
7468 "Appendix" so the user knows what it is
7471 * LColor.C: s/appendixline/appendix/ from above
7473 2003-03-13 John Levon <levon@movementarian.org>
7475 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7477 * text.C: fix a getChar(pos) bug properly
7479 2003-03-13 Angus Leeming <leeming@lyx.org>
7482 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7483 Probably only temporary. Let's see how things pan out.
7485 * BufferView.C (unlockInset):
7486 * BufferView_pimpl.C (fitCursor):
7487 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7489 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7490 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7492 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7493 new functions that convert ParagraphParameters to and from a string.
7495 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7496 BufferView::Pimpl's dispatch.
7497 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7499 2003-03-13 André Pönitz <poenitz@gmx.net>
7503 * factory.C: make it aware of InsetEnv
7505 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7507 * text2.C (setCursor): never ask for one past last
7508 (setCursor): add some debugging messages.
7510 * text.C (singleWidth): never ask for one past last
7511 (singleWidth): ditto
7513 (rightMargin): ditto
7514 (rowBreakPoint): ditto
7515 (setHeightOfRow): ditto
7516 (prepareToPrint): ditto
7518 * rowpainter.C (paintBackground): never ask for one past last
7519 (paintText): never ask for one past last
7521 * paragraph_pimpl.C (getChar): make the assert stricter, never
7522 allow the one past last pos to be taken
7524 * paragraph.C (getChar): ws changes only
7526 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7527 (numberOfSeparators): ditto
7528 (numberOfHfills): ditto
7530 2003-03-12 John Levon <levon@movementarian.org>
7536 * paragraph_funcs.C: fix per-buffer authorlists
7538 2003-03-12 John Levon <levon@movementarian.org>
7540 * text.C: fix newline in right address
7542 2003-03-12 Angus Leeming <leeming@lyx.org>
7544 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7545 duplicate those in LyXFunc::dispatch.
7549 * ToolbarDefaults.C:
7550 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7551 Add LFUN_FONTFREE_UPDATE.
7553 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7554 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7556 * bufferview_func.[Ch]: several new functions to facilliate
7557 transfer of data to and from the character dialog.
7559 2003-03-12 John Levon <levon@movementarian.org>
7564 * paragraph_funcs.C:
7565 * paragraph_pimpl.C:
7569 * text3.C: remove META_NEWLINE in favour of an inset
7572 * rowpainter.C: remove paintNewline (done by inset)
7574 2003-03-12 John Levon <levon@movementarian.org>
7576 * paragraph_pimpl.C: complain about bad getChar()s
7577 for a while at least
7579 2003-03-12 John Levon <levon@movementarian.org>
7582 * buffer.C: move paragraph read into a separate function,
7583 a little renaming to reflect that.
7586 * bufferparams.C: remove the author_ids map, not necessary now
7589 * factory.C: moved Buffer::readInset to here
7591 * paragraph_funcs.h:
7592 * paragraph_funcs.C: readParagraph free function moved from
7595 * tabular.C: name change
7597 2003-03-12 John Levon <levon@movementarian.org>
7600 * ParagraphParameters.C: move par params input to
7603 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7604 behave like a normal read from the stream wrt reading
7605 a line vs. a \\token
7607 2003-03-12 John Levon <levon@movementarian.org>
7610 * ParagraphParameters.h:
7611 * ParagraphParameters.C: move output code to a
7614 2003-03-12 John Levon <levon@movementarian.org>
7616 * BufferView.C (insertLyXFile):
7619 * tabular.C: use a parlist iterator for creating the
7622 2003-03-12 John Levon <levon@movementarian.org>
7624 * buffer.C: make current_change static local not
7627 2003-03-12 John Levon <levon@movementarian.org>
7629 * buffer.C: fix insertStringAsLines for change tracking
7631 2003-03-12 John Levon <levon@movementarian.org>
7638 * bufferparams.C: move author list into params. Rename some
7639 functions. Move the header reading into a separate token
7640 loop. Move the header token reading into BufferParams.
7642 2003-03-12 John Levon <levon@movementarian.org>
7644 * changes.C: put debug inside lyxerr.debugging() checks
7646 2003-03-11 André Pönitz <poenitz@gmx.net>
7648 * factory.C: make it aware of InsetHFill
7650 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7652 * buffer.C (latexParagraphs): move function from here...
7653 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7656 2003-03-10 Angus Leeming <leeming@lyx.org>
7658 * LyXAction.C (init): fix bug in poplating array with multiple entries
7659 with the same LFUN (spotted by JMarc).
7661 2003-03-10 John Levon <levon@movementarian.org>
7664 * text2.C: move getColumnNearX() near its
7667 2003-03-10 John Levon <levon@movementarian.org>
7669 * text.C: fix break before a minipage
7671 2003-03-10 John Levon <levon@movementarian.org>
7673 * text.C: fix the last commit
7675 2003-03-09 John Levon <levon@movementarian.org>
7679 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7680 bug 365 (don't break before insets unless needed). Don't
7681 return a value > last under any circumstances.
7683 2003-03-09 Angus Leeming <leeming@lyx.org>
7685 * BufferView_pimpl.C (trackChanges, dispatch): call
7686 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7688 2003-03-09 Angus Leeming <leeming@lyx.org>
7690 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7691 than Dialogs::showAboutlyx().
7693 2003-03-09 Angus Leeming <leeming@lyx.org>
7695 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7696 than Dialogs::showTabularCreate().
7698 2003-03-09 John Levon <levon@movementarian.org>
7702 * text2.C: 3rd arg to nextBreakPoint was always the same.
7705 2003-03-08 John Levon <levon@movementarian.org>
7712 * text2.C: Remove the "main" bit from the "main body"
7715 2003-03-08 John Levon <levon@movementarian.org>
7717 * text.C (leftMargin): The left margin of an empty
7718 manual label paragraph should not include the label width
7721 * text.C (prepareToPrint): don't attempt to measure hfills
7722 for empty manual label paragraphs - the answer should be 0
7724 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7726 * CutAndPaste.C: remove commented code and reindent.
7728 2003-03-08 John Levon <levon@movementarian.org>
7731 * lyxfunc.C: move reloadBuffer()
7734 * BufferView.C: to here
7736 * lyxvc.C: add comment
7739 * vc-backend.C: call bv->reload() to avoid
7740 getStatus() check on MENURELOAD
7742 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7744 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7745 to an old format .dep file.
7747 2003-03-07 Angus Leeming <leeming@lyx.org>
7749 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7750 when the LFUN_MOUSE_RELEASE should have been handled by
7751 inset->localDispatch.
7753 2003-03-07 Angus Leeming <leeming@lyx.org>
7755 * BufferView_pimpl.C (dispatch):
7756 * LyXAction.C (init):
7757 * ToolbarDefaults.C (init):
7759 * lyxfunc.C (getStatus):
7760 remove LFUN_INSET_GRAPHICS.
7762 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7764 2003-03-07 Angus Leeming <leeming@lyx.org>
7767 * LyXAction.C (init):
7768 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7770 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7773 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7775 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7776 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7778 2003-03-07 Angus Leeming <leeming@lyx.org>
7780 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7783 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7785 * ParagraphList.C (front): new function
7788 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7790 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7791 and top_row_offset_. removed var first_y.
7793 * text2.C (LyXText, removeRow):
7795 * BufferView_pimpl.C:
7796 use these methods instead of using first_y
7798 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7800 * text2.C (pasteSelection): adjust for checkPastePossible
7802 * CutAndPaste.C: remove Paragraph * buf and replace with
7803 ParagraphList paragraphs.
7804 (DeleteBuffer): delete
7805 (cutSelection): change the tc type to textclass_type
7806 (copySelection): change the tc type to textclass_type
7807 (copySelection): adjust for ParagraphList
7808 (pasteSelection): change the tc type to textclass_type
7809 (pasteSelection): adjust for Paragraphlist
7810 (nrOfParagraphs): simplify for ParagraphList
7811 (checkPastePossible): simplify for ParagraphList
7812 (checkPastePossible): remove unused arg
7814 * ParagraphList.C (insert): handle the case where there are no
7817 * CutAndPaste.h: make CutAndPaste a namespace.
7819 * text3.C (dispatch): adjust
7821 * text.C (breakParagraph): add a ParagraphList as arg
7823 * paragraph_funcs.C (breakParagraph): change to take a
7824 BufferParams and a ParagraphList as args.
7825 (breakParagraphConservative): ditto
7826 (mergeParagraph): ditto
7827 (TeXDeeper): add a ParagraphList arg
7828 (TeXEnvironment): ditto
7831 * buffer.C (readLyXformat2): adjust
7832 (insertStringAsLines): adjust
7833 (latexParagraphs): adjust
7835 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7836 (cutSelection): adjust
7837 (pasteSelection): adjust
7839 * BufferView_pimpl.C (insertInset): adjust
7841 2003-03-05 Angus Leeming <leeming@lyx.org>
7844 * LyXAction.C (init):
7845 * BufferView_pimpl.C (dispatch):
7846 * lyxfunc.C (getStatus):
7847 remove LFUN_CHILD_INSERT.
7849 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7851 2003-03-05 Angus Leeming <leeming@lyx.org>
7854 * LyXAction.C (init):
7855 * src/factory.C (createInset):
7856 * lyxfunc.C (getStatus):
7857 * text3.C (dispatch):
7858 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7860 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7862 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7864 * ParagraphList.C (insert): handle insert right before end()
7865 (erase): fix cases where it can be first or last paragraph.
7867 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7869 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7870 Paragraph::next and Paragraph::previous
7873 * text.C (breakParagraph): adjust
7875 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7876 BufferParams& as arg.
7877 (breakParagraph): use ParagraphList::insert
7878 (breakParagraphConservative): take a Buffer* instead of a
7879 BufferParams& as arg.
7880 (breakParagraphConservative): use ParagraphList::insert.
7882 * buffer.C (insertStringAsLines): un-const it
7883 (insertStringAsLines): adjust
7885 * ParagraphList.C (insert): new function
7887 * CutAndPaste.C (pasteSelection): adjust
7889 * text.C (backspace): adjust
7891 * tabular.C (SetMultiColumn): adjust
7893 * CutAndPaste.C (cutSelection): adjust
7894 (pasteSelection): adjust
7896 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7897 Buffer const * as arg
7899 * ParagraphList.C (erase): new function
7900 * paragraph_funcs.C (mergeParagraph): use it
7901 (mergeParagraph): make it take a Buffer* instead of a
7902 BufferParams* as arg
7904 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7906 (breakParagraphConservative): ditto
7908 * paragraph.h: remove the breakParagraph friend
7910 * paragraph.C (eraseIntern): new function
7911 (setChange): new function
7913 * paragraph_funcs.C (mergeParagraph): make it take a
7914 ParagraphList::iterator instead of a Paragraph *, adjust
7917 * paragraph.h: move an #endif so that the change tracking stuff
7918 also works in the NO_NEXT case.
7920 2003-03-04 Angus Leeming <leeming@lyx.org>
7923 * LyXAction.C: new LFUN_INSET_MODIFY.
7925 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7926 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7928 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7930 * several files: ws changes only
7932 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7933 (TeXEnvironment): ditto
7936 * buffer.C (makeLaTeXFile): adjust
7937 (latexParagraphs): make it take ParagraphList::iterator as args
7939 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7941 * buffer.C (latexParagraphs): adjust
7943 * paragraph.C (TeXOnePar): move function...
7944 (optArgInset): move function...
7945 (TeXEnvironment): move function...
7946 * paragraph_pimpl.C (TeXDeeper): move function...
7947 * paragraph_funcs.C: ...here
7949 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7951 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7953 * buffer.C (readInset): remove compability code for old Figure and
7956 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7958 * buffer.C: ws changes
7961 * BufferView_pimpl.C: ditto
7964 * bufferlist.h: ditto
7968 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7970 * converter.[Ch]: split into itself +
7973 * Makefile.am: += graph.[Ch] + format.[Ch]
7980 * lyxrc.C: added #include "format.h"
7982 2003-02-27 Angus Leeming <leeming@lyx.org>
7984 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7987 * factory.C (createInset): add "label" to the factory.
7989 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7990 string and do no more.
7992 2003-02-27 Angus Leeming <leeming@lyx.org>
7995 * LyXAction.C (init):
7996 * factory.C (createInset):
7997 * BufferView_pimpl.C (dispatch):
7998 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8000 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8002 * lyxfunc.C (dispatch):
8003 * text3.C (dispatch): pass name to params2string.
8005 2003-02-26 Angus Leeming <leeming@lyx.org>
8007 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8009 Rearrange the ~includes. Strip out the unnecessary ones.
8011 * factory.C (createInset): reformat.
8012 create new insets for the various LFUN_XYZ_APPLY lfuns.
8014 2003-02-26 John Levon <levon@movementarian.org>
8017 * lyxrow.C: add isParStart,isParEnd helpers
8019 * paragraph.h: make isInserted/DeletedText take refs
8021 * paragraph_funcs.h:
8022 * paragraph_funcs.C: remove #if 0'd code
8027 * text.C: use lyxrow helpers above.
8028 Move draw and paint routines to RowPainter.
8029 Make several methods use refs not pointers.
8030 Make backgroundColor() const.
8031 Add markChangeInDraw(), isInInset().
8032 Merge changeRegionCase into changeCase.
8033 Make workWidth() shouldn't-happen code into an Assert.
8036 * rowpainter.C: new class for painting a row.
8039 * vspace.C: make inPixels take a ref
8041 2003-02-26 Angus Leeming <leeming@lyx.org>
8043 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8046 2003-02-25 John Levon <levon@movementarian.org>
8048 * ispell.C: give the forked command a more accurate name
8050 2003-02-22 John Levon <levon@movementarian.org>
8053 * toc.C: make TocItem store an id not a Paragraph *
8056 2003-02-21 Angus Leeming <leeming@lyx.org>
8058 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8059 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8060 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8061 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8062 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8063 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8065 * BufferView_pimpl.C (dispatch):
8066 * LyXAction.C (init):
8067 * factory.C (createInset):
8068 * lyxfunc.C (getStatus, dispatch):
8069 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8071 2003-02-21 Angus Leeming <leeming@lyx.org>
8073 * BufferView_pimpl.C (MenuInsertLyXFile):
8074 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8075 * lyxfunc.C (menuNew, open, doImport):
8076 no longer pass a LyXView & to fileDlg.
8078 2003-02-21 Angus Leeming <leeming@lyx.org>
8080 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8081 * LyXAction.C: change, BIBKEY to BIBITEM.
8082 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8083 Change InsetBibKey to InsetBibitem.
8084 Change BIBKEY_CODE to BIBITEM_CODE.
8085 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8086 * factory.C: replace insetbib.h with insetbibitem.h.
8087 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8088 * paragraph.C: replace insetbib.h with insetbibitem.h.
8089 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8090 Change bibkey() to bibitem().
8091 * text.C: remove insetbib.h.
8092 * text2.C: replace insetbib.h with insetbibitem.h.
8093 change bibkey() to bibitem().
8094 * text3.C: remove insetbib.h.
8095 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8097 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8099 * lyxrc.C (output): enclose user email in quotes (in case there are
8102 2003-02-18 John Levon <levon@movementarian.org>
8104 * buffer.h: add std::
8106 2003-02-17 John Levon <levon@movementarian.org>
8112 * pspell.C: reworking. Especially in ispell, a large
8113 number of clean ups and bug fixes.
8115 * lyxfunc.C: fix revert to behave sensibly
8117 2003-02-17 André Pönitz <poenitz@gmx.net>
8120 * commandtags.h: new LFUN_INSERT_BIBKEY
8130 * paragraph_func.C: remove special bibkey handling
8132 2003-02-17 John Levon <levon@movementarian.org>
8134 * text.C (Delete): fix case where delete at the end of
8135 the very first paragraph would not merge the pars
8137 2003-02-17 John Levon <levon@movementarian.org>
8139 * lyxrow.C: fix lastPrintablePos()
8141 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8143 * bufferparams.C (writeLaTeX): add a std:here
8145 * buffer.C: and remove a using directive there
8147 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8149 * buffer.C (makeLaTeXFile): move the code that generates the
8152 * bufferparams.C (writeLaTeX): ... in this new method
8154 * LaTeXFeatures.C (getEncodingSet): make const
8155 (getLanguages): make const
8157 * MenuBackend.C (binding): returns the binding associated to this
8159 (add): sets the status of each item by calling getStatus. Adds
8161 (read): add support for OptSubMenu
8162 (expand): remove extra separator at the end of expanded menu
8164 2003-02-15 John Levon <levon@movementarian.org>
8167 * BufferView_pimpl.C:
8169 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8170 inset code that had no actual effect. Remove unneeded status
8173 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8175 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8178 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8180 * text.C (drawLengthMarker): also draw an arrow marker for
8181 symbolic lengths (medskip...)
8183 2003-02-14 John Levon <levon@movementarian.org>
8186 * tabular.C: better method names
8188 2003-02-14 John Levon <levon@movementarian.org>
8190 * BufferView_pimpl.C:
8195 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8196 it's a more accurate name. Remove some pointless uses.
8198 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8200 * text2.C (LyXText): change order of initilizers to shut off
8203 2003-02-14 John Levon <levon@movementarian.org>
8205 * buffer.C: use ParIterator for getParFromID()
8209 * paragraph_pimpl.h:
8210 * paragraph_pimpl.C: remove unused getParFromID()
8212 2003-02-14 John Levon <levon@movementarian.org>
8214 * buffer.C: remove some very old #if 0'd parse code
8216 2003-02-13 John Levon <levon@movementarian.org>
8220 * text2.C: move hfillExpansion(), numberOfSeparators(),
8221 rowLast(), rowLastPrintable(), numberofHfills(),
8222 numberOfLabelHfills() ...
8225 * lyxrow.C: ... to member functions here.
8230 * text.C: remove LyXText::beginningOfMainBody(), and call
8231 p->beginningOfMainBody() directly. Move the check for
8232 LABEL_MANUAL into the latter.
8239 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8245 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8246 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8248 2003-02-13 John Levon <levon@movementarian.org>
8250 * CutAndPaste.C: remove debug
8252 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8254 * paragraph.C (asString): remove two unused variables
8256 * lyxtextclass.C (readTitleType):
8258 (LyXTextClass): handle new members titletype_ and titlename_
8260 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8262 2003-02-09 John Levon <levon@movementarian.org>
8265 * buffer.C: replace hand-coded list with a map for the dep clean
8267 2003-02-08 John Levon <levon@movementarian.org>
8269 * LaTeX.C: consolidate code into showRunMessage() helper
8271 2003-02-08 John Levon <levon@movementarian.org>
8276 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8277 and pass the size in explicitly
8279 * BufferView_pimpl.h:
8280 * BufferView_pimpl.C:
8282 * BufferView.C: add getCurrentChange()
8284 * BufferView_pimpl.h:
8285 * BufferView_pimpl.C: handle change lfuns
8287 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8288 for changes. Mark pasted paragraphs as new.
8290 * support/lyxtime.h:
8291 * support/lyxtime.C:
8292 * DepTable.C: abstract time_t as lyx::time_type
8295 * LColor.C: add colours for new text, deleted text, changebars
8297 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8298 package use "usenames" option.
8302 * LyXAction.C: add change lfuns
8306 * author.C: author handling
8309 * buffer.C: add a per-buffer author list, with first entry as
8310 current author. Handle new .lyx tokens for change tracking. Output
8311 author list to .lyx file. Output dvipost stuff to .tex preamble.
8312 Bump lyx format to 222.
8315 * bufferlist.C: add setCurrentAuthor() to reset current author details
8319 * bufferparams.C: add param for tracking
8321 * bufferview_funcs.C: output change info in minibuffer
8325 * changes.C: add change-tracking structure
8328 * debug.C: add CHANGES debug flag
8331 * lyxfind.C: add code for finding the next change piece
8334 * lyxrc.C: add user_name and user_email
8337 * lyxrow.C: add a metric for the top of the text line
8340 * text.C: implement accept/rejectChange()
8343 * text.C: paint changebars. Paint new/deleted text in the chosen
8344 colours. Strike through deleted text.
8348 * paragraph_pimpl.h:
8349 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8350 in the current change to the insert functions. Rework erase to
8351 mark text as deleted, adding an eraseIntern() and a range-based
8352 erase(). Implement per-paragraph change lookup and
8355 * paragraph_funcs.C: Fixup paste for change tracking.
8357 * tabular.C: mark added row/columns as new.
8359 * text.C: fix rowLast() to never return -1. Don't allow
8360 spellchecking of deleted text. Track transpose changes. Don't
8361 allow paragraph break or merge where appropriate.
8363 * text2.C: leave cursor at end of selection after a cut.
8365 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8367 * text.C (getLengthMarkerHeight):
8368 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8369 visible on screen too.
8371 2003-02-07 John Levon <levon@movementarian.org>
8373 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8375 2003-02-05 Angus Leeming <leeming@lyx.org>
8377 * lyxserver.C (read_ready): revert my patch of 11 September last year
8378 as it sends PC cpu through the roof. Presumably this means that
8379 the lyxserver will no longer run on an Alpha...
8381 2003-01-30 Angus Leeming <leeming@lyx.org>
8383 * factory.C (createInset): create an InsetCommandParam of type "index"
8384 and use it to 'do the right thing'.
8386 * text2.C (getStringToIndex): ensure that cursor position is always
8387 reset to the reset_cursor position.
8389 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8391 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8394 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8398 * lyxfunc.C: Output messages with identical spelling, punctuation,
8401 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8403 * MenuBackend.C (expandFormats): List only viewable export formats
8406 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8409 * lyxfunc.C (getStatus): Make sure that formats other than
8410 "fax" can also be disabled
8412 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8414 * text3.C (dispatch): put the lfuns that insert insets in 3
8415 groups, and call doInsertInset with appropriate arguments.
8416 (doInsertInset): new function, that creates an inset and inserts
8417 it according to some boolean parameters.
8419 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8421 * buffer.C (readFile): remember to pass on 'par' when calling
8422 readFile recursively.
8424 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8426 * MenuBackend.C (expandFormats): add "..." to import formats.
8428 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8430 * paragraph.C (asString): Remove XForms RTL hacks.
8432 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8433 * buffer.C: fix typo
8435 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8437 * Makefile.am (LIBS): delete var
8438 (lyx_LDADD): add @LIBS@ here instead.
8440 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8442 * Clarify the meaning of "wheel mouse jump"
8444 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8446 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8449 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8451 * importer.C (Loaders): do not preallocate 3 elements in the
8452 vector, since one ends up with 6 elements otherwise
8454 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8456 * DepTable.C (write): write the file name as last element of the
8457 .dep file (because it may contain spaces)
8458 (read): read info in the right order
8460 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8462 * paragraph_pimpl.C (simpleTeXBlanks):
8463 (simpleTeXSpecialChars):
8464 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8466 * tabular.C (latex): add some missing case statements. Reindent.
8468 * MenuBackend.C (expandToc): remove unused variable.
8470 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8479 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8482 2003-01-05 John Levon <levon@movementarian.org>
8485 * BufferView.C: add getEncoding()
8488 * kbsequence.C: do not store last keypress
8491 * lyxfunc.C: store last keypress here instead. Pass encoding
8494 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8496 * lyx_main.C (init): remove annoying error message when following
8497 symbolic links (bug #780)
8499 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8501 * text.C (insertChar):
8502 * lyxrc.C (getDescription): remove extra spaces
8504 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8506 * lyxrc.C (getDescription): remove extra spaces
8508 2002-12-20 John Levon <levon@movementarian.org>
8510 * text3.C: hack fix for page up/down across tall rows
8512 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8514 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8517 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8519 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8520 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8521 thesaurus is not compiled in
8523 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8525 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8527 2002-12-16 Angus Leeming <leeming@lyx.org>
8530 * lyx_main.C (init): remove override_x_deadkeys stuff.
8532 2002-12-12 John Levon <levon@movementarian.org>
8534 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8535 insert. Only remove shift modifier under strict
8538 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8540 * MenuBackend.C (expandToc): fix crash.
8542 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8544 * MenuBackend.C (expandToc): gettext on float names.
8546 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8548 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8549 implement bool empty() [bug 490]
8551 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8553 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8555 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8557 * several files: ws changes
8559 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8561 * text2.C (setCounter): clean up a bit, use boost.format.
8562 (updateCounters): initialize par upon declaration.
8564 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8565 if the layout exists. We do not just store the layout any more.
8566 (SwitchLayoutsBetweenClasses): use boost.format
8568 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8570 * converter.C (convert): if from and to files are the same, use a
8571 temporary files as intermediary
8573 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8576 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8578 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8580 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8582 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8584 * tabular.C (asciiPrintCell): use string(size, char) instead of
8587 * sgml.C (openTag): fix order of arguments to string constructor
8590 * lyxfunc.C (dispatch): use boost.format
8592 * lots of files: change "c" -> 'c'
8594 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8596 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8598 2002-11-25 Angus Leeming <leeming@lyx.org>
8600 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8602 * lyx_main.C (init): compile fix.
8604 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8606 * lyx_cb.C (start): boost.formatify
8607 do not include <iostream>
8609 * lengthcommon.C: ws only
8611 * boost-inst.C,BoostFormat.h: add more explict instantations
8613 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8615 * lots of files: handle USE_BOOST_FORMAT
8617 2002-11-21 John Levon <levon@movementarian.org>
8619 * pspell.C: fix compile
8621 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8623 * lyxfunc.C (dispatch): use boost::format
8627 * lyxfont.C (stateText): use boost::format
8629 * lyx_main.C (LyX): use boost::format
8631 (queryUserLyXDir): ditto
8634 (typedef boost::function): use the recommened syntax.
8636 * importer.C (Import): use boost::format
8638 * debug.C (showLevel): use boost::format
8640 * converter.C (view): use boost::format
8645 * bufferview_funcs.C (currentState): use boost::format
8647 * bufferlist.C (emergencyWrite): use boost::format
8649 * buffer.C (readLyXformat2): use boost::format
8650 (parseSingleLyXformat2Token): ditto
8652 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8654 * LaTeX.C (run): use boost::format
8656 * Chktex.C (scanLogFile): use boost::format
8658 * BufferView_pimpl.C (savePosition): use boost::format
8659 (restorePosition): ditto
8660 (MenuInsertLyXFile): ditto
8662 * BoostFormat.h: help file for explicit instation.
8664 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8666 * tabular.C (latex): Support for block alignment in fixed width
8669 2002-11-17 John Levon <levon@movementarian.org>
8671 * BufferView_pimpl.C:
8673 * lyxfunc.C: split filedialog into open/save
8675 2002-11-08 Juergen Vigna <jug@sad.it>
8677 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8678 by my last patch (hopefully).
8680 2002-11-08 John Levon <levon@movementarian.org>
8689 * toc.C: ParConstIterator, and use it (from Lars)
8691 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8693 * lyxtextclass.[Ch]: revise and add doxygen comments
8695 2002-11-07 John Levon <levon@movementarian.org>
8697 * text.C: fix progress value for spellchecker
8699 * toc.C: fix navigate menu for insetwrap inside minipage
8701 * paragraph_funcs.C: added FIXME for suspect code
8703 2002-11-07 John Levon <levon@movementarian.org>
8705 * BufferView_pimpl.C: fix redrawing of insets
8708 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8710 * text2.C (updateCounters): fix bug 668
8712 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8714 * text3.C (dispatch): Do not make the buffer dirty when moving the
8717 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8719 * vc-backend.C: STRCONV
8722 * text2.C (setCounter): STRCONV
8724 * paragraph.C (asString): STRCONV
8726 * lyxlength.C (asString): STRCONV
8727 (asLatexString): ditto
8729 * lyxgluelength.C (asString): STRCONV
8730 (asLatexString): ditto
8732 * lyxfunc.C (dispatch): STRCONV
8735 * lyxfont.C (stateText): STRCONV
8737 * importer.C (Import): STRCONV
8739 * counters.C (labelItem): STRCONV
8740 (numberLabel): ditto
8741 (numberLabel): remove unused ostringstream o
8746 * bufferview_funcs.C (currentState): STRCONV
8748 * buffer.C (readFile): STRCONV
8749 (asciiParagraph): ditto
8750 (makeLaTeXFile): ditto
8752 * Spacing.C (writeEnvirBegin): STRCONV
8754 * LaTeXFeatures.C (getLanguages): STRCONV
8755 (getPackages): ditto
8757 (getBabelOptions): ditto
8758 (getTClassPreamble): ditto
8759 (getLyXSGMLEntities): ditto
8760 (getIncludedFiles): ditto
8764 (scanAuxFile): ditto
8767 * LString.h: add the STRCONV macros
8769 * BufferView_pimpl.C (savePosition): STRCONV
8770 (restorePosition): ditto
8771 (MenuInsertLyXFile): ditto
8773 * vc-backend.C (scanMaster): change from submatch[...] to
8776 * funcrequest.C: include config.h
8778 * factory.C: include config.h
8780 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8782 * box.C: include config.h
8784 * LaTeX.C (scanAuxFile): change from submatch[...] to
8788 2002-10-25 Angus Leeming <leeming@lyx.org>
8790 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8792 * ispell.[Ch] (setError): new method.
8793 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8794 Use setError() insetead of goto END.
8796 * lyx_cb.C (AutoSave): move out child process into new class
8799 2002-10-30 John Levon <levon@movementarian.org>
8801 * text3.C: make start appendix undoable
8803 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8805 * lyxlength.C (inPixels): Fix returned value.
8807 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8810 2002-10-24 Angus Leeming <leeming@lyx.org>
8812 * lyxgluelength.h: no need to forward declare BufferParams
8813 or BufferView, so don't.
8815 2002-10-21 John Levon <levon@movementarian.org>
8817 * BufferView.C: menuUndo ->undo, redo
8819 * BufferView.h: document, remove dead, make some methods private
8821 * paragraph_funcs.h:
8822 * paragraph_funcs.C:
8823 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8828 * sgml.C: move sgml open/close tag into sgml.C
8830 * bufferview_funcs.h: unused prototype
8833 * lyxfunc.C: remove unused
8836 * text.C: remove unused
8838 2002-10-21 John Levon <levon@movementarian.org>
8842 * BufferView_pimpl.h:
8843 * BufferView_pimpl.C: fix mouse wheel handling based on
8844 patch from Darren Freeman
8846 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8848 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8850 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8852 * lyxlength.C (inPixels): Fix hanfling of negative length.
8853 Fix LyXLength::MU case.
8855 2002-10-16 John Levon <levon@movementarian.org>
8857 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8859 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8861 * converter.C (view): add support for $$i (file name) and $$p
8862 (file path) for the viewer command. If $$i is not specified, then
8863 it is appended to the command (for compatibility with old syntax)
8865 2002-10-14 Juergen Vigna <jug@sad.it>
8867 * undo_funcs.C (textHandleUndo): alter the order in which the
8868 new undopar is added to the LyXText, as we have to set first
8869 the right prev/next and then add it as otherwise the rebuild of
8870 LyXText is not correct. Also reset the cursor to the right paragraph,
8871 with this IMO we could remove the hack in "redoParagraphs()".
8873 2002-10-09 Angus Leeming <leeming@lyx.org>
8875 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8876 to turn off an optimisation if a new inset is to be inserted.
8878 2002-10-11 André Pönitz <poenitz@gmx.net>
8880 * lyxtext.h: make some functions public to allow access
8881 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8883 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8885 * text3.C (dispatch): when changing layout, avoid an infinite loop
8888 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8890 * lyxrc.C (read): treat a viewer or converter command of "none" as
8893 * MenuBackend.C (expandFormats): for an update, also allow the
8894 formats that are not viewable
8896 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8897 script if it is newer than the lyxrc.defaults in user directory
8899 2002-10-07 André Pönitz <poenitz@gmx.net>
8901 * text.C: Vitaly Lipatov's small i18n fix
8903 2002-09-25 Angus Leeming <leeming@lyx.org>
8905 * ispell.h: doxygen fix.
8907 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8909 * buffer.h (readFile): Add a new argument to the method, to allow
8910 reading of old-format templates.
8912 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8914 * toc.C (getTocList): Get TOC from InsetWrap.
8916 2002-09-16 John Levon <levon@movementarian.org>
8918 * lyxfunc.C: check tabular for cut/copy too
8920 2002-09-12 John Levon <levon@movementarian.org>
8925 * factory.C: add header
8927 * paragraph_funcs.h:
8928 * paragraph_funcs.C: cleanup
8930 2002-09-11 John Levon <levon@movementarian.org>
8932 * PrinterParams.h: odd/even default to true
8934 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8936 * PrinterParams.h: update printer parameters for new xforms dialog
8938 2002-09-11 Angus Leeming <leeming@lyx.org>
8940 * lyxserver.C (read_ready): re-write to make it more transparent
8941 and to make it work in coherent fashion under Tru64 Unix.
8943 2002-09-11 André Pönitz <poenitz@gmx.net>
8947 * text3.C: implement LFUN_WORDSEL
8949 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8951 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8952 make floatlist_ a boost::shared_ptr<FloatList>
8954 * lyxtextclass.C: include FloatList.h
8955 (LyXTextClass): initialize floatlist_
8956 (TextClassTags): add TC_NOFLOAT
8957 (Read): match "nofloat" to TC_NOFLOAT and use it.
8958 (readFloat): modify call to floatlist_
8962 * FloatList.[Ch] (FloatList): remove commented out float
8964 (erase): new function
8966 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8968 * MenuBackend.C (expandToc): fix crash when there is no document
8971 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8973 * many files: Add insetwrap.
8975 2002-09-09 John Levon <levon@movementarian.org>
8977 * text2.C: remove confusing and awkward depth wraparound
8979 2002-09-09 John Levon <levon@movementarian.org>
8981 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8984 * buffer.C: remove getIncludeonlyList()
8987 * lyxfunc.C: remove headers
8989 2002-09-09 Juergen Vigna <jug@sad.it>
8991 * text.C (getColumnNearX): fix form Michael this is most
8992 probably a cut&paste bug.
8994 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8996 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8998 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8999 references, ws changes.
9001 * text2.C (init): update counters after init
9002 (insertParagraph): no need to set counter on idividual paragraphs.
9003 (setCounter): access the counters object in the textclass object
9004 on in the buffer object.
9005 (updateCounters): ditto
9007 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9008 shared_ptr<Counters> to avoid loading counters.h in all
9010 (LyXTextClass): initialize ctrs_
9011 (TextClassTags): add TC_COUNTER, and ...
9012 (Read): use it here.
9013 (CounterTags): new tags
9014 (readCounter): new function
9015 (counters): new funtion
9016 (defaultLayoutName): return a const reference
9018 * counters.C (Counters): remove contructor
9019 (newCounter): remove a couple of unneeded statements.
9020 (newCounter): simplify a bit.
9021 (numberLabel): some small formatting changes.
9023 * buffer.[Ch]: remove all traces of counters, move the Counters
9024 object to the LyXTextClass.
9026 2002-09-06 Alain Castera <castera@in2p3.fr>
9028 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9029 package to set the horizontal alignment on fixed width columns.
9032 * lyx_sty.h: added tabularnewline macro def.
9034 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9036 2002-09-06 John Levon <levon@movementarian.org>
9038 * LyXAction.C: tooltips for sub/superscript
9040 * MenuBackend.C: a bit more verbose
9042 * lyxfunc.C: tiny clean
9044 * undo_funcs.C: document undo_frozen
9046 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9048 * counters.C (Counters): add missing algorithm counter.
9050 * text2.C (setCounter): lookup the counter with layouts latexname
9051 instead of by section number.
9052 (setCounter): use a hackish way to lookup the correct enum
9054 a float name->type change
9055 reset enum couners with counter name directly instead of depth value.
9057 * counters.C (Counters): remove the push_backs, change to use the
9058 float type not the float name.
9059 (labelItem): remove unused string, float name->type change
9061 * counters.h: don't include vector, loose the enums and sects vectors
9063 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9065 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9066 (Read): add float->TC_FLOAT to textclassTags
9067 (Read): and handle it in the switch
9068 (readFloat): new function
9070 * FloatList.C (FloatList): comment out the hardcoded float
9073 * lyxlayout.h: ws change.
9075 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9077 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9079 2002-09-03 Angus Leeming <leeming@lyx.org>
9081 * BufferView_pimpl.h: qualified name is not allowed in member
9082 declaration: WorkArea & Pimpl::workarea() const;
9084 * factory.C: added using std::endl directive.
9086 * text3.C: added using std::find and std::vector directives.
9088 2002-08-29 André Pönitz <poenitz@gmx.net>
9091 * text2.C: remove unused member number_of_rows
9094 * BufferView2.C: remove file, move contents to...
9095 * BufferView.C: ... here
9097 * BufferView_pimpl.C:
9098 * factory.C: move more inset creation to factory
9100 * vspace.C: avoid direct usage of LyXText, ws changes
9103 don't provide direct access to WorkArea, use two simple
9104 acessors haveSelction() and workHeight() instead
9107 2002-08-29 John Levon <levon@movementarian.org>
9109 * BufferView_pimpl.C (dispatch): do not continue when
9112 2002-08-28 André Pönitz <poenitz@gmx.net>
9114 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9117 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9119 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9121 * buffer.C: increment LYX_FORMAT to 221
9123 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9124 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9126 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9128 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9130 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9132 * factory.C (createInset): use LyXTextClass::floats
9134 * MenuBackend.C (expandFloatListInsert):
9135 (expandFloatInsert):
9138 * text2.C (setCounter):
9140 * LaTeXFeatures.C (useFloat):
9141 (getFloatDefinitions):
9143 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9145 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9146 floatlist_, with accessor floats().
9148 * FloatList.h: remove global FloatList
9150 2002-08-26 André Pönitz <poenitz@gmx.net>
9152 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9156 * BufferView_pimpl.C:
9157 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9159 2002-08-25 John Levon <levon@movementarian.org>
9161 * LyXAction.C: fix margin note description
9163 2002-08-24 John Levon <levon@movementarian.org>
9167 * bufferview_funcs.C:
9169 * undo_funcs.C: cleanups
9171 * lyxfunc.C: disable CUT/COPY when no selection
9173 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9175 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9176 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9178 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9179 Add backward compatibility to "mono", "gray" and "no".
9181 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9183 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9184 (and file_format >= 200).
9186 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9188 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9190 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9192 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9194 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9196 * BufferView_pimpl.C:
9203 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9204 inset and code to make it work with the paragraph code. The inset
9205 can be anywhere in the paragraph, but will only do the expected
9206 thing in LaTeX if the layout file contains the parameter line
9208 (or more generally, a nonzero value) for that layout.
9210 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9212 * paragraph.h: remove the declaration of undefined counters class
9215 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9217 * text2.C (setCounter): fixed enumeration mis-count as reported by
9218 Dr. Richard Hawkins.
9220 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9222 * paragraph_funcs.h: remove some unneeded includes
9224 * text.C (backspace): pasteParagraph now in global scipe
9226 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9227 (pasteSelection): ditto
9229 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9230 * paragraph_funcs.C (pasteParagraph): ... here
9232 2002-08-20 André Pönitz <poenitz@gmx.net>
9234 * commandtags.h: new LFUNs for swapping/copying table row/colums
9237 * lyxfunc.C: support for new lfuns
9239 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9242 * buffer.[Ch]: remove NO_COMPABILITY stuff
9244 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9246 * boost.C (throw_exception): new file, with helper function for
9247 boost compiled without exceptions.
9252 * ParameterStruct.h:
9253 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9255 * bufferlist.C (emergencyWriteAll): use boost bind
9257 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9259 * text.C: include paragraph_funcs.h
9260 (breakParagraph): breakParagraph is now in global scope
9262 * paragraph_funcs.[Ch]: new files
9264 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9267 * buffer.C: include paragraph_funcs.h
9268 (insertStringAsLines): breakParagraph is now in global scope
9270 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9273 * CutAndPaste.C: include paragraph_funcs.h
9274 (cutSelection): breakParagraphConservative is now in global scope
9275 (pasteSelection): ditto
9277 * buffer.h: declare oprator== and operator!= for
9278 Buffer::inset_iterator
9280 * bufferlist.C (emergencyWrite): don't use fmt(...)
9282 * text3.C: add using std::endl
9284 * BufferView.C (moveCursorUpdate): remove default arg
9286 2002-08-20 André Pönitz <poenitz@gmx.net>
9288 * buffer.[Ch]: move inline functions to .C
9291 * BufferView_pimpl.C:
9293 * buffer.[Ch]: use improved inset_iterator
9296 * paragraph.[Ch]: write one paragraph at a time
9298 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9300 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9301 style if style is not specified.
9303 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9305 * text2.C (setCounter): when searching for right label for a
9306 caption, make sure to recurse to parent insets (so that a caption
9307 in a minipage in a figure float works) (bug #568)
9309 2002-08-20 André Pönitz <poenitz@gmx.net>
9311 * text3.C: new file for LyXText::dispatch() and helpers
9313 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9315 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9317 2002-08-19 André Pönitz <poenitz@gmx.net>
9320 * text.C: new LyXText::dispatch()
9322 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9324 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9326 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9328 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9331 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9333 * Makefile.am: use $(variables) instead of @substitutions@
9335 2002-08-15 André Pönitz <poenitz@gmx.net>
9338 * BufferView_pimpl.C: streamlining mathed <-> outer world
9342 * LyXAction.C: remove unused LFUN_MATH
9344 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9346 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9348 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9350 * paragraph.C (Paragraph): reformat a bit
9351 (cutIntoMinibuffer): use builtin InsetList function instad of
9355 * buffer.C: include boost/bind.hpp, add using std::for_each
9356 (writeFileAscii): use ParagraphList iterators
9357 (validate): use for_each for validate traversal of paragraphs
9358 (getBibkeyList): use ParagraphList iterators
9359 (resizeInsets): use for_each to resizeInsetsLyXText for all
9361 (getParFromID): use ParagraphList iterators
9363 * BufferView2.C (lockInset): use paragraph list and iterators
9365 2002-08-14 John Levon <levon@movementarian.org>
9367 * lyxserver.C: remove spurious xforms include
9369 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9371 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9373 2002-08-13 André Pönitz <poenitz@gmx.net>
9376 * lyxfunc.C: further cleaning
9378 2002-08-13 André Pönitz <poenitz@gmx.net>
9380 * funcrequest.h: new constructor
9382 * funcrequest.C: move stuff here from .h
9385 * BufferView_pimpl.C:
9388 * lyxfunc.C: subsequent changes
9390 * lyxfunc.h: new view() member function
9392 * lyxfunc.C: subsequent changes
9394 2002-08-13 Angus Leeming <leeming@lyx.org>
9397 * BufferView_pimpl.C:
9405 changes due to the changed LyXView interface that now returns references
9406 to member variables not pointers.
9408 2002-08-13 Angus Leeming <leeming@lyx.org>
9410 * WordLangTuple (word, lang_code): return references to strings,
9415 * lyxtext.h: forward-declare WordLangTuple.
9420 * text.C: #include "WordLangTuple.h".
9423 * text.C: (selectNextWordToSpellcheck): constify return type.
9425 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9431 * paragraph_pimpl.h:
9434 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9436 Made updateCounter always count from start of buffer, and removed
9437 second argument (par).
9438 Reverted floats number display to '#'. Perhaps I'll try again when the
9439 code base is sanitized a bit.
9441 2002-08-12 Angus Leeming <leeming@lyx.org>
9443 * buffer.[Ch] (getLabelList): constify.
9445 2002-08-07 André Pönitz <poenitz@gmx.net>
9447 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9449 * funcrequest.h: extension to keep mouse (x,y) position
9451 2002-08-12 Juergen Vigna <jug@sad.it>
9453 * BufferView2.C (insertErrors): forbid undo when inserting error
9456 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9458 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9460 * ParagraphList.[Ch]: new files
9462 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9464 * BufferView2.C (lockInset): ParagraphList changes
9467 * bufferlist.C: ditto
9471 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9473 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9474 unused class variable counter_,
9476 * paragraph.[Ch] (getFirstCounter): delete unused function
9478 * counters.C: include LAssert.h
9479 (reset): add a new function with no arg, change other version to
9480 not have def. arg and to not allow empty arg.
9482 * text2.C (setCounter): remove empty arg from call to Counters::reset
9484 2002-08-11 John Levon <levon@movementarian.org>
9486 * Makefile.am: add WordLangTuple.h
9488 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9490 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9491 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9493 * insets/insettext.C: InsetList changes
9495 * graphics/GraphicsSupport.C (operator()): InsetList changes
9497 * toc.C (getTocList): InsetList changes
9499 * paragraph_pimpl.[Ch]: InsetList changes
9501 * paragraph.[Ch]: InsetList changes
9503 * buffer.C (inset_iterator): InsetList changes
9504 (setParagraph): ditto
9505 * buffer.h (inset_iterator): ditto
9506 * iterators.C (operator++): ditto
9507 * iterators.h: ditto
9509 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9511 * InsetList.[Ch]: new files, most InsetList handling moved out of
9514 * BufferView2.C (removeAutoInsets): InsetList changes
9516 (ChangeInsets): ditto
9518 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9520 * paragraph_pimpl.h (empty): new function
9522 * paragraph.[Ch] (empty): new function
9524 * other files: use the new Paragraph::empty function
9526 2002-08-09 John Levon <levon@movementarian.org>
9528 * lyxtext.h: remove unused refresh_height
9530 2002-08-09 John Levon <levon@movementarian.org>
9537 * paragraph.C: move sgml char escaping out of paragraph
9540 * paragraph.C: remove id setter
9544 * paragraph_pimpl.C: remove dead tex_code_break_column
9546 * bufferview_funcs.C: small cleanup
9548 * lyxfunc.C: remove dead proto
9550 * lyxtext.h: make some stuff private. Remove some dead stuff.
9552 * lyxgluelength.C: make as[LyX]String() readable
9554 2002-08-08 John Levon <levon@movementarian.org>
9559 * ToolbarDefaults.C:
9562 * toc.C: lyxaction cleanup
9564 2002-08-08 John Levon <levon@movementarian.org>
9566 * BufferView2.C: small cleanup
9569 * lyxfind.C: move unnecessary header into the .C
9571 2002-08-08 John Levon <levon@movementarian.org>
9573 * funcrequest.h: just tedious nonsense
9576 * lyx_main.C: cleanups
9579 * vspace.C: remove dead header lyx_main.h
9581 2002-08-07 Angus Leeming <leeming@lyx.org>
9584 * paragraph_pimpl.h:
9585 Forward declare class Counters in paragraph.h by moving the ctrs member
9586 variable into Paragraph::Pimpl.
9587 (counters): new method, returning a reference to pimpl_->ctrs.
9589 * text2.C: ensuing changes.
9591 2002-08-07 John Levon <levon@movementarian.org>
9593 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9595 * BufferView_pimpl.C: announce X selection on double/triple
9598 * lyx_main.C: use correct bool in batch dispatch
9600 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9602 2002-08-07 André Pönitz <poenitz@gmx.net>
9604 * funcrequest.h: new class to wrap a kb_action and its argument
9607 * BufferView_pimpl[Ch]:
9611 * lyxrc.C: subsequent changes
9614 2002-08-07 John Levon <levon@movementarian.org>
9616 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9617 document options change.
9619 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9624 * makefile.am: move counters functionality over from
9625 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9627 2002-08-06 John Levon <levon@movementarian.org>
9629 * WordLangTuple.h: new file for word + language code tuple
9640 * BufferView2.C: use WordLangTuple
9643 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9645 2002-08-06 John Levon <levon@movementarian.org>
9647 * lyx_main.C: fix cmdline batch handling
9649 2002-08-06 André Pönitz <poenitz@gmx.net>
9651 * lyxrc.C: set default for show_banner to true
9653 2002-08-06 John Levon <levon@movementarian.org>
9655 * pspell.C: fix a crash, and allow new aspell to work
9657 2002-08-06 John Levon <levon@movementarian.org>
9660 * kbmap.C: small cleanup
9663 * vspace.C: add const
9665 2002-08-05 John Levon <levon@movementarian.org>
9667 * LyXAction.C: back to tabular-insert
9669 2002-08-04 John Levon <levon@movementarian.org>
9672 * BufferView.C: cosmetic change
9674 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9684 * BufferView2.C: purge all "Lyx" not "LyX" strings
9687 * lyxcursor.C: attempt to add some documentation
9692 * ToolbarDefaults.C:
9693 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9694 merge with LFUN_TABULAR_INSERT
9701 * pspell.C: split up i/pspell implementations into separate
9702 files, many cleanups
9704 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9706 * text2.C: some cleanup
9708 * lyxfunc.C: don't check for isp_command == "none" any more, it
9709 didn't make any sense
9711 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9716 * makefile.am: move counters functionality over
9717 from text2.C/paragraph.[Ch] to counters.[Ch], and
9719 2002-08-02 John Levon <levon@movementarian.org>
9721 * buffer.C: s/lyxconvert/lyx2lyx/
9723 2002-08-02 Angus Leeming <leeming@lyx.org>
9725 * lyxlex.C: revert John's change as it breaks reading of the user
9728 2002-08-02 Angus Leeming <leeming@lyx.org>
9730 * importer.C (Import):
9731 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9732 changes due to LyXView::view() now returning a boost::shared_ptr.
9734 2002-08-02 John Levon <levon@movementarian.org>
9736 * lyxlex.C: small cleanup
9738 2002-08-02 John Levon <levon@movementarian.org>
9740 * text2.C (status): small cleanup, no logic change
9742 2002-08-01 John Levon <levon@movementarian.org>
9745 * buffer.C (writeFile): don't output alerts, caller
9749 * lyx_cb.C: from above
9751 * lyxfunc.C: allow to open non-existent files
9753 2002-07-31 John Levon <levon@movementarian.org>
9755 * lyxserver.C: don't let incidental errors get
9758 2002-07-30 John Levon <levon@movementarian.org>
9760 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9762 2002-07-30 John Levon <levon@movementarian.org>
9765 * lyxserver.C: remove I/O callback too
9767 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9769 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9772 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9774 * many files: strip,frontStrip -> trim,ltrim,rtrim
9776 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9778 * PrinterParams.h: remove extern containsOnly, and include
9779 support/lstrings.h instead.
9781 * LaTeX.C (scanAuxFile): modify because of strip changes
9783 * buffer.C (makeLaTeXFile): ditto
9784 * bufferparams.C (writeFile): ditt
9785 * lyxfont.C (stateText): ditto
9786 * lyxserver.C (read_ready): ditto
9787 * vc-backend.C (scanMaster): ditto
9789 * BufferView_pimpl.h: ws changes
9791 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9793 2002-07-26 André Pönitz <poenitz@gmx.net>
9795 * kb_sequence.C: remove unnedred usings
9797 2002-07-26 Juergen Vigna <jug@sad.it>
9799 * lyxfind.C (LyXReplace): we have to check better if the returned
9800 text is not of theLockingInset()->getLockingInset().
9802 2002-07-25 Juergen Vigna <jug@sad.it>
9804 * lyxfind.C (LyXReplace): don't replace if we don't get the
9807 * undo_funcs.C (createUndo): remove debugging code.
9809 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9811 * buffer.C (parseSingleLyXformat2Token): Use default placement
9812 when reading old floats.
9814 * FloatList.C (FloatList): Change the default placement of figure
9815 and tables to "tbp".
9817 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9819 * MenuBackend.C: using std::max
9821 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9823 * MenuBackend.C (expandToc):
9824 (expandToc2): code moved from xforms menu frontend. It is now
9825 generic and TOCs are transparent to menu frontends.
9827 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9829 * toc.C (getTocList): protect against buf=0
9831 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9832 Menu as first parameter. Now, this calls itself recursively to
9833 expand a whole tree (this will be useful for TOC handling)
9834 (expandFloatInsert): remove 'wide' version of floats
9836 * MenuBackend.h (submenuname): returns the name of the submenu.
9837 (submenu): returns the submenu itself, provided it has been
9838 created by MenuBackend::expand
9840 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9842 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9843 insets which have noFontChange == true. (bug #172)
9845 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9847 * BufferView_pimpl.C: add connection objects and use them...
9850 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9852 * MenuBackend.C (expandLastfiles):
9855 (expandFloatListInsert):
9856 (expandFloatInsert):
9857 (expand): split expand in parts
9859 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9861 * lyx_gui.C: use lyx_gui::exit()
9863 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9865 * LyXAction.C: show the failing pseudo action
9867 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9869 * buffer.C (readFile): Run the lyxconvert script in order to read
9872 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9876 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9878 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9882 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9884 2002-07-22 Herbert Voss <voss@lyx.org>
9887 * lyxlength.[Ch]: add support for the vertical lengths
9889 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9891 * toc.[Ch]: std:: fixes
9893 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9895 * lyxrc.C: do not include lyx_main.h
9897 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9903 * BufferView2.C: include "lyxlex.h"
9906 * bufferparams.h: do not #include "lyxlex.h"
9908 * lyxtextclasslist.C (Add): remove method
9909 (classlist): renamed to classlist_
9911 * paragraph_pimpl.C:
9915 * bufferview_funcs.C:
9920 * toc.C (getTocList): use BufferParams::getLyXTextClass
9922 * toc.C (getTocList): use InsetFloat::addToToc
9924 * toc.[Ch]: new files, containing helper functions to handle table
9927 * lyxfunc.C (dispatch): no need to remove spaces around command
9929 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9930 first command of the sequence; it is not very clever, but I do not
9931 have a better idea, actually
9933 * LyXAction.C (LookupFunc): make sure to remove space at the
9934 beginning and end of the command
9936 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9938 * MenuBackend.C (getMenubar): new method: return the menubar of
9940 (read): treat differently reading of menu and menubar (in
9941 particular, the menubar has no name now)
9942 (Menu::menubar): remove
9944 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9947 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9949 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9950 a bibitem inset in a RTL paragraph.
9952 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9954 * paragraph_pimpl.C: constify
9956 * BufferView_pimpl.C:
9958 * lyxfunc.C: fix dispatch in a nicer way
9960 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9962 * lyxfunc.C (dispatch):
9963 * BufferView_pimpl.C:
9964 * BufferView_pimpl.h:
9966 * BufferView.h: rename Dispatch() to dispatch()
9968 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9970 * lyxlayout.C (Read): honor DependsOn tag
9972 * lyxlayout.[Ch] (depends_on): new method
9974 * version.C.in: update lyx_docversion
9976 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9978 * paragraph.C (validate): remove from here...
9979 * paragraph_pimpl.C (validate): ... and move here
9980 (isTextAt): make it const
9982 * buffer.C (getLists): ws cleanup
9984 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9986 * language.C (read): Use iso8859-1 encoding in latex_lang
9987 (this prevents LyX from crashing when using iso10646-1 encoding).
9989 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9991 * text2.C (toggleInset): if cursor is inside an inset, close the
9992 inset and leave cursor _after_ it
9994 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9996 * lyxfunc.C: move minibuffer completion handling out of here
9998 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10000 * BufferView_pimpl.C:
10001 * LaTeX.C: fix dispatch calls
10003 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10005 * text.C (drawChars): Fix Arabic text rendering.
10007 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10011 * lyxfunc.C: remove message-push/pop
10015 * lyxfunc.C: rationalise some code by removing verboseDispatch
10016 in favour of a bool argument to dispatch()
10018 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10020 * lyx_main.C (init): make sure to read symlinks as absolute paths
10022 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10025 * lyxfunc.C: no need for commandshortcut to be a member
10027 2002-07-15 André Pönitz <poenitz@gmx.net>
10029 * converter.C: add support for $$s (scripts from lib/scripts dir)
10030 * lyx_main.C: white space
10032 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10036 * lyxrc.C: remove second exit confirmation
10038 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10043 * BufferView_pimpl.h:
10044 * BufferView_pimpl.C:
10045 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10047 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10049 * MenuBackend.C (expand): add numeric shortcuts to document menu
10051 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10053 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10055 * lyxfont.C (setLyXFamily):
10062 * buffer.C (asciiParagraph): use ascii_lowercase
10064 2002-07-15 Mike Fabian <mfabian@suse.de>
10066 * lyxlex_pimpl.C (search_kw):
10067 * lyxlex.C (getLongString):
10068 * converter.h (operator<):
10069 * converter.C (operator<):
10070 * buffer.C (parseSingleLyXformat2Token):
10072 * ToolbarDefaults.C (read):
10073 * MenuBackend.C (checkShortcuts):
10075 * LColor.C (getFromGUIName):
10076 (getFromLyXName): use the compare_ascii_no_case instead of
10077 compare_no_case, because in turkish, 'i' is not the lowercase
10078 version of 'I', and thus turkish locale breaks parsing of tags.
10080 2002-07-16 Angus Leeming <leeming@lyx.org>
10082 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10083 now takes a Buffer const & argument.
10085 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10087 * BufferView.C (resize): check there's a buffer to resize
10089 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10091 * lyxfunc.C: remove dead code
10094 * lyxserver.C: use lyx_guii::set_read_callback
10096 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10098 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10099 an inset in a RTL paragraph.
10101 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10103 * lyxfunc.C: repaint after a font size update
10105 2002-07-15 André Pönitz <poenitz@gmx.net>
10107 * lyxlength.C: inBP should be able to return negative values
10109 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10111 * lyxfunc.C: use lyx_gui::update_fonts()
10113 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10115 * lyxfunc.C: use lyx_gui::update_color()
10117 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10123 * lyxrc.C: remove file->new asks for name option, and let
10124 buffer-new take an argument
10126 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10128 * BufferView_pimpl.C: remove unneeded extra repaint()
10130 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10132 * LyXAction.C: allow command-sequence with NoBuffer
10134 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10136 2002-07-10 Angus Leeming <leeming@lyx.org>
10138 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10140 2002-07-09 Angus Leeming <leeming@lyx.org>
10142 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10144 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10146 * lengthcommon.h: whitespace
10148 * lyxfunc.C: update scrollbar after goto paragraph
10150 * lyxtext.h: factor out page break drawing, and fix it so
10151 page break/added space paints as selected nicely
10153 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10155 * BufferView_pimpl.C: add FIXMEs, clean up a little
10157 2002-07-09 André Pönitz <poenitz@gmx.net>
10159 * lyxfont.[Ch]: support for wasy symbols
10161 2002-07-08 André Pönitz <poenitz@gmx.net>
10163 * BufferView_pimpl.C: apply John's patch for #93.
10165 2002-07-05 Angus Leeming <leeming@lyx.org>
10167 * BufferView_pimpl.C (buffer): generate previews if desired.
10169 * LColor.h: add "preview" to the color enum.
10171 * LColor.C (LColor): add a corresponding entry to the items array.
10173 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10176 2002-07-05 Angus Leeming <leeming@lyx.org>
10178 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10179 The body of the code is now in the method that is passed an ostream &
10180 rather than a file name.
10181 Pass an additional only_preamble parameter, useful for the forthcoming
10184 2002-07-03 André Pönitz <poenitz@gmx.net>
10186 * lyxfunc.C: simplify getStatus() a bit for math stuff
10188 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10190 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10192 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10194 * text.C (changeRegionCase): do not change case of all the
10195 document when region ends at paragraph end (bug #461)
10197 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10199 * paragraph.C (startTeXParParams):
10200 (endTeXParParams): add \protect when necessary
10202 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10204 * BufferView_pimpl.C (workAreaExpose): remove warning
10206 2002-06-27 Angus Leeming <leeming@lyx.org>
10208 * Makefile.am: add lyxlayout_ptr_fwd.h.
10210 2002-06-26 André Pönitz <poenitz@gmx.net>
10212 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10214 2002-06-25 Angus Leeming <leeming@lyx.org>
10216 * lyxfunc.C (dispatch): Comment out the call to
10217 grfx::GCache::changeDisplay. The method no longer exists now that the
10218 pixmap generation part of the graphics loader has been moved into
10221 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10223 * text2.C: layout as layout
10225 * text.C: layout as layout
10227 * tabular.C (OldFormatRead): layout as layout
10229 * paragraph_pimpl.C (TeXDeeper): layout as layout
10230 (realizeFont): layout as layout
10232 * paragraph.C (writeFile): layout as layout
10233 (validate): layout as layout
10234 (getFont): layout as layout
10235 (getLabelFont): layout as layout
10236 (getLayoutFont): layout as layout
10237 (breakParagraph): layout as layout
10238 (stripLeadingSpaces): layout as layout
10239 (getEndLabel): layout as layout
10240 (getMaxDepthAfter): layout as layout
10241 (applyLayout): layout as layout
10242 (TeXOnePar): layout as layout
10243 (simpleTeXOnePar): layout as layout
10244 (TeXEnvironment): layout as layout
10245 (layout): layout as layout
10246 (layout): layout as layout
10248 * lyxtextclass.C (compare_name): new functor to work with
10249 shared_ptr, layout as layout
10250 (Read): layout as layout
10251 (hasLayout): layout as layout
10252 (operator): layout as layout
10253 (delete_layout): layout as layout
10254 (defaultLayout): layout as layout
10256 * lyxlayout_ptr_fwd.h: new file
10258 * lyxlayout.C (Read): layout as layout
10260 * lyx_cb.C (MenuInsertLabel): layout as layout
10262 * bufferlist.C (newFile): layout as layout
10264 * buffer.C (readLyXformat2): layout as layout
10265 (parseSingleLyXformat2Token): layout as layout
10266 (insertStringAsLines): layout as layout
10267 (asciiParagraph): layout as layout
10268 (latexParagraphs): layout as layout
10269 (makeLinuxDocFile): layout as layout
10270 (simpleLinuxDocOnePar): layout as layout
10271 (makeDocBookFile): layout as layout
10272 (simpleDocBookOnePar): layout as layout
10273 (getLists): layout as layout
10275 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10277 * CutAndPaste.C (cutSelection): layout as layout
10278 (pasteSelection): layout as layout
10279 (SwitchLayoutsBetweenClasses): layout as layout
10281 * BufferView_pimpl.C (Dispatch): layout as layout
10282 (smartQuote): layout as layout
10284 * BufferView2.C (unlockInset): layout as layout
10286 2002-06-24 André Pönitz <poenitz@gmx.net>
10288 * lyxfunc.C: fix #487
10290 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10294 * lyxfunc.C: remove display_shortcuts, show_banner
10296 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10298 * Buffer_pimpl.C: oops, update on resize
10300 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10307 * BufferView.C: use repaint()
10309 * BufferView_pimpl.h:
10310 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10311 as it's a clearer description. Remove superfluous
10314 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10316 * text.C: fix bug 488. Not ideal, but getting
10317 getWord() to work properly for the insets that
10318 matter is more difficult ...
10320 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10322 * BufferView_pimpl.C:
10325 * lyxfunc.C: remove the six million index lyxfuncs to just
10326 one, and DTRT (bug 458)
10328 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10332 * BufferView_pimpl.h:
10333 * BufferView_pimpl.C: clean up resize() stuff,
10334 and unnecessary updateScreen()s
10336 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10340 * BufferView_pimpl.h:
10341 * BufferView_pimpl.C:
10344 * minibuffer.C: remove focus management of workarea,
10345 not needed. Use screen's greyOut()
10347 2002-06-17 Herbert Voss <voss@lyx.org>
10349 * converter.C: (convert) do not post a message, when converting
10350 fails, let the calling function decide what to do in this case
10352 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10354 * lyxfunc.C: tidy up a little
10356 2002-06-16 <alstrup@diku.dk>
10358 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10359 Got rid of FORMS_H_LOCATION include. Now we are
10362 2002-06-15 LyX Development team <lyx@rilke>
10364 * buffer.[Ch] (sgmlOpenTag):
10365 (sgmlCloseTag): Added support for avoiding pernicious mixed
10366 content. Return number of lines written.
10368 (makeLinuxDocFile):
10369 (makeDocBookFile): Fixed calls to sgml*Tag.
10370 Simple white space clean.
10372 (simpleDocBookOnePar): Simple white space clean.
10374 * tabular.[Ch] (docBook): Renamed to docbook and got another
10375 argument to related with the pernicious mixed content.
10377 (docbookRow): Fixed calls for docbook inset method.
10379 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10381 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10382 so it's X11 independent.
10386 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10388 2002-06-15 Lyx Development team <lyx@electronia>
10390 * intl.h: Renamed getTrans to getTransManager.
10392 2002-06-14 Angus Leeming <leeming@lyx.org>
10394 * Makefile.am: nuke forgotten stl_string_fwd.h.
10396 2002-06-12 Angus Leeming <leeming@lyx.org>
10398 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10400 2002-06-13 Angus Leeming <leeming@lyx.org>
10403 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10405 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10407 * kbmap.C (getiso): add support for cyrillic and greek
10409 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10413 * BufferView_pimpl.h:
10414 * BufferView_pimpl.C: move bogus scrolling logic
10417 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10420 * BufferView_pimpl.C: view->resize() change
10422 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10424 * BufferView_pimpl.C: topCursorVisible
10427 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10431 * lyx_gui.C: move to frontends/
10435 * lyx_main.C: changes from above
10437 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10444 * lyx_main.C: minor tidy
10446 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10448 * BufferView_pimpl.h:
10449 * BufferView_pimpl.C:
10451 * BufferView.C: make painter() const,
10454 * BufferView2.C: use screen() accessor
10457 * lyx_main.C: some minor cleanup
10459 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10461 * BufferView_pimpl.h:
10462 * BufferView_pimpl.C: remove enter/leaveView,
10465 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10470 * BufferView_pimpl.h:
10471 * BufferView_pimpl.C: only construct screen once,
10474 * lyxrc.C: remove pointless comment
10476 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10479 * BufferView.C: remove active() and belowMouse()
10481 * BufferView_pimpl.h:
10482 * BufferView_pimpl.C: use workarea() not workarea_,
10483 and make it use a scoped_ptr instead
10485 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10487 * lyx_gui.C: add debug message on BadWindow
10489 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10491 * sp_spell.C: fdopen is not part of the C++ standard.
10493 * paragraph.C (InsetIterator): use >= instead of ==
10495 2002-06-07 Angus Leeming <leeming@lyx.org>
10497 Fixes needed to compile with Compaq cxx 6.5.
10498 * BufferView_pimpl.C:
10505 * lyxtextclasslist.C:
10510 all c-library variables have been moved into namespace std. Wrap
10511 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10516 Add a using std::abs declaration.
10518 * kbmap.h (modifier_pair):
10519 * paragraph.h (InsetTable, InsetList):
10520 * lyxfont.h (FontBits):
10521 type definition made public.
10523 * bufferlist.C (emergencyWriteAll): the compiler complains that
10524 there is more than one possible lyx::class_fun template to choose from.
10525 I re-named the void specialisation as lyx::void_class_fun.
10527 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10529 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10530 the compiler is is unable to find tostr in write_attribute.
10532 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10534 * buffer.C (sgmlError): hide #warning
10536 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10538 * xtl/*: get rid of xtl, which is not in use anyway
10540 * LyXAction.C (init):
10541 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10542 were unimplemented xtl experimentation
10544 2002-06-04 André Pönitz <poenitz@gmx.net>
10546 * lyxfunc.C: disable array operation on simple formulae
10548 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10550 * converter.C: constify a bit
10552 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10554 * lyx_gui.C: check xforms version correctly
10556 2002-04-30 Herbert Voss <voss@lyx.org>
10558 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10561 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10563 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10564 attempt to register it with a VCS)
10566 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10568 * lyx_main.C (init): honor variables LYX_DIR_13x and
10571 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10575 * lyx_main.C: fix a crash on bad command line,
10576 and give a useful exit status on error
10578 * lyxfunc.C (doImport): allow -i lyx to work
10580 2002-03-30 André Pönitz <poenitz@gmx.net>
10582 * lyxfunc.C: mathed font changes
10584 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10599 * trans_mgr.h: srcdocs, and some minor cleanups
10601 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10603 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10604 call getFont all the time)
10606 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10608 * switch from SigC signals to boost::signals
10610 2002-05-29 André Pönitz <poenitz@gmx.net>
10612 * paragraph_pimpl.C (getChar): don't call size() too often...
10614 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10616 * paragraph_pimpl.C (insertChar): do not try to update tables when
10617 appending (pos == size())
10619 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10620 in order to reduce drastically the number of comparisons needed to
10621 parse a large document
10623 2002-05-29 André Pönitz <poenitz@gmx.net>
10629 * textclasslist.[Ch]:
10630 * sp_ispell.h: whitespace change
10632 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10634 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10635 lyxaction directly now.
10637 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10641 * lyxvc.C: remove unused headers
10643 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10650 * undo_funcs.C: some cleanups. Use shared_ptr
10651 and a template for the undo stacks.
10653 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10655 * BufferView_pimpl.h:
10656 * BufferView_pimpl.C:
10663 * text2.C: use key_state/mouse_state
10665 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10667 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10670 * chset.C: change include order
10671 (loadFile): use boost regex and get rid of LRegex and LSubstring
10673 * Makefile.am (BOOST_LIBS): new variable
10674 (lyx_LDADD): use it
10676 * LaTeX.C: change include order.
10677 (scanAuxFile): use boost regex and get rid of LRegex and
10681 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10686 * FontInfo.C: moved to frontends/xforms/
10689 * FontLoader.C: moved into frontends for GUIIzation
10694 * lyxfunc.C: changes from above
10696 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10698 * LColor.C: remove spurious X include
10700 * BufferView_pimpl.C:
10705 * text2.C: move font metrics to frontends/
10707 2002-05-24 Juergen Vigna <jug@sad.it>
10709 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10710 setting the undo_cursor.
10712 * ParagraphParameters.h: include local includes first.
10714 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10716 * BufferView_pimpl.C:
10717 * BufferView_pimpl.h:
10721 * screen.C: move WorkArea into frontends/
10727 * BufferView2.C: move LyXScreen into frontends/
10731 * lyx_gui.C: move lyxlookup into frontends/xforms/
10733 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10736 * BufferView_pimpl.C:
10746 * bufferview_funcs.C:
10759 * vc-backend.C: move LyX/XFormsView into frontends/
10761 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10773 * text2.C: move Painter to frontends/
10775 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10777 * buffer.C: comment out some some code that depend upon lyx_format
10780 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10781 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10783 * buffer.h (NO_COMPABILITY): turn off compability
10785 * ColorHandler.C: include scoped_array.hpp
10787 * font.C: Use more specific smart_ptr header.
10790 * ShareContainer.h: ditto
10791 * lyx_main.h: ditto
10793 * FontInfo.h: ditto
10794 * BufferView_pimpl.h: ditto
10795 * ColorHandler.h: ditto
10797 * kbmap.C (defkey): change call to shared_ptr::reset
10799 2002-05-21 Juergen Vigna <jug@sad.it>
10801 * buffer.C (insertErtContents): fix to insert ert asis if it is
10802 non empty. Skip it completely if it contains only whitespaces.
10804 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10806 * BufferView_pimpl.C:
10807 * BufferView2.C: clear selection on paste (bug 393)
10809 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10811 * DepTable.C: include ctime
10813 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10815 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10817 2002-05-14 Juergen Vigna <jug@sad.it>
10819 * text.C (breakParagraph): fixed function to honor the keepempty
10820 layout in the right maner and also to permit the right breaking
10821 algorithm on empty or non empyt keepempty paragraphs.
10823 * paragraph.C (breakParagraph): we have to check also if the par
10824 is really empty (!size()) for isempty otherwise we do the wrong
10827 2002-05-10 Juergen Vigna <jug@sad.it>
10829 * buffer.[Ch] : The following are only changes to the ert
10830 compatibility read reading old LaTeX layout and font stuff and
10831 convert it to ERTInsets.
10833 * buffer.h: added isErtInset().
10835 * buffer.C (struct ErtComp): add a fromlayout bool to check
10836 if we're inside a LaTeX layout.
10837 (isErtInset): new helper function.
10838 (insertErtContents): look for other ert insets before this one
10839 and insert the contents there, so that we don't have subsequent
10840 ERT insets with nothing between them. This way we create only one
10841 inset with multiple paragraphs. Also check if we don't insert only
10842 spaces ' ' as they are ignored anyway afterwards in the .tex file
10843 so if we have only spaces we will ignore this latex part in the
10845 (parseSingleLyXformat2Token \\layout): better compatibility when
10846 reading layout-latex stuff.
10847 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10849 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10850 stuff after reading the inset only get the information back from
10853 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10855 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10857 * LaTeXFeatures.C (getBabelOptions): New method.
10859 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10861 * BufferView_pimpl.C (Dispatch): work around missing argument for
10864 2002-05-08 Juergen Vigna <jug@sad.it>
10866 * text.C (leftMargin): handle paragraph leftindent.
10868 * paragraph.C (writeFile): write the new \\leftindent tag.
10869 (validate): handle leftindent code.
10870 (TeXEnvironment): handle paragraphleftindent code again.
10872 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10874 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10875 for paragrap_extra indent code and new token \\leftindent.
10876 (latexParagraphs): handle the leftindent as environment.
10878 * ParameterStruct.h: added leftindent support.
10880 * ParagraphParameters.C (leftIndent): added support functions for
10881 the paragraph left indent.
10883 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10886 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10888 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10891 * text.C (computeBidiTables): No bidi in insetERT.
10893 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10896 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10898 * version.C.in: pre 5
10900 2002-05-02 José Matos <jamatos@fep.up.pt>
10901 * buffer.C (makeDocBookFile): white space changes, add newline to
10903 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10905 * tabular.C (docBook): fix typo.
10907 2002-05-03 Juergen Vigna <jug@sad.it>
10909 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10910 change in LyXText as we can not be sure it was not freed.
10911 (drawOneRow): remove unused code.
10913 * text.C (drawInset): redo the calculation of the need_break_row as
10914 it could have a row which was already freed.
10915 (draw): look at the return value of drawInset and return false if
10916 it also returned false.
10917 (paintRowText): look at the return value of draw and return false if
10918 it also returned false.
10920 * lyxtext.h: added bool return type to drawInset() and draw() so that
10921 if we have a change in the row so that the rowbreak has to be redone
10922 we abort drawing as it will be called again.
10924 2002-05-02 Juergen Vigna <jug@sad.it>
10926 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10927 a change in the maintext also if we're inside an inset.
10928 (Dispatch): set the cursor again after a break line and after the
10929 screen has been updated as it could be we're in a different row.
10931 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10932 to set the cursor behind the pargraph with > size().
10933 (setCursor): check also for the same paragraph when checking where
10934 to put the cursor if we have a NFR inset.
10936 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10937 parts of layout read further up as it still was in the wrong
10940 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10942 * screen.C (drawFromTo): change sine fullRebreak always return
10945 * buffer.C (parseSingleLyXformat2Token): reindent some
10947 * BufferView_pimpl.C (update): change since fullRebreak always
10949 (Dispatch): git rid of the last hardcoded "Standard"s.
10951 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10953 * text2.[Ch] (fullRebreak): make it return void now that we always
10956 2002-04-30 Juergen Vigna <jug@sad.it>
10958 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10959 ert compatibility check for "latex" layout.
10961 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10963 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10964 minipages: use col% instead of p%, and also use the current font.
10965 (makeLaTeXFile): Fix use babel condition.
10966 (parseSingleLyXformat2Token): Correct font when reading old floats.
10968 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10970 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10971 inserting list of floats.
10973 2002-04-25 Herbert Voss <voss@lyx.org>
10975 * MenuBackend.C (expand): don't add the graphics extensions to the
10978 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10980 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10981 non-existing layout, do not complain if it was the default layout
10982 of the original class (bug #342)
10984 2002-04-24 Juergen Vigna <jug@sad.it>
10986 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10987 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10989 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10991 * buffer.C (getBibkeyList): If using \bibliography, return the
10992 option field with the reference itself. Enables us to provide natbib
10993 support when using \bibliography.
10995 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10997 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10999 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11000 natbib is provided by the LaTeX class.
11002 2002-04-23 Juergen Vigna <jug@sad.it>
11004 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11007 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11009 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11011 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11013 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11014 ensuremath around textordmasculine, textordfeminine and
11017 2002-04-19 Juergen Vigna <jug@sad.it>
11019 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11020 reinitializing the buffer otherwise row-dimensions may be wrong.
11021 (update): reset also the selection cursors if they do exits otherwise
11022 their x/y positions may be wrong.
11024 * text2.C (cursorDown): don't enter the inset if we came from a row
11025 above and are one row over the inset.
11027 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11028 really leaving an inset.
11030 2002-04-18 Juergen Vigna <jug@sad.it>
11032 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11033 of the selected paragraph does not have the selected layout also if
11036 * text2.C (setLayout): fixed bug which did not change last selected
11039 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11040 changed the read and substituted \\end_float with \\end_inset!
11042 * BufferView_pimpl.C (cursorPrevious):
11043 (cursorNext): fixed to make it work with rows heigher than the work
11044 area without moving the cursor only the draw of the row.
11045 (workAreaMotionNotify): fix jumping over high rows.
11047 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11049 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11052 2002-04-16 Juergen Vigna <jug@sad.it>
11054 * text2.C (setCursor): set also the irow().
11055 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11057 (cursorDown): support for locking an inset if the x_fix value goes
11058 inside it. That way I can transverse insets too with cursor up/down.
11060 * lyxrow.h: added irow helper function same as other (i) functions.
11062 * BufferView_pimpl.C (cursorPrevious):
11063 (cursorNext): fixed for insets!
11065 2002-04-15 Juergen Vigna <jug@sad.it>
11067 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11068 position otherwise it is wrong in some cases.
11070 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11071 inside the inset before the call.
11073 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11075 * buffer.[Ch] (getBibkeyList): make it const.
11077 2002-04-12 Juergen Vigna <jug@sad.it>
11079 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11081 * text2.C (getCursorX): new helper function
11082 (setCursor): compute also ix_
11083 (setCursorFromCoordinates): set also ix.
11085 * lyxcursor.h: added ix_ and helper functions.
11087 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11089 * buffer.C (insertStringAsLines): dont break paragraph if the this
11090 paragraph is inside an inset which does not permit it!
11092 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11093 also with no chars on this paragraph.
11094 (paintRowText): only paint stuff if it's inside the workarea!
11096 * paragraph.C (breakParagraph): honor keepempty flag and break the
11097 paragraph always below not above.
11099 * BufferView2.C (unlockInset): update the paragraph layout on inset
11100 unlock as we changed paragraph in such a case.
11102 * lyxfind.C (LyXFind): clear the former selection if not found!
11104 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11105 again called in insertChar().
11107 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11108 an inset which uses the whole row!
11109 (rightMargin): ditto.
11110 (insertChar): force a rebreak if we inserted an inset!
11112 2002-03-28 Herbert Voss <voss@lyx.org>
11114 * lyxlength.[Ch]: add inBP() to get the right PS-point
11115 units (BigPoint). With inPixels we have rounding errors
11117 2002-04-11 Juergen Vigna <jug@sad.it>
11119 * text2.C (setCursorFromCoordinates): set iy to the right value.
11120 (setCursor): add check if row->previous exists!
11122 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11123 an old float_type as this was the case in the old code!
11125 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11127 * BufferView2.C (showLockedInsetCursor): use iy
11128 (fitLockedInsetCursor): ditto
11130 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11131 locked insets as there we have the right value now.
11133 * lyxcursor.C: added iy_ variable and iy functions to set to the
11134 baseline of cursor-y of the locked inset.
11136 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11137 (setCursor): fixed for insets which need a full row.
11139 * text.C (rowLastPrintable): don't ignore the last space when before
11140 an inset which needs a full row.
11141 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11142 as last character of a row when before a inset which needs a full row.
11144 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11146 * version.C.in: update date
11148 * text2.C (fullRebreak): try to always return true and see what
11151 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11153 * MenuBackend.C (expand): use Floating::listName
11155 * FloatList.C (FloatList): add listName argument to the built-in
11158 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11159 text associated with the float.
11161 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11163 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11165 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11167 * ShareContainer.h: add a couple of missing typenames.
11169 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11171 * lyxrc.C (getDescription): use _() correctly rather than N_().
11173 2002-03-28 Herbert Voss <voss@lyx.org>
11175 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11176 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11178 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11180 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11181 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11183 2002-03-29 Juergen Vigna <jug@sad.it>
11185 * lyxfunc.C (dispatch): add a missing fitCursor call.
11187 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11188 it was scrolled by a cursor move, so return the bool status.
11190 * BufferView.C (fitCursor): return the bool flag also to the outside
11191 world as this is needed.
11193 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11195 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11196 call the edit() as it is not needed (and wrong) IMO.
11197 (workAreaButtonPress): set the screen_first variable before evt.
11198 unlock the inset as this may change screen_first and then we have
11199 a wrong y position for the click!
11201 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11203 * MenuBackend.C (expand): another translation that I missed
11205 2002-03-28 Juergen Vigna <jug@sad.it>
11207 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11209 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11211 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11213 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11215 * MenuBackend.C (expand): fix export/view/update when there is no
11218 2002-03-27 Herbert Voss <voss@lyx.org>
11220 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11223 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11225 * bufferview_funcs.C (currentState): only show paragraph number
11226 for is DEVEL_VERSION is set.
11228 * lyxfunc.C (dispatch): put warning in INFO channel
11230 * MenuBackend.C (expand): translate the name of floats
11232 * FloatList.C (FloatList): mark the float names for translation
11234 * converter.C (convert): use LibScriptSearch
11236 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11238 * MenuBackend.C (defaults): fix default menu (we might as well get
11241 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11243 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11246 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11248 * lyxvc.C: reorder includes.
11250 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11252 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11255 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11257 * CutAndPaste.C: change layouts earlier on paste
11258 to avoid crashing when calling getFont()
11260 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11262 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11265 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11267 * WorkArea.C: remove 'Pending' debug message.
11269 * most files: ws cleanup
11271 * buffer.[Ch]: ws changes
11273 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11275 2002-03-21 Juergen Vigna <jug@sad.it>
11277 * tabular.C (SetMultiColumn): collapse also the contents of the
11278 cells and set the last border right. Added a Buffer const * param.
11280 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11282 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11285 2002-03-19 Juergen Vigna <jug@sad.it>
11287 * text2.C (clearSelection): reset also xsel_cache.
11289 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11290 where it needs to be called (John tells us to do so too :)
11291 (selectionLost): reset sel_cache.
11293 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11295 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11297 * text2.C (setCursorIntern): put debuging code in INSETS channel
11299 2002-03-19 André Pönitz <poenitz@gmx.net>
11301 * lyxfunc.C: tiny whitespace change
11303 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11305 * ToolbarDefaults.C (init):
11306 * LyXAction.C (init):
11308 * BufferView_pimpl.C (Dispatch):
11309 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11311 2002-03-19 Allan Rae <rae@lyx.org>
11313 * exporter.C (Export): removeAutoInsets before doing anything else.
11314 While I've just introduced a dependency on BufferView this really is
11315 the best place to clean the buffer otherwise you need to cleanup in
11316 a dozen places before calling export or cleanup in a dozen functions
11319 * converter.C (runLaTeX):
11320 (scanLog): Better handling of removeAutoInsets and screen updates.
11322 * lyxfunc.C (dispatch): small whitespace changes
11324 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11326 * WorkArea.C (C_WorkAreaEvent): return a value.
11327 (event_cb): return 1 if we handled the event, 0 otherwise.
11329 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11331 2002-03-18 Juergen Vigna <jug@sad.it>
11333 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11334 (GetAdditionalWidth): ditto.
11335 (RightLine): ditto.
11338 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11339 inset if we're there actually (probably not used right now but this
11340 is the direction to go for unifying code).
11341 (paste): disable code to clear the selection.
11343 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11344 inside an InsetText and move the check further up as it is in the
11347 * text2.C (pasteSelection): set a selection over the pasted text.
11349 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11351 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11352 and libgraphics to build on Cygwin.
11354 2002-03-15 Juergen Vigna <jug@sad.it>
11356 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11357 inserting an Inset into the paragraph. I know this is not the best
11358 fix but we already use current_view in CutAndPaste so we will remove
11359 all of it's using at the same time.
11361 * buffer.C (sgmlError): deactivated function till it is rewritten in
11362 the right mode, now it can create problems.
11364 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11365 before accessing it.
11367 2002-03-14 Juergen Vigna <jug@sad.it>
11369 * undo_funcs.C (textHandleUndo): do the right thing when updating
11370 the inset after the undo/redo.
11372 * text2.C (setCursor): just some testcode for #44 not ready yet.
11374 * undo_funcs.C (textHandleUndo): set the next() and previous()
11375 pointers of the paragraph to 0 before deleting otherwise we have
11376 problems with the Paragraph::[destructor].
11378 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11379 on a paragraph insertion.
11381 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11383 * buffer.C (asciiParagraph): use += operator for char append to
11386 * paragraph.C (getFontSettings): compare >= not just >
11387 (highestFontInRange): ditto
11390 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11392 * paragraph.C: change several algorithm to be more appripriate for
11393 the problem domain. This is lookip in FontList and in the InsetList.
11395 2002-03-13 André Pönitz <poenitz@gmx.net>
11398 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11400 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11405 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11407 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11409 * Painter.C (display): anon helper function, adjust code for this
11411 (pixmap): remove function.
11413 * Painter.h: remove private display variable.
11415 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11417 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11419 * WorkArea.[Ch]: remove figinset_canvas cruft.
11421 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11423 * lyxtextclass.C (operator): add one item cache optimization.
11425 * bufferlist.h: doxy changes
11427 * bufferlist.C: ws changes
11429 * DepTable.[Ch] (ext_exist): place const in the right spot.
11431 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11433 (workAreaExpose): call resizeInsets when the with BufferView changes.
11434 (Dispatch): adjust for protectedBlank removal
11435 (specialChar): call updateInset if the insert went ok.
11437 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11438 specialChar instead.
11440 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11442 * BufferView.h: doxy change
11444 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11446 * lyxtextclass.C (operator[]): remove non-const version
11447 (defaultLayout): remove non-const version
11449 2002-03-12 Juergen Vigna <jug@sad.it>
11451 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11452 did resize the LyXText too.
11454 * buffer.C (readLyXformat2): set layout information on newly allocated
11457 * tabular.C (OldFormatRead): set layout information on the paragraph.
11459 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11461 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11463 2002-03-11 Juergen Vigna <jug@sad.it>
11465 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11467 (resizeCurrentBuffer): force also the insets to resize themselfes.
11468 (moveCursorUpdate): fixed up for InsetText.
11470 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11473 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11474 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11475 value of Dialogs::tooltipsEnabled().
11476 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11478 2002-03-08 Juergen Vigna <jug@sad.it>
11480 * BufferView_pimpl.C (updateInset): update inset inside inset also
11481 if it isn't inside theLockingInset().
11483 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11485 * buffer.C (asciiParagraph): redo some of the word and line length
11487 (getLists): look for Caption instead of caption.
11489 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11491 * buffer.C (Buffer): initialize niceFile to true
11493 (makeLinuxDocFile):
11494 (makeDocBookFile): make sure niceFile is true on exit
11496 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11498 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11500 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11502 * LyXSendto.C: remove.
11503 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11504 * lyx_gui.C: remove now-redundant comment.
11505 * ColorHandler.h: remove forward declaration of class WorkArea.
11506 * lyxfunc.C: remove #include "WorkArea.h".
11508 2002-03-07 Juergen Vigna <jug@sad.it>
11510 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11511 got moved away with the DEPM and also set the inset_owner always
11512 right which before could have been omitted.
11514 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11516 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11517 wanted layout is not found.
11519 2002-03-07 Juergen Vigna <jug@sad.it>
11521 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11523 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11525 * paragraph.C (breakParagraph): use default layout not layout of
11527 (Paragraph): clear ParagraphParameters.
11529 2002-03-06 Juergen Vigna <jug@sad.it>
11531 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11532 otherwise it would not be a valid lenght. Fixed a special case in
11533 the minipage compatibility read where we end the document with a
11536 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11537 was set as it could be 0 for InsetTexts first entry.
11539 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11541 * paragraph.C (writeFile): if layout is empty write out
11542 defaultLayoutName().
11544 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11545 file without named layout we set layout to defaultLayoutName().
11547 2002-03-06 Juergen Vigna <jug@sad.it>
11549 * CutAndPaste.C (copySelection): set layout for new paragraph.
11551 * text.C (prepareToPrint): leave ERT inset left aligned
11552 (leftMargin): don't indent paragraphs inside ERT insets
11554 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11556 * paragraph.C (breakParagraph): dont call clear do the work manually
11558 * paragraph.[Ch] (clear): remove function
11560 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11562 * paragraph.C (Paragraph): dont call clear, the work has already
11565 * lyxtextclass.C (operator): assert if n is empty
11567 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11568 work manually instead.
11570 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11572 * BufferView_pimpl.C: protect selectionLost against text == 0
11574 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11576 * text.C (breakParagraph): fix a setting layout to '0' problem.
11578 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11580 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11581 final location of file, for the included files, and graphics.
11583 2002-03-05 Juergen Vigna <jug@sad.it>
11585 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11587 2002-03-04 Juergen Vigna <jug@sad.it>
11589 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11591 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11592 last column of multicolumn cells.
11593 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11595 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11597 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11598 file if it doesn't go to a temporary file.
11600 * buffer.C (sgmlOpenTag):
11601 (sgmlCloseTag): remove extra newline insertion.
11603 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11605 * text.C (getRowNearY): comment out debug msg
11607 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11609 * text2.C: first -> first_y
11611 * text.C (getRowNearY): add some attemts at a possible
11612 optimization, not working.
11614 * tabular.[Ch]: add BufferParams to several function so that newly
11615 created paragraph can be initialized to he default layotu for the
11618 * tabular-old.C (ReadOld): add buf->params to call of Init
11620 * screen.C: rename text->first to text->first_y
11622 * paragraph.C (breakParagraph): always set layout in the broken
11625 * lyxtextclass.C (Read): remove lowercase
11628 (delete_layout): ditto
11630 * lyxtext.h: rename first -> first_y
11632 * lyxlayout.C (Read): remove lowercase
11635 (obsoleted_by): ditto
11637 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11639 * buffer.C (insertErtContents): add params are to InsetERT
11640 (parseSingleLyXformat2Token): add code to check if a paragraphs
11641 layout really exist.
11642 (parseSingleLyXformat2Token): add params to several inset
11644 (asciiParagraph): remove lowercase, do the layout comparisons with
11647 * BufferView_pimpl.C (cursorNext): first -> first_y
11648 (resizeCurrentBuffer): first -> first_y
11649 (updateScrollbar): first -> first_y
11650 (scrollCB): first -> first_y
11651 (workAreaMotionNotify): first -> first_y
11652 (workAreaButtonPress): first -> first_y
11653 (checkInsetHit): first -> first_y
11654 (cursorPrevious): first -> first_y
11655 (cursorNext): first -> first_y
11656 (Dispatch): add buffer_->params to severl inset contructors
11658 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11660 * lyxlayout.C (Read): remove some debug info that I forgot.
11662 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11663 clean up the code slightly.
11664 (makeLinuxDocFile): ditto
11665 (makeDocBookFile): ditto
11667 * text2.C: layout as string
11669 * text.C: layout as string
11671 * paragraph_pimpl.C: layout as string
11673 * paragraph.[Ch]: layout as string
11675 * lyxtextclasslist.[Ch]: layout as string
11677 * lyxtextclass.[Ch]: layout as string
11679 * lyxtext.h: layout as string
11681 * lyxlayout.[Ch]: layout as string
11683 * lyx_cb.C: layout as string
11685 * bufferview_funcs.C: layout as string
11687 * bufferparams.C: layout as string
11689 * buffer.C: layout as string
11691 * LyXView.[Ch]: layout as string
11693 * LaTeXFeatures.[Ch]: layout as string
11695 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11697 * BufferView_pimpl.C: change current_layout to string, remove
11702 (workAreaButtonRelease): layout as string
11704 * BufferView2.C (unlockInset): adjust
11706 * vspace.C (asLatexCommand): use an explict temp variable.
11708 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11710 * Makefile.am: use FRONTEND_*
11712 2002-03-01 Juergen Vigna <jug@sad.it>
11714 * tabular.C (SetWidthOfMulticolCell): changed to something better
11715 I hope but still work in progress.
11716 (recalculateMulticolumnsOfColumn): renamed function from
11717 recalculateMulticolCells as it is more appropriate now.
11718 (SetWidthOfCell): calculate multicols better.
11720 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11722 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11724 * lyxfunc.C (processKeySym): print sequence also if it is
11725 `deleted' (complete)
11727 * kbsequence.C (print): print sequence even if it is deleted
11728 (complete would be a better word, actually).
11730 * lyxfunc.C (dispatch): print complete options after a prefix key
11732 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11734 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11736 * text2.C (setCharFont): eliminate setCharFont code duplication.
11738 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11740 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11741 LFUN_TABULAR_FEATURE (bug #177)
11743 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11745 * Makefile.am: remove figure.h
11747 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11749 * Bufferview_pimpl.C:
11761 * text2.C: remove #include "lyx_gui_misc.h".
11763 * LaTeX.C: added #include <cstdio>
11765 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11767 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11768 that the paragraph following this one can have.
11770 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11772 * vspace.C (asLatexCommand): fix bogus gcc warning
11774 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11776 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11778 * text2.C (setLayout): get rid of redundant code
11780 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11782 * text2.C (incDepth): make sure depth cannot be increased beyond
11785 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11787 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11788 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11790 * PainterBase.h (image):
11791 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11792 a LyXImage const *.
11794 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11798 * BufferView_pimpl.C:
11799 * BufferView_pimpl.h:
11819 * sp_spell.C: remove fig inset, and the crap house of
11820 cards that follows it
11822 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11827 * os2_errortable.h:
11828 * nt_defines.h: move .h into support/
11830 * vms_defines.h: remove
11832 * WorkArea.C: add space in debug output
11836 * buffer.C: add WITH_WARNINGS
11840 * bufferlist.C: s/retrive/retrieve/, add docs
11849 * chset.C: add docs
11851 * lyxgui.C: add ID to X error handler
11853 * lyxtestclass.c: fix typo
11855 2002-02-26 Juergen Vigna <jug@sad.it>
11857 * tabular_funcs.C (write_attribute): changed so that some default
11858 attributes are not written at all.
11859 (getTokenValue): set default values before trying to read the
11860 value so we have the return value always set as default if we don't
11861 find the token we search for.
11863 * tabular.C (Write): write bools as bools not as strings!
11865 2002-02-22 Juergen Vigna <jug@sad.it>
11867 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11868 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11870 * text.C (leftMargin): don't add an indent for paragraphs inside
11871 tabular cells (fix #208).
11873 2002-02-21 José Matos <jamatos@fep.up.pt>
11875 * tabular.C (docBook): fixed support for long tables.
11877 2002-02-20 Juergen Vigna <jug@sad.it>
11879 * text2.C (getFont): get the drawing font of the Inset if this
11880 paragraph is inside an inset (only important for InsetERT for now).
11882 * buffer.C (insertErtContents): use new lanugage params in ERT
11885 * CutAndPaste.C: commenting out seemingly uneeded code.
11887 2002-02-19 Allan Rae <rae@lyx.org>
11889 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11890 Iterators might be simple to use but they also get invalidated.
11891 (removeAutoInsets): renamed saved cursor tracking variables and added
11892 some comments to clarify what everything does.
11894 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11901 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11902 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11905 * vc-backend.h: remove #include "support/syscall.h"
11909 * converter.C: rearrange #includes in Lars' approved fashion.
11911 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11912 forward declare class Timeout in the header file.
11914 * XFormsView.C: changes due to the above.
11916 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11917 similar to LyXView.
11919 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11920 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11922 2002-02-18 José Matos <jamatos@fep.up.pt>
11924 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11927 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11929 * a lot of small ws changes
11930 * add a lot of using std::XXX
11931 * use std construcs some places where approp.
11932 * use some exisint stuff from lyxfunctional where approp.
11933 * Make file changes to use partial linking (lets test this now...)
11935 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11939 remove #include "support/syscontr.h" as it's redundant. Always has been.
11947 change Systemcalls::System to Systemcalls::Wait and
11948 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11949 No change of functionality, just reflects the stripped down Systemcalls
11952 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11954 * debug.[Ch]: add a GRAPHICS type to the enum.
11956 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11958 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11960 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11963 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11965 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11966 match the changes below.
11968 * text2.C (toggleInset): if there is not editable inset at cursor
11969 position, try to see if cursor is _inside_ a collapsable inset
11972 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11974 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11975 document menu has a nice checkbox
11977 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11979 * lyxlength.C (asLatexString): change PW to output as percent of
11982 * lengthcommon.C: change '%' to 't%'
11984 * lyxfunc.C (dispatch): a few comments from Martin
11986 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11990 * BufferView_pimpl.h:
11991 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11994 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11996 * vspace.C (inPixels): fix compiler warning
11998 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12000 * lyxfunc.C (getStatus): fix status message for disabled commands.
12002 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12004 * BufferView_pimpl.C: fix crash on close buffer
12005 during selection (#227)
12007 2002-01-27 Herbert Voss <voss@lyx.org>
12009 * buffer.C: link old Figure to new graphic inset
12011 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12013 * FontLoader.C (getFontinfo): Change the latex font names in order
12014 to match the names of type1inst.
12016 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12018 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12020 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12021 (extchanged): ditto
12023 (remove_files_with_extension): ditto
12024 (remove_file): ditto
12027 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12028 document is smaller than the work area height. Do not initialize
12029 static variables to 0.
12031 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12033 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12035 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12036 LFUN_LAYOUT_PARAGRAPHS.
12038 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12039 tabular. It is possible to provide a possible cell, which will
12040 typically be the actcell from the corresponding insettabular
12042 * lyxfunc.C (getStatus): small cleanup; disable
12043 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12046 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12048 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12050 * paragraph.C (startTeXParParams):
12051 (endTeXParParams): new methods. The LaTeX code to
12052 start/end paragraph formatting
12053 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12054 empty (fixes bug #200)
12056 * vspace.C (inPixels): adapt to the change below
12057 (inPixels): [later] more cleanups (remove unused variables)
12059 * lyxlength.C (inPixels): change to use a width and a height as
12062 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12064 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12065 Replaced with \paperwidth
12067 * DepTable.C (insert): add std:: qualifier
12069 2002-01-18 Allan Rae <rae@lyx.org>
12071 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12074 * text.C (drawInset): Turned out I didn't know enough about how
12075 rebreaking worked. This fixes most of the redraw problems. I see
12076 an occasional cursor trail when a line is broken now and the cursor
12077 placement can seem out by a few pixels also after a rebreak.
12079 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12081 * buffer.C (parseSingleLyXformat2Token): update because minipage
12082 width is now a LyXLength
12084 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12086 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12089 2002-01-17 Juergen Vigna <jug@sad.it>
12091 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12093 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12094 is set correctly and the inset is updated correctly.
12096 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12098 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12099 the beginning of the loop.
12101 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12103 * lyxrc.C: improve help for use_scalable_fonts
12105 2002-01-17 Allan Rae <rae@lyx.org>
12107 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12109 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12111 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12112 make sure to set their inset_owner to the right value (bug #171)
12114 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12117 * DepTable.C: Implement mtime checking to reduce time spent doing
12120 2002-01-16 Juergen Vigna <jug@sad.it>
12122 * tabular.C (GetAdditionalHeight): one of error fixed.
12124 * lyxrc.C (output): small fix in writing use_pspell.
12126 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12128 * sp_base.h: #include LString.h
12130 2002-01-16 Allan Rae <rae@lyx.org>
12132 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12133 Can someone check this please?
12135 * text.C (drawInset): It was possible that p.row would be removed by
12136 breakAgainOneRow upsetting a few other settings. There may be another
12137 small tweak possible by setting need_break_row = 0 when p.row has been
12138 removed but I don't know enough about the logic here.
12140 2002-01-15 Allan Rae <rae@lyx.org>
12142 * text.C (insertChar): removed conditional truism.
12144 * BufferView2.C (removeAutoInsets): More tweaks.
12145 cur_par_prev could be a stray pointer. Check for trailing empty line
12146 in case last line was cur_par and only had an error inset on it.
12148 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12150 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12153 * vc-backend.C (most methods):
12154 * exporter.C (Export):
12155 * converter.C (convert):
12157 * LyXSendto.C (SendtoApplyCB):
12158 * lyxfunc.C (dispatch):
12162 * lyx_cb.C (AutoSave):
12164 * BufferView_pimpl.C (MenuInsertLyXFile):
12165 * buffer.C (runChktex): use Buffer::filePath().
12167 * buffer.h: rename filename to filename_; rename filepath to
12168 filepath_ and make it private
12169 (filePath): new method
12171 * buffer.C (writeFile): use fileName()
12174 * lyx_main.C (init): fix starting of LyX when the binary is a
12175 link from so,ewhere else.
12177 * minibuffer.C: include <cctype> for isprint
12179 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12181 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12182 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12183 name clash with InsetCollapsable's width function.
12185 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12187 * lastfiles.C: include <iterator>
12189 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12191 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12194 * buffer.C (makeLaTeXFile): ditto.
12195 Also make loop operation more transparent.
12197 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12199 * ToolbarDefaults.C: remove trailing comma closing namespace.
12201 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12203 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12206 * trans.C (Load): comment out unused variable, allowed.
12208 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12210 * minibuffer.[Ch] (append_char): new method to recieve input from the
12211 drop-down completion browser. If a key was pressed, then recieve this
12212 char and append it to the existing string.
12213 (peek_event): modify the positioning data passed to the completion
12214 browser so that it can be placed above the minibuffer rather than below.
12215 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12217 * LyXAction.C (init): alloe error-next for readonly documents.
12219 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12222 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12224 * bufferlist.C (readFile): create the buffer _after_ checking that
12227 * lyxfunc.C (verboseDispatch): fix handling of arguments
12229 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12231 * lyxrc.C: use string::erase() instead of initializing to "".
12234 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12236 * BufferView_pimpl.h:
12237 * BufferView_pimpl.C:
12240 * text2.C: tell X when we have made a selection for copying
12242 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12244 * BufferView_pimpl.C (MenuInsertLyXFile):
12245 * lyxfunc.C (menuNew):
12247 (doImport): add shortcuts to directory buttons
12249 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12252 * lyxfunc.C (setStatusMessage):
12253 (getStatusMessage): new methods
12254 (getStatus):use setStatusMessage instead of setErrorMessage
12255 (dispatch): when function is disabled, set error message here
12256 [instead of in getStatus previously]
12258 * BufferView_pimpl.C (workAreaButtonRelease): update
12259 toolbar/menubar here too.
12261 2002-01-13 Allan Rae <rae@lyx.org>
12263 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12264 Now seems indestructible. Remaining task is to audit all other
12265 code affected by deleteEmptyParagraphMechanism. One small quirk
12266 left is that an empty document with an error in the preamble can
12267 be made to report an error but no error box appears. I don't know
12269 (removeAutoInsets): Improved comments.
12271 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12274 * Thesaurus.C: update for Aiksaurus 0.14
12276 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12278 * text2.C (firstParagraph): removed member function, all uses
12279 replaces with ownerParagraph
12280 (redoParagraphs): here
12281 (updateInset): here
12282 (toggleAppendix): here
12283 * BufferView2.C (insertErrors): here
12284 (setCursorFromRow): here
12286 2002-01-13 Allan Rae <rae@lyx.org>
12288 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12289 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12290 There is still a way to segfault this although you may have to do this
12291 multiple times: Have an InsetERT with an unknown command in it.
12292 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12293 <down-arrow>, <Enter> again, View->DVI, BANG!
12295 * text2.C (setCursor):
12296 (deleteEmptyParagraphMechanism):
12297 * lyxtext.h (setCursor):
12298 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12299 Making use of the return value may help fix other bugs.
12301 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12303 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12305 * LyXView.C (updateMenubar): call MenuBar::update here
12306 (updateToolbar): but not here
12307 (showState): do not update toolbar/menubar
12309 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12310 should need to care about that.
12312 * lyxfunc.C (verboseDispatch): simplify a bit
12313 (getStatus): have a version which takes a pseudoaction, and
12314 another which requires a (kb_action,string).
12316 * LyXAction.C (retrieveActionArg): make it work also when action
12317 is not a pseudo-action.
12318 (getActionName): simplify a bit
12321 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12323 * lyxfunc.C (verboseDispatch): new families of methods with
12324 several ways to specify a command and a bool to indicate whether
12325 the command name and shortcut should be displayed in minibuffer
12326 (eventually, we could extend that to a finer bitmask like
12327 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12328 (dispatch): the pristine dispatch command which just, well,
12329 dispatchs! Note it still sets its result to minibuffer; I'm not
12332 * lyxfunc.h: remove setHintMessage
12334 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12336 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12338 * BufferView_pimpl.C (specialChar): delete new inset if we have
12339 not been able to insert it.
12341 * kbmap.C: revert to using int instead of kb_action, since all we
12342 are dealing with is pseudo-actions.
12344 * LyXAction.C (searchActionArg): change to return int instead of
12345 kb_action, since the result is a pseudoaction.
12347 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12349 * buffer.C (insertErtContents): Fix (partially) the font bug.
12351 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12353 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12354 as the other one is broken on my machine!
12356 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12359 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12361 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12363 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12364 reflect their actual use. Provide compatibility code for older lyxrc
12367 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12369 change names of popup font variables in line with the changes to lyxrc.C
12371 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12373 * buffer.C (asciiParagraph): avoid outputing a word twice after
12376 * lyxrc.C (getDescription): document that document_path and
12377 template_path can be empty.
12379 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12381 * LaTeXFeatures.C (getMacros):
12382 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12384 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12386 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12388 (getPackages): rename feature "floats" to "float". Use an array to
12389 iterate over 'simple' features (i.e. just a \usepackage). Add
12390 handling of "amsmath" (renamed from "amsstyle").
12392 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12394 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12397 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12399 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12400 FuncStaus::FuncStatus & FuncStaus::some_method().
12402 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12404 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12405 of the func_satus stuff. Edited and massaged in various ways by
12408 * lyxfunc.C (getStatus): use FuncStatus
12410 2002-01-08 Juergen Vigna <jug@sad.it>
12412 * text.C (nextBreakPoint): use function Inset::isChar().
12414 * paragraph.C (TeXOnePar): use function
12415 Inset::forceDefaultParagraphs.
12417 * buffer.C (latexParagraphs): use function
12418 Inset::forceDefaultParagraphs.
12420 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12422 * lyx_gui.C (init): set the style of the menu popups to
12423 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12425 2002-01-07 Juergen Vigna <jug@sad.it>
12427 * text.C (setHeightOfRow): small fix
12428 (prepareToPrint): don't look at alignment if we don't have the place
12431 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12433 * box.C: New file. Move the Box methods and functions out of box.h,
12434 following Lars' suggestion.
12436 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12438 * box.h: #include "support/LOstream.h", needed for inlined function.
12441 * lyxtextclasslist.C: added some using std declarations.
12443 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12445 * box.h: make signed dimensions to allow insets wider than
12446 the screen (bug #162)
12448 * BufferView_pimpl.C: add some insetHit debug
12450 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12452 * vc-backend.C: add FIXME
12454 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12456 * lyxfunc.C (getStatus): enable code for showing math font status
12459 2002-01-07 Juergen Vigna <jug@sad.it>
12461 * text.C (nextBreakPoint): removed debug output not needed anymore.
12463 2002-01-06 Juergen Vigna <jug@sad.it>
12465 * text.C (nextBreakPoint): fixed up this function we had this bug
12466 since ever but now hopefully we break row better.
12467 (insertChar): we have to check if an inset is the next char as it
12468 could now happen that a large inset is causing a break.
12470 2002-01-05 Juergen Vigna <jug@sad.it>
12472 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12473 if it doesn't like to be drawed.
12475 2002-01-04 Juergen Vigna <jug@sad.it>
12477 * BufferView2.C (lockInset): forgot to set a cursor.
12479 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12481 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12483 * FormMathsPanel.C:
12486 * form_maths_panel.C:
12487 * form_maths_panel.h:
12488 * form_maths_panel.fd: implemented sub- and super- buttons in math
12491 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12492 (or ^ space) to be used as in TeX (req'd by André).
12494 * lyxfunc.C: Allow ^ and _ again to be used both as
12495 super/subscript (mathed) and as themselves (in text).
12497 2002-01-03 Allan Rae <rae@lyx.org>
12499 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12500 "LyX" or the filename of the current buffer if it has one. This is a
12501 modified form of John Levon's patch.
12503 * XFormsView.C (setWindowTitle): also set icon title.
12505 * LyXView.h (setWindowTitle): signature changed.
12506 * XFormsView.h (setWindowTitle): ditto.
12508 2002-01-02 Juergen Vigna <jug@sad.it>
12510 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12512 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12514 * screen.C (topCursorVisible): introduce a temp var for
12515 text->cursor.row(), handle the case where this row is null. (kindo
12518 * text2.C (setCursor): add a couple of asserts.
12520 * paragraph.h (inset_iterator): add -> operator
12522 * paragraph.[Ch] (autoDeleteInsets): remove member function
12524 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12525 cursor pos correctly and handle inset deletion by itself.
12526 (insertErrors): move iterator declaration out of for expression
12528 * lyxtextclass.C: add <algorithm>
12530 * Makefile.am: added the new files to sources, removed layout.C
12532 * layout.C: removed file
12534 * layout.h: remove LYX_DUMMY_LAYOUT
12536 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12540 * lyxtextclass.[Ch]:
12541 * lyxtextclasslist.[Ch]: new files
12543 * include order changes to a lot of files, also changes because of
12546 2001-12-27 Juergen Vigna <jug@sad.it>
12548 * buffer.C (asciiParagraph): more fixes.
12550 * tabular.C (ascii): make ascii export support export of only the
12551 data separated by a column-delimiter.
12552 (ascii): better support for ascii export.
12554 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12556 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12558 * tabular_funcs.C: use a "using std::getline" instead of the
12559 previous fix from Angus (necessary for cxx + lyxstring)
12561 2001-12-24 Juergen Vigna <jug@sad.it>
12563 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12565 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12566 problems. First check a minipage also if we have some ert-contents
12567 (not only on par->size(), second set the right depth of the paragraph
12568 on the relink to the root-paragraph-list!
12570 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12571 which then did not anymore update the main paragraphs on undo/redo!
12573 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12575 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12576 code. Support all font-changing funcs (even those which are not in
12577 menu currently). Support for reporting font settings in
12578 mathed (disabled until Andre provides a function on mathed's side).
12580 * func_status.h (toggle): small helper function to set toggle
12583 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12585 * tabular_funcs.C: getline -> std::getline
12587 2001-12-21 Juergen Vigna <jug@sad.it>
12589 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12590 accessed and could be 0 (I couldn't generate this but it seems
12593 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12595 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12596 * tabular_funcs.h: here and include iosfwd
12598 2001-12-20 Juergen Vigna <jug@sad.it>
12600 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12601 inside inset but undo_par was.
12603 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12605 * Thesaurus.C: always include <config.h> in sources.
12609 * box.h: do not include <config.h> in header files
12611 * text.C (paintLastRow): remove unused variable
12613 * text.C (transformChar):
12615 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12617 * Painter.C (text):
12618 * font.C (width): rewrite to use uppercase() instead of
12621 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12623 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12625 * lyxfind.C: clean up of find failure position change
12627 2001-12-20 Juergen Vigna <jug@sad.it>
12629 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12631 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12632 (TeXRow): added to LaTeX a single tabular row.
12633 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12634 (Latex): simplified and finally good LT-h/f support.
12635 (various_functions): just small adaptions for LT-h/f support.
12637 * tabular_funcs.[hC]: added and moved here all not classfunctions
12640 2001-12-19 Juergen Vigna <jug@sad.it>
12642 * tabular.[Ch]: better support for longtabular options (not finished
12645 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12647 * text.C (paintLastRow): use the label font instead of the font of
12648 the last character to compute the size of *_BOX. This makes more
12649 sense and avoids a crash with empty paragraphs.
12650 Use Painter::rectangle to draw EMPTY_BOX.
12652 2001-12-19 Juergen Vigna <jug@sad.it>
12654 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12655 the paragraphs if the replaced paragraph is not the first one!
12656 Tried to delete not used paragraphs but does not work yet so for
12657 now it's inside #ifdef's and by default off!
12659 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12661 * MenuBackend.C: include "lyx_main.h" instead of declaring
12662 lastfiles (actually was declared as LastFiles* instead of a
12665 2001-12-17 Juergen Vigna <jug@sad.it>
12667 * tabular.C (AppendColumn): applied John's fix
12669 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12673 * BufferView_pimpl.h:
12674 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12677 * box.h: new start of class for above
12679 * lyxfunc.C: ignore space-only minibuffer dispatches.
12680 Show the command name when it doesn't exist
12682 * minibuffer.C: don't add empty lines to the history
12684 * minibuffer.C: add a space on dropdown completion
12686 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12688 * text.C: fix line above/below drawing in insets
12690 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12692 * lyxlength.C (LyXLength): Initialize private variables.
12694 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12696 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12697 when inserting error insets.
12699 2001-12-13 Juergen Vigna <jug@sad.it>
12701 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12702 actually sometimes the before-paragraph.
12703 (setUndo): don't clear the redostack if we're not actually undoing!
12705 2001-12-06 Juergen Vigna <jug@sad.it>
12707 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12708 and fixed redoing of main paragraph, so we can use it now ;)
12710 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12712 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12714 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12717 2001-12-13 André Pönitz <poenitz@gmx.net>
12720 * undo_func.C: minor cleanup
12722 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12724 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12725 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12726 font in urw-fonts package which is marked as -urw-fontspecific and
12727 does not work (incidentally, changing the encoding in the
12728 fonts.dir of this package to -adobe-fontspecific fixes the
12731 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12732 is a crash when undoing first paragraph (Juergen, please take a
12733 look). THis does not mean the undo fix is wrong, just that it
12736 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12737 the (Paragraph*) version when needed instead of duplicating the
12740 * text.C (workWidth): use Inset::parOwner to find out where the
12741 inset has been inserted. This is a huge performance gain for large
12742 documents with lots of insets. If Inset::parOwner is not set, fall
12743 back on the brute force method
12745 * paragraph_pimpl.C (insertInset):
12746 * paragraph.C (Paragraph):
12747 (cutIntoMinibuffer): set parOwner of insets when
12748 inserting/removing them
12750 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12752 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12758 * mathed/formulabase.C:
12759 * mathed/math_cursor.[Ch]:
12760 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12763 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12765 * lyxlength.[Ch] (operator!=): new function
12767 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12769 * text.C (workWidth): use Inset::parOwner to find out where the
12770 inset has been inserted. This is a huge performance gain for large
12771 documents with lots of insets. If Inset::parOwner is not set, fall
12772 back on the brute force method
12774 * paragraph_pimpl.C (insertInset):
12775 * paragraph.C (Paragraph):
12776 (cutIntoMinibuffer): set parOwner of insets when
12777 inserting/removing them
12779 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12781 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12783 * tabular-old.C (getTokenValue):
12784 * tabular.C (getTokenValue):
12785 (write_attribute): new versions for LyXLength
12786 (everywhere): adjust the use of widths
12788 * tabular.h: change the type of widths from string to LyXLength
12790 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12792 * paragraph.C: fixed missing line number count when exporting
12793 Environments to LaTeX file
12795 * buffer.C: added informational message for checking line numbers.
12797 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12799 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12800 paragraph, do the 'double space' part, but not the 'empty
12803 * text.C (workWidth): small optimization
12804 (getLengthMarkerHeight): use minimal size for negative lengths.
12806 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12808 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12810 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12812 2001-12-11 André Pönitz <poenitz@gmx.net>
12815 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12817 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12819 * text2.C: keep selection on a setFont()
12821 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12823 * lyx_cb.C: another bv->text misuse, from insert label
12825 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12828 * kbsequence.C: re-instate nmodifier mask
12830 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12832 * lyx_main.h: make lyxGUI private.
12834 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12836 * lyxfind.C: place the cursor correctly on failed search
12838 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12840 * text.C (getLengthMarkerHeight): for small heights, the arrows
12841 are not always on top/bottom of the text
12842 (drawLengthMarker): smaller arrows; take the left margin in
12843 account; draw also vfills.
12845 (paintLastRow): remove special code for vfill and standard spaces,
12846 since everything is handled in drawLengthMarker now.
12848 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12850 * buffer.C (insertErtContents): try to handle font and language
12851 interaction a bit better.g
12853 * ColorHandler.C (updateColor): change the hash to cover the whole
12854 LColor enum, ws cleanup
12855 (getGCLinepars): ditto
12856 (getGCLinepars): only lookup in the linecache once.
12858 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12860 * iterators.C (operator++): Make the iterator more robust
12862 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12864 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12866 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12869 * text.C: better added space drawing
12871 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12874 * BufferView2.C: fix layout combo update on inset unlock
12876 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12878 * Makefile.am: don't compile unused files
12880 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12884 * LyXAction.C: remove old LFUN_LAYOUTNO
12886 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12888 * paragraph_pimpl.h:
12889 * paragraph_pimpl.C: isTextAt() doesn't need font param
12891 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12894 * lyxlex.C: little cleanup
12896 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12898 * BufferView_pimpl.C: fix insertAscii for insets
12900 2001-12-05 Juergen Vigna <jug@sad.it>
12902 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12903 set the right font on the "multi" paragraph paste!
12905 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12911 * lyxlength.C: remove out-commented code.
12913 * BufferView_pimpl:
12927 * vc-backend.C: change "while(" to "while ("
12929 * lyxlength.[Ch]: add zero function to check if length is zero or
12931 * lyxgluelength.C: use it
12933 2001-12-05 Allan Rae <rae@lyx.org>
12935 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12936 Works for 2.95.3, from what I understand of Garst's reports this should
12937 work for other g++ versions. We're screwed if the abs(int) definition
12938 changed between bugfix releases of gcc.
12940 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12942 * text.C: fix chapter label offset !
12944 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12947 * text.C: fix hfill at end of line, clean up
12949 2001-12-04 Juergen Vigna <jug@sad.it>
12951 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12952 that we force an update of the inset and it's owners if neccessary.
12954 2001-12-03 Juergen Vigna <jug@sad.it>
12956 * text.C (rowLast): simplified code
12958 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12960 * lyxfunc.C: fix show options on timeout
12962 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12964 * screen.C (topCursorVisible): scroll half a page when the cursor
12965 reached top of bottom of screen
12967 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12969 * minibuffer.C: deactivate on loss of focus
12971 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12973 * vspace.[Ch] (operator!=): add operator.
12975 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12977 * BufferView_pimpl.C: refuse to open an inset when
12978 there's a selection.
12980 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12982 * BufferView_pimpl.C: allow to click on RHS of full row insets
12984 2001-11-30 Juergen Vigna <jug@sad.it>
12986 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12987 insets for undo reasons.
12989 2001-11-28 André Pönitz <poenitz@gmx.net>
12991 * vspace.[Ch]: cosmetical changes
12993 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13003 * kbsequence.C: part re-write of old kb code
13006 * WorkArea.C: remove Lgb_bug_find_hack
13008 2001-11-30 José Matos <jamatos@fep.up.pt>
13010 * buffer.C (makeDocBookFile): add a comment to point a hack.
13011 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13012 Fixed a double write of labels.
13014 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13017 * LaTeX.h Fixed bug in LaTeX class where it would not
13018 re-run latex if no depfiles were changed, but the .dvi was removed.
13020 2001-11-28 André Pönitz <poenitz@gmx.net>
13022 * all the files from the change on 2001/11/26:
13023 use lyx::layout_type instead of LyXTextClass::size_type
13024 use lyx::textclass_type instead of LyXTextClassList::size_type
13026 2001-11-29 Juergen Vigna <jug@sad.it>
13028 * text.C: added support for paragraph::isFreeSpacing()
13030 * buffer.C: same as above
13032 * paragraph.h: inserted isFreeSpacing() function to enable
13033 FreeSpacing inside InsetERT.
13035 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13036 of the paragraph's in the cut/copy buffer to 0!
13038 * text2.C (removeRow): remove the assert as it can!
13040 * lyxtext.h: added helper function firstRow returning firstrow and
13041 made firstrow private again.
13043 * BufferView2.C (lockInset): don't relock if we're already locked!
13045 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13046 the only paragraph.
13047 (removeRow): added Assert::(firstrow)
13049 * debug.C: forgot to add INSETTEXT here.
13051 2001-11-28 Juergen Vigna <jug@sad.it>
13053 * sp_spell.C (initialize): changed error text to more general
13054 spellchecker command use (not only ispell!)
13056 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13058 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13060 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13062 * vspace.C: initialise lyxgluelength on failure
13064 2001-11-28 Allan Rae <rae@lyx.org>
13066 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13067 declaration & definition that looks like a function declaration.
13069 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13071 * BufferView2.C (copy):
13072 (copyEnvironment): do not clear the selection when doing a copy.
13074 * text.C (paintFirstRow): compilation fix
13076 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13078 * tabular.C (Latex): correct line count when writing latex.
13080 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13082 * paragraph_pimpl.h:
13083 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13086 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13090 * LColor.C: change vfillline->added_space
13092 * text.C: add markers and text for added space
13094 * vspace.C: fix comment
13096 2001-11-28 André Pönitz <poenitz@gmx.net>
13098 * paragraph.C: whitespace changes
13099 * all the other files from the change on 2001/11/26:
13100 change *::pos_type into lyx::pos_type
13102 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13104 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13105 language of the document when inserting error insets.
13107 2001-11-26 André Pönitz <poenitz@gmx.net>
13109 * BufferView_pimpl.[Ch]:
13117 * paragraph_pimpl.[Ch]:
13120 * text2.C: reduce header dependencies, introduce type for positions
13122 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13124 * <various>: change to use Alert.h
13126 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13128 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13129 when encountering an unknown token.
13130 (readLyXformat2): Show an error message if there were unknown tokens.
13132 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13135 * BufferView_pimpl.C:
13139 * text2.C: use par->isInset()
13141 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13143 * paragraph_pimpl.h:
13144 * paragraph_pimpl.C: cleanup
13146 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13148 * text2.C (removeRow):
13149 * text.C (setHeightOfRow): remove useless (and costly) call to
13152 2001-11-20 Allan Rae <rae@lyx.org>
13154 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13155 Now need Inset*::checkInsertChar() to return true for appropriate
13156 cases so that the characters in the minibuffer will actually be
13159 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13161 * text.C: change the order of the includes.
13162 (workWidth): initialize it at once.
13163 (workWidth): make maxw unsigned
13164 (setHeightOfRow): remove unused variable (inset)
13165 (selectSelectedWord): remove unused variable (inset)
13166 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13168 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13170 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13171 server is not running.
13173 (closeConnection): add debug info when server is disabled.
13175 * ColorHandler.C (getGCForeground): send debug message to GUI
13178 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13180 * kbmap.C (bind): modify because return conventions of
13181 kb_sequence::parse have changed.
13183 * kbsequence.C (parse): only ignore spaces and not any stupid
13184 control character. This avoids tests like s[i] <= ' ', which are
13185 guaranteed to fail with 8bit characters and signed chars.
13186 Change return code to string::npos when there have been no error
13187 (0 was a bad idea when error is at first character)
13189 2001-11-14 José Matos <jamatos@fep.up.pt>
13192 * buffer.C (simpleDocBookOnePar): removed unused argument.
13194 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13196 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13197 insets which are part of a word. Paragraph::isLetter takes care of
13198 that now. Use Paragraph::isInset to identify insets.
13199 (selectSelectedWord): do not test for hyphenation break.
13201 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13202 that protected spaces are considered as spaces.
13204 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13207 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13210 * lyxserver.C: fix it. and small cleanup.
13212 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13214 * BufferView_pimpl.C: use inline helpers
13217 * LaTeXFeatures.C: fix typos
13220 * Spacing.C: move spacing_string into class
13222 * ToolbarDefaults.C: move stuff into namespace anon
13224 * layout.h: update enum
13226 * lyxfunc.C: use better debug
13228 * minibuffer.h: fix typo
13232 * WorkArea.C: add and use Debug::WORKAREA
13236 * text2.C: code re-organisation, inline helpers
13238 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13240 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13241 std::vector.empty().
13243 2001-11-09 Allan Rae <rae@lyx.org>
13245 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13246 '\n's after tables. Tabular and ERT inset work now makes this no
13249 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13252 * minibuffer.C: fix crash, improve drop-down completion
13254 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13257 * lyxserver.C: invalidate fd's when doing endPipe()
13259 2001-11-08 José Matos <jamatos@fep.up.pt>
13261 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13262 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13265 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13267 2001-11-07 José Matos <jamatos@fep.up.pt>
13270 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13273 * buffer.C (sgmlOpenTag):
13274 * buffer.C (sgmlCloseTag): removed debug info.
13276 * buffer.h (sgmlOpenTag):
13277 * buffer.h (sgmlCloseTag): made public.
13279 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13281 * buffer.C (saveParamsAsDefaults):
13282 * lyx_cb.C (MenuLayoutSave): remove
13284 * LyXAction.C (init):
13286 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13288 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13290 * buffer.C (setPaperStuff): removed from here...
13292 * bufferparams.C (setPaperStuff): ... and moved there.
13294 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13298 * XFormsView.C: add support for drop-down completion
13300 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13302 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13305 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13307 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13310 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13312 * lyx_main.C: change ref to known bugs
13314 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13316 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13317 to work around older babel problems.
13319 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13321 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13323 2001-10-24 Juergen Vigna <jug@sad.it>
13325 * tabular-old.C (ReadOld): below variable changes reflected.
13327 * tabular.[Ch]: added ltType struct for longtable header/footer
13328 defines and changed all instances where they are used. Added
13329 future support for double top/bottom rows.
13331 2001-10-24 José Matos <jamatos@fep.up.pt>
13333 * buffer.h (docbookHandleCaption):
13334 * buffer.C (docbookHandleCaption): removed unused function.
13335 (makeDocBookFile): moved docbook supported version to v4.1.
13337 2001-10-24 José Matos <jamatos@fep.up.pt>
13340 * tabular.C (docbookRow): new function to export docbook code of a row.
13341 (DocBook): now honors the longtable flags.
13343 2001-10-23 José Matos <jamatos@fep.up.pt>
13346 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13347 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13349 * buffer.C (makeLinuxDocFile):
13350 (makeDocBookFile): reworked the preamble, more clean, and with
13351 support for lyx defined entities. Changed the document declaration
13352 to be more XML friendly.
13354 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13355 if we need to output XML that should be done with a filter.
13357 2001-10-22 Juergen Vigna <jug@sad.it>
13359 * sp_pspell.h (class PSpell): add alive function needed in the
13360 controller to see if the spellchecker could be started.
13362 2001-10-22 Juergen Vigna <jug@sad.it>
13364 * buffer.C (insertStringAsLines): modify the font for inserting
13365 chars in certain conditions by calling checkInsertChar(font).
13367 2001-10-19 Juergen Vigna <jug@sad.it>
13369 * text.C (workWidth): use getRow instead of wrong algorithm.
13370 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13372 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13377 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13379 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13381 * text.C (workWidth): do not search for the exact row when
13382 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13383 optimization for big documents.
13385 2001-10-18 Juergen Vigna <jug@sad.it>
13387 * text.C (workWidth): new function with added Inset * parameter.
13389 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13391 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13393 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13394 change return type of getColumnNearX.
13397 * text.C (changeRegionCase): use uppercase/lowercase instead of
13400 (rightMargin): simplify code by factoring out the uses of
13405 (appendParagraph): use Paragraph::size_type
13407 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13409 * vspace.C (asLatexString): add a missing break
13411 2001-10-15 Herbert Voss <voss@perce.de>
13413 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13415 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13417 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13420 2001-10-10 André Pönitz <poenitz@gmx.net>
13422 * lyxfunc.C: removed greek_kb_flag.
13424 2001-10-10 Herbert Voss <voss@perce.de>
13426 * lyx_main.C: delete global string help_lyxdir.
13428 2001-10-09 Herbert Voss <voss@perce.de>
13430 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13432 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13434 * lyx_main.C: added global string help_lyxdir.
13436 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13438 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13440 * lyxrc.C (set_font_norm_type): support iso8859-4
13442 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13444 * LaTeX.C (deplog): add another regex for MikTeX
13446 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13448 * lyxrc.C (set_font_norm_type): support iso8859-3
13450 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13452 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13454 * LaTeXFeatures.C: remove special case of french and index
13456 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13457 before \begin{document}). This solves several incompatibilities.
13459 2001-10-03 Garst Reese <reese@isn.net>
13461 * lyx_cb.C: change CheckTex error msg.
13463 2001-10-03 José Matos <jamatos@fep.up.pt>
13465 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13467 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13469 * .cvsignore: update
13471 * lyx_main.C (commandLineVersionInfo): use new style version info.
13473 * buffer.C (writeFile):
13475 (makeLinuxDocFile):
13476 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13478 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13480 * version.h: update to use stuff in version.C
13482 * version.C.in: new file. Contains version information determined
13483 at compile time. This is a merging of version.h and
13486 2001-10-03 Juergen Vigna <jug@sad.it>
13488 * BufferView_pimpl.C (update): don't change "dirty" status in
13491 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13493 * WorkArea.C (c-tor): re-position version string slightly.
13495 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13497 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13498 revert to previous code.
13500 WorkArea.[Ch]: (show, destroySplash): methods removed.
13502 WorkArea.C: rework code so that it's an amalgam of the codes before and
13503 after the splash screen was moved to WorkArea.
13505 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13508 * vspace.C (inPixels):
13511 * buffer.C (insertStringAsLines):
13512 (asciiParagraph): fix types to be large enough
13514 * lyxlex_pimpl.h: change member status from short to int
13516 * layout.h: fix type of endlabeltype
13519 * kbsequence.C (parse): change return type to string::size_type
13521 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13524 * Bullet.C (bulletSize):
13525 (bulletEntry): do not use short ints as parameters
13527 * BufferView2.C (insertLyXFile): change a char to an int.
13529 * WorkArea.C (WorkArea): remove unneeded floats in computation
13531 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13533 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13535 * paragraph.C (asString): Do not ignore newline/hfill chars when
13536 copying to the clipboard.
13538 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13540 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13541 after a multi-line inset.
13543 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13545 * paragraph.C (validate): Set NeedLyXFootnoteCode
13547 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13549 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13550 and decrease-error to decrease.
13552 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13554 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13555 it more readable (should be equivalent)
13557 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13559 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13561 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13563 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13564 of a cursor (row, etc.) after a character has been deleted
13565 (deleteEmptyParagraphMechanism): call the method above on _all_
13566 cursors held by the LyXText when a double space has been
13569 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13571 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13573 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13575 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13576 background. Use greyOut() and the new show() methods to toggle between
13577 the foreground and background. Add code to remove the splash after
13578 its initial showing.
13580 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13581 (create_forms): no longer call Dialogs::showSplash.
13583 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13585 * .cvsignore: add version_info.h
13587 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13589 * version_info.h.in: new file
13591 * Makefile.am: add version_info.h.in
13593 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13594 version_info.h instead of VERSION_INFO
13596 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13598 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13599 The ERT inset now returns string().
13601 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13603 * lyxtext.h, text.C (selectNextWord): renamed as
13604 selectNextWordToSpellcheck.
13606 * text.C (selectNextWordToSpellcheck): Modified to not select
13607 words inside an ERT inset.
13609 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13611 * lyx_cb.C (MenuLayoutSave): change a bit the question
13613 * sp_base.h: include <sys/types.h>
13615 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13617 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13619 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13621 * several files: fix typos in user-visible strings
13623 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13625 * text2.C (pasteSelection): do not set the selection, since it
13626 will be cleared later. Actually, the intent was to fix the way the
13627 selection was set, but I figured rmoving the code was just as good.
13629 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13631 * FontLoader.C (available): Check if font is available without
13634 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13636 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13638 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13640 * lyxrc.[Ch]: added display_graphics variable and associated code.
13642 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13644 * bufferparams.C (hasClassDefaults): new method. Returns true if
13645 the buffer parameters correspond to known class defaults
13647 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13649 * XFormsView.C (show): set minimum size to the main window.
13651 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13653 * text2.C (copySelection):
13655 * lyxfind.C (LyXReplace):
13656 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13657 LyXText::selectionAsString.
13659 * paragraph.C (asString): add "label" argument to the second form
13661 * text2.C (selectionAsString): add "label" argument and pass it to
13662 Paragraph::asString.
13664 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13666 * lyx_main.C (commandLineHelp): remove version information
13668 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13670 * lyx_main.C: add -version commandline option
13672 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13674 * paragraph.h: make the optional constructor arg required instead.
13675 some modifications to other files because of this.
13677 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13679 * lyxserver.C (C_LyXComm_callback): make it static
13681 * lyx_main.C (error_handler): make it static
13683 * lyx_gui.C (LyX_XErrHandler): make it static
13685 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13687 * WorkArea.C: make the extern "C" methods static.
13689 * Makefile.am (lyx_LDADD): simplify
13691 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13693 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13694 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13696 * LyXAction.C (init):
13697 * lyxfunc.C (dispatch): associated code removal.
13699 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13701 * lyxfont.h (isSymbolFont): shut off warning
13703 * text.C (setHeightOfRow):
13704 (getVisibleRow): fix crash with empty paragraphs which have a
13707 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13709 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13712 2001-09-04 José Matos <jamatos@fep.up.pt>
13715 * tabular.C (docbook): rename docBook method to docbook.
13717 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13719 * Makefile.am: add dependencies to main.o.
13721 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13723 * FontLoader.C (available): Return false if !lyxrc.use_gui
13725 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13727 * FontInfo.C (query):
13728 * converter.C (view):
13729 * importer.C (Import):
13730 * exporter.C (Export): Can not -> cannot.
13732 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13734 * BufferView_pimpl.C: allow to create index inset even if
13737 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13739 * buffer.C (getLists): replace boost::tie code with an explicit pair
13740 as boost::tie can break some compilers.
13742 * iterators.h: Added a std:: declaration to the return type of
13745 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13747 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13750 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13752 * iterators.[Ch]: New files. Provide paragraph iterators.
13754 * buffer.C (changeLanguage): Use paragraph iterators.
13755 (isMultiLingual): ditto
13757 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13759 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13761 * FontLoader.C: Support for cmr font.
13763 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13765 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13766 (available): New method.
13768 * FontInfo.C (getFontname): Use scalable fonts even when
13769 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13772 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13774 * converter.C (Formats::view): reverted! Incorrect fix.
13776 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13778 * converter.C (Formats::view): only output the -paper option
13779 if the dvi viewer is xdvi, thereby fixing bug #233429.
13781 2001-08-23 Herbert Voss <voss@perce>
13783 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13785 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13787 * Spacing.h (Spacing): Set space to Default on in the default
13790 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13792 * vc-backend.h (RCS::versionString): add RCS to version
13793 (CVS::versionString): add CVS to version
13795 * vc-backend.C (scanMaster): do not add CVS to version.
13796 (scanMaster): do not add RCS to version
13798 * lyxvc.C (versionString): new method
13800 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13802 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13804 * Spacing.C (set): initialize fval
13806 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13808 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13811 2001-08-16 Juergen Vigna <jug@sad.it>
13813 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13815 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13817 * BufferView_pimpl.C:
13820 * text2.C: setParagraph takes linespacing now
13822 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13824 * LyxAction.C: add internal LFUN_CITATION_INSERT
13826 * LyXView.C: actually apply fix
13828 * bufferlist.C: fix open non-existent file
13830 * lyxfind.C: fix indentation
13832 * lyxfunc.C: remove unneeded assert, fix typo
13834 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13836 * MenuBackend.C: use "Floatname List"
13838 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13840 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13841 when converting LaTeX layout to insetERT.
13842 Generate a non-collapsed float when reading old float
13844 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13846 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13849 2001-08-13 Juergen Vigna <jug@sad.it>
13851 * text.C (fill): return 0 instead of 20 as this seems to be the more
13854 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13856 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13859 2001-08-13 Juergen Vigna <jug@sad.it>
13861 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13863 (SearchBackward): comment out the unlocking of the inset_owner this
13864 should not be needed!
13866 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13868 * Many files: Remove inherit_language, and add latex_language
13870 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13871 collapsible insets.
13873 2001-08-10 Juergen Vigna <jug@sad.it>
13875 * text.C (prepareToPrint): fixed hfill-width in draw!
13877 * BufferView2.C (selectLastWord): save the selection cursor as this
13878 now is cleared in the function LyXText::clearSelection!
13880 2001-08-08 Juergen Vigna <jug@sad.it>
13882 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13883 BACKSPACE type functions.
13885 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13886 is only cutted from the document but not put in the cut-buffer, where
13887 still the old stuff should be.
13889 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13891 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13893 * tabular.C (SetWidthOfCell): fixed special case where the width
13895 (LeftLine): handle '|' in align_special.
13897 (LeftAlreadyDrawed): ditto
13898 (SetWidthOfCell): ditto
13900 2001-08-07 Juergen Vigna <jug@sad.it>
13902 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13904 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13906 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13907 * lyxlex.[hC]: ditto
13909 2001-08-06 Juergen Vigna <jug@sad.it>
13911 * text.C (getVisibleRow): fix up row clearing a bit.
13913 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13915 * minibuffer.C: make sure the X server sees the changes in the input.
13917 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13919 * paragraph.C (getFont): split into...
13920 (getLabelFont): this
13921 (getLayoutFont): and this
13922 * paragraph_pimpl.C (realizeFont): calling this
13924 * text2.C (getFont): split into...
13925 (getLayoutFont): this
13926 (getLabelFont): and this
13927 (realizeFont): all three calling this
13929 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13932 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13934 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13936 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13938 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13939 layouts from the Quote inset insertion.
13941 2001-08-03 Juergen Vigna <jug@sad.it>
13943 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13945 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13946 only if status not is already CHANGED_IN_DRAW (second level).
13948 * text.C (draw): don't set the need_break_row when inside an
13951 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13953 * buffer.C (parseSingleLyXformat2Token): handle more latex
13956 * bufferview_funcs.[hC]: change function names to
13957 begin with small char, adjust other files.
13959 2001-08-02 André Pönitz <poenitz@gmx.net>
13962 BufferView_pimpl.C: remove broken special code for math-greek
13964 2001-08-02 Juergen Vigna <jug@sad.it>
13966 * BufferView_pimpl.C (update): redone this function so that we
13967 update the text again if there was a CHANGE_IN_DRAW.
13969 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13970 (drawFromTo): added a new internal bool which is used by draw() and
13972 (general): some cursor drawing problems fixed.
13974 2001-08-01 Juergen Vigna <jug@sad.it>
13976 * lyxfind.C (LyXFind): fixed
13977 (SearchForward): ditto
13978 (SearchBackward): ditto
13980 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13981 spurius drawing of the cursor in the main area.
13983 * text2.C (status): small fix which could lead to a segfault!
13984 (clearSelection): remove unneeded BufferView param.
13986 2001-08-01 André Pönitz <poenitz@gmx.net>
13988 * lyxfunc.C: small change due to changed mathed interface
13990 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13992 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13994 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13996 * lyxfunc.c: fail gracefully if file doesn't exist
14001 * BufferView_pimpl.C: IsDirWriteable() proto changed
14003 * LyXView.C: fix updateWindowTitle() to store the last title
14005 2001-07-31 Juergen Vigna <jug@sad.it>
14007 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14008 the font (wrong since using of Paragraph::highestFontInRange).
14010 * paragraph.C (highestFontInRange): added a default_size parameter.
14012 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14013 (setHeightOfRow): reformat
14015 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14017 * converter.[hC] + affected files: move to (inital-char)lowercase
14020 * ParagraphParameters.C (ParagraphParameters): remove commented code
14022 * PainterBase.[Ch]: remove commented code
14024 * LaTeXFeatures.h: add "bool floats" for float.sty
14026 * LaTeXFeatures.C (LaTeXFeatures): init floats
14027 (require): handle float
14028 (getPackages): do it with floats
14030 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14032 * BufferView_pimpl.C (Dispatch): improve handling of
14033 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14035 * commandtags.h: #include lyxfont.h here temporarily to avoid
14038 * bufferlist.h: include LString.h here.
14040 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14042 * text2.C (getStringToIndex): new method.
14044 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14046 * *: Reduced header file dependencies all over.
14048 2001-07-30 Baruch Even <baruch@lyx.org>
14050 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14052 2001-07-29 Baruch Even <baruch@lyx.org>
14054 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14056 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14058 * ParameterStruct.h (endif): add a default constructor to make
14059 sure that all variables is initialized.
14061 * ParagraphParameters.C (ParagraphParameters): adjust
14063 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14065 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14066 index; also, check that there is something to index, and that it
14067 does not span over several paragraphs.
14068 (doubleClick): use WHOLE_WORD_STRICT for double click.
14070 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14072 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14075 2001-07-26 Baruch Even <baruch@lyx.org>
14077 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14078 an InsetFig figure, backwards compatible reading of old figure code.
14080 2001-07-27 Juergen Vigna <jug@sad.it>
14082 * text2.C: font.realize function adaption.
14084 * text.C (draw): add a warnings lyxerr text if needed.
14086 * layout.C: font.realize function adaption.
14088 * language.C: add inherit_language and implement it's handlings
14090 * bufferview_funcs.C (StyleReset): remove language parameter from
14091 font creation (should be language_inherit now).
14093 * bufferparams.C (writeFile): handle ignore_language.
14095 * paragraph.C (getFontSettings): the language has to be resolved
14096 otherwise we have problems in LyXFont!
14098 * lyxfont.C (lyxWriteChanges): added document_language parameter
14099 (update): removed unneeded language parameter
14101 * paragraph.C (validate): fixed wrong output of color-package when
14102 using interface colors for certain fonts in certain environments,
14103 which should not seen as that on the final output.
14105 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14107 * BufferView_pimpl.C:
14112 * LyXAction.C: add thesaurus support
14115 * lyxfind.C: add "once" parameter, for thesaurus, to not
14116 move to the next match
14118 2001-07-26 Juergen Vigna <jug@sad.it>
14120 * lyxfont.C (realize): honor ignore_language too!
14123 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14125 * text.C (draw): one place more for ignore_language to not draw
14128 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14130 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14132 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14134 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14135 the minipage conversion problem.
14137 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14139 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14142 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14144 * BufferView.h: don't forward declare WorkArea
14146 * BufferView.C: don't include WorkArea.h
14148 2001-07-25 André Pönitz <poenitz@gmx.net>
14152 * lyxfunc.C: new LFUN 'math-space'
14154 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14156 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14158 * text2.C (toggleInset): call open/close
14160 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14162 * lyxfunc.C (dispatch): add debug for the disabled case
14164 * font.C (buttonText): make similar to rectText
14166 * buffer.C (readInset): comment out parsing of insetlist and
14169 * PainterBase.C (rectText): small correction
14171 * BufferView_pimpl.C: comment out insettheorem and insetlist
14172 * LyXAction.C: ditto
14173 * commandtags.h: ditto
14175 2001-07-24 Juergen Vigna <jug@sad.it>
14177 * text.C (draw): honor the ignore_language.
14179 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14181 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14183 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14186 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14188 * lyxtext.h: remove unused (and unimplemented) methods
14190 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14192 * text.C (getVisibleRow): honor background color
14195 * Painter.h: remove default color argument for fillRectangle
14197 * text.C (backgroundColor): new method
14199 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14201 * text.C (getVisibleRow): adjust
14203 * font.[Ch] (rectText): new method, metrics
14204 (buttonText): new method, metrics
14206 * PainterBase.[hC]: make rectText and buttonText always draw and take
14209 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14211 * ToolbarDefaults.C (read):
14212 * MenuBackend.C (read): allow escaping in all strings
14214 * BufferView_pimpl.C (insertAndEditInset): new method.
14215 (Dispatch): use insertAndEditInset whenever appropriate.
14217 * BufferView_pimpl.C (insertNote): removed
14219 * BufferView_pimpl.C (smartQuote): new method, moved from
14220 BufferView; if an insetquote cannot be inserted, insert a '"'
14223 * BufferView2.C: remove insertCorrectQuote();
14225 * lyxfunc.C (getStatus): Add support for all remaingin
14226 inset-insert lfuns.
14228 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14230 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14231 command (necessary to pass " as parameter of self-insert.
14233 * text.C (selectWordWhenUnderCursor):
14234 (selectWord): add word_location parameter
14235 (selectWordWhenUnderCursor): same + remove special code for word
14237 (selectNextWord): use kind() to guess type of insetspecialchar,
14240 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14241 (insertErtContents): create ert insets as collapsed.
14242 (readInset): better compatibility code for Info inset.
14244 2001-07-20 Juergen Vigna <jug@sad.it>
14246 * lyxfunc.C (dispatch): use always LyXFind now!
14248 * text2.C (init): add a reinit flag so that the LyXText can be
14249 reinited instead of deleted and reallocated (used in InsetText).
14251 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14257 2001-07-18 Juergen Vigna <jug@sad.it>
14259 * text.C (selectNextWord): handle insets inside inset by calling
14260 always the bv->text functions so that we can go up the_locking_inset!
14262 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14263 in strange locations when inside an inset!
14265 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14266 handling to include insets.
14268 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14270 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14272 * LyXAction.C (init):
14274 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14275 LIGATURE_BREAK, since the name is so stupid.
14277 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14279 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14282 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14284 * sp_form.[Ch]: remove.
14286 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14288 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14291 * src/buffer.C (readInset): ditto.
14293 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14295 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14296 menuSeparator(), endOfSentenceDot(), ldots() and
14297 hyphenationPoint(), which are therefore removed.
14298 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14300 * LyXAction.C (init):
14301 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14303 * paragraph.C (getWord): removed.
14305 * BufferView_pimpl.C (Dispatch): use last word or selection for
14306 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14308 * lyx_main.C (queryUserLyXDir): do not ask before creating
14309 user_dir, except if it has been named explicitely.
14311 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14313 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14314 a document of zero size.
14316 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14318 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14319 approriately in the c-tor and in require().
14320 (getPackages): output the appropriate LaTeX for natbib support.
14322 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14323 variables "use_natbib" and "use_numerical_citations" when reading the
14325 (readInset): read the various natbib cite commands.
14326 (validate): white-space change.
14328 * bufferparams.[Ch]: new variables "bool use_natbib" and
14329 "bool use_numerical_citations".
14330 (writeFile): output them in the LyX file.
14332 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14334 * lyxfunc.C (getStatus): add support for all the inset insertion
14337 * text2.C (insertInset):
14338 * paragraph.C (insetAllowed):
14339 * BufferView_pimpl.C (insertInset): update to take in account the
14340 renaming of insertInsetAllowed
14342 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14344 * text2.C (getInset): new method. returns inset at cursor position.
14346 * BufferView_pimpl.C (Dispatch): changes because of this.
14348 * LyXAction.C (init): rename open-stuff to inset-toggle.
14350 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14352 * text2.C (toggleInset): renamed from openStuff; use
14355 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14357 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14359 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14361 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14363 * buffer.C (readLyXformat2): Add filename to the error dialog
14365 2001-07-18 Juergen Vigna <jug@sad.it>
14367 * tabular.C (GetCellNumber): put an assert here instead of the check!
14369 2001-07-17 Juergen Vigna <jug@sad.it>
14371 * BufferView_pimpl.C (toggleSelection): adapted too.
14373 * text.C (selectNextWord): adapted for use with insets.
14374 (selectSelectedWord): ditto
14376 2001-07-17 Juergen Vigna <jug@sad.it>
14378 * sp_spell.C (PSpell): fix initialitation order.
14380 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14382 * paragraph.C: spacing
14384 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14386 * sp_spell.C: repair language selection for pspell
14388 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14390 * lyxfunc.h: change more methods to begin with lower char.
14392 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14394 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14395 for unknown layouts.
14397 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14399 * buffer.C (readLyXformat2): Generate an error dialog if there are
14402 2001-07-16 Juergen Vigna <jug@sad.it>
14404 * sp_spell.C: always compile ISpell part.
14406 * lyxrc.C: added use_pspell entry and it's handling.
14408 2001-07-13 Juergen Vigna <jug@sad.it>
14410 * sp_spell.C: removed double includes.
14412 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14414 Consistent use of Lsstream.h:
14415 * Lsstream.h: added using std::stringstream for consistencies sake.
14417 * buffer.C: removed using std::stringstream
14419 * lyxfont.C (stateText):
14420 * paragraph.C (asString):
14421 * text.C (selectNextWord, selectSelectedWord):
14422 * text2.C (setCounter):
14423 * vspace.C (asString, asLatexString):
14424 std::ostringstream -> ostringstream.
14426 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14428 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14429 * commandtags.h: add LFUN_HELP_ABOUTLYX
14430 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14432 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14434 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14436 * lyx_gui_misc.C: remove spellchecker
14437 * lyxfunc.C: showSpellchecker
14439 * sp_ispell.h: added
14440 * sp_pspell.h: added
14441 * sp_spell.C: added
14442 * sp_form.[Ch]: removed
14443 * spellchecker.[Ch]: removed
14445 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14447 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14449 (simpleTeXSpecialChars): Simply print the input character without
14450 any special translation if pass_thru is set.
14452 * layout.h: Added bool pass_thru to layout class for being able to
14453 implement pass through of a paragraph for Literate Programming.
14455 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14456 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14457 * layout.C (Read): add "passthru" to list of layout tags and add
14458 code to set the pass_thru boolean when it is read.
14460 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14462 * trans_decl.h: remove allowed from KmodInfo
14464 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14465 remove allowed code
14468 * paragraph_pimpl.C (erase): use boost::prior
14470 * Painter.C (text): use data() instead of c_str() when length is
14472 * WorkArea.C (putClipboard): ditto
14473 * font.h (width): ditto
14475 * BufferView2.C: use it-> instead of (*it). for iterators
14477 * paragraph_pimpl.C: ditto
14478 * paragraph.C: ditto
14479 * minibuffer.C: ditto
14480 * language.C: ditto
14482 * encoding.C: ditto
14483 * counters.C: ditto
14484 * converter.C: ditto
14486 * Variables.C: ditto
14487 * TextCache.C: ditto
14488 * MenuBackend.C: ditto
14489 * LyXAction.C: ditto
14491 * FloatList.C: ditto
14492 * DepTable.C: ditto
14493 * ColorHandler.C (LyXColorHandler): ditto
14495 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14497 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14499 * text2.C (openStuff): reintroduce this method (which had been
14500 nuked in NEW_INSETS frenzy).
14502 * lyxfunc.C (Dispatch): when an action has not been handled, use
14503 its name in the error message, not its number.
14505 * paragraph.C (inInset): change method name to begin with lowercase.
14508 * text2.C: updates because of this.
14510 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14512 * ToolbarDefaults.C (add): add spaces in error message
14514 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14516 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14517 (readLyXformat2): rename return_par to first_par, use lyxlex's
14518 pushToken and remove the manual push handling.
14519 (parseSingleLyXformat2Token): add another ert comp. variable:
14520 in_tabular, rename return_par to first_par. handle newlines better
14522 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14524 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14526 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14528 * text2.C (getParFromID): removed
14530 * buffer.C (getParFromID): new method moved form lyxtext.
14531 * BufferView2.C (insertErrors): adjust
14532 (setCursorFromRow): adjust
14533 * BufferView_pimpl.C (restorePosition): adjust
14534 * lyxfunc.C (Dispatch): adjust
14535 * undo_funcs.C (textUndo): adjust
14537 (textHandleUndo): adjust
14538 (textHandleUndo): adjust
14540 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14542 * buffer.C: up' the LYX_FORMAT
14544 * lyxfont.h: turn NO_LATEX on as default
14546 * buffer.C (insertErtContents): new methods of tex style compability.
14547 (parseSingleLyXformat2Token): use it several places.
14548 * tabular.C (OldFormatRead): and here
14550 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14552 * text2.C: remove some commented code.
14555 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14556 * trans.C: changes because of the above.
14558 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14560 * text2.C (setCounter): Fix counters bug with bibliography layout.
14562 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14564 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14565 own member functions
14566 (simpleTeXSpecialChars): ditto
14568 2001-07-06 Juergen Vigna <jug@sad.it>
14570 * a lot of files: changed the access to LyXText::status and the
14571 call of undo-functions.
14573 * undo.[Ch]: added a inset_id to the undo informations.
14575 * undo_funcs.[Ch]: added and moved here all undo functions.
14577 * lyxtext.h: give the status enum a weight, made status_ a private
14578 variable and made accessor functions for it, removed the whole bunch
14579 of undo-functions as they are now in their own file, make some
14580 functions publically available. Added function ownerParagraph with
14583 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14584 made InInset() a const function, added getParFromID() function.
14586 * buffer.[Ch]: added const version for inset_iterator functions,
14587 added getInsetFromID() function.
14589 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14590 changed undo functions for new version.
14592 2001-07-05 Juergen Vigna <jug@sad.it>
14594 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14595 unknow mechanism does not call the proper constructor but only this
14596 one also if I request the other!?
14598 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14600 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14602 * text2.C (LyXText): use initialization lists.
14604 * lyxtext.h (Selection): initialize set_ and mark_
14605 (init): remove method
14607 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14609 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14611 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14613 * screen.[Ch]: change method names to begin with lowercase
14615 * BufferView_pimpl.C (updateScrollbar): simplify further and
14616 hopefully make it a bit faster.
14618 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14620 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14621 calling directly xforms functions.
14623 * Painter.C (Painter):
14624 * lyx_cb.C (MenuWrite):
14625 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14628 * lyx_gui.C: remove bogus guiruntime extern declaration.
14630 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14632 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14634 (redoDrawingOfParagraph): ditto
14635 (redoParagraphs): ditto
14636 (cutSelection): don't create a object for CutAndPaste use the
14637 static method directly
14638 (pasteSelection): ditto
14640 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14643 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14645 * modifications to some other files because of this.
14647 * Makefile.am (lyx_SOURCES): add XFormsView
14649 * XFormsView.[Ch]: new files
14651 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14652 the main window. Move the gui dependent stuff to XFormsView
14654 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14656 * tabular.C (GetCellInset): update cur_cell also in the row/col
14657 version of this function.
14659 * lyxfunc.C: no need to include figure_form.h here.
14665 * lyxvc.C: no need to include forms.h here.
14667 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14669 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14671 * lyxfunc.C (Dispatch):
14673 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14674 constructor argument.
14676 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14678 * paragraph.C (Paragraph): dont't clear, and just set layout.
14679 (makeSameLayout): use params's copy contructor.
14681 * ParagraphParameters.[Ch] (makeSame): delete method
14683 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14685 * Variables.[Ch]: fix indentation, rename set to isSet
14687 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14689 * lyxfunc.C (Dispatch): fix typo
14691 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14693 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14696 * bufferlist.C: include assert.h for emergencyWrite().
14698 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14700 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14701 give up at last (bug #425202) !
14703 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14709 * spellchecker.C: strip spellchecker options and bring up
14710 preferences tab instead
14712 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14714 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14715 the istringstream constructor
14717 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14719 * paragraph.C (getLayout): fix return value
14721 * paragraph.h: do not declare getLayout as inline.
14723 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14725 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14727 * lyxcursor.h (operator<): new func
14728 (operator>): new func
14729 (operator>=): new func
14730 (operator<=): new func
14732 * text.C (changeCase): use selection.start and selection.end
14733 (changeRegionCase): require from to be <= to. Require par to be a
14736 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14738 2001-06-27 Juergen Vigna <jug@sad.it>
14740 * text.C (cursorLeftOneWord): changed to return the cursor and added
14741 overlay with BufferView * parameter which calls this one.
14743 (selectWord): use new getWord function.
14744 (changeCase): renamed from changeWordCase as and extended to work
14745 also on selections.
14747 * lyxtext.h: added enum word_location
14749 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14750 changeCase as this operates now also on selections.
14752 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14754 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14756 * many files: send debug output to Debug::INFO instead of
14759 * converter.C (View):
14761 (Move): send debug output to Debug::FILES instead of console.
14763 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14765 * lyxfunc.C (getStatus): use func_status
14767 * func_status.h: new header, describing the results of
14768 LyXFunc::getStatus;
14770 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14773 2001-06-25 The LyX Project <jug@sad.it>
14775 * buffer.C (sgmlOpenTag):
14777 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14779 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14781 * text2.C: remove some dead code
14783 * tabular.C (GetCellInset): store the last cell checked (gotten)
14785 * tabular.h: add the helper for the speedup
14787 * lyxtext.h: remove some dead code
14789 2001-06-26 The LyX Project <Asger>
14791 * paragraph.C: Change export to LaTeX of alignment to
14792 \begin{center} and family for better roundtrip work with reLyX.
14794 * Tune the math drawing a bit.
14796 2001-06-25 The LyX Project <Asger>
14798 * LColor.C (LColor): New color for math background. New color
14801 2001-06-25 The LyX Project <jug@sad.it>
14803 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14805 * lyxfunc.C (Open):
14806 * bufferlist.C (newFile): do not restrict to files ending with
14809 * BufferView_pimpl.C (MenuInsertLyXFile):
14811 2001-06-24 The LyX Project <jug@sad.it>
14813 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14816 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14818 * lyxtext.h: rename most methods to begin with a small char.
14819 Lots of changes because of this.
14821 * paragraph.C (Paragraph): do not call fitToSize
14822 (erase): call Pimpl::erase
14823 (insertChar): call Pimpl::insertChar
14824 (insertInset): call Pipl::insertInset
14825 (breakParagraph): do not call fitToSize
14826 (breakParagraphConservative): do not call fitToSize
14827 (fitToSize): remove method
14829 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14831 2001-06-24 The LyX Project <Asger>
14833 * Fix Qt compilation^2
14835 2001-06-24 The LyX Project <jug@sad.it>
14837 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14838 depthHook(getDepth()-1).
14841 * ParagraphParameters.h:
14842 * ParameterStruct.h: change type of depth to unsigned int ==
14843 depth_type. Many adaptations to other files before of that.
14845 2001-06-24 The LyX Project <Asger>
14847 * Fix Qt compilation.
14849 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14851 * paragraph.h: renamed several methods to begin with small letter.
14852 several changes to many parts of the code because of this.
14854 2001-06-23 The LyX Project <jug@sad.it>
14856 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14857 rewritten to discard all double spaces when KeepEmpty is off
14858 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14859 to only handle newlines but not fiddle with spaces and friends.
14861 * lyxfunc.C (MenuNew): when doing 'new from template', use
14862 template_path as default directory
14864 2001-06-23 The LyX Project <Asger>
14866 * Clean-up of header file includes all over
14867 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14869 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14871 * paragraph.h: renamed from lyxparagraph.h
14873 2001-06-23 Asger <lyx@violet.home.sad.it>
14875 * Buffer.h: Removed Buffer::resize
14876 * BufferList.h: Removed BufferList::resize
14877 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14878 the document lazily when we change the width, or the font settings.
14880 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14882 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14884 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14886 * buffer.h: remove out of date comment
14888 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14891 * screen.C: fix "theoretical" GC leak
14893 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14895 * LaTeX.C (scanAuxFile):
14896 (deplog): remove trailing \r when reading stream (useful under
14899 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14901 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14902 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14903 and BufferView::theLockingInset(Inset*), so should use them and not
14904 access bv_->text->the_locking_inset directly.
14906 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14908 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14911 * tex-defs.h: remove old unused file
14913 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14915 * BufferView_pimpl.C: fix typo, remove minibuffer message
14916 when buffer has loaded
14918 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14920 * lyxfunc.C (Dispatch): use stringstream
14921 (MenuNew): use stringstream
14922 (Open): use stringstream
14924 * importer.C (Import): use stringstream
14926 * bufferview_funcs.C (CurrentState): use stringstream
14928 * LaTeX.C (run): use stringstream
14930 * BufferView_pimpl.C (savePosition): use stringstream
14931 (restorePosition): use stringstream
14932 (MenuInsertLyXFile): use stringstream
14934 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14947 * vspace.C: removed // -*- C++ -*- as first line.
14950 * version.h: added // -*- C++ -*- as first line.
14952 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14954 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14956 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14959 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14961 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14964 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14966 * gettext.C: include LString.h even when --disable-nls is on.
14968 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14970 * converter.h (Get): changed argument type from int to
14971 FormatList::size_type to avoid unnecessary conversion.
14973 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14976 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14978 * gettext.h: include LString.h even when --disable-nls is on.
14980 2001-06-07 Juergen Vigna <jug@sad.it>
14982 * text.C (BreakAgain): subst spaces with tabs.
14984 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14985 (resizeInsetsLyXText): set force on resizeLyXText.
14987 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14989 * gettext.h (gettext_init):
14990 (locale_init): use a real definition instead of a macro
14992 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14994 * Bufferview_pimpl.C:
14996 * LColor.C: further lcolor tidies
14998 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15000 * BufferView_pimpl.C (updateScrollbar): simplify.
15002 * BufferView2.C: don't include insets/insetinfo.h, change
15003 prototype for insertInset and call the Pimpl version. let
15004 updateInset call Pimpl version.
15006 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15007 gotoInset to BufferView::Pimpl
15009 2001-06-01 Juergen Vigna <jug@sad.it>
15011 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15012 inside a LockingInset (is the update needed at all?).
15014 2001-05-31 Juergen Vigna <jug@sad.it>
15016 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15017 here not the old one otherwise how should we compare it afterwards
15020 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15025 * FontInfo.C: bring C functions into global namespace when
15028 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15030 * LString.h: make sure config.h has been loaded before LString.h.
15032 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15033 (one for each char read by EatLine!).
15035 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15038 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15040 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15041 to the same as the par we break from
15043 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15045 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15047 * MenuBackend.C (expand): also create menu entries for wide
15048 versions of the floats.
15050 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15052 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15054 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15055 frontends/Makefile.am
15061 * tabular.C (getTokenValue): add std::
15063 * tabular-old.C (getTokenValue): add std::
15064 (getTokenValue): ditto
15065 (getTokenValue): ditto
15067 * screen.C (ToggleSelection): adjust
15069 * lyxtext.h: put selection cursors inside a Selection struct.
15071 * lyxfunc.C (moveCursorUpdate): adjust
15073 * lyxfont.C (latexWriteStartChanges): add std::
15075 * lyxfind.C: adjust
15077 * font.h: delete with(char const *, LyXFont const &)
15079 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15081 * FontInfo.C (getFontname): add std::
15083 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15084 (workAreaButtonPress): adjust
15085 (tripleClick): adjust
15087 (moveCursorUpdate): adjust
15090 * BufferView2.C (gotoInset): adjust
15092 2001-05-30 Juergen Vigna <jug@sad.it>
15094 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15095 to check pspell I add this as default as I now have new pspell
15096 libraries and they seem to use this.
15098 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15100 * text2.C (CutSelection): make the cursor valid before the call to
15103 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15105 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15106 relied on 0 terminated strings and other horrors. Bug found due to
15107 the new assert in lyxstring!
15109 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15112 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15114 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15117 * lyxfunc.C (processKeySym): change method of getting to the
15120 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15121 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15122 * BufferView_pimpl.[Ch]: here as private methods.
15124 2001-05-28 Juergen Vigna <jug@sad.it>
15126 * text.C (SetHeightOfRow): added the update() call again as it is
15127 needed to initialize inset dimensions!
15129 2001-05-16 Juergen Vigna <jug@sad.it>
15131 * text2.C (SetCharFont): Add new function with BufferView * and
15132 bool toggleall parameters for setting insets internal fonts.
15133 (SetFont): Freeze the undo as we may change fonts in Insets and
15134 all this change should be inside only one Undo!
15136 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15137 setting font's in insets as for them we have the SetFont function!
15139 2001-05-15 Juergen Vigna <jug@sad.it>
15141 * text2.C (ClearSelection): to be sure we REALLY don't have any
15144 * tabular.C (TeXCellPreamble): fixed the left border problem for
15147 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15149 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15152 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15154 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15155 LFUN_BREAKPARAGRAPH.
15157 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15158 help test to "internal only", similar for LFUN_INSERT_URL
15160 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15161 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15162 auto_region_delete and deadkeys.
15164 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15167 * LColor.C: remove some dead entries, tidy a little
15169 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15171 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15173 (Dispatch): implement LFUN_ESCAPE
15175 * commandtags.h: add LFUN_ESCAPE
15177 * LyXAction.C (init): add entry for LFUN_ESCAPE
15179 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15180 Remove commented code.
15181 (insertNote): moved here
15182 (open_new_inset): moved here
15184 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15187 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15189 * kbmap.C (findbinding): clean it up and make it work correctly.
15191 * lyx_main.C (init): do not pass argc and argv as parameters
15193 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15195 * buffer.C: fix path for OS/2 & Win32
15199 * lyx_main.C: Added os:: class.
15201 * os2_defines.h: update
15203 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15205 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15206 better by trying again with reduced state.
15208 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15210 * lyxrc.C (read): print error about invalid key sequence only when
15211 debugging (because not all latinX keysyms are known to some X
15214 * kbsequence.C (getiso): add a few std:: qualifiers
15215 (getiso): comment out extra return statement.
15217 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15219 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15221 (Dispatch): enhance the accent inset a bit. (not perfect)
15223 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15225 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15227 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15229 * bufferlist.C (emergencyWrite): fix assert() call
15231 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15233 * text.C (InsertChar): Added trivial patch to only send the "you
15234 can not do multiple spaces this way" message once during a
15237 2001-05-08 Baruch Even <baruch@lyx.org>
15239 * Makefile.am: Changed order of libraries to get LyX to link properly
15240 with the gnome frontend.
15242 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15244 * LaTeXFeatures.h: add a std:: qualifier
15246 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15248 * paragraph.C (String): use stringstream
15250 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15252 * paragraph.C (writeFile): remove footflag arg
15254 * buffer.C (makeLaTeXFile): use stringstream
15255 (latexParagraphs): remove footnot gurba
15257 * LaTeXFeatures.C (getPackages): use stringstream
15258 (getMacros): likewise
15259 (getTClassPreamble): likewise
15260 (getFloatDefinitions): new method
15262 * paragraph.C (writeFile): reindent
15265 * WorkArea.h: revert the xpos + etc changes.
15267 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15269 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15271 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15272 (pasteSelection): likewise
15273 * text2.C (CreateUndo): likewise
15275 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15277 * minibuffer.C (peek_event): temporarily reduce the functionality
15278 of the minibuffer (to allow args on lfuns)
15280 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15281 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15283 * buffer.C (readInset): add compability reading of old float
15284 lists, add reading of new style float list.
15285 (readInset): avoid reevaluation of inscmd.getCmdName()
15286 (getLists): reindent
15288 * MenuBackend.C (MenuItem): implement parsing of
15289 md_floatlistinsert and md_floatinsert.
15290 (expand::LastFiles): move initalizaton of iterators out of loop,
15291 avoid reevaluation.
15292 (expand::Documents): introduce typdedef vector<string> Strings,
15294 (expand::ExportFormats): introduce typedef vector<Format const *>
15295 Formats, and use it.
15296 (expand): implement FloatListInsert and FloatInsert.
15298 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15299 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15300 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15302 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15304 (Dispatch::LFUN_FLOAT_LIST): implement
15306 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15308 * LaTeX.C (run): Fix problem with --export code.
15310 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15312 * BufferView.[Ch] (workarea): removed.
15313 (getClipboard) new method; wrapper for workarea()->getClipboard()
15315 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15318 * WorkArea.h (width, height, xpos, ypos): These methods all
15319 returned the dimensions of the work_area sub-area of WorkArea,
15320 resulting in a position error if the WorkArea were resized. Now
15321 return the dimensions of the entire WorkArea.
15323 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15325 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15327 * LaTeX.C (deplog): correct the syntax of regex reg1
15329 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15331 * undo.C: remove !NEW_INSETS cruft
15333 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15335 * text2.C: remove !NEW_INSETS cruft
15337 * text.C: remove !NEW_INSETS cruft
15339 * tabular.C: remove !NEW_INSETS cruft
15341 * spellchecker.C: remove !NEW_INSETS cruft
15343 * lyxtext.h: remove !NEW_INSETS cruft
15345 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15347 * lyxfunc.C: remove !NEW_INSETS cruft
15349 * lyxfind.C: remove !NEW_INSETS cruft
15351 * lyx_cb.C: remove !NEW_INSETS cruft
15353 * figureForm.C: remove !NEW_INSETS cruft
15355 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15357 * buffer.[Ch]: remove !NEW_INSETS cruft
15359 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15361 * CutAndPaste.C: remove !NEW_INSETS cruft
15363 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15365 * BufferView2.C: remove !NEW_INSETS cruft
15367 * BufferView.h: remove !NEW_INSETS cruft
15369 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15371 * Lsstream.h: include LString.h before the sstream headers to
15372 fix problem with gcc 2.95.3 and lyxstring
15374 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15376 * lyx_main.C: add using directives when needed for C functions
15377 declared in std:: namespace.
15379 2001-04-27 Juergen Vigna <jug@sad.it>
15381 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15382 (SetHeightOfRow): comment out the update call should not be needed!
15384 2001-04-13 Juergen Vigna <jug@sad.it>
15386 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15387 (LyXTabular): tried to minimize operator= operations (and realized
15388 hopfully Lars wish).
15390 2001-04-27 Juergen Vigna <jug@sad.it>
15392 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15394 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15396 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15398 * buffer.C (readInset): hack to make listof algorithm work
15400 * BufferView_pimpl.C: hack to make listof algorithm work
15402 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15404 * LyXAction.C: removed all !NEW_INSETS cruft
15405 (init): moved lfun_item in method
15407 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15409 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15411 * BufferView2.C (theLockingInset): white space.
15413 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15415 * minibuffer.C: include <iostream>
15417 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15419 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15421 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15423 * text.[Ch] (TransposeChars): new method
15425 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15427 * call message directly through LyXView instead of through LyXFunc
15428 * BufferView2.C: adjust
15429 * BufferView_pimpl.C: adjust
15430 * FontLoader.C: adjust
15432 * bufferview_funcs.C: adjust
15433 * converter.C: adjust
15434 * figureForm.C: adjust
15435 * importer.C: adjust
15437 * lyx_gui_misc.C: adjust
15438 * lyxfunc.C: adjust
15441 + more files in subdirs
15443 * lyxparagraph.h (size): move up int file
15446 * adjust all uses of Assert to lyx::Assert.
15448 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15449 lyxfunctional in namespace lyx
15450 * layout.C (hasLayout): ditto
15453 (delete_layout): ditto
15454 (NumberOfClass): ditto
15455 * converter.C (GetFormat): ditto
15460 * bufferlist.C (getFileNames): ditto
15461 (emergencyWriteAll): ditto
15464 * MenuBackend.C (hasSubmenu): ditto
15467 * BufferView_pimpl.C (getInsetByCode): ditto
15469 2001-04-18 Juergen Vigna <jug@sad.it>
15471 * vspace.C (asLatexString): fixed the 100% problem.
15473 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15475 * lyxfunc.C (Dispatch):
15477 * minibuffer.h: add a few std:: qualifiers
15479 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15481 * minibuffer.[Ch]: reimplement so that commands is initiated and
15482 run from lyxfunc, simplified som handling, and made the completion
15483 and history code for complete. wip.
15485 * lyxfunc.C (processKeySym): call message
15486 (miniDispatch): new temporary method
15487 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15488 (LFUN_MESSAGE): implement
15489 (LFUN_MESSAGE_PUSH): implement
15490 (LFUN_MESSAGE_POP): implement
15491 (initMiniBuffer): the initial/defualt minibuffer message.
15493 * lyxfont.[Ch]: inline some more getters
15495 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15497 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15499 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15500 (AutoSave): use LFUN_MESSAGE
15501 (Reconfigure): ditto
15503 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15505 * figureForm.C: use LFUN_MESSAGE
15507 * converter.C (runLaTeX): use LFUN_MESSAGE
15509 * bufferview_funcs.C: use LFUN_MESSAGE
15511 (changeDepth): ditto
15513 * bufferparams.h: use boost::
15515 * bufferlist.h: inherit privately from noncopyable
15517 * bufferlist.C (loadLyXFile): remove some commented code.
15519 * buffer.C (runChktex): use LFUN_MESSAGE
15521 * ShareContainer.h: inherit privately from noncopyable
15523 * ParagraphParameters.[hC] (depth): inline it.
15525 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15527 (message): new method
15528 (messagePush): ditto
15529 (messagePop): ditto
15530 (show): init minibuffer
15531 (showState): direct call
15533 * LaTeX.[Ch]: inherit privately from noncopyable
15534 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15535 instead of WriteStatus.
15537 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15539 * BufferView_pimpl.C (buffer): don't init minibuffer
15540 (workAreaButtonPress): use LFUN_MESSAGE
15541 (workAreaButtonRelease): ditto
15542 (savePosition): ditto
15543 (restorePosition): ditto
15544 (MenuInsertLyXFile): ditto
15545 (workAreaExpose): don't init minibuffer
15546 (update): remove commented code, simplify
15548 * BufferView2.C (openStuff): use LFUN_MESSAGE
15549 (toggleFloat): ditto
15552 (copyEnvironment): ditto
15553 (pasteEnvironment): ditto
15558 (updateInset): remove some commented code
15560 * lastfiles.h: inherit privately from noncopyable
15563 * lyx_main.h: ditto
15565 * lyxlex_pimpl.h: ditto
15567 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15568 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15569 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15571 * LyXAction.h: inherit privately from noncopyable, add methods
15572 func_begin, func_end, returning iterators to the func map.
15574 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15575 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15576 (func_begin): new method
15577 (func_end): new method
15579 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15581 (copySelection): ditto
15582 (pasteSelection): ditto
15584 * BufferView.C: whitespace change
15585 * BufferView.h: inherit privately from noncopyable
15587 2001-04-16 Allan Rae <rae@lyx.org>
15589 * tabular-old.C (l_getline):
15590 * spellchecker.C (sc_check_word):
15591 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15592 an unrecognised preprocessor directive. So ensure they're wrapped.
15594 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15596 * src/exporter.C (Export): Give an error message when path to file
15599 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15601 * LaTeX.C (deplog): Always check that foundfile exists.
15603 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15606 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15608 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15610 * tabular.[Ch] (getLabelList): implement new method
15612 * minibuffer.h: comment ouf setTiimer
15614 * minibuffer.C (ExecutingCB): constify res
15615 (peek_event): constify s
15616 (Set): constify ntext
15617 (Init): constify nicename
15619 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15621 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15622 (savePosition): use two params to Minibuffer::Set
15623 (restorePosition): ditto
15625 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15627 * lyx_main.C: include language.h
15629 * Makefile.am (lyx_main.o): add language.h
15631 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15637 * CutAndPaste.C: include gettext.h
15639 * lyxfont.h: remove old hack with ON and OFF.
15642 * lyxfont.h: do not include language.h...
15647 * bufferview_funcs.C:
15653 * paragraph.C: ... but do it here instead
15655 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15657 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15659 * tabular.C: small reformat
15661 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15664 (BreakParagraph): ditto
15665 (SetOnlyLayout): ditto
15668 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15671 * lastfiles.C: removed most using decl, add std:: where needed
15673 * buffer.C: ws changes
15675 * MenuBackend.C (class compare_format): put into anon namespace
15676 (expand): constify label, names, action, action2
15679 * text.C (SingleWidth): constify font
15680 (IsBoundary): constify rtl2
15681 (GetVisibleRow): constify ww
15683 * LaTeX.C (deplog): constify logfile
15685 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15687 (workAreaExpose): constify widthChange, heightChange
15689 * lyxrow.C (par): moved
15692 * lyxrow.h: as inlines here
15694 * lyxfont.h (shape): moved from lyxfont.C
15695 (emph): moved from lyxfont.C
15697 * lyxfont.C (LyXFont): use initialization list for all
15699 (shape): move to lyxfont.h as inline
15700 (emph): move to lyxfont.h as inline
15703 2001-04-04 Juergen Vigna <jug@sad.it>
15705 * vspace.C: had to include stdio.h for use of sscanf
15707 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15710 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15711 independent of xforms.
15713 2001-04-02 Juergen Vigna <jug@sad.it>
15715 * spellchecker.C: fixed namespace placing!
15717 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15719 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15720 the LyXParagraph * is 0.
15722 2001-03-29 Juergen Vigna <jug@sad.it>
15724 * vspace.C: added support for %, c%, p%, l%.
15725 (stringFromUnit): added helper function.
15726 (asLatexString): changed to give right results for the %-values.
15728 * buffer.C: convert the widthp in a width%.
15730 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15732 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15735 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15736 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15738 * lyx_cb.[Ch]: see above.
15740 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15744 * lyx.[Ch]: replaced by figure_form.[Ch].
15748 * lyxfunc.C: changed headers associated with above changes.
15750 2001-03-27 Juergen Vigna <jug@sad.it>
15752 * BufferView_pimpl.C: set the temporary cursor right!
15754 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15756 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15758 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15760 * LString.h: removed "using std::getline"!
15762 * BufferView_pimpl.C (Dispatch): changes due to changes in
15763 InsetInclude::Params.
15765 * buffer.C (tag_name): removed redundant break statements as they were
15766 producing lots of warnings with my compiler.
15768 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15770 * LString.h: add "using std::getline" when using the real <string>.
15772 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15774 * buffer.C: removed bitset usage.
15775 PAR_TAG moved to an anonymous name space.
15776 (tag_name): new funtion, also in the anonymous namespace.
15777 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15778 (makeDocBookFile): clean code. Completed transition from string arrays
15780 (SimpleDocBookOnePar): code clean.
15782 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15784 * tabular.C: add some comments.
15786 2001-03-22 Juergen Vigna <jug@sad.it>
15788 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15789 compatibility read a bit and fixed bug with minipage in different
15792 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15794 * buffer.C (pop_tag): removed.
15795 (push_tag): removed.
15796 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15797 array replaced with vector. Added support for CDATA sections.
15798 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15800 (makeDocBookFile): XML conformant declaration of CDATA section,
15801 fixed bug related to <emphasis> in the first paragraph char.
15802 (sgmlOpenTag): exclude empty tags.
15803 (sgmlCloseTag): ditto.
15805 * buffer.h (pop_tag): removed.
15806 (push_tag): removed.
15808 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15810 * language.h (Languages): added size_type and size().
15812 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15814 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15815 response on compability reading of minipages. One probliem is that
15816 the old usage of minipages was «flertydig»
15818 * several files here and in subdirs: don't use static at file
15819 scope use anon namespaces instead.
15821 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15823 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15824 LaTeX output. This is necessary for Literate document
15827 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15829 * buffer.C: insert hfill when needed.
15831 * tabular.C (l_getline): use string::erase, small whitespace change.
15833 * BufferView_pimpl.C: try the anon namespace.
15834 * WorkArea.C: ditto
15836 2001-03-16 Juergen Vigna <jug@sad.it>
15838 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15839 otherwise it won't open options-dialogs.
15841 * buffer.C: honor pextraWidth(p) on converting minipages.
15843 * tabular.C (l_getline): changed the functions to strip trailing \r.
15845 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15847 * BufferView_pimpl.C:
15848 * minibuffer..C: added "using SigC::slot" declaration.
15850 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15852 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15858 * paragraph.C: ditto
15860 * lyxtext.h: NO_PEXTRA
15862 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15864 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15865 * ParameterStruct.h: ditto
15866 * ParagraphParameters.h: ditto
15867 * lyxparagraph.h: ditto
15869 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15871 * buffer.C: add compability for minipage alignment.
15872 (latexParagraphs): remove unwanted pextra check.
15874 * several files: remove CXX_WORKING_NAMESPACES
15876 * buffer.C (pop_tag): tie is in namespace boost
15878 * BufferView.h: noncopyable is in namespace boost
15880 * lyx_main.h: ditto
15883 * lastfiles.h: ditto
15884 * bufferlist.h: ditto
15885 * ShareContainer.h: ditto
15887 * LyXAction.h: ditto
15890 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15892 * Merging changes from BRANCH_MVC back into HEAD.
15894 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15896 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15898 * BufferView_pimpl.C: change from intl.C
15902 * Makefile.am: move combox.*
15908 * intl.C: remove dialog (covered by prefs)
15910 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15912 * lyxfunc.C (Dispatch): removed redundant break statement.
15914 2001-03-14 Juergen Vigna <jug@sad.it>
15916 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15918 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15920 * buffer.C: add hack to fix compability reading of minipages.
15922 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15924 * buffer.C (getLists): Cleanup.
15926 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15928 * lyxfont.C (update): don't honor toggleall on font size.
15930 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15934 * Makefile.am: moved to frontends/xforms/
15938 * BufferView_pimpl.C: changes for moved mathpanel
15940 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15942 * gettext.h: fix gettext_init() in --disable-nls
15944 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15946 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15948 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15951 * lyx.h: strip external form
15953 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15955 * BufferView_pimpl.C: add comment, destroySplash()
15957 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15959 * BufferView_pimpl.C:
15963 * lyxfunc.C: use re-worked insetinclude
15965 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15967 * buffer.C: add using std::stringstream.
15969 * lyx_cb.C: readd using std::ios.
15971 * buffer.C: add using std::map.
15973 * BufferView_pimpl.C: add using std::vector.
15975 * ShareContainer.h: add std:: to swap.
15977 * buffer.h: add some typedefs
15978 * buffer.C (getLists): use them
15979 (getLists): renamed from getTocList.
15980 add a counter for the different float types and use it in the
15982 (getLists): use the same counter for the NEW_INSETS and the "non"
15985 * lyx_cb.h: remove unused items, includes, using etc.
15987 * ShareContainer.h: remove some commented code, add more comments
15988 and "documentation".
15990 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15992 * buffer.C (getTocList): make the list also when NEW_INSETS is
15995 * buffer.h: remove TocType
15997 * buffer.C (getTocList): change to return a map<string,
15998 vector<TocItem> >, implement for dynamic number of list.
16000 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16001 * text2.C (PasteSelection): adjust
16002 * CutAndPaste.C (pasteSelection): adjust
16004 * FloatList.C (FloatList): update from the new_insets branch.
16005 * Floating.[Ch]: ditto
16006 * LaTeXFeatures.C: ditto
16008 * lyxlex_pimpl.C: ditto
16010 * paragraph.C (Last): remove when NEW_INSETS is defined.
16012 * other file: changes because of the above.
16014 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16016 * lyxparagraph.h: rename next to next_, previous to previous_,
16017 make them private for NEW_INSETS. Rename Next() to next(),
16018 Previous() to previous().
16020 * other files: changes because of the above.
16022 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16025 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16028 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16030 * main.C (main): pass lyx_localedir to gettext_init().
16032 * gettext.h: remove locale_init and gettext_init macros
16034 * gettext.C (locale_init): new function
16035 (gettext_init): new function
16037 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16040 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16042 * Moved credits to frontends:
16043 * credits.[Ch]: removed
16044 * credits_form.[Ch]: removed
16045 * lyx_gui_misc.C: remove credits stuff
16048 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16050 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16052 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16053 unneeded destructor.
16055 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16056 a standalone pointer again.
16058 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16060 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16066 * ToolbarDefaults.C:
16075 * BufferView_pimpl.C: use new file dialog in GUII
16078 * lyx_cb.C: remove LayoutsCB to Toolbar
16080 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16082 * ShareContainer.h (get): add std:: qualifier
16084 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16086 * ShareContainer.h: define a proper ShareContainer::value_type
16087 type (and use typename to please compaq cxx)
16089 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16091 * lyxparagraph.h: move serveral local vars to
16092 ParameterStruct/ParagraphParameters., use ShareContainer in
16093 FontTable., make vars in FontTable private and add getter and
16096 * paragraph.C: changes because of the above.
16098 * lyxfont.h: remove copy constructor and copy assignment. (the
16099 default ones is ok), move number inside FontBits. move inlines to
16102 * lyxfont.C: add number to initializaton of statics, move several
16103 inlines here. constify several local vars. some whitespace
16104 cleanup. Dont hide outerscope variables.
16106 * Spacing.h: add two new constructors to match the set methods.
16108 * ShareContainer.h: new file, will perhaps be moved to support
16110 * ParameterStruct.h: new file
16112 * ParagraphParameters.h: new file
16114 * ParagraphParameters.C: new file
16116 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16117 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16119 * BufferView_pimpl.C: ParagraphParameter changes.
16120 * buffer.C: Likewise.
16121 * bufferview_funcs.C: Likewise.
16122 * text.C: Likewise.
16123 * text2.C: Likewise.
16125 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16127 * lyxfind.C (LyXReplace): do not redefine default argument in
16129 (IsStringInText): ditto
16130 (SearchForward): ditto
16131 (SearchBackward): ditto
16133 2001-03-06 Juergen Vigna <jug@sad.it>
16135 * lyxfind.C (IsStringInText): put parentes around expressions.
16137 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16139 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16141 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16143 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16145 * stl_string_fwd.h: add comment
16147 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16150 * tabular.C: remove unused DocBook methods
16156 killed DO_USE_DEFAULT_LANGUAGE
16158 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16160 * lyx_gui.C: do not include language.h.
16162 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16163 arguments in function implementation.
16165 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16167 * BufferView_pimpl.C: add <ctime>
16169 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16171 * BufferView_pimpl.C: add using std::find_if
16173 2001-02-27 José Matos <jamatos@fep.up.pt>
16175 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16178 2001-02-11 José Matos <jamatos@fep.up.pt>
16180 * buffer.C (makeDocBookFile): command styles now have a parameter as
16181 "title" by default.
16183 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16185 * layout_forms.[Ch]: removed
16186 * lyx_cb.[Ch]: out character
16187 * lyx_gui.C: out character
16188 * lyx_gui_misc.C: out character
16189 * bufferview_funcs.C: : out character,
16190 added toggleall as parameter in ToggleAndShow
16192 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16194 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16196 * text2.C (SetCurrentFont): Disable number property at boundary.
16198 2001-02-26 Juergen Vigna <jug@sad.it>
16200 * lyxfunc.C (getStatus): added a string argument override function so
16201 that this is correctly called from LyXFunc::Dispatch if it contains a
16202 do_not_use_argument which is used!
16203 (Dispatch): added check for "custom" export and call appropriate func.
16205 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16207 * lyxrc.C: Add language_command_local, language_use_babel and
16208 language_global_options.
16210 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16212 * buffer.C (makeLaTeXFile): Use language_use_babel and
16213 language_global_options.
16215 2001-02-23 Juergen Vigna <jug@sad.it>
16217 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16218 which works with LyXText and putted it inside BufferView. Here now we
16219 only call for that part the BufferView::Dispatch() function.
16221 * BufferView.C (Dispatch): added.
16223 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16224 functions which needs to use a LyXText over from LyXFunc.
16225 (MenuInsertLyXFile): added
16226 (getInsetByCode): added
16227 (moveCursorUpdate): added
16228 (static TEXT): added
16230 2001-02-22 Juergen Vigna <jug@sad.it>
16232 * BufferView_pimpl.C (update): call a status update to see if LyXText
16235 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16237 * vc-backend.C (revert): implement for CVS
16238 (getLog): implement for CVS
16240 2001-02-20 Juergen Vigna <jug@sad.it>
16242 * text2.C (ClearSelection): added BufferView param for inset_owner call
16244 * lyxfunc.C (TEXT): added this function and use it instead of
16245 directly owner->view()-text of getLyXText().
16247 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16249 * src/layout_forms.C: out preamble
16250 * src/layout_forms.h: out preamble
16251 * src/lyx_cb.C: out preamble
16252 * src/lyx_cb.h: out preamble
16253 * src/lyx_gui.C: out preamble
16254 * src/lyx_gui_misc.C: out preamble
16255 * src/lyxfunc.C: connect with guii preamble
16257 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16259 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16261 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16263 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16264 whether to run bibtex.
16266 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16268 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16270 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16272 * Makefile.am (lyx_SOURCES): removed bibforms.h
16274 * vspace.h: doxygen
16276 * text.C (GetVisibleRow): make several local vars const
16278 * tabular.C: small cleanup.
16280 * lyxserver.C (callback): use compare instead of strncmp
16282 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16283 inlines to after class or to paragraph.C
16285 * lyxfont.h: remove friend operator!=
16287 * converter.h: move friend bool operator< to non friend and after
16290 * combox.h: small cleanup
16292 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16293 to inlines after class def.
16295 * buffer.C (pop_tag): use string operations instead of strcmp
16297 * bmtable.c: doxygen, small cleanup
16299 * LaTeX.h: remove friend operator==
16301 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16313 * BufferView_pimpl.C:
16314 * BufferView.[Ch]: remove cruft
16316 2001-02-14 Juergen Vigna <jug@sad.it>
16318 * lyxfunc.C: removed #if 0 unused code
16320 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16322 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16324 * text2.C (SetSelection): added a BufferView * parameter
16326 2001-02-13 Juergen Vigna <jug@sad.it>
16328 * lyxfunc.C (Dispatch): fixed protected blank problem.
16329 * BufferView2.C (protectedBlank): added LyxText * parameter.
16331 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16332 (AppendColumn): same as above for column_info.
16334 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16335 (moveCursorUpdate): use a LyXText param for support of InsetText.
16337 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16338 (tripleClick): ditto
16340 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16342 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16344 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16346 * text2.C (SetSelection): set correct update status if inset_owner
16347 (ToggleFree): ditto
16349 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16351 * tabular.C: remove some commented code.
16353 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16355 * BufferView_pimpl.C: call hideSplash()
16357 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16360 * bibforms.h: remove
16363 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16364 add LFUN_CHILD_CREATE
16366 * counters.h: fix tiny typo
16371 * lyx.C: move splash to frontends/xforms/
16373 * lyx_gui_misc.C: move Include and Bibform to frontends
16375 * lyxvc.h: clarify comment
16377 * vspace.C: tiny housekeeping
16379 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16381 * text.C (PrepareToPrint): RTL Fix.
16383 * paragraph.C (GetUChar): New method.
16384 (String): Use GetUChar.
16386 * buffer.C (asciiParagraph): Use GetUChar.
16388 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16390 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16392 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16395 * buffer.C: rename to getLogName(), handle
16396 build log / latex log nicely
16398 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16401 * MenuBackend.h: remove support for reference menuitem type.
16403 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16405 * BufferView_pimpl.C: housekeeping
16406 * BufferView_pimpl.h:
16411 * minibuffer.h: move Timeout GUI-I
16413 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16415 * lyxrc.C (read): Update converters data-structures.
16417 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16419 * LaTeX.h (operator!=): add operator != for Aux_Info
16421 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16423 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16425 * LaTeXLog.C: deleted, useful code moved to Buffer
16428 * buffer.C: new function getLatexLogName()
16434 * lyxfunc.C: use frontends for LaTeX and VC logs
16436 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16438 * LaTeX.h: yet another std:: that Allan forgot.
16440 * Variables.C (set): renamed from isset(), because this clashes
16441 with some HP-UX macros (grr).
16443 2001-02-06 Allan Rae <rae@lyx.org>
16445 * LaTeX.h: Another bug fix. Missing std:: this time.
16447 2001-02-04 Allan Rae <rae@lyx.org>
16449 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16450 floats problem. I've left it commented out because it's not quite
16451 correct. It should also test that the current object is a table or
16452 figure inset. But I haven't gotten around to figuring out how to do
16453 that. I *think* it'll be something like: "table" == inset.type()
16455 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16458 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16460 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16461 all the citation/databases/styles in the auxilary file.
16462 (run): Rerun latex if there was a babel language error.
16464 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16466 * text.C (Backspace): Preserve the font when changing newline char
16468 (BreakParagraph): If the cursor is before a space, delete the space.
16470 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16472 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16474 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16475 new argument (code).
16476 (ChangeCitationsIfUnique): New method.
16478 * paragraph.C (GetPositionOfInset): Handle bibkey.
16480 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16482 * BufferView_pimpl.h: change type of Position::par_pos to
16483 LyXParagraph::size_type.
16485 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16487 * BufferView_pimpl.C (savePosition, restorePosition): Write
16488 messages to minibuffer.
16490 2001-01-28 José Matos <jamatos@fep.up.pt>
16492 * buffer.C (makeDocBookFile): adds support for document language.
16493 A silly restriction on the name of LatexCommand types where removed.
16494 Added support for CDATA sections, allows to chars unescaped, used
16495 among others in code, to avoid escape < and >.
16497 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16499 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16500 saved positions instrad of a stack. Furthermore, a position is
16501 stored using paragraph id/paragraph position.
16503 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16504 Remove LFUN_REF_BACK.
16506 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16508 * converter.C (dvipdfm_options): New method.
16510 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16512 * vspace.C (isValidLength): Fix for empty input string.
16514 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16516 * LyXAction.C (init): change description of LFUN_FIGURE to
16519 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16521 * LaTeX.C: add using directive
16523 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16525 * MenuBackend.C (expand): Fix the sorting of the formats.
16527 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16529 * lyx_main.C: tiny error message fix
16531 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16533 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16534 calling fl_initialize(). This fixes the problem with ',' as
16535 decimal separator in text files.
16537 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16539 * trans.C (process): Fix the keymap bug.
16541 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16543 * LaTeX.C (scanAuxFiles): New method. Provides support for
16544 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16545 (scanLogFile) Scan for "run BibTeX" messages.
16547 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16548 OT1 font encoding. Also, load the aecompl package if the ae
16551 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16553 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16555 * texrow.C (increasePos): turn two error messages into debug
16558 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16560 * LaTeX.C (scanAux): Handle the \@input macro.
16561 (runBibTeX): Use scanAux().
16563 * language.C (latex_options_): New field.
16565 * LaTeXFeatures.C (getMacros): Add language macros.
16567 * buffer.C (makeLaTeXFile): Small fix.
16569 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16571 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16573 * text2.C: add a using directive.
16575 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16580 * lyxfunc.C: kill LyXBell.
16582 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16584 * text.C (IsBoundary): Remove the error message
16586 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16588 * lyxrc.C (setDefaults): Correct initialization value for
16591 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16593 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16596 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16597 and GotoNextNote().
16599 * src/LyXAction.C: Added reference-next.
16601 * text.C (InsertChar): Use contains instead of strchr.
16603 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16605 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16607 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16608 alignment commands (when needed).
16610 * text.C (InsertChar): Add ':' to number separator chars.